I use this to throttle traffic when I want to test things at Edge speeds in the iPhone simulator.
sudo ipfw pipe 1 config bw 20KByte/s
sudo ipfw add 1 pipe 1 src-port 1-50000
Then this removes the throttle:
sudo ipfw delete 1
No comments:
Post a Comment