Re: [squid-users] acl maxconn per file or url

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 15 Jun 2009 10:35:00 +1200

On Sun, 14 Jun 2009 20:21:59 +0300, MonzT <Brave_Monz_at_hotmail.com> wrote:
>> maxconn only works on IPs.
>>
>> collapsed_forwarding limits outbound connections to one per URL and
>> shares
>> the results with as many clients as are requesting it.
>>
>> delay pools can be configured to use maxconn and object types to limit
>> files over a certain size down to a low bandwidth. This has the added
>> benefit of catching multiple files fro different sources under the one
>> download cap.
>
> Thanks... I'll try that collapsed_forwarding thing .. but I still think
> that
> I have to make custom redirector with a database or something to track
each
>
> requested url per ip.
> Thanks again

If you do have to go the custom way then make it an external_acl_type with
a deny_info link instead of a redirector. They are much more tunable and
can receive more details about a request.

Amos
Received on Sun Jun 14 2009 - 22:35:04 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 12:00:03 MDT