Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 15:34:40 -0400
From:      "David E. Cross" <crossd@null.cs.rpi.edu>
To:        Archie Cobbs <archie@whistle.com>
Cc:        Terry Lambert <tlambert@primenet.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: GRE support in FreeBSD?
Message-ID:  <Pine.SGI.4.04.9810061533400.3218-100000@null.cs.rpi.edu>
In-Reply-To: <199810061929.MAA21475@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.04.9810061533400.3218-100000>