Environment: OpenBSD 3.0 stock Squid 2.3.STABLE5 squidGuard 1.2.0 db-2.7.7 (also tried 4.0.14 but nothing changed so I rolled back)
Squid is set up and running successfully on this gateway as a transparent proxy. OpenBSD's firewall software (pf) is redirecting outbound port 80 traffic to squid. This has been working fine for about a month. A request came down to turn on porn blocking as well as ad blocking. I downloaded, compiled, and installed your software. I tried some of the --configure switches that might have been needed to point to the conf and to db (keep in mind I've gone through several different builds debugging this problem). I was able to successfully test by doing: *echo "http://www.playboy.com 10.0.0.1/- - GET" | /usr/local/bin/squidGuard -c /tmp/test.cfg -d* This started another squidGuard process, it took some time to digest the porn blacklist (and ripped through the others pretty quickly), and did the right thing by redirecting me to http://www.disney.com just like I told it to in the configuration. The configuration file was a cut & paste from your online documentation for blocking porn, except I changed the redirect URL to http://www.disney.com. I did a "squid -k shutdown" and verified that squid and squidGuard were both shut down. Started squid up and four squidGuard processes came up with it. NO entries in the squidGuard log file (though I do get them if I run squidGuard manually). I can go to a host behind my firewall, fire up lynx, and go to http://www.playboy.com (lynx is the best browser for grabbing porn, wouldn't you agree?) Much to my surprise squid let me go right to it without blocking me or redirecting me to disney.com. I've done the recommended mods to squid.conf for explicitly pointing to the squidGuard config. I've recompiled squidGuard with the explicit config path. squidGuard works at the command line. Just not when squid is calling it. Is this a bug? Thanks, Chris
