LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2011, 01:30 AM   #1
william barth
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
unwanted ads


What is the best way (or software package) to use to block double click, about.blank and so on. I am running fedora 9 on iptabled firewall that will protect my home network of mixed OS's. Thank you.
 
Old 09-07-2011, 02:01 AM   #2
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
I tried this nice but old guide a long time back and was happy with it: http://www.melvilletheatre.com/artic...oxy/index.html
It uses Squid for caching and Privoxy for blocking ads etc. Point all the browsers in your LAN to Privoxy's address/port and you're good to go.
 
Old 09-07-2011, 02:18 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by william barth View Post
What is the best way (or software package) to use to block double click, about.blank and so on. I am running fedora 9 on iptabled firewall that will protect my home network of mixed OS's. Thank you.
The simplest way would be to add the undesirable names to
/etc/hosts with a local address ....
e.g.,
127.0.0.2 doubleclick.net doubleclick.net


Cheers,
Tink
 
Old 09-07-2011, 11:54 AM   #4
william barth
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arungoodboy View Post
I tried this nice but old guide a long time back and was happy with it: http://www.melvilletheatre.com/artic...oxy/index.html
It uses Squid for caching and Privoxy for blocking ads etc. Point all the browsers in your LAN to Privoxy's address/port and you're good to go.
This is good info for my work station. On my 1st post stated that i am dealing with other OS's (sic). I can not impose Linux on the other networked people. The Squid - Privoxy may well be the the start of something BIG; but this solution calls for changes on each workstation's browser which I can't comply with at this time. Thank you for your time and a good start.
 
Old 09-07-2011, 12:42 PM   #5
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
You can do this at the individual workstations with Firefox and the AdBlock and NoScript extensions.
 
Old 09-07-2011, 01:32 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If you want to implement Tink's solution (post #3), and you have the (free) Spybot Search & Destroy package installed on a Windows system, you can ask it to "inoculate" that system. It will then create a C:\Windows\System32\drivers\etc\hosts file (on Win7, but in an ...\etc\hosts file on other releases) mapping several thousand scruffy sites to 127.0.0.1. You can move that file into you Linux /etc/hosts file and not see those sites again.

Oh, about.blank is, AFAIK, just a placeholder indicating that a blank page is being displayed, not something you can (or need to) block.

Note: Other Windows packages may do the same thing. I've been using the Spybot one for at least a decade, maybe two, with no problems, so I've never looked for any other package.
 
Old 09-07-2011, 02:15 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I am running fedora 9
for the VERY OLD and VERY DEAD fedora 9
you do nothing
none of the current firefox plugins will run on the very old firefox2 in fedora 9
the current firefox 6 will not run on fedora 9

fedora 9 is and has been DEAD for a very long time
The current version of fedora is fedora 15
You are 6 versions out of date


install fedora 15
THEN
install add block pulse and no-script in firefox6


also DO NOT use the HOST file to redirect back to localhost ( fedora is NOT WINDOWS )
there is a " hosts.deny " file
ALSO NOT RECOMMENDED
use "add block" and "no-script" after you INSTALL fedora 15

Last edited by John VV; 09-07-2011 at 02:18 PM.
 
Old 09-07-2011, 07:36 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You can get an excellent hosts file here; I've been using their hosts file for years.

With a good hosts file, you don't need any memory-hogging browser plugins.

http://winhelp2002.mvps.org/hosts.htm

Do not just overwrite your existing hosts file. The information at the beginning of that file should be incorporated into the beginning of the new one.

Also, update your Fedora.
 
Old 09-07-2011, 07:48 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a host file will not block the third party cross site scripting
 
Old 09-08-2011, 08:41 PM   #10
william barth
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
WOW! Thanks for all good pionters. You all rock. At my age I hope that is the right use of "rock". I would like comments on the following do to something I read on the net. What about a non caching forwarding DNS server on my network. It would not be open to the public.
 
Old 09-08-2011, 08:45 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you are trying to block ads when surfing, then FF+NoScript (+ optionally AdBlockPlus) is the way to go, imho.
No pt in messing with the system level.

I also use flashblock, so I only see flash if I want to, on a per flash-file basis.
http://flashblock.mozdev.org/

Last edited by chrism01; 09-08-2011 at 08:47 PM.
 
Old 09-08-2011, 08:54 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
OP was specifically talking about blocking ads such as those served by doubleclick, not at blocking a malicious attack.

A host file does that adequately.

If I implied that a hosts file provides security, then I phrased myself poorly. It eliminates inconvenience.
 
  


Reply

Tags
dont_use_a_hosts_file



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
Unwanted dd result pofadda Linux - General 5 02-21-2010 06:23 PM
unwanted data leveex Slackware 5 01-05-2007 02:21 AM
Unwanted link mat_uk111 SUSE / openSUSE 1 05-18-2006 09:04 PM
IBM ads vs. the Intel ads on TV vharishankar General 1 03-16-2005 05:47 AM
Unwanted shutdown tireseas Linux - Hardware 17 01-02-2004 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration