3 ms·
No need for a plugin if you are running Linux or OSX: # Bandwidth trottling, enabling 150kB/s on port 80 sudo ipfw pipe 1 config bw 15KByte/s sudo ipfw add 1
by logotype 10y ago
No need for a plugin if you are running Linux or OSX:
# Bandwidth trottling, enabling 150kB/s on port 80
sudo ipfw pipe 1 config bw 15KByte/s
sudo ipfw add 1 pipe 1 src-port 80
# Bandwidth trottling, disable
sudo ipfw delete 1
More useful stuff here as well, please star the repo :)
https://github.com/logotype/useful-unix-stuff/blob/master/useful-unix-stuff.sh https://github.com/logotype/useful-unix-stuff/blob/master/us...
- jloughry 10y agoIt used to work; unfortunately, Apple removed ipfw from recent versions of OS X. The new method uses dummynet and pf but isn't reliable and I've never got it to work consistently, despite trying for hours and hours. The only method that works reliably on recent versions of OS X is the free Network Link Conditioner. It is absolutely bulletproof. Edited to add: Network Link Conditioner seems to use pf and dummynet under the hood; you can see the rules appear. But there's an interaction with the nlcd daemon that I don't understand yet. I want to do protocol-specific bandwidth throttling and I've not got that to work with nlcd interfering. But if you can live with throttling all traffic on the box, NLC works a treat.
- kedean 10y agoIt's not a plugin, it's built into chrome. His joke was about a plugin that enables it permanently for certain people.
- autokad 10y agosounds like that could have a lot of unintended consequences. especially since so much data is now transmitted over port 80