Re: [squid-users] Help with Squid 2.5 on FreeBSD 5.3 and WCCP

From: Bin Liu <binliu.lqbn@dont-contact.us>
Date: Thu, 7 Apr 2005 12:33:05 +0800

It works. Thanks you very much!

...As part of the GRE mode, gre also supports Cisco WCCP protocol, both
version 1 and version 2. Since there is no reliable way to distinguish
between WCCP versions, it should be configured manually using the link2
flag. If the link2 flag is not set (default), then WCCP version 1 is
selected.

----- Original Message -----
From: "Francis Vidal" <francisv.list@gmail.com>
To: "Bin Liu" <binliu.lqbn@gmail.com>
Sent: Thursday, April 07, 2005 8:41 AM
Subject: Re: [squid-users] Help with Squid 2.5 on FreeBSD 5.3 and WCCP

>I think you need to specify "link2" when you create the tunnel to
> activate WCCPv2 instead of WCCPv1. `man gre'.
>
> On Apr 6, 2005 8:45 PM, Bin Liu <binliu.lqbn@gmail.com> wrote:
>> I've already got my FreeBSD 5.3 box running with squid 2.5 and WCCPv1
>> successfully, but when I switched to WCCPv2, it failed. It seems that
>> if_gre module can't decapsulate the WCCPv2 packets correctly. I ran
>> tcpdump -i gre0, the only thing I got is "IP0 bad-hlen 0" :(
>>
>> Can FreeBSD 5.3 support WCCPv2? I see the following lines in
>> sys/netinet/ip_gre.c
>>
>> case WCCP_PROTOCOL_TYPE:
>> if (sc->wccp_ver == WCCP_V2)
>> hlen += 4;
>>
Received on Wed Apr 06 2005 - 22:33:25 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT