Title: RE: using adzap within squidguard

I appreciate your comments, thanks!
I managed to chain the processes.
Stil I have some issues with squidguard and hope to fix those soon. I do not have any errors in the log at the moment.
I now first use adzap chained with squidguard :
/usr/bin/perl /opt/adzap/scripts/squid_redirect /opt/squidGuard/bin/squidGuard -c  /etc/squidguard.conf

My box is running pretty well though with squid, apache (for proxy.pac script), trend (virusscanning), squidguard (almost), adzap, dns, fw toolkit (ftp/telnet),samba (smb_auth).

regards,
./koen

-----Original Message-----
From: Christophe Lestienne [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2002 16:08
To: Van Bossche Koen
Cc: '[EMAIL PROTECTED]'
Subject: Re: using adzap within squidguard


Hi Koen

Doing just the same (for about 2 years now) at our sites without any
problem or performance penalty.

AdZap (I hope you speak about Chameron Simpson's flavour) can be run
through a script (wrapzap) that will prepare some parameters then call a
perl script (zapchain) that will take care of the chaining of the
redirectors. All the stuff is available on his site
(http://www.zip.com.au/~cs/adzap/) and is really easy to configure. The
only annoying stuff here is the high contrast replacement stuff he
provides default. Up to you to change it. Some patterns are perhaps too
"aggressive", as we have had in the past some sites where important
parts containing /ads/ in the URL were filtered. But you can even
configured a prematch (bypass) and postmatch list.

About the squidGuard itself, I found it tricky about its permissions. He
must be able to write to its DB's even if you never will. Then the
integration with the squid requires a little more effort especially if
the squid user is not the squidGuard owner (as we do). We solved the
problem by making the squidGuard owner the owner of all the files
(binaries included) with enough privileges... But that's another story
and I thin there are people in the list with by far more experience in
this area...

Hope it helps...


Christophe Lestienne

Information Systems
Umicore
Hoboken (Belgium)



Van Bossche Koen wrote:



>
>
> Hi all,
>
> I have a dilemma, I want to use squidguard and adzap together with
> squid. However I cannot use them both as a redirector.
>
> Is it possible to run adzap from squidguard?
> Or is there a other possibility within squidguard to block ads?
>
> Secondly I have squidguard 1.2.0 and Berkeley DB 3.2.9 installed. I
> had some problems first, wrong path for logfile. Now it runs withour
> errors, but still it does not block.
>
> This is what my logfile mentions :
> 2002-05-14 15:07:33 [29029] init domainlist
> /etc/squidguard/kone/kone.com
> 2002-05-14 15:07:33 [29029] loading dbfile
> /etc/squidguard/kone/kone.com.db
> 2002-05-14 15:07:33 [29029] Error db_open: Permission denied
> 2002-05-14 15:07:33 [29029] going into emergency mode
> 2002-05-14 15:07:33 [29032] init domainlist
> /etc/squidguard/kone/kone.com
> 2002-05-14 15:07:33 [29032] loading dbfile
> /etc/squidguard/kone/kone.com.db
> 2002-05-14 15:07:33 [29032] Error db_open: Permission denied
> 2002-05-14 15:07:33 [29032] going into emergency mode
> 2002-05-14 15:28:36 [29032] ending emergency mode, stdin empty
> 2002-05-14 15:28:36 [29031] ending emergency mode, stdin empty
> 2002-05-14 15:28:36 [29030] ending emergency mode, stdin empty
> 2002-05-14 15:28:36 [29029] ending emergency mode, stdin empty
>
> I'll appreciate all suggestions.
>
> regards,
> ./koen
>
> Koen Van Bossche
>
> KONE International SA
> KCO Telecom
> Ave E. Van Nieuwenhuyse, 6
> B - 1160 Brussels, Belgium
> Tel  : +32 (0)2 676.93.81
> Fax : +32 (0)2 676.93.91
> This message has been checked by KONE Corporation for the presence of computer viruses

>

This message has been checked by KONE Corporation for the presence of computer viruses

Reply via email to