Thursday, 13 April 2017

Proxy Servers

1) Explain the difference between Web server and Proxy server?
-Both are computers but difference is in the functionalities they offer.
-Basically a proxy server works as a mediator between clients and requested server while a normal server is pretty direct.
-The Proxy server's function is to sit in between the client program and the external server and to filter the requests to be able to improve the performance.
-Proxy servers also cache the pages viewed so as to reduce latency for next request.
-The web server's function is to serve static content to the client by loading the files and documents from disk and serve it across the network to the end user.
-When a client accesses a web server its IP address and location are recognized by the web server but when approaching via a proxy server the IP address is disguised and thus not recognized by the web server.

2) Types of proxy servers?
-Normal (Regular/Caching) Proxy: A regular caching proxy server is a server which listens on a separate port (e.g. 3128) and the clients (browsers) are configured to send requests for connectivity to that port. So the proxy server receives the request, fetches the content and stores a copy for future use. So next time when another client requests for the same webpage the proxy server just replies to the request with the content in its cache thus improving the overall request-reply speed.

-Transparent Proxy : This type of proxy server identifies itself as a proxy server and also makes the original IP address available through the http headers. These are generally used for their ability to cache websites and do not effectively provide any anonymity to those who use them. However, the use of a transparent proxy will get you around simple IP bans. They are transparent in the terms that your IP address is exposed, not transparent in the terms that you do not know that you are using it (your system is not specifically configured to use it.)
  
-Anonymous Proxy: This type of proxy server identifies itself as a proxy server, but does not make the original IP address available. This type of proxy server is detectable, but provides reasonable anonymity for most users.
   
-Distorting Proxy: This type of proxy server identifies itself as a proxy server, but make an incorrect original IP address available through the http headers.

-High Anonymity Proxy:This type of proxy server does not identify itself as a proxy server and does not make available the original IP address.

3) Why we should use SAN?
-Because of the following features:
    -A high-speed network of storage devices.
    -Connects the storage devices with servers.
    -Can be accessed by applications on networked servers.
    -Particularly helpful in backup and disaster recovery.
    -Uses networking protocols to span longer distances geographically.
    -SAN can also simplify some management tasks.
    -Offers flexibility, availability and performance.

4) What is squid?
-Squid is a Unix-based proxy server that caches Internet content closer to a requestor than its original point of origin.
- Squid supports caching of many different kinds of Web objects, including those accessed through HTTP and FTP.
-Caching frequently requested Web pages, media files and other content reduces bandwidth congestion and latency.
-Squid works by tracking object use over the network. Squid will initially act as an intermediary, simply passing the client's request on to the server and saving a copy of the requested object. If the same client or multiple clients request the same object before it expires from Squid's cache, Squid can then immediately serve it, accelerating the download and saving bandwidth.

5) What is default port of squid proxy?
-3128

6) What are the functionalities of squid proxy server?
-Squid is open source and freely available under GNU General Public License.
-Squid is not a generic proxy.It normally proxies only HTTP connections. It also does support other protocols like FTP,Gopher,SSL and WAIS but it does not support other internet protocols like real audio, news or video streaming because squid only supports UDP protocol for communication.
-It helps accelerate downloads and reduce latency by storing data in cache.
-ISP's have used squid since long back as it also helps for load balancing and handling traffic spikes

No comments:

Post a Comment