I want to limit the upload bandwidth of a P2P live video program, which is closed source, in Linux.

I don't want to use tc because I don't have root access. There is a tool called trickle, but unfortunately it doesn't handle UDP (the P2P program mainly uses UDP).

Is there any other way to throttle bandwidth of a program in Linux?

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

You can use force_bind to set the bandwidth. Check the README file for an example.

http://kernel.embedromix.ro/us/

Disclaimer: I am the author.

link|improve this answer
Great work! I'll have a look. – Wu Yongzheng Aug 24 '11 at 4:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.