Jump to content

Proxy server: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Zondi (talk | contribs)
m Correcting spelling: attemp->attempt; tunnelling->tunneling
Line 1: Line 1:
A proxy server that passes all requests and replies unmodified is usually called a [[gateway (computer networking)|gateway]] or sometimes ''tunnelling proxy''.
A proxy server that passes all requests and replies unmodified is usually called a [[gateway (computer networking)|gateway]] or sometimes ''tunneling proxy''.


A proxy server can be placed in the user's local computer or at specific key points between the user and the destination servers or the Internet.
A proxy server can be placed in the user's local computer or at specific key points between the user and the destination servers or the Internet.
Line 12: Line 12:


===Web Proxy ===
===Web Proxy ===
Proxies that focus on WWW traffic are called web proxies.Many web Proxies attemp to block offensive web content. Other web proxies reformat web pages for a specific purpose or audience (e,g. cell phones And PDAs or persons with disabilities)
Proxies that focus on WWW traffic are called web proxies.Many web Proxies attempt to block offensive web content. Other web proxies reformat web pages for a specific purpose or audience (e,g. cell phones And PDAs or persons with disabilities)



Revision as of 20:36, 21 August 2007

A proxy server that passes all requests and replies unmodified is usually called a gateway or sometimes tunneling proxy.

A proxy server can be placed in the user's local computer or at specific key points between the user and the destination servers or the Internet.

Types and functions

Proxy servers implement one or more of these functions:

Caching proxy server

A proxy server may service requests without contacting the specified server, by retrieving content saved from a previous request, made by the same client or even other clients. This is called caching. Caching proxies keep local copies of frequently requested resources, allowing large organizations and Internet Service Providers to significantly reduce their upstream bandwidth usage and cost, while significantly increasing performance.

There are well-defined rules for caching. Some poorly-implemented caching proxies have had downsides, e.g. an inability to use user authentication. Some problems are described in RFC 3143 (Known HTTP Proxy/Caching Problems).

Web Proxy

Proxies that focus on WWW traffic are called web proxies.Many web Proxies attempt to block offensive web content. Other web proxies reformat web pages for a specific purpose or audience (e,g. cell phones And PDAs or persons with disabilities)


Many organizations — including schools, corporations, and countries — use proxy servers to enforce acceptable network use policies (see content-control software) or to provide security, anti-malware and/or caching services. A traditional web proxy is not transparent to the client application, which must be configured to use the proxy (manually or with a configuration script). In some cases, where alternative means of connection to the Internet are available (e.g., a SOCKS server or NAT connection), the user may be able to avoid policy control by simply resetting the client configuration and bypassing the proxy. Furthermore administration of browser configuration can be a burden for network administrators.

Access control: Some proxy servers implement a logon requirement. In large organizations, authorized users must log on to gain access to the WWW. The organization can thus track usage to individuals.

Anonymizing proxy server

A proxy server that removes identifying information from the client's requests for the purpose of anonymity is called an anonymizing proxy server or anonymizer.

Hostile proxy

Proxies can also be installed by online criminals, in order to eavesdrop upon the dataflow between the client machine and the web. All accessed pages, and also, all forms submitted, can be captured and analysed by the proxy operator. For this reason, passwords to online services (such as webmail and banking) should be changed if an unauthorised proxy is detected.

Intercepting proxy server

An intercepting proxy (often incorrectly called "transparent proxy") combines a proxy server with a Gateway. Connections made by client browsers through the gateway are redirected through the proxy without client-side configuration (or often knowledge).

Intercepting proxies are commonly used in businesses to prevent avoidance of acceptable use policy, and to ease administrative burden, since no client browser configuration is required.

It is often possible to detect the use of an intercepting proxy server by comparing the external IP address to the address seen by an external web server, or by examining the HTTP headers on the server side.

Transparent and non-transparent proxy server

The term "transparent proxy" is most often used incorrectly to mean "intercepting proxy" (because the client does not need to configure a proxy and cannot directly detect that its requests are being proxied).

However, RFC 2616 (Hypertext Transfer Protocol -- HTTP/1.1) offers different definitions:

"A 'transparent proxy' is a proxy that does not modify the request or response beyond what is required for proxy authentication and identification.
"A 'non-transparent proxy' is a proxy that modifies the request or response in order to provide some added service to the user agent, such as group annotation services, media type transformation, protocol reduction, or anonymity filtering."

Forced proxy

The term "forced proxy" is ambiguous. It means both "intercepting proxy" (because it filters all traffic on the only available gateway to the Internet) and its exact opposite, "non-intercepting proxy" (because the user is forced to configure a proxy in order to access the Internet).

Open proxy server

Because proxies might be used for abuse, system administrators have developed a number of ways to refuse service to open proxies. IRC networks such as the Blitzed network automatically test client systems for known types of open proxy [1]. Likewise, an email server may be configured to automatically test e-mail senders for open proxies, using software such as Michael Tokarev's proxycheck [2].

Groups of IRC and electronic mail operators run DNSBLs publishing lists of the IP addresses of known open proxies, such as AHBL, CBL, NJABL, and SORBS.

The ethics of automatically testing clients for open proxies are controversial. Some experts, such as Vernon Schryver, consider such testing to be equivalent to an attacker portscanning the client host. [3] Others consider the client to have solicited the scan by connecting to a server whose terms of service include testing.

Split proxy server

A split proxy is a proxy implemented as two programs installed on two different computers. Since they are effectively two parts of the same program, they can communicate with each other in a more efficient way than they can communicate with a more standard resource or tool such as a website or browser. This is ideal for compressing data over a slow link, such as a wireless or mobile data service and also for reducing the issues regarding high latency links (such as satellite internet) where establishing a TCP connection is time consuming. Taking the example of web browsing, the user's browser is pointed to a local proxy which then communicates with its other half at some remote location. This remote server fetches the requisite data, repackages it and sends it back to the user's local proxy, which unpacks the data and presents it to the browser in the standard fashion.

Some Web accelerators are proxy servers. Some reduce the quality of JPEG images to speed transmission. Some use a split proxy with special protocols and local and remote caching. (See Google Web Accelerator.)

Reverse proxy server

A reverse proxy is a proxy server that is installed in the neighborhood of one or more web servers. All traffic coming from the Internet and with a destination of one of the web servers goes through the proxy server. There are several reasons for installing reverse proxy servers:

  • Security: the proxy server is an additional layer of defense and therefore protects the web servers further up the chain
  • Encryption / SSL acceleration: when secure web sites are created, the SSL encryption is often not done by the web server itself, but by a reverse proxy that is equipped with SSL acceleration hardware. See Secure Sockets Layer.
  • Load balancing: the reverse proxy can distribute the load to several web servers, each web server serving its own application area. In such a case, the reverse proxy may need to rewrite the URLs in each web page (translation from externally known URLs to the internal locations)
  • Serve/cache static content: A reverse proxy can offload the web servers by caching static content like pictures and other static graphical content
  • Compression: the proxy server can optimize and compress the content to speed up the load time.
  • Spoon feeding: reduces resource usage caused by slow clients on the web servers by caching the content the web server sent and slowly "spoon feeds" it to the client. This especially benefits dynamically generated pages.
  • Extranet Publishing: a reverse proxy server facing the Internet can be used to communicate to a firewalled server internal to an organisation, providing extranet access to some functions while keeping the servers behind the firewalls.

Circumventor

A circumventor is a method of defeating blocking policies implemented by proxy servers. Ironically, most circumventors are also proxy servers, of varying degrees of sophistication.

A circumventor is a web-based page that takes a site that is blocked and "circumvents" it through to an unblocked website, allowing the user to view blocked pages. A famous example is 'elgooG', which allowed users in China to use Google after it had been blocked there. elgooG differs from most circumventors in that it circumvents only one block.

The most common use is in schools where many blocking programs block by site rather than by code. Students are able to access blocked sites (games, chatrooms, messenger, offensive material, internet pornography etc.) through a circumventor. As fast as the filtering software blocks circumventors, others spring up. It should be noted, however, that in some cases the filter may still intercept traffic to the circumventor, thus the person who manages the filter can still see the sites that are being visited.

Circumventors are also used by people who have been blocked from a website.

Another use of a circumventor is to allow access to country-specific services, so that Internet users from other countries may also make use of them. An example is country-restricted reproduction of media and webcasting.

The use of circumventors is usually safe with the exception that circumventor sites run by an untrusted third party can be run with hidden intentions, such as collecting personal information, and as a result users are typically advised against running personal data such as credit card numbers or passwords through a circumventor.

At schools and offices

Many work places and schools are cracking down on the websites and online services that are made available in their buildings. Since circumventors are used to bypass censors in computers, websites like MySpace, Bebo, Xanga, Runescape, Youtube, Miniclip, and other non-work or school related social websites have become targets of mass banning.

Proxy Web server creators have become more clever allowing users to encrypt links, and any data going to and from other web servers. This allows users to access websites that would otherwise have been blocked.

A special case of web proxies are "CGI proxies." These are web sites that allow a user to access a site through them. They generally use PHP or CGI to implement the proxying functionality. CGI proxies are frequently used to gain access to web sites blocked by corporate or school proxies. Since they also hide the user's own IP address from the web sites they access through the proxy, they are sometimes also used to gain a degree of anonymity, called "Proxy Avoidance."

POP3 and SMTP proxies

Proxies are also used in email applications. Client-side anti-spam software often installs itself as a POP3 proxy, which permits it to filter the mail. Meanwhile, SMTP proxies are often installed by anti-virus software, so as to intercept any viruses that are sent onto the internet by that computer.

Risks of using anonymous proxy servers

In using a proxy server (for example, anonymizing HTTP proxy), all data sent to the service being used (for example, HTTP server in a website) must pass through the proxy server before being sent to the service, mostly in unencrypted form. It is therefore possible, and has been demonstrated, for a malicious proxy server to record everything sent to the proxy: including unencrypted logins and passwords.

By chaining proxies which do not reveal data about the original requester, it is possible to obfuscate activities from the eyes of the user's destination. However, more traces will be left on the intermediate hops, which could be used or offered up to trace the user's activities. If the policies and administrators of these other proxies are unknown, the user may fall victim to a false sense of security just because those details are out of sight and mind.

The bottom line of this is to be wary when using proxy servers, and only use proxy servers of known integrity (e.g., the owner is known and trusted, has a clear privacy policy, etc.), and never use proxy servers of unknown integrity. If there is no choice but to use unknown proxy servers, do not pass any private information (unless it is properly encrypted) through the proxy.

In what is more of an inconvenience than a risk, proxy users may find themselves being blocked from certain Web sites, as numerous forums and Web sites block IP addresses from proxies known to have spammed or trolled the site.

Popular proxy software

  • The Squid cache is a popular HTTP proxy server in the UNIX/Linux world.
  • The Apache HTTP Server can be configured to act as a proxy server.
  • FreeProxy is a popular HTTP, Socks, FTP, SMTP, POP and NNTP proxy server in the Windows world.
  • Private Proxy is a software product by PrivacyView Software that connects to an anonymous proxy server to mask a computers IP address.
  • Blue Coat's (formerly Cacheflow's) purpose-built SGOS proxies 15 protocols including HTTPS/SSL, has an extensive policy engine and runs on a range of appliances from branch-office to enterprise.
  • WinGate is a multi-protocol proxy server and NAT solution that can be used to redirect any kind of traffic on a Microsoft Windows host. It also provides firewall, VPN and mail server functionality. Its WWW proxy supports integrated windows authentication, intercepting proxy, and multi-host reverse-proxying.
  • Privoxy is a free, open source web proxy with privacy and ad-blocking features.
  • Microsoft Internet Security and Acceleration Server is a product that runs on Windows 2000/2003 servers and combines the functions of both a proxy server and a firewall.
  • JAP - A local proxy, web anonymizer software connecting to proxy server chains of different organisations
  • Tor - A proxy-based anonymizing Internet communication system.
  • Proxomitron - User-configurable web proxy used to re-write web pages on the fly. Most noted for blocking ads, but has many other useful features.
  • PHProxy is a Web HTTP proxy programmed in PHP to bypass firewalls and other proxy restrictions through a Web interface very similar to the popular CGIProxy.
  • The HTTP-Tunnel is a SOCKS and HTTP proxy server and client for Windows.
  • SJSWebProxy (SunMicrosystems) is a proxy server for HTTP and HTTPS (CONNECT) requests. It can also serve as a gateway for Ftp and Gopher traffic. It is also free for download.
  • Nginx Web and Reverse proxy server, that can act as POP3 proxy server.
  • SSH Secure Shell can be configured to proxify a connection, by setting up a SOCKS proxy on the client, and tunneling the traffic through the SSH connection.
  • yProxy is a NNTP proxy server that converts yEnc encoded message attachments to UUEncoding, complete with SSL client support.
  • PingFu is a proxy server and client for TCP and UDP applications
  • Zelune is a new web based proxy script that ultilizes cURL, that was made to compete with the more popular open source web proxy scripts. In addition to the CGIProxy, it supports javascript, and is freely distributable.
  • WWWOFFLE has been around since the mid-1990s, and was developed for storing online data for offline use.
  • Varnish is a high-performance HTTP accelerator with some features comparable to squid.

See also

External links