How many entries are in your HOST file?

Get advice from the Nerd Herd!
Post Reply
Dude111
Posts: 10
Joined: Tue Jan 24, 2017 8:13 am

How many entries are in your HOST file?

Post by Dude111 » Thu Feb 02, 2017 11:26 pm

I have 5 entries

0 js1.hitbox.com
0 stats.hitbox.com
0 ar.atwola.com
0 pagead2.googlesyndication.com
0 searchguide.level3.com

grich
Posts: 297
Joined: Fri Sep 02, 2011 11:19 am
Location: MP89.5, Mason City Subdivision

Re: How many entries are in your HOST file?

Post by grich » Fri Feb 03, 2017 10:40 am

You mean Windows\System32\drivers\etc\hosts?

Typically if someone were trying to block access to a website, the entry would read
0.0.0.0 websitename

I don't know if just a zero in the IP field would be enough to block access to the sites in your file, but that appears to be the intent.

If there were actual routable IP addresses in the IP field I'd be worried about a virus-created redirect, but I haven't seen that in years.

grich
Posts: 297
Joined: Fri Sep 02, 2011 11:19 am
Location: MP89.5, Mason City Subdivision

Re: How many entries are in your HOST file?

Post by grich » Fri Feb 03, 2017 10:41 am

And to answer your question, I don't currently have any entries in my hosts file.

Dude111
Posts: 10
Joined: Tue Jan 24, 2017 8:13 am

 

Post by Dude111 » Fri Feb 03, 2017 1:08 pm

I don't know if just a zero in the IP field would be enough to block access to the sites in yor file, but that appears to be the intent.
Yup just 1 zero works fine :)

w9wi
Posts: 810
Joined: Tue Feb 05, 2008 11:40 am
Location: Pleasant View, Tennessee
Contact:

Re: How many entries are in your HOST file?

Post by w9wi » Sun Feb 05, 2017 10:44 am

16 to block various subhosts of zedo.com which was responsible for an annoying collection of popunder ads. (I'm redirecting them to localhost although I'm sure 0 would work just as well)

For some reason I also added addthis.com (another ad-hosting site). I don't recall them doing anything unreasonable but obviously felt differently at the time:)
--
Doug Smith W9WI
Pleasant View, TN EM66

Dude111
Posts: 10
Joined: Tue Jan 24, 2017 8:13 am

 How many entries are in your HOST file?

Post by Dude111 » Mon Feb 06, 2017 2:33 am

(I'm redirecting them to localhost although I'm sure 0 would work just as well)
Yea I used to have '127.0.0.1 localhost" in my host file as everyone said it was needed but then I realised its all BS,your computer knows what LOCALHOST is and doesnt need that so i took it out years ago and started using 0 instead of 127.0.0.1 (Actually 0 is faster when blocking (at least on Win98se))
Last edited by NECRAT on Mon Feb 06, 2017 5:43 pm, edited 1 time in total.
Reason: Re-entered subject field.

User avatar
Bill DeFelice
Posts: 205
Joined: Wed May 18, 2011 6:29 pm
Location: Fairfield County, CT
Contact:

Re: How many entries are in your HOST file?

Post by Bill DeFelice » Tue Feb 07, 2017 5:08 pm

Since I regularly use a Mac I use a program called Little Snitch instead of filling a host file with entries. I usually block IPs and URLs like malware links or other bad actors. It saves a lot of time.

It's been awhile but I think there use to be a similar program called Black Ice for the Windows platform.
Webmaster
History of Westport Connecticut Radio
The WMMM Tribute Site

CampusBroadcaster.net
Legal, low power, license-free broadcasting for educational institutions

Dude111
Posts: 10
Joined: Tue Jan 24, 2017 8:13 am

Re: How many entries are in your HOST file?

Post by Dude111 » Tue Feb 07, 2017 9:43 pm

Yup Bill I have blackice its a firewall (It worked up to XP I think)

The version I have has smart filtering meaning IT WILL NOT ALLOW ANYTHING IF YOU DIDNT REQUEST IT.... But the bad thing about that is Its very hard to run an extensive firewall test!!!!!

I tried this one several years ago: http://www.qualys.com/forms/freescan and blackice saw ME ASKING FOR IT (going to thier page from my browser) so it allowed everything! (Which wasnt what I wanted,I wanted to see how it responded to the test) -- No way to disable the smart feature...... (That I know of anyway)

uugghh

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest