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 >
