[squid-users] Re: delay_pools problem [[more info]]

From: Adam Aube <aaube01@dont-contact.us>
Date: Thu, 23 Dec 2004 22:10:39 -0500

kfliong wrote:

> I tried to use delay_pools to control the speed of some users but somehow
> it doesn't work. Particularly delay_access 5. Those users in delay_access
> 5 need to be running at only 1k/s but somehow this speed limit is not
> imposed. Please help.

> Here is my squid.conf for delay_pool :

> #delay_acess 5 for very slow speed
> delay_access 5 allow slow_sites
> delay_access 5 allow slow_user2
> delay_access 5 deny all

> Sorry forgot to add the ACL list :

> acl slow_sites dstdomain .friendster.com uw.netroasia.com
> .rottentomatoes.com
> acl slow_user2 srcdomain jackye marcus

Which ACL is having the problem - slow_sites or slow_user2?

In slow_user2, you are using the srcdomain ACL, but the parameters you give
it don't seem to be correct domain names (compare to the dstdomain ACL).

Also, srcdomain requires a reverse lookup on the client's IP address. Is the
reverse DNS setup correctly for your client IP addresses?

What if you try using a src ACL (IP address) instead of srcdomain?

Adam
Received on Thu Dec 23 2004 - 20:10:57 MST

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