Hi,

I am trying to get userquotas working on SquidGaurd 1.2.0 using this 
config file. This should only allow me 10 seconds of surfing per day but 
I am able to surf constantly. Am I missing something from my 
configuration file? Thanks.



#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/blacklists
logdir /usr/local/squidGuard/log

#
# SOURCE CLASSES;
#

source timelimit {
        user boutilpj
        userquota 10 1 daily
}

#
# DESTINATION CLASSES:
#

dest porn {
        domainlist      porn/domains
        urllist         porn/urls
        log porn.log
}


acl {
        timelimit {
                pass     !porn all
                redirect 
http://my.web.server/cgi-bin/squidGuard-simple.cgi?clientaddr=%a&clientname=%n&clientident=%i&clientgroup=%s&destinationgroup=%t&url=%u
        }
        default {
                pass     none
                redirect 
http://my.web.server/cgi-bin/squidGuard-simple.cgi?clientaddr=%a&clientname=%n&clientident=%i&clientgroup=%s&destinationgroup=%t&url=%u
        }
}

Reply via email to