Re: Do you use HOSTS file ?

From: Dave Yingling (loser_313_at_yahoo.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 02:42:53 -0400

Programmershouse wrote:
> Hello all,
>
> I wrote a page about Host File and how to use it.
> http://www.ifrance.com/programmershouse/HOSTS-EN.HTML
> What do you think about it and what else more could I add to it ?
>
> Stickman answered me : "Unfortunately, using the hosts file to block
> unwanted content is terribly inefficient."
> Why is that ? Do you think squid is more efficient ? Or iptables ?
> What about Microsoft OS too ?
>
> Thanks

Windows actually has a hosts file too!! On XP it's in
C:\WINDOWS\system32\drivers\etc
there is a networks, protocols, and services too.

Too block unwanted IP's I'd use tcpwrappers (the files hosts.deny and
hosts.allow in /etc) and for windows OS's I'd do it at the firewall or
router level (for example set up ACLs on cisco's routers)

Dave



Relevant Pages

  • Re: Dodgy Downloads
    ... > using internet explorer it says that the site is forbidden in the ... possibly his host file is compromised. ... If you are running Windows ME or XP, ... the most recent System Restore point from the More ...
    (microsoft.public.windowsxp.general)
  • RE: F8 - Post Install problems....
    ... My Package updater fails to find the repository - so it seems. ... and the settings should be obvious because the Windows system ... dns2 did not make it into the network configuration files. ... I edited the host file to add the line ...
    (Fedora)
  • Re: Page not available???
    ... XP Smoker - The Hot Performance Booster for Windows XP ... Popular Software at Great Prices ... Is something missing or must I create a Host file first? ... with the last entry being: 127.0.0.1 localhost ...
    (microsoft.public.windowsxp.general)
  • Re: UniPrint problem
    ... 'name' in the host file. ... Any computer which is acting as a server needs to ... so unless you happen to have a Linux server or a Windows Server ... a time to stabilise and discover all the machines on a network. ...
    (comp.sys.acorn.networking)
  • Re: Not able to open a certain website
    ... I do not know how to check my Host File. ... Windows XP Home Edition. ... "Emrys Davies" wrote: ... >> I have never had this problem with this website before or any others ...
    (microsoft.public.windows.inetexplorer.ie6.browser)