[squid-users] Upload bandwidth limits (was: Putting upper limit on Uploading.)

From: Mihai BUHA <owlman@dont-contact.us>
Date: Thu, 26 Feb 2004 18:02:56 +0200 (EET)

Hello list,

I would like to limit the bandwidth that users in my network use
to upload stuff. I googled around and found the following message
in the [squid-users] archive:
------begin quote------
From: Henrik Nordstrom <hno@dont-contact.us>
Date: 25 Jul 2003 13:52:04 +0200
Subject: Re: [squid-users] Putting upper limit on Uploading.

fre 2003-07-25 klockan 10.51 skrev ads squid:
> Hi can I put limit on uploading data speed that is for
> example 2Kbps using squid. So that I will get better
> download speed.

Not with Squid, but you should be able to use traffic shaping to
do more
or less the same thing I think.

-----end quote-----

I want to state that conventional traffic shaping (CBQ, HTB &
co.) has absolutely no way to know about the intricate acl system
in my squid.conf. The only way you could shape uploading outside
the squid is to put an agregate bandwidth cap on all the squid
connections, and that is not an acceptable solution as it hurts
everything, including simple browsing. Or, maybe use that
controversial IMQ device to shape the data that comes from the
users to squid, which is another problem, as IMQ is not part of
the standard kernel, AFAIK.

I believe that the proper way to do it would be a duplicate set
of delay pools with separate but similar configuration directives
which would only apply on the uploading part of the data
streams. Most of the code should be reused from the current
delay pools, I suppose...

Comment please!

Mihai Buha
Received on Thu Feb 26 2004 - 09:03:33 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST