Rhys McWilliams wrote:
Hi,

I've been struggling with this for a few days now...
Apologies for the long posting but I hope I have all relevant info here.

I have a Fedora Core 3 box using iptables & squid setup for transparent
proxy.
I have my iptables redirect rule working just fine as I can make the the
squid ACLs work as needed (allow's & deny's)
I have tried setting up SquidGuard with the intention of using its
blacklists and its 'redirect' option within the acls.
I cannot seem to get squid to use SquidGuard.
I have set the 'redirect_program /usr/local/bin/squidGuard' option into
/etc/squid.conf
I can see that SquidGuard is initialised when squid starts (it shows in the
logs - including loading the blacklists specified in squidGuard.conf)
If I comment out  my custom ACLs & http_access rules from squid.conf then no
matter what I have in squidGuard.conf I keep getting the standard Squid
'Access denied' (the last http_access rule is to deny all)
I have also tried a squidGuard acl of ...
default {
        pass all
}
but still only get the default Squid 'Access denied' page.

The squid ACLs take precedence over squidGuard. If squid is configured to "deny all" that is what will happen. SquidGuard is a filter that works in conjunction with Squid. Reset up the Squid acls the way you had them working before and test SquidGuard that way. For example try to go to a site that you believe should be blocked.


<snip>

Reply via email to