[c-nsp] Traffic Generators

Lukas Tribus luky-37 at hotmail.com
Tue Oct 21 11:18:19 EDT 2014


> Hey,
>
>> I'm looking for an opensource / free traffic generator that handles IMIX and other standard load tests.I'm using IPERF now, but this is simply a load gen. No IMIX etc
>
> IMIX is somewhat moving target and depends who you are and what your products
> are. So you may want to be more specific about your goals to ensure you're
> getting tool which meets them.
>
> When it comes to minimum size packets, I'm not aware of open source software
> that can congest 1GE port. Operating systems are not really tuned to do 1Gbps
> UDP streams on small packets. You can achieve that, even more, but you need to
> go quite low level, UDP socket you must forget immediately event with
> sendmmsg/recvmmsg. Raw sockets and modern CPU and you'll probably be able to
> reach 1Gbps per core, but I don't know software available that would be
> productized even to iperf level here, would love to hear about one.

Scapy [1] should be able to do that easily, so should mausezahn [2]. Of course
you don't open use regular TCP/UDP socket API for this, but some raw form of it
and generate the whole packet in userspace.


Lukas


[1] http://www.secdev.org/projects/scapy/
[2] http://www.perihel.at/sec/mz/ 		 	   		  


More information about the cisco-nsp mailing list