FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How does this method make user view blocked websites?





likeabreeze
People in many other countries don't have access to websites like youtube, google plus, facebook, twitter, and so on.
In order to view these blocked websites, some use proxy, but just now, I found an article, in which another method is given---to modify the hosts file(location:C:\Windows\System32\drivers\etc\hosts).
Well, according to the article, all users have to do is add the following code into the hosts file:
(Part of the code)
Code:
#youtube
203.208.46.29 youtube.com
203.208.46.29 www.youtube.com
203.208.46.29 gdata.youtube.com
203.208.46.29 m.youtube.com
........................
#facebook
69.63.189.16 facebook.com
69.63.189.16 www.facebook.com
69.63.181.31 m.facebook.com
69.63.181.20 login.facebook.com
........................

why?
how does this method work?
Is this method effective only for google,facebook,twitter?Or it actually applies to all blocked websites?
ocalhoun
Ah, I don't know, but here's my educated guess:

Those countries are blocking those websites by preventing the domain name from being resolved.
(Preventing the domain name server from telling the user's computer what IP address to go to for that domain name.)
By manually adding in these entries, you bypass the need to do that -- the computer already knows what IP address to use for those domain names, so it doesn't need to look it up.
Since you don't need to look it up, being unable to look it up doesn't stop you.
likeabreeze
ocalhoun wrote:

Those countries are blocking those websites by preventing the domain name from being resolved.

Based on what you have said,
,this method won't work once the countries' firewall block the IP address rather than domain of the website.
Why don't they do it, anyway?
SonLight
Blocking websites, and finding ways around the block, is a never-ending game of using methods that work "well enough". No doubt just blocking google.com keeps all but a few techies from using the site, unless of course the ordinary user gets software written by those techies which is easy to use.

From the blocker's point of view, just blocking google is so much simpler than trying to block each of its IPs. In practice, they probably do block both the most common IPs as well as the domain name, but google probably has at least a couple of hundred IP addresses. I imagine that if use of the hosts file becomes common, the blockers will attempt to find all addresses. The user who wants to get around the block then has to search also, but only have to find one address the blockers missed.

You normally would not want to store a lot of IP addresses in hosts unless you were trying to get around blocking, because it might slow down your access to a site using multiple IPs and load sharing. I like to make a few bookmarks to sites with the url though. In case my DNS service quits working and my internet is still functional, I can still get to the sites.
Related topics
Okay, I'm done trying to use CSS for layout.
Templates
I like School Computers
MSN probs
I get rediected from www.shabda.name to shabda.name.
CSS problem...
Pakistan banned websites in country
mysql errors. No error given by mysql_error()
http://www.funworld.frih.net/index.php
How to unblock ISP blocked websites
Rapidshare Shares Uploader Info with Rights Holders
How to Access Blocked Websites
Firefox 4.01 unable to view all websites
How to access blocked websites from school / work
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.