From owner-freebsd-net Wed Mar 1 12: 5:37 2000 Delivered-To: freebsd-net@freebsd.org Received: from gothic.iinet.net.au (gothic.iinet.net.au [203.59.24.252]) by hub.freebsd.org (Postfix) with ESMTP id 73EBB37BB59 for ; Wed, 1 Mar 2000 12:05:21 -0800 (PST) (envelope-from julian@elischer.org) Received: from jules.elischer.org (reggae-20-155.nv.iinet.net.au [203.59.85.155]) by gothic.iinet.net.au (8.8.5/8.8.5) with SMTP id EAA04482; Thu, 2 Mar 2000 04:04:58 +0800 Message-ID: <38BD77CC.794BDF32@elischer.org> Date: Wed, 01 Mar 2000 12:04:28 -0800 From: Julian Elischer X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 4.0-CURRENT i386) MIME-Version: 1.0 To: Alejandro Ramirez Cc: net@freeBSD.org, archie@whistle.com Subject: Re: GRE Support in 4.X ??? References: <063401bf83b5$11495100$020a0a0a@megared.net.mx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I know Archie did some work with GRE but I can't remember how he did it. Archie? (netgraph? or was it int he ppp daemon?) Julian Alejandro Ramirez wrote: > > Hi all, > > I Just like to ask if there will be support for GRE in 4.X releases > (without tunnels implementations), because its needed by wccp protocol > managed by Squid & Cisco routers, to create Cache Engines, there are some > patches & files that works in the squid home page, Im using them right now > with 3.4, and they work great: > > http://www.squid-cache.org/WCCP-support/FreeBSD/gre.patch > & > http://www.squid-cache.org/WCCP-support/FreeBSD/gre.c > > but I think it would be nice to see them integrated in to the base system. > > Here it is the Squid description for GRE Support (taken from the webpage): > > FreeBSD first needs to be configured to recieve and strip the GRE > encapsulation from the packets from the router. To do this you will need to > patch and recompile your kernel. > > First, a patch needs to be applied to your kernel for GRE support. Apply > this patch to your 3.1 kernel. If you use a version other than 3.1 it may > not apply. You will need to manually change the appropriate files. > > Secondly you will need to download gre.c and copy it to > /usr/src/sys/netinet/gre.c. > > Finally add "OPTION GRE" to your kernel config file and rebuild your kernel. > Note, the opt_gre.h file is created when you run config. Once your kernel is > installed you will need to configure FreeBSD for transparent proxying. > > Thanks for your time > Sincerely > Ales > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Perth v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message