Hello!
I would like to create 2 accounts per each proxy user(IP address):
one limited and one unlimited
i tried this way :
...
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 192.168.0.0/255.255.0.0
acl to_localhost dst 127.0.0.0/8
acl password proxy_auth REQUIRED
icp_access allow all
always_direct allow all
coredump_dir /var/log/squid/
#########################
acl limited proxy_auth l1 l2
acl unlimited proxy_auth u1 u2
##########################
delay_pools 1
# limited
delay_class 1 2
delay_parameters 1 15000/15000 1875/1875
delay_access 1 allow limited
delay_access 1 deny all
#unlimited
http_access allow unlimited
http_access allow limited
http_access deny manager
http_access deny all
http_reply_access allow all
.....
the problem:
when i connect to proxy as user l1(limited by 1875B/s) all OK
but when i create additional connection as user u1(unlimited) from
the same IP adress bad things happen. connection belonging to l1
gets 7.5KB/s (but is should be limited to 1875B/s)!
Can you help me overcome such problem?
Thanks!
Received on Sat Jun 24 2006 - 05:00:18 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT