[K12OSN] Enhancement to squidGuard package to force Google's SafeSearch feature to be ON

Mike Rambo mrambo at lsd.k12.mi.us
Wed Apr 7 17:41:47 UTC 2004


Where can this rpm be found these days. It doesn't appear to be at the
location indicated below. Is there a source rpm by any chance?

Thanks.


On Sun, 2004-02-01 at 12:34, Eric Harrison wrote:
> I wrote a patch for squidGuard that enhances the URL re-writting capabilities.
> 
> The main purpose of this was to make it possible to force Google's SafeSearch
> feature to always be ON.
> 
> In the revised squidGuard.conf, I added a new rule that appends "&safe=active"
> to any search made at google.com (including images.google.com and 
> groups.google.com). Here's the new rule:
> 
> 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
> }
>                                                                                 
> 
> This is made active by adding "rewrite google" in the default acl section
> (active by default in the new squidGuard.conf).
> 
> I am running these revised packages on my production servers, once I'm
> sure that they are fully stable I'll put the packages into the yum/apt
> repositories.
> 
> If you want to test them out, the package can be found at:
> 
>   ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/testing/RPMS/
> 
> This package will works on K12LTSP 3.1.2 and 4.0.0.
> 
> -Eric
> 


-- 
Mike Rambo
mrambo at lsd.k12.mi.us

Evolution (n): A hypothetical process whereby infinitely improbable events occur 
with alarming frequency, order arises from chaos, and no one is given credit.





More information about the K12OSN mailing list