[squid-users] ACL problem

From: Marc-Christian Petersen <m.c.p@dont-contact.us>
Date: Thu, 8 Dec 2005 11:04:51 +0100

Hi all,

I have this in my squid.conf:

auth_param basic program /opt/squid/lib/ncsa_auth /opt/alice/etc/proxy.passwd
acl users proxy_auth REQUIRED

acl denydoms dstdomain .a.de
acl denynets dst 255.0.0.0/32
acl privhosts src localhost
acl denyregex url_regex \.unknowntld$
acl denydoms dstdomain "/opt/alice/etc/proxy.doms"
acl denynets dst "/opt/alice/etc/proxy.ips"
acl privhosts src "/opt/alice/etc/proxy.priv"
acl denyregex url_regex -i "/opt/alice/etc/proxy.regex"
http_access allow privhosts
http_access deny denydoms
http_access deny denynets
http_access deny denyregex
http_access allow users
http_access deny all
deny_info ERR_DENYDOMS denydoms
deny_info ERR_DENYNETS denynets
deny_info ERR_DENYREGEX denyregex

everything of this works except http_access allow privhosts.

proxy.priv content is this:

10.130.10.100
10.130.10.109

Also tried specifying netmask as in 255.255.255.255 or /32, did not work.

Tried also doing:

acl privhosts src 10.130.10.100/255.255.255.255 and it won't work also. Turned
on full debugging and cache.log tells me that above ip is not matching at
all.

Any idea? I had squid 2.5stable1 or so running and it worked, now updated to
2.5stable12 and it won't. Anything changed?

Thanks in advance.

--
ciao, Marc
Received on Thu Dec 08 2005 - 03:04:48 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST