From owner-freebsd-hackers Tue Oct 6 12:35:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26343 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:35:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from null.cs.rpi.edu (null.cs.rpi.edu [128.213.8.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26329 for ; Tue, 6 Oct 1998 12:35:08 -0700 (PDT) (envelope-from crossd@null.cs.rpi.edu) Received: from localhost (crossd@localhost) by null.cs.rpi.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA03855; Tue, 6 Oct 1998 15:34:45 -0400 (EDT) Date: Tue, 6 Oct 1998 15:34:40 -0400 From: "David E. Cross" To: Archie Cobbs cc: Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: GRE support in FreeBSD? In-Reply-To: <199810061929.MAA21475@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Oct 1998, Archie Cobbs wrote: > Terry Lambert writes: > > > What would be required to add GRE support (IP Protocol 47, RFC > > > 1701,1702) to FreeBSD? > > > > Ask archie@whistle.com, since he's already done it. > > > > Alternatively, look at one of the two IPSEC implementations for > > FreeBSD, as announced on -current. > > Actually I just opened a raw socket: > > s = socket(PF_INET, SOCK_RAW, IPPROTO_GRE); > > and sniffed out the sub-protocol number I was looking for in > user-land. > > Alternately you could have the kernel do the (de)multiplexing by > adding a block for IPPROTO_GRE to /sys/netinet/in_proto.c and > adding the necessary socket stuff. Yes, I am currently doing it in userland, I was referring to adding it into the kernel. -- David Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message