Web Hosting Talk







View Full Version : Linux bandwidth limiting


Taoron
09-22-2002, 12:42 AM
Anyone know of any good software you can use to limit a person's bandwidth under Slackware? If they buy a 3GB/mn plan, how do you enforce it?

Shyne
09-22-2002, 01:04 AM
Be more specific. Bandwidth from which service? FTP, POP3, HTTP?

apollo
09-22-2002, 04:06 AM
try mod_throttle -- for limiting traffic limits for apache www-server.

cyberlot
09-22-2002, 09:03 AM
The newer kernels all have QOS ( Quality of Service ) features built right into the kernel which allows you to limit bandwidth by Interface or IP.

Wish I could find my working example file but I can't seem to locate it at the moment but it was a pretty simple 5 line shell script to set the limits on a single ip.


Hmm try either of these 2, I remember having a issue find the right combination ( not all QOS formats are enabled by default in the linux kernel )

http://freshmeat.net/projects/cbq.init/?topic_id=150%2C87

or

http://freshmeat.net/projects/htb.init/?topic_id=87%2C150