Andi Hari writes:
> 
> Hi, my squidguard looks not working.
> 
> Below are my squid.conf,squidguard.conf 
> 
--- squid.conf listing clipped -----

I've made a few recommended changes to your squidGuard.conf below.
If your squidGuard has been working properly (excluding userquota),
then userquota should work for you using the squidGuard.conf below.

I'd also recommend that for testing you change your userquota line to:
userquota 300 60 daily
You don't really want to surf for an hour to test it, do you?

This configuration worked for me.

Rick


> " and my squidguard.conf "
> proxy:/etc/squid #  more /etc/squidguard.conf
> 
> logdir /var/squidGuard/logs
> dbhome /var/squidGuard/db
> 
> src free {
>     iplist /var/squidGuard/oke
> }
> src minute {
>     iplist /var/squidGuard/no
      userquota 3600 60 daily                       #make this change
> }
> dest blacklist {
>     domainlist blacklist/domains
>     urllist    blacklist/urls
      redirect   http://yourserver.com/blocked-page #add this
      log        blocked.log                        #add this
> }
> 
> acl {
>     free {
         pass !blacklist all                        #make this change
>     }
> 
>     minute {
         pass !blacklist all                        #make this change
>     }
> 
>     default {
>         pass none
>         redirect   http://www.altuwairqi.com.sa
          log        blocked.log                    #add this
>     }
> }
> 
> 
> " And status from ps ax command "
> proxy:/etc/squid # ps ax | grep squid
> 16353 ?        S      0:00 /usr/sbin/squid -sYD
> 16355 ?        S      0:01 (squid) -sYD
> 16356 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
> 16357 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
> 16358 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
> 16359 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
> 16360 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
> 
> 
> " my no and oke file "
> 
> proxy:/var/squidGuard # more /var/squidGuard/no
> 144.12.16.28
> 144.12.16.30
> 
> proxy:/var/squidGuard # more /var/squidGuard/oke
> 144.12.16.65
> 144.12.16.66
> 144.12.16.140
> 144.12.16.77
> 144.12.16.58
> 144.12.16.99
> 144.12.16.120
> 
> proxy:/var/squidGuard # tail -f /var/squidGuard/logs/squidGuard.log
> 2003-03-22 20:31:56 [16360] init iplist /var/squidGuard/oke
> 2003-03-22 20:31:56 [16360] init iplist /var/squidGuard/no
> 2003-03-22 20:31:56 [16360] Userquota seconds sporadic hourly|daily|weekly
> 2003-03-22 20:31:56 [16360] init domainlist /var/squidGuard/db/blacklist/domains
> 2003-03-22 20:31:56 [16360] init urllist /var/squidGuard/db/blacklist/urls
> 2003-03-22 20:31:56 [16358] init urllist /var/squidGuard/db/blacklist/urls
> 2003-03-22 20:31:56 [16358] squidGuard 1.2.0 started (1048354316.543)
> 2003-03-22 20:31:56 [16358] squidGuard ready for requests (1048354316.725)
> 2003-03-22 20:31:56 [16360] squidGuard 1.2.0 started (1048354316.646)
> 2003-03-22 20:31:56 [16360] squidGuard ready for requests (1048354316.738)
> 
> 
> 
> I'm trying to give only one hour to my pc , but it's not working.
> i'm waiting for your help
> 
> best regards
> 
> 
> andihari
> 

Reply via email to