tips for hacking, Google tips,computer terms, spyware ,administrator hack,types of viruses,dvd movie backup,MICROSOFT, articles .

*******************************************WELCOME*************************************************

Welcome to all the people to COMPUTER MANIA , those who want to grow interest in computer world and become a perfect computer operator with having good knowledge of hacking,viruses ,worms,computer functinality,softwares,solution of many pc problems and many more.....

spott

Spottt
Spottt

Google search

1/27/09

The easiest and best way to block Ads, Pop-ups and Fake virus warnings

Block Adservers


If you wanna remove those nasty ads from the pages which waste lot of time and bandwidth then here is something for you I belive it will help you a lot


The hosts file

Probably the most common way people block ads like this is with something called the "hosts file". The hosts file is a simple list of hostnames and their corresponding IP addresses, which your computer looks at every time you try and contact a previously unknown hostname. If it finds an entry for the computer you're trying to reach, it sets the IP address for that computer to be whatever's in the hosts file.

127.0.0.1 is a special IP address which, to a computer, always means that computer. Any time a machine sends a network request to 127.0.0.1, it is talking to itself. This is very useful when it comes to blocking ads, because all we have to do is specify the IP address of any ad server to be 127.0.0.1. And to do that, all we have to do is edit the hosts file. What will happen then is something like this:

1. you visit a web page
2. the web page contains a banner ad stored on the server "ads.example.com"
3. your computer says "ads.example.com? never heard of it. wait a second, let's see if I've got the number on me..."
4. your computer finds its hosts file and checks to see if ads.example.com is listed
5. it finds the hostname, which points to 127.0.0.1
6. "great", says the computer, and sends off a request to 127.0.0.1 for the banner ad that's supposed to be on the page
7. "oh", says the computer, and fails to show anything because it just sent a request to itself for a banner ad

Where's my hosts file?

* Windows 95 / 98 / ME: C:\Windows (I think)
* Windows NT: C:\WinNT\hosts
* Windows 2000: C:\WinNT\system32\drivers\etc\
* Windows XP: C:\Windows\System32\drivers\etc
* FreeBSD / Linux / Mac OS X / Unixish operating systems: /etc/hosts
* Mac OS: i hate macs


The format of the hosts file is very simple - IP address, whitespace, then a list of hostnames. However, you don't need to know anything about the format if you don't want to as you can just view the list hosts file.

Of course, that's not the only way to use the list, but it's probably the most simple for most people.

Here's the link to download the host file with instructions
http://rapidshare.com/files/134940819/hosts_August_2008.rar.html

No comments: