Archive for category Networking

How do I Block and Unblock Internet Sites?

Apparently this is a question many people want asked so I'll touch on what I use to block/unblock internet sites from my home network. This method will not require one to purchase any additional software or anything. It is designed specifically to be the low cost effective solution.

First of all, your home router controls all of the traffic going to an from your home computers. Some people don't have routers. The modem, whether it be a DSL, Cable, or dialup modem, handles their routing. These instructions will work for those people as well, but anytime I mention the router, please understand that if there is no router, the modem will be doing all the work.

The router software for various models of routers are different, so it is nearly impossible to have a step-by-step howto for each of them here. Instead, it's suffice to say that most routers have a block/unblock function. Most even let you time these blocks/unblocks. So one can set up rules as to when certain sites can be viewed.

Refer to your router's manual for these instructions. It is usually rather easy.

There is a further step that can either be used in conjunction with the router blocks or by itself entirely. This method involves signing up for a free service call OpenDNS.

OpenDNS is a free service that I've used for a little over a year. It gives you a great DNS service, plus allows you to do various other interesting things like protect your home network. Basically, all one has to do is sign up for the account and change their DNS settings in the router to the IPs provided by OpenDNS. All future DNS request will go to OpenDNS.

I should probably first explain what DNS is to begin with. DNS stands for Domain Name Server/Service. When you type google.com into your web browser, your computer has no idea what google.com is. It's oblivious. First it has to query the DNS server. Usually the IP of the DNS server is provided by your ISP. In many cases, the ISP provided DNS server lags behind a bit. You computer asks the DNS server where it can find google.com. The DNS server then responds with the IP address for google.com. Your browser then knows where to fetch the information.

The DNS server configuration can be changed in your router. You will override the ISP defaults and put in the OpenDNS server IPs instead.

OpenDNS updates much faster than typical ISP DNS servers. When you buy a domain name and direct it to your hosting provider, it can take up to 72 hours for the DNS information to propagate across the internet. OpenDNS usually propagates within minutes.

Some of the protection OpenDNS offers is right up there or better than many parental block software. There are automatic settings to make it easy to block pornography or harmful sites. One can also specify sites to block. Anytime a local user tries to access a blocked website, they are told that it is restricted. This is great free service, and I hope this will help you block those unwanted websites, and if you have any questions drop a comment.

, , , ,

2 Comments

Why do Google Search Results Change?

I was recently asked by my wife why Google search results change. I had noticed it before but didn't spend much time dwelling on it because my first thought was that Google uses many locations and many datacenters to hand out search results. The varying results are differences in the data stored at each location. Depending on which datacenter you are getting results from at any given time, you can see a huge change in results. As an example to this I made a quick video to show how going through a proxy server can change search results.  In this video I'm going through a Linux server in Texas at first. Note the total results for the keyword while going through the proxy are 282. By removing the proxy and refreshing the search the number changed dramatically to 635,000 results.

I saw a video explanation of this behavior that stated that Google was a beach, and while I enjoyed the analogy, it isn't entirely correct. There is a lot happening on the internet, but there's no way Google can index it all at once, or even catch it all. That's why they have many data centers, each pulling their own part of the weight. I'd imagine that the synchronization of the data takes time, that is if they actually synchronize the data at all. It may be that Google does this to randomize search results a bit in order to gauge relevancy of each result. At any rate, the keyword results can vary.

Also, after making this video, I captured the packets using wireshark and found that the request from my home internet connection was querying IP 208.67.217.231 and my proxy server is pulling the query from 74.125.159.103. Also neither of the search results were correct. After digging into the other pages of results there is a total of 64 results omitting the repeats. ICHY reports that the keyword has 3,640 competition. So, from what I can see of the data on both sides, ICHY doesn't report very accurate competition numbers according to their own explanation of the relevant results. Other keywords in their list yielded similar results discrepancies.

, ,

No Comments

Slow wifi on iPhone 3GS

I bought a new iPhone 3G S yesterday. These things are very nice, and I'm not an Apple fan boy by any stretch. One thing that was bugging me, however, was the slow speed I was getting from the wifi. I was getting faster speeds from the 3G network than my home wireless, and this is while I was sitting right next to the router, so it wasn't a signal problem.

I found the solution to this after reading through many, many forum posts. I saw others were having the same problem as me and were getting responses from people like "reboot the router" or "reset your network settings on the iPhone." This is all well and good and I'm sure those people meant well but there was a big problem with their responses.

First of all, everyone having this trouble said that the wireless worked fine on their computers but not on the iPhone. Secondly, there aren't many settings to "reset" inside the iPhone's network settings. There's just not anything in there that would cause this type of issue.

The solution to the problem ended up being an advanced setting on the router itself. From what I can tell of the issue and it's solution, the iPhone's wifi is just a bit more picky than a standard PC wifi device. Here are the settings I eventually had to change on my Netgear router.iphonewifisettings

The important items here are the fragmentation threshold and the CTS/RTS threshold. Each of these were set to their max value previously. After changing these two settings, my iPhone started working like a champ.

If you are experiencing the same problems with your iPhone or iPod Touch's wifi, change these settings on your router. Also note, these settings have slightly different names on some routers. Refer to your router's manual for more info.

, , , , , ,

43 Comments