#
# CONFIG FILE FOR SQUIDGUARD
#
#dbhome /usr/local/squidGuard/db
#logdir /usr/local/squidGuard/logs
dbhome /var/lib/squidguard
logdir /var/log/squidguard
dest porn {
domainlist porn/domains
urllist porn/urls
}
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
}
dest hacking {
domainlist hacking/domains
urllist hacking/urls
}
dest religion {
domainlist religion/domains
urllist religion/urls
}
dest spyware {
domainlist spyware/domains
urllist spyware/urls
}
dest violence {
domainlist violence/domains
urllist violence/urls
}
dest weapons {
domainlist weapons/domains
urllist weapons/urls
}
acl {
default {
pass !porn !aggressive !hacking !religion !spyware
!violence !weapons !in-addr all
redirect http://www.mysite.co.uk/blockaccess.php
}
}
[root ~]# service squid restart
Stopping squid: ................ [ OK ]
Starting squid: . [ OK ]
[root squidguard]# date
Sat Aug 11 08:27:00 BST 2012
[root squidguard]# tail -f squidGuard.log
2012-08-10 17:26:39 [28522] loading dbfile
/var/lib/squidguard/violence/domains.db
2012-08-10 17:26:39 [28522] init urllist /var/lib/squidguard/violence/urls
2012-08-10 17:26:39 [28522] loading dbfile
/var/lib/squidguard/violence/urls.db
2012-08-10 17:26:39 [28522] init domainlist
/var/lib/squidguard/weapons/domains
2012-08-10 17:26:39 [28522] loading dbfile
/var/lib/squidguard/weapons/domains.db
2012-08-10 17:26:39 [28522] init urllist /var/lib/squidguard/weapons/urls
2012-08-10 17:26:39 [28522] loading dbfile
/var/lib/squidguard/weapons/urls.db
2012-08-10 17:26:39 [28522] squidGuard 1.3 started (1344615999.035)
2012-08-10 17:26:39 [28522] squidGuard ready for requests (1344615999.039)
2012-08-10 17:26:39 [28522] squidGuard stopped (1344615999.040)
On 10/08/12 23:49, Go Wow wrote:
> Is squidguard log config in squidguard.conf file? If not config the log and watch the log whether the traffic is hitting SG or not. I feel there some config issue in SG.
>
> Let us see your config files and client IP or username.
> -Sent via Blackberry
>
>
Received on Sat Aug 11 2012 - 07:29:46 MDT
This archive was generated by hypermail 2.2.0 : Sat Aug 11 2012 - 12:00:03 MDT