Subject: Re: does gif(4) do RFC 2003 IPv4-in-IPv4 encapsulation?
To: Alan Barrett <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 03/13/2002 15:11:34
[ On Wednesday, March 13, 2002 at 17:49:26 (+0200), Alan Barrett wrote: ]
> Subject: Re: does gif(4) do RFC 2003 IPv4-in-IPv4 encapsulation?
> On Mon, 04 Mar 2002, Greg A. Woods wrote:
> > Does 'gif' really do encapsulation is according to RFC 2003?
> Yes, I think so, based on code inspection. It appears that
> in_gif_output() in netinet/in_gif.c sets proto = IPPROTO_IPV4 in
> the outer header when the inner packet has address family AF_INET.
> IPPROTO_IPV4 is defined as 4, which is the right value for RFC2003
> I have submitted a PR with a man page update.
Sounds good to me! Thanks for taking the time to do the inspection!
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>; <email@example.com>
Planix, Inc. <firstname.lastname@example.org>; VE3TCP; Secrets of the Weird <email@example.com>