[KLUG Members] Squid

agencies_ad1 at sancharnet.in agencies_ad1 at sancharnet.in
Fri Apr 15 03:50:50 EDT 2005


Quoting Bruce Smith <bruce at armintl.com>:

> > My problem is i can not restrict single user to log in once. How to do
> that?
> 
> See the "max_user_ip" acl statement.
> 
>  - BS

Thanks Bruce,

I have implemented max_user_ip acl with auth param as following:-

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic children 5
auth_param basic realm squid proxy server
auth_param basic credentialsttl 2 hour
authenticate_ttl 1 hours
authenticate_ip_ttl 400 second

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.0.0/255.255.255.0

acl name proxy_auth REQUIRED
acl max max_user_ip -s 1

http_access deny max
http_access allow name
http_access deny all

Regards,

Komal

----------------------------------------------------------------
This message was sent using NWebmail, BSNL's Webmail Program



More information about the Members mailing list