Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Dan on October 01, 2003, 02:05:51 PM
-
Anyone managed to get Bannerfilter working on 5.5 or 5.6? Or is there another package out there which filters ads/pop ups?
-
Yes it works on 5.6. Just follow the directions in the README file and add a custom template fragment for your squid.conf file.
wget http://www.phroggy.com/files/unix/bannerfilter-1.21.tar.gz
tar -zxvf bannerfilter-1.21.tar.gz
mv bannerfilter-1.21 /usr/local/squid/
cd /usr/local/squid/bannerfilter-1.21/
mv www /home/e-smith/files/primary/html/bannerfilter
mv bannerfilter.conf /etc/
# Test redirector.pl by running the script, typing something, and making
# sure you get something back (generally the same thing you typed). Press
# Ctrl-C to stop. Yes, this step is important. If you get an error, fix it
# before proceeding.
./redirector.pl
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf
echo "redirect_program /usr/local/squid/bannerfilter-1.21/redirector.pl" > /etc/e-smith/templates-custom/etc/squid/squid.conf/81Bannerfilter
/sbin/e-smith/expand-template /etc/squid/squid.conf
service squid restart
-
Does this slow down my browsing speed?
-
If anything you may see a slight speed increase since the banner replacements are pulled from your server instead of downloading the actual banners from the internet.
-
You didn't search too hard, Dan. :-)
http://www.e-smith.org/bboard/search.php?search=bannerfilter&f=0&match=1&date=0&fldsubject=1&fldbody=1
(Leads to: http://forums.contribs.org/index.php?topic=14235.msg54149#msg54149)
It still works very well on my machine. My wife has gotten so used to it that she was surprised at the amount of junk shown on most sites when she used a friend's pc. :-D
-
Thanks Doug M. works a treat.