I've had some of the same issues, and here's what has worked for me.

How many entries are typically in the temp-ok group?  I realize it
goes up and down, but I'd bet it's normally a couple hundred? A
thousand?

Set up your scripts so that every time you are making a change to 
temp-ok they delete the .db files in temp-ok.  Make your changes 
directly to temp-ok/domains and temp-ok/urls... if it's not in
there and you need it, add it.  If it is in there and you want it
out, delete it.  Then do your 'squid -k reconfigure'.

squidGuard will start from the text files in temp-ok, but the number
of entries is so low that you'll never notice the difference.  Any
regular maintenance scripts that you have may build new .db files
in temp-ok, but that's alright, because you'll delete them when
you make changes.

Rick



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of mailling list
> account
> Sent: Monday, March 31, 2003 9:56 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: dynamic white lists 
> 
> 
> Hey...
> 
> I'm network admin for a small school in Columbus, OH.
> For content filtering, we're running squid and SquidGuard (squidguard
> 1.2.0 and bdb 3.2.9 )
> 
> We've the system set up so that all windows users need to have identd or
> squid ncsa authentification.
> It's running well so far.
> The only problem is, that we sometimes just have the need to 'unblock'
> certain websites, for research projects.
> 
> For that purpose, i wrote some scripts, that add domains/urls to a .diff
> file for the temp-ok group, then update the db's w/ squidGuard -u, and
> then restart squid (suqid -k reconfigure)
> it seemed to work fine at the beginning, but now, i can't even unblock a
> site when i do it manually, by adding it to the .diff file.
> 
> i added my acl parts of the filter.conf:
> 
> 
>    thegrahamschool within non_school {
>     pass temp-ok local-ok perm-ok !drugs !porn !proxy !violence !warez all
>    }
> 
>    thegrahamschool outside non_school {
>     pass local-ok temp-ok perm-ok !entertainment !drugs !porn !proxy
> !violence !warez all
>    }
> 
> 
> Anybody a idea, whats wrong?
> thanks a lot,
> 
> Patrick
> 
> 
> +-----------------------------------------------------------------+
> | Patrick Blitz                                                   |
> | Network Administrator                                           |
> | The Graham School, Columbus, OH                                 |
> | Mobile: ++1 (614) 446-1948                                      |
> | Home: ++1 (614) 446-1948                                        |
> | [EMAIL PROTECTED]                                       |
> +-----------------------------------------------------------------+
> 
> 
> 

Reply via email to