Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Internet Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=25)
-   -   Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE! (https://www.cableforum.uk/board/showthread.php?t=42254)

TheBlueRaja 30-01-2006 11:14

Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists.

You can use a HOSTS file to block ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and even most hijackers. This is accomplished by blocking the Server that supplies these little gems.

What this site does is provide you with that Hosts file, its updated regularly and will prevent any of those sites being accessed by your machine.

Its really easy to install and most importantly - free.

Have a look - http://www.mvps.org/winhelp2002/hosts.htm

danielf 30-01-2006 11:22

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
I use one, and it's great. However, as I understand, it will not work with an isp that uses proxy servers, so will not be of any use for NTL customers?

I'm on telewest now. I tried it when I was on NTL, but as I recall, it didn't work, so I binned it.

Chris 30-01-2006 11:23

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Sounds promising. I have always wondered, though, what the hosts file is actually, officially for. That is, what did M$ have in mind when they put it in there? Does anyone know?

danielf 30-01-2006 11:25

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by Chris T
Sounds promising. I have always wondered, though, what the hosts file is actually, officially for. That is, what did M$ have in mind when they put it in there? Does anyone know?

I thought all OSs have one?

Edit: as explained here:

http://practice.chatserve.com/hosts.html

ScaredWebWarrior 30-01-2006 11:40

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by danielf
I thought all OSs have one?

Also explained here: http://accs-net.com/hosts/what_is_hosts.html

or

http://en.wikipedia.org/wiki/Hosts_file

Chris 30-01-2006 11:44

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Thanks guys ... presumably then, a hosts file is part of the IP protocol, and was invented back at a time when DNS was less available or reliable?

danielf 30-01-2006 11:45

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by ScaredWebWarrior


Good link...

There is some stuff on the proxy issue on that first site as well:

http://accs-net.com/hosts/faq.html#6

I'm not sure if this is a problem with NTL, but I gave up on getting it to work when I was on NTL. The hosts file works a treat on Telewest. It works very well with those annoying flash ads that Firefox's adblock has difficulties with as well.

TheBlueRaja 30-01-2006 13:16

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Remember to take note of this bit...

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.

To resolve this issue (manually) open the "Services Editor"

* Start | Run (type) "services.msc" (no quotes)
* Scroll down to "DNS Client", Right-click and select: Properties
* Click the drop-down arrow for "Startup type"
* Select: Manual, click Apply/Ok and restart. [more info]

You can see that the above "Service" is not needed (after a little browsing) by opening the Services Editor again, scroll down to DNS Client and check the "Status" column. It should be blank, if it was needed it would show "Started" in that column. [more info]

Chrysalis 02-02-2006 06:33

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
yeah its a shame, another downside of the proxies I guess but useful for those who arent on ntl.

Paul 02-02-2006 06:45

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
I would have thought this should work on ntl as long as the entries point to 127.0.0.1

A large hosts file is a good way to slow/kill a machine though.

LSainsbury 02-02-2006 09:05

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by Chris T
Thanks guys ... presumably then, a hosts file is part of the IP protocol, and was invented back at a time when DNS was less available or reliable?

Correct - In ther days of Windows 3.1 through 95 / 98 when you had Windows NT 3.5 / NT 4.0 the DNS service didn't exist, so you had a mix of services including WINS - which used the hosts file. A complete pain to administer! :tu:

basa 02-02-2006 09:17

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Erm .. I thought Spywareblaster and Spybot create thier own hosts file for blocking bad sites ??? :erm:

Rather trust them to do it. :cool:

Chrysalis 02-02-2006 23:38

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
hmm you may be right if its 127.0.0.1 since the req then doesnt leave the pc, I think it doesnt work if you just point to any internet address.

kronas 02-02-2006 23:46

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
yeh i played around with my hosts file in the past , blocked a few sites i didnt want access to and im on NTL, aslong as it resolves to 127.0.0.1 all is good :D

MikeyB 03-02-2006 00:11

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
It certainly works with my ntl connection using the hosts file to point sites to 127.0.0.1

Found this site ages ago and have been using it successfully

danielf 03-02-2006 00:21

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
The problem I had was with blocking ads, not complete sites. As I recall, blocking ads would sometimes work, but ads would reappear. I put this down to the proxies, but I may be wrong.

Right now (not on ntl, so no proxies), the hosts file beats any ad-blocker I've seen, and I can't say I've noticed it slowing my machine down.

TheBlueRaja 03-02-2006 10:34

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by danielf
The problem I had was with blocking ads, not complete sites. As I recall, blocking ads would sometimes work, but ads would reappear. I put this down to the proxies, but I may be wrong.

Right now (not on ntl, so no proxies), the hosts file beats any ad-blocker I've seen, and I can't say I've noticed it slowing my machine down.

If they are the same ads you see even though you have blocked the site you may find that the ad you have is still cached.

danielf 03-02-2006 10:42

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by TheBlueRaja
If they are the same ads you see even though you have blocked the site you may find that the ad you have is still cached.

On the proxy or locally? (am I showing my ignorance here?)

TheBlueRaja 03-02-2006 10:46

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by danielf
On the proxy or locally? (am I showing my ignorance here?)

Locally on your machine - if you had it once, chances are its cached. Dont think its the proxy because as far as your browser is concerned its contacted th ehosting site for the ad and recieved a reply so it should block the ad unless its just taken it from the cache on your machine.

danielf 03-02-2006 10:53

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by TheBlueRaja
Locally on your machine - if you had it once, chances are its cached. Dont think its the proxy because as far as your browser is concerned its contacted th ehosting site for the ad and recieved a reply so it should block the ad unless its just taken it from the cache on your machine.

Hm, could be. Like I said, I played around with it for a while, but decided it didn't quite work. I never had this problem when on Telewest. I started using it again because the Firefox addblock wasn't very effective against flash ads, and have had no problems at all. This confirmed my suspicion of proxies being involved, but perhaps I was wrong.

TheBlueRaja 03-02-2006 10:56

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Ah Flash ads eh,
You want Flashblock... Which is great in my opinion, if you want to see a flash app, just click the play button which appears where the flash app should be and it loads as normal.

Works a treat.
http://flashblock.mozdev.org/

danielf 03-02-2006 11:18

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
Quote:

Originally Posted by TheBlueRaja
Ah Flash ads eh,
You want Flashblock... Which is great in my opinion, if you want to see a flash app, just click the play button which appears where the flash app should be and it loads as normal.

Works a treat.
http://flashblock.mozdev.org/

Ta, but for now the hosts file does exactly what I want, and it allows other flash content :)

Chrysalis 03-02-2006 22:23

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
I believe disabling the dns client service disables caching meaning caching wont be an issue anyway.

ogwalla 05-02-2006 05:19

Re: Block ads, Cookies, Spyware and Hackers with a Hostfile - ITS FREE!
 
I'm going to look into using a hosts file. I've been using Adblock Plus filterset G for FF and it has been performing wonderfully.


All times are GMT. The time now is 11:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum