On 03/04/2013 01:03 PM, Daniel Borkmann wrote:
On 03/04/2013 12:49 PM, M.Rashid Zamani wrote:
I am trying to generate traffic using trafgen tool but I get kernel panic.
Yes, that's a bug in the Linux kernel. We fixed this recently. This patch also
went to stable kernels. So if your distributions has an update for this, go for
it, or alternatively you could also compile a vanilla kernel.
[http://git.cryptoism.org/cgit.cgi/net.git/commit/?id=7f5c3e3a80e6654cf48dfba7cf94f88c6b505467]
I am generating a configuration file from my eth0 pcap file, basically this
is what I did:
*# netsniff-ng --in eth0 --out sample.pcap -s
# netsniff-ng --in sample.pcap --out sample.cfg -s
# trafgen --in sample.cfg --out eth1 --rand
*
And then I got some error indicating my mtu is smaller (<) than 74packet's
size or 64 maybe. so I* # ifconfig eth0 mtu 2048*
Then when I tried *# trafgen --in sample.cfg --out eth1 --rand* I got
kernel panic...
See above.
See also:
https://github.com/borkmann/netsniff-ng/blob/master/Documentation/KnownIssues
I would like to try mausezahn for generating traffic but I couldnt figure
how to. Are there any tutorials available on web? Is there any benefits for
using either one? What are the differences? Are there any benchmark on the
efficiency of these two packet generators?
Mausezahn can be fetched by checking out netsniff-ng's with-mausezahn branch.
It's
not yet in a code quality that it can be shipped in tarballs, however, you can
try
it out there.
[https://github.com/borkmann/netsniff-ng/tree/with-mausezahn]
Documentation can be found here:
[http://pub.netsniff-ng.org/netsniff-ng/tools/]
In particular:
[http://pub.netsniff-ng.org/netsniff-ng/tools/Mausezahn]
A first performance benchmark is here within the slides (but currently only
done for
Gigabit Ethernet):
[http://pub.netsniff-ng.org/paper/devconf_2013.pdf]
Thank you for your time and the effort you put on making your cool toolkit.
Thanks for using it! We hope it is of good use for you!
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.