I installed squidguard on freebsd and everything worked great. The database files and the log file are owned by squid and the user squid can write to the files. The permissions are below.
 
-r-xr-x---  1 squid  squid  1465 Nov 22 20:58 domains
-rw-rw----  1 squid  squid  8192 Nov 22 20:59 domains.db
-rw-r--r--  1 root   squid    17 Nov 22 20:57 domains.diff
-r-xr-x---  1 squid  squid   943 Dec 18  2001 urls
-rw-rw----  1 squid  squid  8192 Nov 22 20:58 urls.db
-rw-r--r--  1 squid  squid  492333 Nov 22 21:00 /var/log/squidGuard/squidGuard.log
 
This is part of my conf file below
dest porn {
        domainlist porn/domains
        urllist porn/urls
        expressionlist porn/expressions
}
dest proxy {
        domainlist proxy/domains
        urllist proxy/urls
}
dest violence {
        domainlist violence/domains
        urllist violence/urls
        expressionlist violence/expressions
}
dest warez {
        domainlist warez/domains
        urllist warez/urls
}
 
acl {
     sample-clients within workhours {
         pass     !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !warez !in-addr any
     } else {
         pass     any
     }
 
     default {
         pass     none
         redirect http://admin.foo.bar.no/cgi/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url="">
     }
}
Everything worked just perfectly until I had occasion to restart the machine and then everything just stopped. It no longer blocks. I am so stumped, I just can't understand why. I don't see anything changing. How can I debug this further? It is still logging to the log file and there are no errors logged.
Help please.

 

Reply via email to