Re: [squid-users] How to control download banwidth

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 08 Jun 2008 22:25:27 +1200

Agung T. Apriyanto wrote:
> --- Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>
>> Usually used with maxconn ACL to limit people using
>> too many seperate
>> connections. Gozilla for example opens 3+ HTTP
>> requests for different
>> parts of the same object...
>>
>> Amos
>> --
>> Please use Squid 2.7.STABLE1 or 3.0.STABLE6
>>
>
> afaik, maxconn only limit based on source ip
> connection, right ? it can't be used with other types
> of acl.

False. ACLs are only limited by whether their info is available or not
(requests don't have reply details etc.).

The maxconn (as you say requires request source IP) so is available on
all connections at all times. Thus any access control is able to use it.

>
> perhaps it would be nice feature if it can be combined
> with .. let's say some regex of acl multimedia type.
> it would be easier to manage some partial content
> download.

It can:

   acl two maxconn 2
   acl flashvids rep_mime_type -i video/flv

... (other delay pool #1 setup)
   delay_access 1 allow two flashvids

Amos

-- 
Please use Squid 2.7.STABLE1 or 3.0.STABLE6
Received on Sun Jun 08 2008 - 10:25:30 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 08 2008 - 12:00:04 MDT