----- Original Message -----
From: "Henrik Nordstrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 3:51 PM
Subject: Re: [squid-users] IPFilter + FreeBSD + WCCP
> On Tuesday 17 June 2003 03.22, [EMAIL PROTECTED] wrote:
> > No, it's not using the GRE patches. I'm using the instructions for
> > 4.8-RELEASE/STABLE:
> >
> > FreeBSD-4.8 and later
> >
> > The operating system now comes standard with some GRE support. You
> > need to make a kernel with the GRE code enabled:
>
> WCCP is not standard GRE. WCCP uses a special GRE protocol and is why
> GRE implementations needs to be patched to support WCCP.
>
> If the GRE module is not patched to support the WCCP flavor of GRE
> then it will silently drop any WCCP pakets as it does not look like
> valid IP traffic to the GRE module.
henrik, starting freebsd 4.8 and 5.0, you dont need a patch to support
wccp... it is already included inside /usr/src/sys/netinet/ip_gre.c
a sample code taken from ip_gre.c:
case ETHERTYPE_IP: /* shouldn't need a schednetisr(), as */
case WCCP_PROTOCOL_TYPE: /* we are in ip_input */
ifq = &ipintrq;
break;
i used freebsd 5.0 + wccp + ipfw without a problem...
fooler.