Web Cache Communication Protocol


Web Cache Communication Protocol is a Cisco-developed content-routing protocol that provides a mechanism to redirect traffic flows in real-time. It has built-in load balancing, scaling, fault tolerance, and service-assurance mechanisms. Cisco IOS Release 12.1 and later releases allow the use of either Version 1 or Version 2 of the protocol.
WCCP allows utilization of Cisco Cache Engines to localize web traffic patterns in the network, enabling content requests to be fulfilled locally. Traffic localization reduces transmission costs and download time.

Protocol Versions

WCCPv1
WCCPv2
  • Allows for use across up to 32 routers
  • Supports up to 32 engines/accelerators
  • Supports any IP protocol including any TCP or UDP
  • Supports up to 255 service groups
  • Adds MD5 shared secret security

Primary WCCP functions

Registration

  • Accelerator or Engine is a WCCP client
  • * Registers WCCP services with “Here I Am” if application is operational
  • * Registration announces WCCP client on service group, provides availability notification, requests interesting traffic
  • * Transmits “Here I Am” every 10 seconds
  • * Lead WCCP client instructs routers on protocol/port, assignment, forwarding, and return methods
  • Router is a WCCP server
  • * Accepts service group registration
  • * Acknowledges “Here I Am” with “I See You”
  • * Waits 30 seconds before declaring engine failed
  • * Announce engines to other engines
  • * Router id is highest interface IP or highest loopback IP if one exists
  • * Redirects traffic to engine

Assignment

  • Selects an engine in the cluster
  • Hash 256 buckets
  • Mask 128 buckets represented by 7 bit mask of the source or destination IP/Port

Redirect from Router to Cache Engine

  • Redirect list allows router to permit/deny traffic to intercept
  • Two methods of redirection:
  • * WCCP L2: Local subnet only, little overhead. Rewrites packet MAC address to that of the local Engine
  • * WCCP GRE: Any IP-Subnet, more overhead. Creates tunnel from router to local or remote Engine.

Return from Cache Engine to Router

  • WCCP GRE return.
  • WCCP L2 return.
  • Engine can optionally return traffic any other way including routing.

Products that implement WCCP

Whilst originally designed for Cisco's Content Cache appliance they have since added support to other products, including:
Other vendors have also implemented WCCP support into their products, as it allows clustering and transparent deployment on networks using Cisco routers/switches without additional hardware. WCCP is of particular use to vendors of web cache/proxy/security appliances for redirection of web traffic.
Please note that some vendors did not follow the standards when implementing WCCP and this could result in intercompatibility problems.
A list includes:
CompanyProduct
Array NetworksAccelera
EdgeWaveiPrism Web Gateway
A10 NetworksTransparent Cache Switching
Aladdin/SafeNeteSafe Web
ApplianSysCACHEbox
Arahe SiteCelerateSiteCelerate
Barracuda NetworksBarracuda Web Filter
BloxxBloxx Secure Web Gateway
Blue CoatProxySG, CacheFlow
CitrixCloudBridge
CensorNet LtdCensorNet Professional web filter
ClearswiftClearswift SECURE Web Gateway
CYAN Network SecurityCYAN Secure Web
Cymphonix Corp.Network Composer/Conductor
Exinda WCCPv2 support for Web Cache
F5 NetworksBIG-IP
FortinetFortiGate, FortiCache and FortiProxy Appliances/VMs
ibossiboss' Distributed Gateway Platform
IdecoIdeco UTM
Alcatel-LucentOmniSwitch series with AOS version 6.4.4
TrustwaveSecure Web Gateway Formerly M86 Security/Finjan
MARA SystemsCacheMARA
McAfeeMcAfee Web Gateway Formerly Webwasher
MicrodasysSCIP SSL Content Proxy
NetAppNetCache
PerfTech, Inc.Bulletin System
ReplifyAccelerator
Riverbed TechnologySteelhead
Sangfor TechnologiesWAN Optimization Appliance
Silver PeakNX Series
ApacheApache Traffic Server
SmoothWall LtdGuardian Web Content Filters
SophosWeb Appliance
SquidSquid
Stampede TechnologiesStampede Application Acceleration Series
Taghos TecnologiaHyper Cache
Trend MicroIWSVA 3.x/5.x and 6.x
ForcepointWeb Security Gateway
WebTitanWebTitan Web Filtering Appliance
Wedge NetworksBeSecure
XipLinkXA Optimizers