LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Using DNS for blocking web advertising (https://www.linuxquestions.org/questions/linux-networking-3/using-dns-for-blocking-web-advertising-248331/)

markham82 10-28-2004 07:28 AM

Using DNS for blocking web advertising
 
Just thought I'd share this article, thought it was pretty cool.

http://www.samag.com/documents/s=899...401c/0401c.htm

maxut 10-28-2004 09:39 AM

it seems a good idea. but i prefer squid+squidguard. so it is also possible to block most of hack warez porn ...... sites. i think there are soo many addware sites. at least my squidguard has got about 2900 adware records in its blacklist.

www.squidguard.org

good luck.

NetAX 10-28-2004 12:44 PM

Hmm, thats very interesting, its the exact setup i have been using to combat adware. I wrote an automated script that will allow me to input just the domain and it will write the rest of the DNS configuration for me. I have the domains rerouted to a page on my webserver that says the page has been blocked.

If you can't beat 'em block 'em!

celejar 10-28-2004 09:44 PM

I've been happily using the junkbuster proxy for years. It doesn't ship with a blocklist but you can find a good starter list on the internet, and it's trivial to add your own stuff as you go. You can block by site or path, and it has great regex support for stuff like this (first few lines of a blocklist) :

/*.*/(.*[-_.])?ads?[0-9]?(/|[-_.].*|\.(gif|jpe?g))
/*.*/(.*[-_.])?count(er)?(\.cgi|\.dll|\.exe|[?/])
/*.*/(ng)?adclient\.cgi
/*.*/(plain|live|rotate)[-_.]?ads?/
/*.*/(sponsor|banner)s?[0-9]?/
/*.*/.*banner([-_]?[a-z0-9]+)?\.(gif|jpg)
/*.*/_?(plain|live)?ads?(-banners)?/
/*.*/abanners/
/*.*/ad(sdna_image|gifs?)/
/*.*/ad(server|stream|juggler)\.(cgi|pl|dll|exe)
/*.*/adbanners/
/*.*/adserver
/*.*/adstream\.cgi
/*.*/adv((er)?ts?|ertis(ing|ements?))?/
/*.*/anzei(gen)?/?
/*.*/ban[-_]cgi/
/*.*/banner_?ads/
/*.*/banner_?anzeigen
/*.*/bannerimage/
/*.*/banners?/


All times are GMT -5. The time now is 03:50 AM.