Showing posts with label proxy server. Show all posts
Showing posts with label proxy server. Show all posts

Wednesday, July 30, 2008

How a proxy sever works while browsing internet?

Browsing the internet from a home PC, there are several elements that make the whole process possible.First of all, on one end, we have our home PC. This PC is connected via its modem to the ISP’s server, which in turn is interconnected to servers around the world that host the specific web sites that we are requesting.

From a web browser, we send a request to access a specific website by typing the site’s address, for example, www.findproxy.org.

When we hit “Enter”, this request is sent to our ISP’s server, which identifies the request. If the ISP has a proxy server with cached requests, when retrieving our request it will look up the information in its cache to determine if the proxy can comply or not. This means that the proxy server saves all requests made from users to its cache, so that the next time another user makes the same request, it does not have to retrieve that same information from the original server. The proxy server responds by sending the information to our PC from its cache.

On the other hand, if the proxy server cannot comply, it will send the request to the real server that hosts the specific website that we are requesting. The host server sends that information to the proxy server, which can then cache the response for future requests, and then sends the information to our PC. Sometimes, more than one proxy server can be involved, as some sites, like MSN, Yahoo, and AOL have several proxy servers that respond to requests from their cache, thus reducing the amount of petitions to the main server and reducing response times.

In a corporate network, even more elements form part of the process. Apart from the possibility of having its own proxy server to improve performance, the proxy can also act as a filter from the employees’ terminal, blocking attempts to access specific content from their web browsers. Additionally, companies have mail servers that store and distribute emails over its local network and WAN. All potential viruses are filtered at this stage before it can reach an employee’s PC. Servers also provide additional security through firewalls either from the proxy itself or from a firewall server dedicated to such purpose.

Proxy Server...an Intro

Proxy servers have three major purposes:
1. Filtering and Firewalling
2. Sharing of connection
3. Caching

These features of proxy servers are particularly important to the corporate and other large networks. They work at the application layer which is the seventh layer in the OSI model. They are not as easy to implement and use as the common firewalls. The functionality of the proxy server for each of the protocol like HTTP, SOCKS must be downloaded individually. Nevertheless proxy servers improve performance and security. Firewalls by themselves cannot do that. Proxy servers also have a greater filtering capacity when compared to the ordinary routers. Using proxy servers to cache can improve the network in three ways; network bandwidth is conserved hence improving the scalability, response time is reduced, and it increases the accessibility to web pages even if the source is offline.

There are also some disadvantages of caching using a proxy server. First of them is the bottleneck that may form because of the multitudes of client requests. Also there is proxy hierarchy whereby each request goes through levels in hierarchy when the request is missed in the first level. Refreshed pages are not well cached using proxy servers. There is also measurement uncertainty that is introduced by the proxy servers into the Internet.

Other than HTTP proxy servers work well with:
1 SHTTP – Secure Hyper Text Transfer Protocol
2 FTP – File Transfer Protocol
3 SOCKS – It is a protocol of firewall security.
4 WAIS – Wide Area Indexing Service

If a browser has to be manually specified, host identifier and port number must be defined. Host identifier is either the IP address or the network name of the host. The TCP/IP port is the port number that the server uses to act on the client requests. Special configuration files are now being used to automatically configure the proxy servers.

Some of the common types of proxy servers are web, intercepting, transparent, open, reverse, and split proxy servers. Web proxies filter web content that is offensive. Intercepting proxies are used in large organizations to ease administration and ensure that network use policies are abided by. Transparent proxy is similar to web proxy but is used only for emails. Open proxies accept connections from all IP addresses. Reverse proxies are installed along with web servers. Split proxies are two proxy servers that are installed in two computers.