Hi, I want to test how a client-server application responds to high latency, packet loss etc. - i.e. typical WAN characteristics - within a lab environment, so what I need is a WAN emulator. Ideally I'd like to extend LEAF (Bering-uClibc) to do this.
Initially I tried using NIST Net (http://snad.ncsl.nist.gov/nistnet/) since this seems well-regarded and will run on a Linux 2.4 kernel. I got this mostly working on Bering-uClibc 3.1.1-Beta1 but the big problem for me is that NIST Net only operates as a Router, not as a Bridge. I'd much prefer to have a machine that I can "transparently" insert between a client and a server, and that needs to be an Ethernet Bridge. Then I came across Netem (http://www.linuxfoundation.org/en/Net:Netem) which can be used with a Bridge as well as a Router. I was delighted to find that the "netem" kernel module is already included in Bering-uClibc so the only extra component required is a netem-aware version of "tc", from iproute2. Right now the main iproute source file for Bering-uClibc is iproute_20010824.orig.tar.gz which does not contain the netem code that I need. Judging by the style of the filename this is a Debian source package, the latest equivalent of which seems to be iproute_20080725.orig.tar.gz (from http://ftp.debian.org/debian/pool/main/i/iproute/) and this does include the netem code; there's also a iproute_20080725-2.diff.gz patch. Is this a sensible approach? In particular is it sensible to use the Debian source package rather than the upstream source code from http://www.linuxfoundation.org/en/Net:Iproute2 ? Thanks, david M brooke ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
