Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name


Hi. I'm a Unix Administrator, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: Unix.
Rate this Entry

Die, Ad, die?

Posted 03-15-2013 at 08:21 PM by rocket357

I hate ads. I took it upon myself to start filtering ads via unbound recently, but then my wife (an avid Google Chrome user) started complaining about the incredibly painful eyesore that is Chrome's way of saying "jeez...this piece of the page rejected my connection attempt".

There must be an easier way, right?

Yup. There is.

On an old sparc box, I put nginx. I configured it to serve 404.gif (a transparent gif) on all 404 errors. Oh, did I mention the only file in it's root is 404.gif, so unless you specifically request the transparent gif, you get the transparent gif? I mean, unless you specifically request it, in which case you get...the transparent gif...

Yup. My firewall redirects dns traffic to my unbound instance, and unbound returns the ip of my nginx sparc machine for known ad servers.

The end result? No ads, no Chrome abuse, and less bandwidth across my internet connection.

Eat that, advertisers.
Posted in Uncategorized
Views 6294 Comments 2
« Prev     Main     Next »
Total Comments 2


  1. Old Comment
    Never was a Duke fan.
    Posted 03-15-2013 at 08:59 PM by VRV VRV is offline
  2. Old Comment
    Posted 03-15-2013 at 09:53 PM by rocket357 rocket357 is offline


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration