Search squid archive

Re: squidguard not blocking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your SG process is stopping, so after you start SG do a 

ps aux l grep squidGuard 

and check whether SG process is running.
-Sent via Blackberry

-----Original Message-----
From: J Webster <jw.jwebster@xxxxxxxxx>
Date: Sat, 11 Aug 2012 09:29:32 
To: <gowows@xxxxxxxxx>
Cc: squid-users@xxxxxxxxxxxxxxx<squid-users@xxxxxxxxxxxxxxx>
Subject: Re:  squidguard not blocking

#
# 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
>
>




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux