4 ms·
On OS X you can achieve something similar using ipfw For example, sudo ipfw pipe 1 config bw 500KByte/s Limits all network on your box to 500kb/s sudo ipfw
by taf2 12y ago
On OS X you can achieve something similar using ipfw
For example,
sudo ipfw pipe 1 config bw 500KByte/s
Limits all network on your box to 500kb/s
sudo ipfw add 1 pipe 1 src-port 443
To direct all traffic through port 443 through your slow pipe
sudo ipfw delete 1
When you are all done delete
- imjared 12y agoI (and folks I work with) have had really great success using Charles Proxy for per-machine bandwidth throttling. Also has some handy features like AJAX debugging. http://www.charlesproxy.com/overview/about-charles/ http://www.charlesproxy.com/overview/about-charles/
- JonnieCache 12y agoDon't the OSX devtools have a GUI for doing this? Can't remember what its called, I don't have XCode installed these days, but I remember it being pretty nifty. EDIT: its called the Network Link Conditioner and apparently you install it from within xcode now. EDIT2: I have just learned that ipfw is gone in yosemite? How distressing. Did they replace it with something?
- tylertreat 12y agoI think pfctl is the suggested replacement for ipfw, which was deprecated in Mavericks. I wrote the Comcast tool someone linked in this thread. Haven't had a chance to dive through the pfctl man pages to add support for Yosemite yet unfortunately.
- apinstein 12y agoI have Network Link Conditioner installed on my Yosemite Mac OS X box and it works fine (though it was installed prior to the Yose upgrade). I learned about it here: http://nshipster.com/network-link-conditioner/ http://nshipster.com/network-link-conditioner/
- taf2 12y agoYou are right http://apple.stackexchange.com/questions/24066/how-to-simulate-slow-internet-connections-on-the-mac http://apple.stackexchange.com/questions/24066/how-to-simula... Is a good thread to follow
- james33 12y agoUnfortunately ipfw has been removed in Yosemite. Fortunately, there is something similar built into Chrome dev tools now.