Re: [squid-users] delay_pools question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 9 Nov 2001 15:50:29 +0100

Works here, but srcdomain is not reliable to use in delay_access. Any ACL
that may require an external lookup is unreliable in delay_access.

To fix this, delay_access needs to be recoded to perform a full ACL check
capable of waiting for lookups to complete.

You can work around the limitation by making use of srcdomain in http_access
processing, such as starting with a rule like

acl trigger_srclookup srcdomain anything
acl nobody src 0.0.0.0/32
http_access deny trigger_srclookup nobody

Regards
Henrik Nordström
Squid Hacker

On Friday 09 November 2001 13.05, Didi Rieder wrote:
> Hi again,
>
> I configured two delay pools for users of two differnt domains to limit
> each of them to a maximum of 64KB/s.
> Unfortunatly it doesn't seem to work. I tested it with wget (proxy enabled)
> and got the following result:
>
> 12:38:24 (79.40 KB/s) - `anaconda-7.2-7.src.rpm' saved [5376415/5376415]
> ^^^^^^^^^^
>
> Where could be the error?
>
> Here my config for the pools:
>
>
> acl dom1 srcdomain .domain1.org
> acl dom2 srcdomain .domain2.org
>
> delay_pools 2
>
> delay_class 1 3
> delay_class 2 3
>
> delay_access 1 allow dom1
> delay_access 1 deny all
> delay_access 2 allow dom2
> delay_access 2 deny all
>
> delay_parameters 1 -1/-1 -1/-1 32000/64000
> delay_parameters 2 -1/-1 -1/-1 32000/64000
>
>
> THX
>
> Didi
Received on Fri Nov 09 2001 - 07:50:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:00 MST