Re: Do you use HOSTS file ?

From: Craig Macbride (craig_at_f8d.com)
Date: 07/27/04

  • Next message: Bill Unruh: "Re: GPL question, can open source code can be used to prop. platform?"
    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
    

  • Next message: Bill Unruh: "Re: GPL question, can open source code can be used to prop. platform?"

    Relevant Pages

    • Re: Do you use HOSTS file ?
      ... That it's an absolute worst case kludge when you have no other alternative. ... If your local machine doesn't run a web server, ... and has to be changed whenever you change ISPs. ... If your local machine does run a web server, ...
      (comp.security.firewalls)
    • Re: Do you use HOSTS file ?
      ... > * If your local machine does run a web server, ... They display very nicely and much more quickly with the ads missing. ...
      (comp.os.linux.security)
    • Re: Is this possible?
      ... convert it for vfp accordingly. ... It works if I am running the web app on my local machine with local ... It fails if I run off the web server with the DBF tables that are ...
      (microsoft.public.fox.programmer.exchange)
    • Re: FP 2000 not deleting files on server
      ... Then I assume it would delete files on my local machine that were not on ... the web server. ... > FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... >> that folder making changes ...
      (microsoft.public.frontpage.client)
    • Re: How to transfer local file to web server when name of local file is known to server, not web end
      ... could upload files at will. ... > I am trying to transfer a file from a user's local machine (the file is ... > settings/temp directory) via a web form to my web server. ... > html control b/c the user has no idea the name of the temporary file that ...
      (microsoft.public.dotnet.framework.aspnet)