473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

libnet

Hello,

Does anyone use libnet? I have a program compiled with gcc -lnet, using
libnet 1.1.2.1 from www.packetfactory.net/libnet and I only get 1000
packets per seconds sent.

In the libnet-source is a /sample/synflood.c, and there the same, only
exact 1000 packets per second. Startet twice I get 2000 packets per
second. There is no 1000-limit in the synflood.c or in my program.

When I use PERL synflood.pl, I dont have this limitation, I get 2581
packets (but it consumes all cpu), so I need it in c.

Where I can turn off this limitation?
Thanks
Mike

Nov 14 '05 #1
1 4341
"Mike Knöffler" <mi***********@yahoo.de> writes:
Does anyone use libnet? I have a program compiled with gcc -lnet, using
libnet 1.1.2.1 from www.packetfactory.net/libnet and I only get 1000
packets per seconds sent.


This really isn't a C question. You should find a forum that
discusses libnet. (I presume the web site should be a good starting
point.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: commosoft | last post by:
Hi all, have you ever seen this kind of error? This happens only on certain types of Sun machines (SunFire280R) but not on other types of machines (SunBlade2000 or SunBlade100). I tried to...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
0
by: fahad | last post by:
Hi, I'm trying to install pycap-0.1.6 using following commnad: python setup.py build --compiler=mingw32 but it throws a lot of errors about missing files some of them is: running build running...
0
by: Giorgos P. | last post by:
Hello, could anyone tell me how I could get packets for a = class like: class packets { public: unsigned source; =20 unsigned destination; =20 char *packet_data; =20 };
1
by: Intaek LIM | last post by:
hi guys. i just got a library for generating packets. but, i can't compile the example source because of bad include path. ...
7
by: ANaiveProgrammer | last post by:
Hi all I have made the following two structs and size is not according to what is supposed to be, so please ponder over following and identify if im wrong... please also mention what would be...
6
by: ragunath.cr | last post by:
Is it possible to read & modify TCP header using C. Also I want a sample C code for this. Please reply immediately.
0
by: Filipe | last post by:
Hi All, I need to convert a char array to a char pointer.. it's urgente someone could help me.. I'm using libnet and the parameter to the function libnet_init is a char pointer... My code:...
1
by: Lars B | last post by:
Hey guys, I have written a C++ program that passes data from a file to an FPGA board and back again using software and DMA buffers. In my program I need to compare the size of a given file against...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.