RE: [squid-users] Re. Squid 2.5 with WCCP2 (on Redhat 9)

From: Simon Vella <svella@dont-contact.us>
Date: Tue, 21 Oct 2003 12:42:19 +0200

Hi Henrik,

Thanks for your input.

So regarding the GRE tunnel, do we still need the ip_gre module in the
kernel? We will be using WCCPv2, so could you direct us to the proper
ip_wccp.c module?

One last question. If we set the SQUID to listen to port 80, would we still
need to use the ip_tables NAT redirect?

10x

Simon

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Tuesday, October 21, 2003 12:12 PM
To: Simon Vella
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Re. Squid 2.5 with WCCP2 (on Redhat 9)

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
Received on Tue Oct 21 2003 - 04:42:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:34 MST