Re: Do you use HOSTS file ?
From: Craig Macbride (craig_at_f8d.com)
Date: 07/27/04
- Previous message: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- In reply to: Programmershouse: "Do you use HOSTS file ?"
- Next in thread: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- Reply: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Jul 2004 08:03:09 -0600
spamprogrammershouse@yahoo.fr (Programmershouse) writes:
>http://www.ifrance.com/programmershouse/HOSTS-EN.HTML
>What do you think about it and what else more could I add to it ?
That it's an absolute worst case kludge when you have no other alternative.
>Stickman answered me : "Unfortunately, using the hosts file to block
>unwanted content is terribly inefficient."
>Why is that ?
A number of reasons:
* You have to list every host separately, an impossibly long task.
* If your local machine doesn't run a web server, the references to
127.0.0.1 will take ages to time out, quite possibly taking longer
than just loading the ad banners in the first place!
* If you get around this by pointing those hosts entries at the closest
web server instead, such as your ISP's web server, that's even kludgier,
and has to be changed whenever you change ISPs.
* If your local machine does run a web server, pages may not display
nicely with missing parts.
>Do you think squid is more efficient ? Or iptables ?
www.privoxy.org
>What about Microsoft OS too ?
There's a Windoze version of privoxy too.
--
Craig Macbride <craig@f8d.com> http://www.f8d.com
---------------------------------------------------------------------------
I don't want to achieve immortality through my work...
I want to achieve it through not dying. - Woody Allen
- Previous message: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- In reply to: Programmershouse: "Do you use HOSTS file ?"
- Next in thread: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- Reply: Lars M. Hansen: "Re: Do you use HOSTS file ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|