networkengineer
25th June 2008, 20:33
Hi there,
New to the forum, was wondering if anyone could help me with this snag...I've read plenty of posts on setting up squid, and this one has me stumped. The squid wiki isn't much help (more than the generic how-to)...
acl bad url_regex "/etc/squid/squid-block.acl"
http_access deny bad
this should work given that I vi /etc/squid/squid-block.acl
in squid-block.acl I have:
.cnn.com
.youtube.com
.ibm.com
so testing these sites, they go through the proxy fine...and the log shows that it passed through instead of issuing a DENY (squid.log) and so there lies my problem....
I checked out /var/log/squid/squid.out and it tells me everything is fine (0 kb) and nothing is there...(I had errors with netmasks so I used squid.out to resolve those)...but it doesn't tell me about any errors for "acl bad" so it must be parsing correctly..
Any suggestions?
Also is there any .txt out there with a list of suggested blocked sites (so I don't have to type thousands of sites) or perhaps another proxy?
New to the forum, was wondering if anyone could help me with this snag...I've read plenty of posts on setting up squid, and this one has me stumped. The squid wiki isn't much help (more than the generic how-to)...
acl bad url_regex "/etc/squid/squid-block.acl"
http_access deny bad
this should work given that I vi /etc/squid/squid-block.acl
in squid-block.acl I have:
.cnn.com
.youtube.com
.ibm.com
so testing these sites, they go through the proxy fine...and the log shows that it passed through instead of issuing a DENY (squid.log) and so there lies my problem....
I checked out /var/log/squid/squid.out and it tells me everything is fine (0 kb) and nothing is there...(I had errors with netmasks so I used squid.out to resolve those)...but it doesn't tell me about any errors for "acl bad" so it must be parsing correctly..
Any suggestions?
Also is there any .txt out there with a list of suggested blocked sites (so I don't have to type thousands of sites) or perhaps another proxy?