Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why would you want to do that? That's just going to waste the majority of the bandwidth you're paying good money for. If someone isn't using their strict 30kbps allocation, it just goes begging?? Use something like Delay Pools in squid which will allow for suitable amounts of bursting within limits, meaning that accessing small articles, up to a few meg will be able to get it nice and quick. If they start sucking down an iso then other more bursty traffic can leapfrog it to keep good speeds.
I want to ensure the minimum bandwidth for each user.. lest say 30KB's for every client if they all use bandwidth simultaneously. And distribute the available bandwidth of offline clients to online clients.
And delay pools are for http traffic.. what to do for other traffic?
well you said you were going via squid. What else are you actually doing? You might rather check a shaping script like the really nice wondershaper. This is a script to implement a generic htb setup, which is the tool you'd generally turn to to be as strict as you want so also may be worth reading in its own right http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
Note that proxied traffic will come from the address of the proxy, not the client, so you'd need to be applying lower level controls before the proxy, not after it.
Last edited by acid_kewpie; 05-13-2009 at 04:19 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.