[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Squid ACLs does not work



Hi,

I have some problems with squid and its ACLs.

I'm using Debian 2.2 with Kernel 2.2.13 and squid 2.2STABLE5.
My ACL section in /etc/squid.conf looks like the following.

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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl purge method PURGE
acl CONNECT method CONNECT
acl BanDomains dstdomain "/etc/ban_domains.squid"
acl localdomain srcdomain localdomain.own
:
http_access allow localdomain
http_access deny BanDomains
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

And the file /etc/ban_domains.squid looks like...
netscape.com
microsoft.com
msdn.com
realnetworks.com

But when I try connect to www.microsoft.com the proxy rersolves the hostname
and connects. (My browser is configured to use the proxy, of course...).

Does anyone have an idea where I made a mistake?

Thanks.

Sven

----------------------------------
Please reply only to
sgaerner@gmx.net.
----------------------------------
Date: 23-Mar-2000
Time: 23:07:15
----------------------------------


Reply to: