I've been trying to make squid and squiguard play nice for hours. Squid works fine on
its own. I've installed squidguard to filter adult content. Squidguard never idents
the user and therefore uses the default rule of deny.
squidguard conf file:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
src neil {
ip 10.0.0.10
user neil
}
dest porn {
domainlist porn/domains
urllist porn/urls
}
dest ads {
domainlist ads/domains
urllist ads/urls
}
acl {
neil {
pass !ads !porn all
}
default {
pass none
redirect http://webserver/images/title.php?size=15&text=denied
}
}
Relevant code from squid.conf:
acl allowed_hosts src 127.0.0.1 10.0.0.10
ident_lookup_access allow allowed_hosts
ident_lookup_access deny all
The ident service is running. All of these services are running on the same box. The
same box that my browser is running on.
Can anyone please offer some suggestions?
--
Neil Watson
Network Administrator
watson-wilson.ca