Avast WEBforum

Other => General Topics => Topic started by: Avastfan1 on July 25, 2011, 06:26:20 PM

Title: host file
Post by: Avastfan1 on July 25, 2011, 06:26:20 PM
Dear Forum,

How do you protect your host file?

Do you use MVPS hosts file?

I would appreciate any suggestions!

Best wishes,

Avastfan1
Title: Re: host file
Post by: CraigB on July 25, 2011, 06:32:37 PM
WinPatrol  :)
Title: Re: host file
Post by: Asyn on July 25, 2011, 06:33:02 PM
1. How do you protect your host file?

2. Do you use MVPS hosts file?

1. See my sig. ;)
2. No.
Title: Re: host file
Post by: Avastfan1 on July 25, 2011, 06:56:47 PM
Thanks for the replies.

Asyn: Where in your signature is the host protection software/programme?
Title: Re: host file
Post by: Asyn on July 25, 2011, 07:10:25 PM
Asyn: Where in your signature is the host protection software/programme?

Well, all listed programs work together (layered)... ;)
Title: Re: host file
Post by: Avastfan1 on July 25, 2011, 07:13:49 PM
But you have no specific programme or software dedicated to protecting the host file?
Title: Re: host file
Post by: Asyn on July 25, 2011, 07:15:41 PM
But you have no specific programme or software dedicated to protecting the host file?

No, why should I..??
Title: Re: host file
Post by: essexboy on July 25, 2011, 07:22:30 PM
Or just right click the file and set as read only
Title: Re: host file
Post by: Avastfan1 on July 25, 2011, 07:38:31 PM
Whoa! I downloaded Hostman and chose to update 'MVPS' and 'hphosts'.

Big mistake.

Host file grew to around 5.7 megabytes, and my computer slowed to a crawl :-(
Title: Re: host file
Post by: JohnnyBob on July 25, 2011, 08:23:49 PM
I've never tried Hostman so can't verify your problems with it.

My method:
I download the MVPS HOSTS file directly, edit it with a text editor to include my own custom blocks, and save it to the proper location. Then I set the attribute to Read Only in properties. I believe that's sufficient protection. I've never had a problem.
Title: Re: host file
Post by: Marc57 on July 25, 2011, 08:57:50 PM
Spywareblaster has a section under tools called Hosts Safe. This makes an encrypted backup of the hosts file that can be restored if there's a problem.
Title: Re: host file
Post by: Asyn on July 25, 2011, 08:59:57 PM
@Avastfan1: As you're using ABP - You can also subscribe to Malware Domains. ;)
http://adblockplus.org/en/subscriptions
Title: Re: host file
Post by: Avastfan1 on July 25, 2011, 09:48:20 PM
Thank you all again for the useful tips.

I also downloaded MVPS and copied it manually to the host file. PC seems to run fine with it.

@Asyn: I currently subscribe to EasyList. I will have a look at Malware Domains. Nice one.
Title: Re: host file
Post by: Asyn on July 25, 2011, 09:51:22 PM
Thank you all again for the useful tips.

I also downloaded MVPS and copied it manually to the host file. PC seems to run fine with it.

@Asyn: I currently subscribe to EasyList. I will have a look at Malware Domains. Nice one.

You're welcome..!
Title: Re: host file
Post by: Avastfan1 on July 25, 2011, 10:34:07 PM
Subscribed to it. Have to see whether there is a noticeable slowdown in web speed.
Title: Re: host file
Post by: Asyn on July 25, 2011, 10:51:33 PM
Subscribed to it. Have to see whether there is a noticeable slowdown in web speed.

I can answer that for you: No. ;)
Title: Re: host file
Post by: rdmaloyjr on July 25, 2011, 11:21:38 PM
How do you protect your host file?  ZA Free :)

Do you use MVPS hosts file?   No.
Title: Re: host file
Post by: essexboy on July 25, 2011, 11:23:46 PM
No need for the MSVP host file with IE9, just set host file to read only - job done with no extraneous junk 
Title: Re: host file
Post by: Asyn on July 25, 2011, 11:28:29 PM
No need for the MSVP host file with IE9, just set host file to read only - job done with no extraneous junk 

No need for the MSVP host file at all, imo.
Title: Re: host file
Post by: Hard_ROCKER on July 26, 2011, 12:23:46 AM
No need for the MSVP host file with IE9, just set host file to read only - job done with no extraneous junk  

No need for the MSVP host file at all, imo.

Yeah i agree with Asyn, just use Adblock Plus(for you FF users) with EasyList and Malware Domains lists. Personally i also subscribe to EasyPrivacy list.

Did not see anyone else mention this, i guess no one uses this but i have been using it for quite a while now and i am very satisfied with this service.  

http://www.nortondns.com/
Title: Re: host file
Post by: rdmaloyjr on July 26, 2011, 12:44:37 AM
No need for the MSVP host file with IE9, just set host file to read only - job done with no extraneous junk  

No need for the MSVP host file at all, imo.

Yeah i agree with Asyn, just use Adblock Plus(for you FF users) with EasyList and Malware Domains lists. Personally i also subscribe to EasyPrivacy list.

Did not see anyone else mention this, i guess no one uses this but i have been using it for quite a while now and i am very satisfied with this service.  

http://www.nortondns.com/

I did try NortonDNS for a while.

It blocked some good sites.

I'm sure it has improved a lot since I've used it.  I may try it again someday.  Right now I'm quite happy with OpenDNS. :)
Title: Re: host file
Post by: Hard_ROCKER on July 26, 2011, 01:14:52 AM
Yeah OpenDNS is great, i've used it for years before i switched to ClearCloud(discontinued now) for added security and now more recently i switched to Norton DNS.

Norton DNS sure has come a long way, it's actually as fast or slightly faster for me than OpenDNS(wasn't always like that). It is also much more configurable than it used to be. ;)

Here are a few screenshots: :)

(http://www.shrani.si/t/E/de/4Yg8Ky9n/1.jpg) (http://www.shrani.si/?E/de/4Yg8Ky9n/1.png)

(http://www.shrani.si/t/3a/LL/1PQlUVKk/2.jpg) (http://www.shrani.si/?3a/LL/1PQlUVKk/2.png)

(http://www.shrani.si/t/1B/hK/2JDPrJFm/1/3.jpg) (http://www.shrani.si/?1B/hK/2JDPrJFm/1/3.png)
Title: Re: host file
Post by: CraigB on July 26, 2011, 12:25:54 PM
You've all gone OT, DNS service's and the easylist have nothing to do with the OP'S question, listen to essexboy's suggestion if on ie9.
Title: Re: host file
Post by: Asyn on July 26, 2011, 12:52:21 PM
You've all gone OT, DNS service's and the easylist have nothing to do with the OP'S question, listen to essexboy's suggestion if on ie9.

OP is on XP, therefore no IE9. ;)
Title: Re: host file
Post by: Hard_ROCKER on July 26, 2011, 01:03:52 PM
Nah we are not off-topic, we simply suggested better alternatives than having a huge bloated hosts file. Especially on XP having such a large hosts file is a real killer of performance as the OP already found out on his own.
Title: Re: host file
Post by: Avastfan1 on July 26, 2011, 01:06:17 PM
You've all gone OT, DNS service's and the easylist have nothing to do with the OP'S question, listen to essexboy's suggestion if on ie9.

OP is on XP, therefore no IE9. ;)

Is there a similar function in Shiternet Explorer 8?
Title: Re: host file
Post by: JohnnyBob on July 26, 2011, 01:54:14 PM
Nah we are not off-topic, we simply suggested better alternatives than having a huge bloated hosts file. Especially on XP having such a large hosts file is a real killer of performance as the OP already found out on his own.
It can cause a slowdown, but stopping the "DNS Client" service and setting it to Manual fixed that problem (for me). I don't need that service, and most people don't.

As for going OT, I believe OP's original question was answered to his/her satisfaction. So what remains is to ramble on, chewing the fat so to speak.  :)
Title: Re: host file
Post by: CraigB on July 26, 2011, 02:02:34 PM
You've all gone OT, DNS service's and the easylist have nothing to do with the OP'S question, listen to essexboy's suggestion if on ie9.

OP is on XP, therefore no IE9. ;)
Use WinPatrol then and you wont get any slowdowns like MVPS does  ;D
Title: Re: host file
Post by: YoKenny on July 26, 2011, 02:41:25 PM
I use both hpHosts and MVP HOSTS file on my systems without a problem.
See my sig.

Make sure that the "DNS Client" service is set to Manual or Disabled.
Title: Re: host file
Post by: Hard_ROCKER on July 26, 2011, 07:08:26 PM
Nah we are not off-topic, we simply suggested better alternatives than having a huge bloated hosts file. Especially on XP having such a large hosts file is a real killer of performance as the OP already found out on his own.
It can cause a slowdown, but stopping the "DNS Client" service and setting it to Manual fixed that problem (for me). I don't need that service, and most people don't.

As for going OT, I believe OP's original question was answered to his/her satisfaction. So what remains is to ramble on, chewing the fat so to speak.  :)

I repeat, there are better ways of blocking ads and/or malicious domains on web sites, ABP being the best at that. As the OP is already on FF and ABP, there is no need to also use a hosts file for doing the same job. Also ABP auto-updates it's lists, to auto-update the hosts file you need an app running in the background such as HostsMan. As for disabling the DNS Client service...

http://www.blackviper.com/wiki/DNS_Client

Quote
Windows XP

Default Description
Resolves and caches Domain Name System (DNS) names for this computer. If this service is stopped, this computer will not be able to resolve DNS names and locate Active Directory domain controllers. If this service is disabled, any services that explicitly depend on it will fail to start.

Additional Information
This service is not required for DNS lookups, but if it makes you happy to have it running, you may. If you attempt to "repair" your network connection and a dialog box complains that the "DNS resolver failed to flush the cache," this service is the reason. It is also needed if using IPSEC Services.

http://www.raymond.cc/blog/archives/2008/09/09/fix-could-not-flush-the-dns-resolved-cache-function-failed-during-execution-when-flushing-dns/

Quote
The reason why you’re unable to flush a Windows computer DNS cache is if the DNS Service is not running. Go to Start > Run and type services.msc. Double click the DNS Client to bring up DNS Client properties window. Make sure the startup type is set to Automatic and service status is Started. If not, just select the drop down menu, select Automatic and then click the Start button.

http://forum.avast.com/index.php?topic=16981.msg144586#msg144586

Performance reasons: MVPS Hosts (http://www.mvps.org/winhelp2002/hosts.htm)

Quote
Editors Note: in most cases a large HOSTS file (over 135 kb) tends to slow down the machine. This only occurs in W2000 and XP. Windows 98 and ME are not affected.
They then go on to recommend disabling the DNS Client, which is NOT recommended.

KB318803 (http://support.microsoft.com/default.aspx?scid=kb;en-us;318803)
Quote
Note The overall performance of the client computer decreases and the network traffic for DNS queries increases if the DNS resolver cache is deactivated.

The DNS Client service optimizes the performance of DNS name resolution by storing previously resolved names in memory. If the DNS Client service is turned off, the computer can still resolve DNS names by using the network's DNS servers.
Disabling the client puts an unnecessary load on the network's DNS servers and reduces Internet performance. The only negative thing that can happen with DNS caching is when it stores unresolved addresses which can be fixed by using TCP/IP Optimizer.

http://home.comcast.net/~SupportCD/XPMyths.html

Quote
Myth - "Special AntiSpyware Hosts Files are necessary to prevent Spyware infections."

Reality - "Using Special AntiSpyware Hosts Files are a waste of time and leads to a false sense of security. Any Malware/Spyware can easily modify the Hosts File at will, even if it is set to Read-only. It is impossible to "lock-down" a Hosts File unless you are running as a limited user which makes using it in this case irrelevant anyway. Various Malware/Spyware uses the Hosts File to redirect your Web Browser to other sites. They can also redirect Windows to use a Hosts File that has nothing to do with the one you keep updating. The Hosts file is an archaic part of networking setups that was originally meant to be used on a LAN and was the legacy way to look up Domain Names on the ARPANET. It tells a PC the fixed numeric address of the internal server(s) so the PC doesn't have to go looking for them through all possible addresses. It can save time when "discovering" a LAN. I don't consider 1970's ARPANET technology useful against modern Malware/Spyware. When cleaning Malware/Spyware from a PC, it is much easier to check a clean Hosts File then one filled with thousands of lines of addresses. Considering how easily a Hosts File can be exploited, redirected and potentially block good sites, it is strongly recommended NOT to waste time using Special Hosts Files."

- ARPANET - The First Internet (Living Internet)
- Domain Name System (DNS) History (Living Internet)
- How to troubleshoot Internet Explorer 7 issues (Microsoft)
- How to troubleshoot network connectivity problems in Internet Explorer (Microsoft)
- Problems Using Internet Explorer with Incorrect Hosts File (Microsoft)

127.0.0.1
"Special AntiSpyware Hosts Files attempt to associate a known safe, numeric address (127.0.0.1) with the names of sites or IP addresses you want to block. When the user or any process on the PC then tries to access a blocked site, it is instead directed to the safe location. It is simply impossible to update a Hosts file frequently enough since it is cheap and easy to purchase new domain names and move to new IP addresses. You also run into problems in accidentally blocking good sites since many sites share the same IP addresses with other sites using Shared IP Hosting. Also once a malicious site is shutdown, that IP Address then becomes free and can easily be acquired by another non-malicious site."

Large Hosts Files
"Large Hosts Files cause Internet related slowdowns due to DNS Client Server Caching. This negatively effects your browsing speed. AntiSpyware Hosts File authors irresponsibly recommend disabling the DNS Client Service to solve this problem. This is not a solution. The overall performance of the client computer decreases and the network traffic for DNS queries increases if the DNS resolver cache is deactivated. This effectively reduces Internet Performance for sites you have previously visited and puts an unnecessary load on your ISP's DNS server."

- How to Disable Client-Side DNS Caching in Windows XP (Microsoft)

Notes - There is a much better solution for bad site blocking using SpywareBlaster which more intelligently use's Internet Explorer's built-in Zone Security settings and the registry. Mozilla/Firefox protection is also provided.

- Notes on DNS Pinning (David Ross, Microsoft Security Engineer)
- SpywareBlaster (Javacool Software)

http://www.techrepublic.com/blog/10things/10-windows-xp-services-you-should-never-disable/960




No way i am disabling the DNS Client service myself. No friggin way.

@Avastfan1: Simply do not use IE8 and stick to using FF would be my recommendation, perhaps adding this to your arsenal would be a good idea as well.  :)

http://www.javacoolsoftware.com/spywareblaster.html#Overview
Title: Re: host file
Post by: essexboy on July 26, 2011, 07:16:15 PM
IE8 also has the blacklist although not quite as comprehensive as IE9
Title: Re: host file
Post by: Avastfan1 on July 26, 2011, 11:47:00 PM
Thanks for the tips.

Can you lock down the host file in Shiternet Explorer 8?
Title: Re: host file
Post by: rdmaloyjr on July 27, 2011, 12:22:24 AM
Yeah OpenDNS is great, i've used it for years before i switched to ClearCloud(discontinued now) for added security and now more recently i switched to Norton DNS.

Norton DNS sure has come a long way, it's actually as fast or slightly faster for me than OpenDNS(wasn't always like that). It is also much more configurable than it used to be. ;)

Here are a few screenshots: :)

(http://www.shrani.si/t/E/de/4Yg8Ky9n/1.jpg) (http://www.shrani.si/?E/de/4Yg8Ky9n/1.png)

(http://www.shrani.si/t/3a/LL/1PQlUVKk/2.jpg) (http://www.shrani.si/?3a/LL/1PQlUVKk/2.png)

(http://www.shrani.si/t/1B/hK/2JDPrJFm/1/3.jpg) (http://www.shrani.si/?1B/hK/2JDPrJFm/1/3.png)

I've switched over to NortonDNS, I've configured it in my router.

It would be nice if NortonDNS had a "Family Shield" like OpenDNS to configure in my sister's router to protect her kids.

http://www.opendns.com/home/familyshield/

Here is Family Shield's router configuration: 208.67.222.123, 208.67.220.123
Title: Re: host file
Post by: Hard_ROCKER on July 27, 2011, 10:02:01 AM
Thanks for the tips.

Can you lock down the host file in Shiternet Explorer 8?

You don't do it through Internet Explorer. You need to navigate to this folder c:\windows\system32\drivers\etc\, right click on the hosts file, select properties and under the section attributes put a tick next to read only(like in  essexboy's screenshot). That's it. :)

EDIT: It is pointless to do that in XP though. You are running an admin account and if a malware gets on your pc, it can easily change that attribute back. Better use something like WinPatrol to monitor changes in the the hosts file. 
Title: Re: host file
Post by: Hard_ROCKER on July 27, 2011, 10:10:20 AM
@rdmaloyjr: So this would not do the trick ?

(http://www.shrani.si/f/3Z/nu/4XRMNJp8/1.png)

If you go to http://nortondns.com/ and in the right top corner you have the button sign in, click on it and register over there(it's free), then you can set all those content filtering options for your ip(assuming you've already set Norton's DNS servers in your router).
Title: Re: host file
Post by: MAG on July 27, 2011, 07:45:47 PM
IE8 also has the blacklist although not quite as comprehensive as IE9
Is this referring to smartscreen filter, or some other function of IE?
Thanks
Title: Re: host file
Post by: Hard_ROCKER on July 27, 2011, 08:08:12 PM
I don't see to what else he could be referring to.
Title: Re: host file
Post by: essexboy on July 27, 2011, 08:19:26 PM
Yep smart screen  ;D
Title: Re: host file
Post by: MAG on July 27, 2011, 10:33:06 PM
Yep smart screen  ;D
Thanks
Title: Re: host file
Post by: rdmaloyjr on July 27, 2011, 11:34:47 PM
@rdmaloyjr: So this would not do the trick ?

(http://www.shrani.si/f/3Z/nu/4XRMNJp8/1.png)

If you go to http://nortondns.com/ and in the right top corner you have the button sign in, click on it and register over there(it's free), then you can set all those content filtering options for your ip(assuming you've already set Norton's DNS servers in your router).

Darth.Mikey,

No.  ScrubIT has a similar service to OpenDNS's Family Shield.    http://www.scrubit.com/
Title: Re: host file
Post by: Hard_ROCKER on July 27, 2011, 11:54:05 PM
Sorry rdmaloyjr but i really don't see what you want here. All i see at both those sites is exactly the same service as Norton DNS offers, content filtering. Want to block porn sites or what do you want ? Explain it to me cause i honestly don't understand what you want.
Title: Re: host file
Post by: rdmaloyjr on July 28, 2011, 12:35:50 AM
Darth.Mikey,

I don't see where NortonDNS has anything like Family Shield.

With Family Shield from OpenDNS all you have to do is put 208.67.222.123 and

208.67.220.123 in your router or computer and you have instant content filtering. ;)

It would be great if NortonDNS did.

http://www.opendns.com/home/familyshield/

Quote
What's the difference between FamilyShield and OpenDNS Basic?
 
Choose FamilyShield if you're looking for a quick, no-fuss way to protect your children from adult content online for free. Choose OpenDNS Basic if you'd like a more customizable alternative — you can block or unblock lots of other types of sites, see reports on how your family uses your Internet connection, and more. OpenDNS Basic offers everything FamilyShield does, and it's also free, but it requires a few extra setup and customization steps.
Title: Re: host file
Post by: Hard_ROCKER on July 28, 2011, 01:03:54 AM
OK i get it now, it automatically has content filtering for kids pre-selected. With Norton DNS you need to configure it yourself to achieve the same thing. :)