We have a squid server using squidguard to filter URLs and domains, it also enforces Googles strict search on all search requests.

This all works fine expect the rewrite rule is being enforced on the nofilter ACL when it should be.

Users on the IP address in “nofilter” rule don’t get filtered by squidguard for URLs or domains but are having the Google URLs rewritten to enforce safe search.

Have I put something wrong into the squidGuard.conf file?

 

Below is a cut down version of the config file.

 

Does anyone have any ideas?

 

######

src nofilter {

        ip 192.168.0.1

        ip 192.168.0.3

        ip 192.168.0.100

}

 

dest adult {

       expressionlist  adult/adult.destexprlist

        domainlist      adult/domains

        urllist         adult/urls

        redirect        http://10.0.0.1/blocked.html

log filter

}

 

rew searchengines {

s@(google..*/search?.*q=.*)@\1\&[EMAIL PROTECTED]

s@(google..*/images.*q=.*)@\1\&[EMAIL PROTECTED]

s@(google..*/groups.*q=.*)@\1\&[EMAIL PROTECTED]

s@(google..*/news.*q=.*)@\1\&[EMAIL PROTECTED]

log searchengines

}

 

acl {

        nofilter {

                pass any

        }

 

        default {

 

                pass !adult all

                        rewrite searchengines

        }

}

####

 

Thanks

Tony

 

 


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to