John Sutherland wrote:
>
> It works! I can't beleive it.
Super! It's amazing how a little success can keep you going, isn't
it!
> Now how can I replace banner adds with my own graphic? Where in
> the SquidGuard.conf file to I put the statement? Is it a redirect
> statement?
It's easier than you think it is, and it makes a big difference in
browsing speed!
Ads are blocked with a destination group, just like porn. You then
replace the ad graphic with a small (1x1) transparent gif. The
web page will resize the blank gif as required. One secret to
successful ad blocking is using an expressionlist. I also merge an
independent list of ad servers into my ads/domains file (it is
available in rm-blacklists.tar.gz below).
Here's an example of the changes to your config file:
dest ads {
domainlist blacklists/ads/domains
urllist blacklists/ads/urls
expressionlist blacklists/ads/expressions
redirect http://192.168.44.1/1x1.gif
logfile blocked.log
}
Here are a few links you may find handy:
1x1 transparent gif:
http://home1.gte.net/res0pj61/squidguard/1x1.gif
My ads/expression list:
http://home1.gte.net/res0pj61/squidguard/ads.expressions
My blacklists (with improved ads/domains):
http://home1.gte.net/res0pj61/squidguard/rm-blacklists.tar.gz
Let me know how it goes!
Rick Matthews