April 1, 2005

Dodgy Network Simulator

Does anyone know of gateway or proxy software you can install on a machine to simulate a bad network - i.e. it routes packets from one interface to another but drops, delays or rearranges them in a configurable way at the same time? I know Squid can do bandwidth limiting, but ideally I need the other things too.

Unsurprisingly, it's for testing a product over a dodgy network connection.

Posted by gerv at April 1, 2005 10:39 AM
Comments

Try NIST Net

Posted by: Beat Bolli at April 1, 2005 11:12 AM

NIST Net looks like it hasn't been updated since 2001. Has anyone used it recently? Does it still work? Are packages available?

Posted by: Gerv at April 1, 2005 11:29 AM

A FreeBSD filtering bridge running dummynet
or use OpenBSD as a bridge and then pf/ALTQ

http://www.bsdnews.org/02/dummynet.php
http://info.iet.unipi.it/~luigi/ip_dummynet/

Posted by: Yusuf Goolamabbas at April 1, 2005 11:30 AM

You might be able to get Honeyd:
http://www.think-future.de/CS/honeyd/honeyd_doc/index_clickme.html to do the trick. I've never used it myself though

Posted by: Alan Trick at April 1, 2005 2:01 PM

Try broadband from NTL :)

(had about 30% packet loss last night)

Posted by: Neil T. at April 1, 2005 8:28 PM

You could try netem - http://developer.osdl.org/shemminger/netem/

Posted by: Alex at April 2, 2005 1:39 AM

As mentioned above, a FreeBSD machine running dummynet should allow you to do this!

Posted by: Antony Mawer at April 2, 2005 3:49 AM