[squid-users] Re: Delay Pools

From: Adam Aube <aaube01@dont-contact.us>
Date: Fri, 17 Dec 2004 12:30:04 -0500

Robert Trouchet wrote:

> I wish to implement a speed limiter for users in the NT group
> SLowInternet. All other users have full speed connections. I do not notice
> any difference in speed of the Internet connection using my test

> acl SlowAccount external NT_global_group SlowInternet

> delay_pools 2
> delay_class 1 1
> delay_class 2 1
>
> delay_access 1 allow SlowAccount
> delay_access 1 deny all

Insert "delay_access 2 deny SlowAccount" here.

> delay_access 2 allow all
>
> delay_parameters 1 200/300
> delay_parameters 2 200000/250000

Squid will test each delay pool's ACLs independent of the results of other
delay pools' ACLs. You're allowing all connections into the second delay
pool, so this will include users matched by the "SlowAccount" acl.

That is why you need the explicit deny for "SlowAccount" in delay pool 2.

Adam
Received on Fri Dec 17 2004 - 10:30:24 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST