squid problem

Craig White plug-discuss@lists.plug.phoenix.az.us
04 Dec 2002 06:19:08 -0700


On Wed, 2002-12-04 at 01:07, Nathan England wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> I got it working. 
> In case anyone cares... 
> 
> I had to do this
> 
> in the squid.conf file:
> 
> acl blocked_sites dstdomain "/etc/squid/blocked"
> acl bademployee src 192.168.0.5
> 
> http_access deny blocked_sites bademployee
> 
> /etc/squid/blocked is a file that lists all the sites
> mail.yahoo.com
> .hotmail.com
> .wildemail.com
> .microsoft.com
> 
> that sort of thing. I had to enable all the debugging in squid so I could tail 
> the log and see what was happening. I had the Allow all acl in place, so that 
> was pretty much blowing over anything else I put in. I got rid of that and 
> everything works great.
> 
----
This is one of the things that I love to use webmin for
<http://www.webmin.com>

It handles constructing acls and moving them/ranking them easily enough
and the ability to restart squid, clear the cache, view the stats or
logs.

I know it's cheating not to use the cli, but I admit it...I was an early
Mac user and learned network administration on Windows NT.

BTW...My daughter is a teacher in Scottsdale elementary and they block
all the big web mail sites access for everyone. Too many viruses, too
much wasted time.

Craig