LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Newbie needs help compling KUTE traffic generator 1.4 on fedora core 5 (https://www.linuxquestions.org/questions/linux-networking-3/newbie-needs-help-compling-kute-traffic-generator-1-4-on-fedora-core-5-a-938884/)

acc1gcc 04-09-2012 08:36 AM

Newbie needs help compling KUTE traffic generator 1.4 on fedora core 5
 
Hi,

I am trying to install KUTE traffic generator on fedora core 5 kernel version 2.6.15.

When I try to complile I get this error message:

[root@dhcppc128 kute-1.4]# make
make modules
make[1]: Entering directory `/kute-1.4'
make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=/kute-1.4 modules
make: *** /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/kute-1.4'
make: *** [all] Error 2

Also I get errors when trying to patch. Any help greatly appreciated!

Adam.

acc1gcc 04-09-2012 08:54 AM

Sorry I forgot to give the link:

http://caia.swin.edu.au/genius/tools/kute/

TB0ne 04-09-2012 09:26 AM

Quote:

Originally Posted by acc1gcc (Post 4648331)
Sorry I forgot to give the link:
http://caia.swin.edu.au/genius/tools/kute/

Not very surprising you're having problems with FC5...it went in to end-of-life (that is NOT SUPPORTED/updated/etc), FIVE YEARS AGO. It's VERY old, and it's not surprising you can't load a current piece of software.

The latest is Fedora 16...17 will be out shortly. If you want to load current software, load a current and up-to-date OS. You can try to (Maybe) load the FC5 kernel source headers, which MIGHT help, but really, you should load a current OS. Even IF you manage to get things to work, chances are it will be a big undertaking, and will probably make your system unstable afterwards.

acc1gcc 04-09-2012 09:42 AM

Hi TB0ne,

Thankyou for your reply. I am convinced that I need to run this older version, and I read online other people have used fedora core 5 to run KUTE. That is why I have installed it, to test this program. From what you have said and from other sources the problem is something to do with source headers.

I have tried to run this command: yum install kernel-devel kernel-headers

but is fails to install.

KUTE doesnt run on newer kernels, it only is tested up to version 2.6.16.

Is there another way to update the headers?

Thanks,

Adam.

TB0ne 04-09-2012 10:28 AM

Quote:

Originally Posted by acc1gcc (Post 4648369)
Hi TB0ne,
Thankyou for your reply. I am convinced that I need to run this older version, and I read online other people have used fedora core 5 to run KUTE. That is why I have installed it, to test this program. From what you have said and from other sources the problem is something to do with source headers.

I SERIOUSLY doubt you'd be told to run such an ancient version of Linux.
Quote:

I have tried to run this command: yum install kernel-devel kernel-headers but is fails to install.
Right...see my previous post about FC5 going end-of-life FIVE YEARS AGO. No repositories = no online updates/yum. Post what error(s) you got when you tried the yum command. You can TRY to manually install your headers from the installation CD/DVD.
Quote:

KUTE doesnt run on newer kernels, it only is tested up to version 2.6.16.
Yes, the software has only been TESTED on 2.6.16, but will probably work fine on other versions. Again, using a distro that is so old is only going to cause problems as you move forward.

acc1gcc 04-09-2012 11:13 AM

Hi,

I have tried installing the kernel headers and kernel devel from the DVD, but I am unsure which ones to install.

The error when trying to update from yum is:

yum install kernel-devel kernel-headers
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core


I can give you a list of the RPM files from the DVD if it is needed.

Thanks!

Adam.

TB0ne 04-09-2012 04:39 PM

Quote:

Originally Posted by acc1gcc (Post 4648433)
Hi,
I have tried installing the kernel headers and kernel devel from the DVD, but I am unsure which ones to install.

You install the ones that match the kernel you're running. Type in "uname -a" to find out.
Quote:

The error when trying to update from yum is:

yum install kernel-devel kernel-headers
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

I can give you a list of the RPM files from the DVD if it is needed.
You need to re-read my previous posts. AGAIN:
  • FC5 is *ANCIENT*. To be more clear and plain, YOU SHOULD NOT BE USING IT. It is end-of-life, unsupported, and full of security holes/bugs that have been fixed with later releases. To draw an analogy, would you load Windows 98, and then be surprised when your system won't be able to use current software, and be unstable?
  • Yum won't work, since (AGAIN) you don't have online repos, since FC5 is DEAD. As said before, you can install them manually, and that would be with the "rpm -i" command. Find the RPM(s) you need on the DVD, and install them.
You will CONTINUE to have problems if you continue to use such outdated software. You MAY be able to solve this ONE issue now, temporarily, but many others will come up quickly.

John VV 04-09-2012 05:12 PM

Hi TB0ne i see i am not the only one .

also according to the KUTE page it was last updated on
Tuesday 6-Mar-2007

this software looks to be abandoned
the pdf tech report was wrote in 2005

is there a NEED for this old program ?

like your teacher is REQUIRING is
( if professor and not "teacher" then drop the class - it is NOT worth the cash for the credits)

acc1gcc 04-09-2012 07:02 PM

Hi TB0ne / John,

Thank you both for your replies. I feel I must let you get the full picture. I am trying to use the KUTE program as part of an experiment to test 2 IDSs; suricata and snort. I got the idea to use KUTE from a paper published in 2011 (http://www.jucs.org/jucs_17_11/perfo...1622_salah.pdf). In the paper they used Fedora Core 5, which is why I am trying to get it working. It seems KUTE is better at generating traffic than say, pktgen (which I could only get to generate about 100mbs).

As mentioned I am very new to linux, and I thought by using the same software as the paper, I would be able to get it up and running more easily.

I have checked the kernel version and it is: 2.6.15-1.2054_FCSsmp i686

I have tried the kernel-smp-devel.2.6.15-1.2054_FC5.i686 rpm but it gives and error message.

rpm -i kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm
warning: kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
/usr/sbin/hardlink is needed by kernel-smp-devel-2.6.15-1.2054_FC5.i686


Installing kernel-devel.2.6.15-1.2054_FC5.i686 rpm does work but I still get the same problem with compiling, even after a reboot.

I am guessing I need to install the smp version?

John VV 04-09-2012 07:54 PM

you might be better off posting on the END OF LIFE section of the Fedoraforum

http://forums.fedoraforum.org/forumdisplay.php?f=75

However fedora 5 WILL NOT run on very new hardware
nor is there any support for ANY new network hardware

i would recommend that you use a PRE 2007 computer and PRE 2007 network hardware

fedora 5 has NO support for a i5 or i7 cpu
so you CAN NOT install it on a new computer.

nor is there ANY network wireless support for ANY 4g ,3g ,nor 2g network hardware

( ie. your new iphone will NOT work with fedora 5)

TB0ne 04-10-2012 09:07 AM

Quote:

Originally Posted by acc1gcc (Post 4648794)
Hi TB0ne / John,
Thank you both for your replies. I feel I must let you get the full picture. I am trying to use the KUTE program as part of an experiment to test 2 IDSs; suricata and snort. I got the idea to use KUTE from a paper published in 2011 (http://www.jucs.org/jucs_17_11/perfo...1622_salah.pdf). In the paper they used Fedora Core 5, which is why I am trying to get it working. It seems KUTE is better at generating traffic than say, pktgen (which I could only get to generate about 100mbs).

As mentioned I am very new to linux, and I thought by using the same software as the paper, I would be able to get it up and running more easily.

Yes, we get the full picture; however, you don't appear to be listening to what we're telling you. I will again draw another analogy; if someone gave you directions to a certain place from their house, would you use the same directions to get to it from YOUR house?? No...not unless you lived at the same place.

THEY may have used FC5, but that DOES NOT MEAN you have to. You admit you're new to Linux, and are asking folks who have more experience, and you're getting told to NOT use it, and load something current, but you're ignoring that advice.
Quote:

I have checked the kernel version and it is: 2.6.15-1.2054_FCSsmp i686 I have tried the kernel-smp-devel.2.6.15-1.2054_FC5.i686 rpm but it gives and error message.

rpm -i kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm
warning: kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
/usr/sbin/hardlink is needed by kernel-smp-devel-2.6.15-1.2054_FC5.i686

Installing kernel-devel.2.6.15-1.2054_FC5.i686 rpm does work but I still get the same problem with compiling, even after a reboot.
I am guessing I need to install the smp version?
...which won't work on newer hardware, as JohnVV said. See previous several comments about ancient software, and it not working.

acc1gcc 04-13-2012 07:00 AM

Hi,

Thank you again for your replies. I have taken your advice and made a post at the other forum - end of life section, but I have not recieved a reply. I have all but given up trying to get this to work. Just for an update, I tried installing KUTE on a newer version, Ubuntu 11.10 but this fails. I did see in a previous post that John VV advised this program will not work on newer kernels: http://www.linuxquestions.org/questi...a-13-a-811859/.

I did manage to install the hardlink needed to complile this software, but even after that it still fails.

Can anyone suggest a good traffic generator I can use instead? pktgen is not doing the job for me.

Thanks!

Adam.

nikmit 04-13-2012 07:57 AM

mz is one i have used, and it did what i needed it to do. it is in the debian repository so a breeze to install.
i needed it to load a link and it easily hit the ceiling for my network card.

acc1gcc 04-13-2012 08:53 AM

Hi nikmit,

Thanks for your suggestion, I have installed the software on ubuntu 10.4 and tested it with the command: sudo mz -c 0. Which states it will send infinite frames at maximum speed. It registered 373.kib/s.

What I am looking to do is test a gigabit link. How did you max out your network link?

Thanks!

Adam.

nikmit 04-26-2012 10:00 AM

On a computer with a 100Mb NIC I get 96Mb/s with
Code:

mz -t udp -c 0 -d 50 -p 1400 eth2 -B 10.0.0.2


All times are GMT -5. The time now is 06:53 PM.