Please, help with this question !!!
I have:
- Linux kern. ver. 2.2.19 (Debian) in a ext2 fs
- SquidGuard ver. 1.2.0
- Berkeley DB ver. 2.7.7
- Squid ver. 2.4 Stable2 (with authentication, smb_auth, work fine)
In compilation time I do this:
./configure --with-sg-conf=/some/where/etc/squid.conf /
--with-sg-dbhome=/some/where /
--with-sg-log=/some/were/logs /
--prefix=/some/were
make, and make install (with same user of squid)
and my squidguard.conf like this:
------ Begin ------
dest good {
domainlist some/where/domains
urllist some/where/urls
expressionlist some/where/expression
}
dest porn {
domainlist some/where2/domains
urllist some/where2/urls
expressionlist some/where2/expression
}
acl {
default {
pass good !porn all
}
}
------ End ------
(compilation, configure and make), no erros
(squidguard -C all -d), no errros...
So, squidguard work fine with expressions! but don`t work with .DB !
And with listdb.pl I have a output like this:
.example.com -> undef
.anotherexample.com -> ""
... ?!?!?!?
Sorry for my english, and thank you to all.