Greetings,
Trying to get a simple, super-basic example config together for
squidGuard 1.2.0 with Berkeley DB 4.1.25 but no luck.
My squidGuard config:
dbhome /var/lib/squidguard/db
logdir /var/log/squid
dest custom {
domainlist custom/domains
urllist custom/urls
log blocked.log
}
acl {
default {
pass !custom all
}
}
My /var/lib/squidguard/db/custom/domains file:
hotmail.com
/var/lib/squidguard/db/custom/urls is empty. My test command and results:
echo "http://www.hotmail.com/ 192.168.1.2/- - GET" |
/usr/bin/squidGuard -c /etc/squid/squidGuard.conf -d
2006-09-20 17:50:03 [10514] init domainlist
/var/lib/squidguard/db/custom/domains
2006-09-20 17:50:03 [10514] init urllist /var/lib/squidguard/db/custom/urls
2006-09-20 17:50:03 [10514] urllist empty, removed from memory
2006-09-20 17:50:03 [10514] squidGuard 1.2.0 started (1158789003.479)
2006-09-20 17:50:03 [10514] squidGuard ready for requests (1158789003.480)
2006-09-20 17:50:03 [10514] squidGuard stopped (1158789003.480)
I'm thinking that this couldn't be any simpler, yet it doesn't
work. I get the blank line indicating success, no blocking. What in
the world could I possibly be missing here? It has to be something
obvious...
Many thanks for any help,
--Scott!