Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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