Re: [squid-users] How to use max_user_ip

From: Ytzhak Levy <ytzhak@dont-contact.us>
Date: Tue, 05 Apr 2005 11:20:12 +0000

I am using squid2.5 STABLE 9.

My acls and directives are:

authenticate_ttl 1 hour
authenticate_ip_ttl 1 hour

acl PROXYUSERS proxy_auth REQUIRED
acl MAX_IP max_user_ip -s 1
acl MYDOMAIN dstdomain .mydomain.com
acl NET10 dst 10.252.1.0/24
acl NET172 dst 172.25.0.0/16
acl RESTRICT_TIME time MTWHF 12:00-14:00
acl RESTRICT_TIME time MTWHF 18:00-23:59
acl RESTRICT_USERS external ldap_group "/squid/etc/RESTRICT_USERS.grp"

http_access deny MAX_IP
http_access allow MYDOMAIN
http_access allow REDE10
http_access allow REDE172
http_access deny RESTRICT_USERS !RESTRICT_TIME
http_access allow PROXYUSERS
http_access deny all

cheers,

-- 
_______________________________________________
Get your free email from http://mymail.bsdmail.com
Powered by Outblaze
Received on Tue Apr 05 2005 - 05:20:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT