Hallo list,
I removed my old db files and downloaded the latest blacklists and since
then squidguard doesn't work.
I did
/usr/local/bin/squidGuard -d -C all -c /etc/squid/squidGuard.conf.mine
to recreate the database but no luck.
I don't know if what I did was correct but I erased the files rather
than using squidguard -u with the diff files.
I have the following in squid.conf:
cache_effective_user squid
cache_effective_group squid
redirect_program /usr/local/bin/squidGuard -c
/etc/squid/squidGuard.conf.mine
redirect_children 10
that worked ok for all this time.
/etc/squid/db:
drw-r----- 2 squid squid 4096 Nov 27 20:01 ads
drw-r----- 2 squid squid 4096 Nov 27 20:01 aggressive
drw-r----- 2 squid squid 4096 Nov 27 20:01 audio-video
drw-r----- 2 squid squid 4096 Nov 27 20:01 drugs
drw-r----- 2 squid squid 4096 Nov 27 20:01 gambling
drw-r----- 2 squid squid 4096 Nov 27 20:01 hacking
drw-r----- 2 squid squid 4096 Nov 27 21:05 porn
drw-r----- 2 squid squid 4096 Nov 27 20:01 stocks
drw-r----- 2 squid squid 4096 May 13 2001 stocks.bak
drw-r----- 2 squid squid 4096 Nov 27 20:01 warez
cat /etc/squid/squidGuard.conf.mine
logdir /var/log/squidGuard
dbhome /etc/squid/db
src grownups {ip 195.97.19.0/24
ip 192.168.2.99
ip 192.168.2.98
ip 192.168.2.97
ip 192.168.2.96
ip 192.168.2.95
ip 192.168.2.3}
src personell {ip 192.168.2.0/24}
dest porn {
domainlist porn/domains
urllist porn/urls }
dest audio-video {
expressionlist audio-video/exprs
domainlist audio-video/domains
urllist audio-video/urls}
dest stocks {
domainlist stocks/domains
urllist stocks/urls }
dest warez {
domainlist warez/domains
urllist warez/urls }
dest ads {
domainlist ads/domains
urllist ads/urls }
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls }
dest drugs {
domainlist drugs/domains
urllist drugs/urls }
dest gambling {
domainlist gambling/domains
urllist gambling/urls }
dest hacking {
domainlist hacking/domains
urllist hacking/urls }
acl {
grownups {
pass all
}
personell {
pass !audio-video !stocks !warez !ads !aggressive !drugs
!gambling !hacking all
}
default {
pass none
redirect
http://www.ace-hellas.gr/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname
=%n&clientident=%i&clientgroup=%s&destinationgroup=%t&url=%u
}
}
squidGuard starts ok but it seems to me that squid doesn't redirect.
2001-11-28 10:25:04 [23424] squidGuard 1.1.4 started (1006935904.494)
2001-11-28 10:25:04 [23424] squidGuard ready for requests
(1006935904.501)
So I changed the redirect line in squid and put something dummy.
Got an error message from squid.
So I seems that it will find squidguard but will not execute it ?
I'm confused...
Any help would be greatly appreciated.
Thanks,
Spyros