[Battlemesh] socat simpler than iperf

Benjamin Henrion bh at udev.org
Mon Feb 27 22:11:12 CET 2012


Hi,

Today I found a simpler way to make speed tests with socat+iptraf:

socat TCP-LISTEN:8003,,fork PIPE:/dev/null &
socat UDP-LISTEN:8002,,fork PIPE:/dev/null &
socat -b 300 -d -d -u /dev/zero UDP:192.168.0.160:8002
socat -b 300 -d -d -u /dev/zero TCP:192.168.0.160:8003

and play with the -b size, and launch iptraf on one of the boxes.

There is also a kernel packet generator, but I had not the time yet to
play with it.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."



More information about the Battlemesh mailing list