Date: Tue, 6 Oct 1998 12:29:46 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: tlambert@primenet.com (Terry Lambert) Cc: crossd@null.cs.rpi.edu, freebsd-hackers@FreeBSD.ORG Subject: Re: GRE support in FreeBSD? Message-ID: <199810061929.MAA21475@bubba.whistle.com> In-Reply-To: <199810041957.MAA09245@usr08.primenet.com> from Terry Lambert at "Oct 4, 98 07:57:27 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810061929.MAA21475>