Re: [squid-users] squid works but the url,ip,words block not :(

From: Lieven Marchand <lieven.marchand@dont-contact.us>
Date: 02 Jun 2003 10:49:26 +0200

"kelly kloen" <k.kloen@de-breul.nl> writes:

> my squid proxy works now on a redhat 9.0
> i have this in my squid.conf :
>
> acl leerling src 212.178.168.0/255.255.254.0
> acl block url_regex -i "/var/log/squid/block/block.txt"
> acl ip dst "/var/log/squid/block/ip.txt"
> acl url dstdomain "/var/log/squid/block/url.txt
>
> # And finally deny all other access to this proxy
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access allow leerling
> http_access deny block
> http_access deny ip
> http_access deny url
> http_access deny all
>
> and the file's in : /var/log/squid/block have now root/root access. and in
> the block.txt is the word porno
> so it needs to block every url with porno in it.
> but when i look on the local machine i still van access porno.nl how can i
> see if it use the files ???

dstdomain matches the exact domain. Perhaps you want dstdom_regex?

Also since allow localhost comes before deny {block,ip,url} both
localhost and the student network are allowed to access all sites.

This is probably what you meant.

http_access deny block
http_access deny ip
http_access deny url
http_access allow localhost
http_access allow leerling
http_access deny all

-- 
"I do not want people to be agreeable, as it saves me the trouble of liking
them." Jane Austen
Received on Mon Jun 02 2003 - 02:49:39 MDT

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