On 25.02 18:15, johnsuth@acenet.com.au wrote:
> Here is my first effort at configuring squid to control which web sites students may
> access.
>
> My logic is that by allowing only .gov and .edu domains; plus urls specified in the
> whilelist file, I am reasonably assured of suitable content.
>
> # TAG: acl
>
> # TAG: http_access
> acl all src 0.0.0.0/0.0.0.0
> acl munro src 192.168.100.0/24
> acl OK dstdom_regex -i \.gov \.edu
dstdomain should be enough, or dit it not work? note that regexp's are
very CPU intensive.
> acl whitelist dstdomain -i "e:\firewall\squid258\etc\whitelist"
> http_access allow munro OK
> http_access allow munro whitelist
> acl every dst 0.0.0.0/0.0.0.0
> http_access deny every
Seems to be OK, but I'd recommend you looking after professional blockers
of unwanted content. I think there are some available in form of squid
redirectors.
-- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. The early bird may get the worm, but the second mouse gets the cheese.Received on Fri Feb 25 2005 - 01:19:17 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST