Re: [squid-users] IPFilter + FreeBSD + WCCP

From: fooler <fooler@dont-contact.us>
Date: Tue, 17 Jun 2003 19:21:22 +0800

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: <francisv@dagupan.com>; <squid-users@squid-cache.org>
Sent: Tuesday, June 17, 2003 3:51 PM
Subject: Re: [squid-users] IPFilter + FreeBSD + WCCP

> On Tuesday 17 June 2003 03.22, francisv@dagupan.com 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.
Received on Tue Jun 17 2003 - 05:21:12 MDT

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