Subject: Re: ipip and gif
To: None <email@example.com>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 04/19/2000 01:40:21
> we do not have any code for ip proto #98.
> (correct me if I'm wrong).
I'm pretty sure you're right. I know this because I implemented a
tunnel for my home netlink (I found I couldn't use existing tunnel
code; I can explain why if anyone cares) and I used protocol 98 for the
outer packets. Which means I added it to the protocol switch stuff,
without creating a clash.
I picked 98 because of the IPPROTO_ENCAP define, not because my
encapsulation is similar to anything else anywhere. I realized that
someone else might be using 98 for something else, but that's just
tough :-) - anyone having trouble snooping on my packets because they
misuse protocol 98 will get no sympathy from me! Since both ends of
all tunnels involved are kernels under my control.... (Is there an
"any private encapsulation scheme" protocol assigned? I can't recall.)
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B