Hello Scott,
I don't know if there is a problem with the versions you mentionned, but
what I know is, you have to add a "redirect" tag for squidGuard to block.
SquidGuard does not really block, it redirects : it can just substitute an
URL with another. So you have to specify which URL will be returned in case
a site is blocked.
The config file you post does not contain any URL redirection. Just try to
change you acl with something like :
acl {
default {
pass !custom all
redirect http://www.google.com
}
}
And see what appens.
HTH,
Rémi
> -----Message d'origine-----
> De : Scott Phillips [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 20 septembre 2006 23:57
> À : [email protected]
> Objet : simple config, still no luck
>
>
> 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!
>