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
Both the slow_sites and slow_user2 doesn't work.
If I use http_access to block slow_user2 it will work. So, I am sure that the srcdomain works.
But when trying to limit the speed using delay_pools it doesn't seems to work.
What i am trying to do :
delay_access 5 allow slow_sites
--- is to make everyone (from LAN) who access to those sites in slow_sites (.friendster.com, uw.netroasia.com and rottentomatoes.com) to become slow
delay_access 5 allow slow_user2
--- is to make those users specified to have slow speed whichever sites they go
Am I doing it correctly?
Thanks in advance.
