[K12OSN] SquidGuard Not Filtering

Dan Bentson-Royal dbentson at lcsd.k12.wa.us
Mon May 16 18:13:15 UTC 2005


Do you have apache running on your squid box?

Mark Sarria wrote:
> I am finally understanding what I have working on my squid box. I know 
> its not filtering content because I am not getting the redirect page. 
> The page I am getting is the CONNECTION FAILED page;below I have 
> included my squidGuard.conf script
> 
>  
> 
> #
> 
> # CONFIG FILE FOR SQUIDGUARD
> 
> #
> 
> # See http://www.squidguard.org/config/ for more examples
> 
> #
> 
>  
> 
> dbhome /var/squidGuard/blacklists
> 
> logdir /var/log/squidGuard
> 
>  
> 
> dest ads {
> 
>     log        ads
> 
>     domainlist    ads/domains
> 
>     urllist        ads/urls
> 
> }
> 
>  
> 
> dest audio-video {
> 
>     log        audio-video
> 
>     domainlist    audio-video/domains
> 
>     urllist        audio-video/urls
> 
> }
> 
>  
> 
> dest aggressive {
> 
>     log        aggressive
> 
>     domainlist    aggressive/domains
> 
>     urllist        aggressive/urls
> 
> }
> 
>  
> 
> dest drugs {
> 
>     log        drugs
> 
>     domainlist    drugs/domains
> 
>     urllist        drugs/urls
> 
> }
> 
>  
> 
> dest gambling{
> 
>     log        gambling
> 
>     domainlist    gambling/domains
> 
>     urllist        gambling/urls
> 
> }
> 
> dest hacking {
> 
>     log        hacking
> 
>     domainlist    hacking/domains
> 
>     urllist        hacking/urls
> 
> }
> 
>  
> 
> dest mail {
> 
>     log        mail
> 
>     domainlist    mail/domains
> 
>     urllist        mail/urls
> 
> }
> 
>  
> 
> dest porn{
> 
>     log        porn
> 
>     domainlist    porn/domains
> 
>     urllist        porn/urls
> 
> }
> 
>  
> 
> dest proxy{
> 
>     log        proxy
> 
>     domainlist    proxy/domains
> 
>     urllist        proxy/urls
> 
> }
> 
>  
> 
> dest violence{
> 
>     log        violence
> 
>     domainlist    violence/domains
> 
>     urllist        violence/urls
> 
> }
> 
>  
> 
> dest warez{
> 
>     log        warez
> 
>     domainlist    warez/domains
> 
>     urllist        warez/urls
> 
> }
> 
>  
> 
> dest local-ok{
> 
>     domainlist      local-ok/domains
> 
>     urllist         local-ok/urls
> 
> }
> 
> dest local-block{
> 
>     log             local-block
> 
>     domainlist      local-block/domains
> 
>     urllist         local-block/urls
> 
> }
> 
>  
> 
> rewrite google {
> 
>     s@(google.com/search.*q=.*)@\1\&safe=active at i
> 
>     s@(google.com/images.*q=.*)@\1\&safe=active at i
> 
>     s@(google.com/groups.*q=.*)@\1\&safe=active at i
> 
>     s@(google.com/news.*q=.*)@\1\&safe=active at i
> 
>     # log google
> 
> }
> 
>  
> 
> acl {
> 
>     default {
> 
>         # for google to be in "safe mode"
> 
>         rewrite google
> 
>  
> 
>         # the default categories are conservative, please add any additional
> 
>         # categories listed above or simply comment out this line and 
> uncomment
> 
>         # out the line below it.
> 
>        # pass local-ok !local-block !gambling !porn !warez all
> 
>         pass local-ok !local-block !aggressive !drugs !gambling !hacking 
> !porn !proxy !violence !warez all
> 
>         redirect    
> 302:http://shsmain/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetgroup=%t&url=%u
> 
>         # redirect     
> 302:http://localhost.localdomain/cgi-bin/squidGuard-simple.cgi?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
> 
>  
> 
>  }
> 
> }
> 
>  
> 
> mark
> 
>                    
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

-- 
Dan Bentson-Royal
La Center School District
La Center, WA

      Due to budgetary constraints, the light at
      the end of the tunnel has been turned off.




More information about the K12OSN mailing list