LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-09-2012, 08:36 AM   #1
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
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.
 
Old 04-09-2012, 08:54 AM   #2
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry I forgot to give the link:

http://caia.swin.edu.au/genius/tools/kute/
 
Old 04-09-2012, 09:26 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by acc1gcc View Post
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.
 
Old 04-09-2012, 09:42 AM   #4
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-09-2012, 10:28 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by acc1gcc View Post
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.
 
Old 04-09-2012, 11:13 AM   #6
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.

Last edited by acc1gcc; 04-09-2012 at 11:14 AM.
 
Old 04-09-2012, 04:39 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by acc1gcc View Post
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.
 
1 members found this post helpful.
Old 04-09-2012, 05:12 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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)

Last edited by John VV; 04-09-2012 at 05:30 PM.
 
Old 04-09-2012, 07:02 PM   #9
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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?

Last edited by acc1gcc; 04-09-2012 at 07:08 PM. Reason: added error message
 
Old 04-09-2012, 07:54 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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)
 
1 members found this post helpful.
Old 04-10-2012, 09:07 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by acc1gcc View Post
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.
 
Old 04-13-2012, 07:00 AM   #12
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-13-2012, 07:57 AM   #13
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
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.
 
1 members found this post helpful.
Old 04-13-2012, 08:53 AM   #14
acc1gcc
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-26-2012, 10:00 AM   #15
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in compiling Kute traffic generator v 1.4 on Fedora 13 mnaveed29 Linux - Networking 11 07-05-2016 06:37 AM
RTP traffic generator ssenthilkumar Linux - Software 2 06-26-2009 10:17 AM
traffic generator tool ssenthilkumar Linux - Networking 2 05-22-2009 09:41 AM
Traffic Generator Bugger Linux - Software 3 02-20-2006 05:17 AM
Pareto traffic generator lucs Linux - Software 0 10-20-2005 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration