dbhome /var/lib/squidGuard/db
logdir /var/log/squidGuard
#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
dest ads {
domainlist squidguard-blacklists/ads/domains
urllist squidguard-blacklists/ads/urls
# enable next line to log blocked urls
# log ads-block.log
}
dest aggressive {
domainlist squidguard-blacklists/aggressive/domains
urllist squidguard-blacklists/aggressive/urls
# enable next line to log blocked urls
# log aggressive-block.log
}
dest audio-video {
domainlist squidguard-blacklists/audio-video/domains
urllist squidguard-blacklists/audio-video/urls
# enable next line to log blocked urls
# log audio-video-block.log
}
dest drugs {
domainlist squidguard-blacklists/drugs/domains
urllist squidguard-blacklists/drugs/urls
# enable next line to log blocked urls
# log drugs-block.log
}
dest gambling {
domainlist squidguard-blacklists/gambling/domains
urllist squidguard-blacklists/gambling/urls
# enable next line to log blocked urls
# log gambling-block.log
}
dest hacking {
domainlist squidguard-blacklists/hacking/domains
urllist squidguard-blacklists/hacking/urls
# enable next line to log blocked urls
# log hacking-block.log
}
dest mail {
domainlist squidguard-blacklists/mail/domains
# enable next line to log blocked urls
# log mail-block.log
}
dest porn {
domainlist squidguard-blacklists/porn/domains
urllist squidguard-blacklists/porn/urls
expressionlist squidguard-blacklists/porn/expressions
# enable next line to log blocked urls
# log porn-block.log
}
dest proxy {
domainlist squidguard-blacklists/proxy/domains
urllist squidguard-blacklists/proxy/urls
# enable next line to log blocked urls
# log proxy-block.log
}
dest violence {
domainlist squidguard-blacklists/violence/domains
urllist squidguard-blacklists/violence/urls
expressionlist squidguard-blacklists/porn/expressions
# enable next line to log blocked urls
# log violence-block.log
}
dest warez {
domainlist squidguard-blacklists/warez/domains
urllist squidguard-blacklists/warez/urls
# enable next line to log blocked urls
# log warez-block.log
}
dest good {
domainlist custom/good/domains
}
dest bad {
domainlist custom/bad/domains
# enable next line to log blocked urls
# log bad.log
}
dest timo
{
domainlist timo/domains
# urllist timo/urls
# expressionlist timo/expressions
log timo.log
}
acl {
default {
pass good !bad !ads !aggressive !drugs !gambling !hacking !porn !proxy !violence !warez !timo !in-addr all
# redirect http://localhost/index.html
redirect http://localhost/cgi-bin/squidGuard-simple.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
# redirect 302:http://localhost/cgi-bin/squidGuard-simple.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t
# redirect 302:http://localhost/cgi-bin/squidGuard.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
}
}