On Wednesday 06 February 2002 11:23 am, Robin Lynn Frank wrote:
> Okay, everything seems to work except logging. If the conf file has :
>
> logdir /usr/local/squidGuard/logs
> dbhome /usr/local/squidGuard/db/block/blacklists
> destination porn {
> domainlist porn/domains
> urllist porn/urls
> redirect 302:http://paradigm-omega.com/p-o.gif
> logfile porn.log
> }
>
> I get redirected when I try to go to www.porn.com, but there is nothing
> logged. What should I look at to fix this?
Let me amend things. ads.log works:
2002-02-06 12:55:32 [3050] Request(default/ads/-)
http://ad.doubleclick.net/ad/N1684.Yahoo2.com/B48026.7;sz=728x90;ord=1013025319?
127.0.0.1/- - GET
2002-02-06 12:58:45 [3050] Request(default/ads/-) http://www.flycast.com/
127.0.0.1/- - GET
but, still nothing in porn.log. SquiGuard.log also works.
Just in case there is something in my squidGuard.con, it is included below.
logdir /usr/local/squidGuard/logs
dbhome /usr/local/squidGuard/db/block/blacklists
destination porn {
domainlist porn/domains
urllist porn/urls
redirect 302:http://paradigm-omega.com/p-o.gif
logfile porn.log
}
destination ads {
domainlist ads/domains
urllist ads/urls
redirect 302:http://paradigm-omega.com/p-o.gif
logfile ads.log
}
destination aggressive {
domainlist aggressive/domains
urllist aggressive/urls
redirect 302:http://paradigm-omega.com/p-o.gif
logfile aggressive.log
}
destination audio-video {
domainlist audio-video/domains
urllist audio-video/urls
redirect 302:http://paradigm-omega.com/p-o.gif
logfile audio-video.log
}
destination expressions {
expressionlist porn/expressions
redirect 302:http://paradigm-omega.com/p-o.gif
}
destination warez {
domainlist warez/domains
urllist warez/urls
redirect 302:http://paradigm-omega.com/p-o.gif
logfile warez.log
}
acl {
default {
pass !warez !expressions !audio-video !
aggressive !ads !porn all
}
}
--
Robin Lynn Frank
Director of Operations
Paradigm-Omega, LLC
Current Linux kernel 2.4.8-26mdk uptime: 0 hours 32 minutes.
(This computer runs on solar power.
Do not look for long uptimes.)
www.paradigm-omega.com * www.paradigm-omega.net