I now have squidGuard working with a simple config shown below. My limited testing so far has shown that sites in the porn/domains file are being blocked and in most cases are blocked for all variations {www|www1|www2..etc}.domain.com. I have found one exception to this.

The domain 'playboy.com' is listed in the domains file and if I try to access http://playboy.com I get redirected to my blocked site page. If I access http://www.playboy.com I get through to the playboy site.

I have added www.playboy.com to the porn/domains list and I now get redirected to the blocked site page.

Can anybody reproduce this behaviour? Any other domains that behave in a similar way?
Why is this happening?


> cat squidGuard.conf
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/blacklists

dest ads {
       domainlist ads/domains
       urllist ads/urls
       log ads.log
}

dest porn {
       domainlist porn/domains
       urllist porn/urls
       log porn.log
}

acl {
       default {
               pass !ads !porn all
               redirect http://server.domain/cgi-bin/squidGuard.cgi?cl
ientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetclass=%t&url=%u
       }
}


Thanks. Cheers. --JohnM



Reply via email to