Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I read lartc but I don't feel I need such a complicated solution for simple needs. One of such simple use cases is to limit a specific process' available bandwidth, upstream or downstream. How can I run wget or firefox constrained to 50 kb/s download speed without using iptaables and qdiscs?

share|improve this question
add comment

3 Answers 3

up vote 7 down vote accepted

us trickle. sample cmdline:

trickle -d 10 wget http://noc.gts.pl/50mb.gts

you can repalce wget with any other command. and btw - wget has built in bandwidth limiting option: --limit-rate=amount - so it does not require any external tools to slow it down.

share|improve this answer
add comment

Wget has built in bandwidth control with the --limit-rate option. Shorewall also offers a nicer interface to traffic shaping, as does wondershaper.

share|improve this answer
add comment

Couldn't you use Squid-Cache as your local proxy and have that software manage the limiting/shaping? Any Squid gurus out there?

share|improve this answer
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.