Rick,
I added a log to the default section of squidGaurd.conf as you suggested.
SquidGaurd.conf:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
src neil {
ip 127.0.0.1
user neil
}
src lisamarie {
ip 10.0.0.10/8
user lisamarie
}
dest porn {
domainlist porn/domains
urllist porn/urls
logfile porn.log
redirect http://mydomain.com/images/title.php?size=15&text=denied
}
dest ads {
domainlist ads/domains
urllist ads/urls
expressionlist ads/ads.expressions
logfile ads.log
redirect http://mydomain.com/images/1x1.gif
}
acl {
neil {
pass !ads !porn all
}
lisamarie {
pass all
}
default {
pass none
redirect http://mydomain.com/images/title.php?size=15&text=denied
logfile default.log
}
}
As neil I attempt to have mozilla access a website via squid.
Squid access.log:
1033220088.802 28681 127.0.0.1 TCP_MISS/200 568 GET http://slashdot.org/ neil
DIRECT/216.138.221.7 image/png
1033220091.358 41 127.0.0.1 TCP_MISS/200 568 GET http://slashdot.org/ neil
DIRECT/216.138.221.7 image/png
SquidGauard default.log:
2002-09-28 09:34:48 [20078] Request(default/none/-) http://slashdot.org/ 127.0.0.1/- -
GET
2002-09-28 09:34:51 [20078] Request(default/none/-) http://slashdot.org/ 127.0.0.1/- -
GET
My requests are always redirected to the default deny policy. Why is this?
Thanks,
--
Neil Watson
Network Administrator
watson-wilson.ca