4 ms·
Wondershaper [1] should make it easy on Linux. On *BSD there is AltQ for this which also has PF integration (or well, back when I looked into this in 2004). I'
by Fnoord 7y ago
Wondershaper [1] should make it easy on Linux. On *BSD there is AltQ for this which also has PF integration (or well, back when I looked into this in 2004).
I'm curious to hear which use cases didn't work out for you.
Regarding BPF, is it possible to convert IPT rules to BPF for backwards compatibility?
[1] https://github.com/magnific0/wondershaper/ https://github.com/magnific0/wondershaper/
- wtallis 7y agoBe wary of poorly-designed wrappers around tc. They often make very wrong decisions: https://www.bufferbloat.net/projects/bloat/wiki/Wondershaper_Must_Die/ https://www.bufferbloat.net/projects/bloat/wiki/Wondershaper... sqm-scripts is generally a much better option than wondershaper derivatives: https://github.com/tohojo/sqm-scripts https://github.com/tohojo/sqm-scripts
- linsomniac 7y agoThanks for that pointer, I had only used wondershaper as provided in the Ubuntu package, which is version 1.1a, and horribly broken. I recently had a system that was downloading around 1TB of archive data, and killing the network for other use, so I set up wondershaper on that VM. It did indeed limit it, but I couldn't get it to limit it to anything other than the 768kbps it seemed built to do. I really needed more like 50-100Mbps. I'll have to try version 1.4 on github.