LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-28-2004, 07:28 AM   #1
markham82
LQ Newbie
 
Registered: Oct 2004
Location: Rochester, NY, USA
Distribution: Red Hat 7, 9, Fedora Core 2, Windows 2000/XP
Posts: 27

Rep: Reputation: 15
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

Last edited by markham82; 10-28-2004 at 07:30 AM.
 
Old 10-28-2004, 09:39 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.

Last edited by maxut; 10-28-2004 at 09:49 AM.
 
Old 10-28-2004, 12:44 PM   #3
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 146

Rep: Reputation: 16
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!
 
Old 10-28-2004, 09:44 PM   #4
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
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?/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
blocking Web on firewall to use only squid mfeoli Linux - Networking 0 01-27-2004 10:04 AM
Web Blocking Software RanmaPhreak79 Linux - Software 4 01-14-2004 04:46 PM
blocking web access for dial-up user kdemaree Linux - Security 2 12-09-2003 10:38 AM
Blocking web sites lovswr Linux - Software 6 11-03-2003 12:10 PM
IPchains- Blocking web addresses sihere Linux - Networking 4 10-23-2002 06:59 AM


All times are GMT -5. The time now is 06:10 PM.

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