jarofgreen wrote:
Very handy. I was going to be looking for something like this soon myself. How does this work - does it effect traffic from a certain IP, so could I run it with the IP of my development server for instance?
The "IP" config item should be the IP address you are trying to reach. It may need to be edited together with the "DEV" config item (I've just added it) - the network interface you are connecting through.
With the configuration shown, it can be used in situations where both the developer's IDE and the HTTP (or any other network service) server run on a single machine.
This script must be run with superuser privileges (i.e. sudo ./netem.sh)