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
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.


Regards
Henrik
-----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