[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Squidguard
- From: E Nigma <enigma os2 ami com au>
- To: enigma-list redhat com
- Subject: Re: Squidguard
- Date: Mon, 3 Dec 2001 07:02:14 +0800
On Monday 03 December 2001 06:44, you wrote:
> I've installed squidGuard for a local cyber-cafe, and it works quite
> well.....
>
> You do have to install db2, even though db3 is installed, squidGuard
> doesn't support db3 yet.. (or last time I installed it).
I did install db2-devel (though from RHL 7.1;-))
It got an error on cursor() - too many arguments.
>
> As far as I remember, download db2 (http://ftp.ost.eltele.no/pub/db/),
> untar, ./configure, make, make install.
That was easy, and Squidguard found it in its default location.
>
> Then untar ./configure, make, make install squidGuard
>
> Make some directories
> /usr/local/squidGuard/
> /usr/local/squidGuard/db
> /usr/local/squidGuard/log
>
> Download the blacklists and put them into /usr/local/squidGuard/db
>
> I stopped reading their docs at this point and just gave the ownership
> of those directories to the squid-user (755).
>
> The conf-file, caused me problems - the version on the website wouldn't
> work for me, however here is my /usr/local/squidGuard/squidGuard.conf
>
> logdir /usr/local/squidGuard/log
> dbhome /usr/local/squidGuard/db
>
>
> dest porn {
> domainlist porn/domains
> urllist porn/urls
> }
>
> //// repeated for each directory in blacklists
>
> acl {
> default {
> pass ourgood !ourbad !porn !violence !aggressive !drugs
> !gambling !hacking !warez
> redirect http://www.you-have-been-naughty/
> }
> }
>
>
> I also created a directory ourgood and ourbad, inside
> /usr/local/squidGuard/db, so that we could override sites by adding the
> domain to /usr/local/squidGuard/db/ourgood/domains and then sending
> squidGuard (or was it squid) a Hangup signal.
>
> /etc/squid/squid.conf, needs the following line
> redirect_program /usr/local/bin/squidGuard
>
> restart squid and it should work.
>
>
> It was that straight forward for me on Redhat 7.1/7.2 - it would be nice
> for it to be a rpm -i squidGuard job, but I'm happy they have CURL
> compiled into php (was facing compiling php tonight).
>
> I'm sure the blacklists have put sites like modssl.org and other linux
> admin sites into the category of porn ;-)
>
>
> Hope this helps.
Thanks for your time.
--
Please, no off-list mail
Note: mail delivered to me is deemed to be intended for me, for my
disposition.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]