Library Table of Contents Index Previous Next Comments

Overview of transparent proxying

Advantages of transparent proxying for client access  Top

When transparent proxying is deployed, the client software is unaware of the existence of a proxy-cache server. The addition of the caching service is transparent to end users because you perform all the configuration necessary to deploy transparent proxying--configuration of your NetCache appliances and the network devices with which you are deploying transparent proxying. Users do not have to configure client applications, such as Web browsers or media players, to use a particular NetCache appliance, as is the case with a nontransparent client access method.

Transparent proxying eliminates the possibility of users reconfiguring their Web browsers or media players (RealNetworks RTSP and Microsoft WMP 7 only) to bypass a NetCache appliance without the knowledge of NetCache administrators.

Note
The RTSP for RealNetworks media player, Apple QuickTime player, and Microsoft Windows Media player 7 can be used with transparent proxying.

Additional benefits of transparent proxying include the following:

Protocols that NetCache can handle transparently  Top

The following traffic can be transparently redirected to NetCache appliances:

You can implement DNS caching transparently or nontransparently. Users do not need to configure their browsers for nontransparent DNS caching. See the Administration Guide for details about setting up transparent and nontransparent DNS caching.

FTP over HTTP, Gopher, and tunnel traffic (for example, HTTPS and SNEWS) cannot be serviced transparently. For these protocols, you can set up proxy service by having users configure their browsers to point to the NetCache appliance or use the NetCache protocol tunneling feature.

Devices with which you can deploy transparent proxying  Top

You can use any of the following network devices to deploy transparent proxying for DNS, HTTP, FTP, NNTP, MMS, and RTSP traffic:

Subsequent sections about transparent proxying discuss deploying transparent proxying with an L4 switch, an L7 switch, and a WCCP router. If you need additional information about deploying transparency with a policy-based router, contact your NetCache sales engineer.

Drawbacks of a transparent proxy deployment  Top

When determining your client access strategy, you must consider the drawbacks of implementing a transparent proxy deployment as well as the benefits. The following list shows the drawbacks of transparent proxy deployment. These drawbacks apply to transparency provided by any vendor.

Caution for Web sites using IP-based authentication  Top

Sites using IP-based authentication, for example, electronic commerce Web sites, expect to receive the client's IP address with a request. However, when a request is redirected through a NetCache appliance, the NetCache appliance replaces the client IP address with the appliance IP address. (A proxy-cache server belonging to any vendor routinely replaces the client IP address with the proxy-cache server IP address.)

If you expect your users to send requests to sites that require the client IP address, you need to plan how to handle those requests. Some switches and WCCP routers provide features that enable you to send requests for sites that require the client IP address directly to those sites; that is, requests for those sites bypass the NetCache appliance. Alternatively, NetCache provides the transparency configuration options in the following list that you can use to ensure that the client IP address arrives at the destination server intact.

See the transparent proxying chapter in the Administration Guide for more details about NetCache IP spoofing and request forwarding features, their use, and their limitations.

How a switch or WCCP router redirects traffic to a NetCache appliance  Top

An L4 or L7 switch or a WCCP router redirects traffic to a NetCache appliance based on your specifications for the port traffic to be redirected, which you provide in your switch or router configuration and in NetCache configuration.

The following illustration shows the traffic flow from the clients to the NetCache appliance when an L4 or L7 switch or a WCCP router is deployed.

If the NetCache appliance cannot resolve a request, it redirects the request back through the switch or the WCCP router to the origin server--a Web server, news server, or streaming server--as applicable. The origin server returns the requested data to the NetCache appliance. The NetCache appliance returns the requested data to the client while caching the data, if it is cacheable.

About port redirection  Top

For DNS, FTP, and MMS, required ports for traffic redirection are as follows:

For the other protocols, common ports for traffic redirection are as follows:

Additional port information for streaming media service is as follows:

About failover with transparent proxying  Top

Failover to another appliance and to the Internet are standard features of transparent proxying with an L4 or L7 switch or a WCCP router. Only standard setup is required to ensure that transparent proxying has the failover functionality. Failover with transparent proxying is very reliable.

The following illustration shows one switch or WCCP router and one NetCache appliance added to the network to handle HTTP requests transparently. If no NetCache appliances are available, the switch or WCCP router directs traffic to the Internet. Although this illustration shows failover for HTTP traffic only, switches and WCCP routers fail over to the Internet by default for all types of traffic.

Consideration for failover to the Internet

If you set up your L4 or L7 switch or WCCP router for failover to the Internet, be sure that you are not relying on NetCache features to provide controls over your requests. For example, if the switch fails over to the Internet directly, no URL blocking or logging of client access to URLs is available. If you need to monitor or restrict access to the Internet all the time, you do not want automatic failover to the Internet. You can configure a switch or WCCP router so that it does not fail over to the Internet automatically.

Failover of streaming media

You cannot set up a failover mechanism to handle media streams that are in the process of being delivered to clients. The reason is that streaming connections are dropped if a problem occurs between the streaming media cache and the streaming server, or between the streaming media cache and clients. Ensuring that your network is sound should reduce the number of dropped connections.

Library Table of Contents Index Previous Next Comments