Tuesday, October 3, 2023
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2532  / 2 Years ago, mon, february 21, 2022, 11:33:29

This question is similar to this: How do I limit internet bandwidth?. But the wondershaper and trickle cannot limit internet bandwidth for already started applications. So, how can I limit internet bandwidth for already started applications(but only for one application, not for whole system)? :)

More From » software-recommendation


For the general case, it is theoretically possible in the kernel, using the owner extension to netfilter. I can see the option --pid-owner on the man page of iptables on die.net, but it says it is broken with SMP :(

In my own system, a 10.04, there is no such option on the manual :( . So I believe we are out of luck this time ;( . Maybe there will be another incarnation of the --pid-owner option some time in the future. A gui on top of that would not be rocket science.

The first step must be taken on Linux itself and iptables.

As for more specific types of traffic, such as HTTP. There should be ways to make accommodations using proxies, but it probably needs some hacking because this use-case does not arise often.

[#44854] Wednesday, February 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
stantildlike questions