On Tue, 21 Oct 2003, Simon Vella wrote:

> a) The WCCPv2 patch (found at
> http://www.swelltech.com/pengies/joe/patches/squid-2.2.wccp2.patch) should
> work with Squid 2.5, right? Is there another patch for Squid 2.5 to support
> WCCPv2?

The patch found at http://devel.squid-cache.org/ probably has a higher 
likelyhood of working.

> b) The WCCPv2 patch for Squid makes squid talk WCCPv2 with the routers. So
> why do we need the ip_wccp.o module for the kernel?

As WCCPv1, WCCPv2 consists of two protocols

a) WCCPv2 UDP protocol used for announcements between the cache and the 
router

b) WCCPv2 GRE protocol used for client traffic forwarded by the router to 
the cache. This GRE protocol is different from the normal GRE IP tunneling 
protocol and therefore requires a different GRE driver in the kernel. The 
ip_wccp module is one such driver. Please note that there exists two 
different ip_wccp modules, one for WCCPv1 and one for WCCPv2. It is 
important you use the correct one for the WCCP version you are using.

> d) The Linux box must be set up to use ip_tables to redirect the HTTP
> requests received through the GRE tunnel, to the squid port (8080 in our
> case). The destination IP is not changed, so does the Squid still accept the
> HTTP packet because it is set in HTTP_accelerator mode?

Yes.

Regards
Henrik

Reply via email to