Return to Snippet

Revision: 5672
at March 24, 2008 22:51 by zingo


Initial Code
#!/bin/sh

/sbin/ipfw add 100 pipe 1 ip from any 80 to any out
/sbin/ipfw add 200 pipe 2 ip from any 80 to any in
/sbin/ipfw pipe 1 config bw 128Kbit/s queue 64Kbytes delay 250ms
/sbin/ipfw pipe 2 config bw 128Kbit/s queue 64Kbytes delay 250ms

Initial URL
http://terminalapp.net/emulating-a-slow-internet-link-for-http/

Initial Description
recover to normal speed with 
/sbin/ipfw delete 100
/sbin/ipfw delete 200
... or reboot

Initial Title
Emulating a Slow Internet Link for HTTP

Initial Tags
debug, osx

Initial Language
Bash