Re: [squid-users] max_user_ip not working in squid-2.6S4

From: Marco Berizzi <pupilla@dont-contact.us>
Date: Wed, 04 Oct 2006 09:34:31 +0200

Chris Robertson wrote:

>Marco Berizzi wrote:
>>I have implemented max_user_ip acl with squid 2.6stable4
>>but users are able to browse the internet with a single
>>account from multiple clients (those in the 172.16.0.0/23
>>class). This is my squid.conf:
>>
>>authenticate_ip_ttl 3600 seconds
>>
>>acl all src 0.0.0.0/0.0.0.0
>>acl mynet src 172.16.0.0/23
>>acl generali src 10.180.0.0/16
>>acl concurrent_browsing max_user_ip -s 1
>>acl password proxy_auth_regex "/etc/squid/allowusers"
>>acl password-generali proxy_auth_regex "/etc/squid/allowgenerali"
>>
>>http_access deny !password all
>>http_access deny concurrent_browsing
>>http_access allow password mynet
>>http_access allow password-generali generali
>>http_access deny all
>>
>>Hints?
>>
>>
>Have you adjusted the authenticate_ip_ttl? It seems to default to 0
>seconds (which I would take to mean that it doesn't keep a user-IP
>association).

Yes, I have adjusted to 3600 seconds (see above):

authenticate_ip_ttl 3600 seconds
Received on Wed Oct 04 2006 - 01:34:40 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST