[squid-users] Squid + Auth Problem / confused

From: Marc-Christian Petersen <m.c.p@dont-contact.us>
Date: Thu, 7 Mar 2002 14:49:50 +0100 (MET)

Hi all,

please, anyone can help me, i am very confused. Have a look:

# Auth nessecary
# AUTH START
#authenticate_program /opt/squid/bin/ncsa_auth
/opt/admin/admin/etc/proxy.passwd
#acl users proxy_auth REQUIRED
# AUTH END

# NOAUTH START
acl users src 0.0.0.0/0.0.0.0
# NOAUTH END

# BLOCKmodus
# BLOCK START
#acl denydoms dstdomain "/opt/admin/admin/etc/proxy.doms"
#acl denynets dst "/opt/admin/admin/etc/proxy.ips"
#acl privhosts src "/opt/admin/admin/etc/proxy.priv"
#acl denyregex urlpath_regex -i "/opt/admin/admin/etc/proxy.regex"
#http_access allow privhosts
#http_access deny denydoms
#http_access deny denynets
#http_access deny denyregex
#http_access allow all users
#http_access deny all
# ALICEBLOCK END

# FREEmode
# FREE START
acl denydoms dstdomain "/opt/admin/admin/etc/proxy.doms"
acl denynets dst "/opt/admin/admin/etc/proxy.ips"
acl privhosts src "/opt/admin/admin/etc/proxy.priv"
acl denyregex urlpath_regex -i "/opt/admin/admin/etc/proxy.regex"
http_access allow privhosts
http_access allow denydoms
http_access allow denynets
http_access allow denyregex
http_access deny all users
# FREE END

Okay, in the BLOCKmode, all is working fine. The defined urls/keywords
defined in the acl are blocked. If i want to use the FREEmode, all is rejected. I
want that the privhosts can surf EVERYWHERE, all others can surf to
urls/keywords defined in denydoms/denynets and denyregex, but nowhere else.

What do i do wrong?!

Kind regards,
        Marc

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Received on Thu Mar 07 2002 - 06:49:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:46 MST