On Sat, Jul 25, 2015 at 10:42:26PM +0100, steve-ALUG@hst.me.uk wrote:
On 23/07/15 11:16, Chris Green wrote:
On Wed, Jul 22, 2015 at 08:33:23PM +0100, steve-ALUG@hst.me.uk wrote:
On 22/07/15 17:34, Chris Green wrote:
What Ad blocking plugins do people use here (Firefox on Xubuntu mostly)?
My web browsers go via a network proxy to a server running privoxy My server runs dnsmasq which has a file containing a "block list" containing bad and ad-serving sites
e.g. pgl.yoyo.org/adservers
I have a trivial version of this already (I run dnsmasq on the LAN) so I can extend my "block list". I have apache running too so can redirect to a trivial page like yours.
Yes. I have a cron job that fetches a new block list. It uses sed and a couple of other things to change the format from the website I downloaded from to one that dnsmasq likes. I also filter out a couple of domains that stop useful things from working - trial and error on that I'm afraid.
Be careful that your trivial page doesn't mess up a genuine page on Apache. You could redirect blocked pages to something like 127.0.0.2 which is also a localhost address, and get your webserver to serve a trivial web page on that ip address not on 127.0.0.1.
I really don't see how this works now I think about it.
For example if I redirect, say, www.googleadservices.com or doubleclick.net to my local server then all I'll ever see is an error saying page not found isn't it?