On 5/5/2015 11:47 AM, Templin, Fred L wrote:
> Hi Joe,
> 
>> -----Original Message-----
>> From: Joe Touch [mailto:to...@isi.edu]
>> Sent: Tuesday, May 05, 2015 11:26 AM
>> To: Templin, Fred L; Xuxiaohu; Donald Eastlake; tr...@ietf.org
>> Cc: n...@ietf.org; int-area@ietf.org; s...@ietf.org
>> Subject: Re: [trill] Fwd: Mail regarding draft-ietf-trill-over-ip
>>
>>
>>
>> On 5/5/2015 11:04 AM, Templin, Fred L wrote:
>>> Hi Joe,
>>>
>>>> -----Original Message-----
>>>> From: Joe Touch [mailto:to...@isi.edu]
>>>> Sent: Tuesday, May 05, 2015 10:54 AM
>>>> To: Templin, Fred L; Xuxiaohu; Donald Eastlake; tr...@ietf.org
>>>> Cc: n...@ietf.org; int-area@ietf.org; s...@ietf.org
>>>> Subject: Re: [trill] Fwd: Mail regarding draft-ietf-trill-over-ip
>>>>
>>>>
>>>>
>>>> On 5/5/2015 9:39 AM, Templin, Fred L wrote:
>>>>> Hi Joe,
>>>> ..
>>>>>> IP in UDP adds only port numbers and an Internet checksum.
>>>>>>
>>>>>> That doesn't address fragmentation; if outer fragmentation is assumed,
>>>>>> IPv4 needs to be rate-limited to avoid ID collisions and the Internet
>>>>>> checksum is insufficient to correct those collisions.
>>>>>
>>>>> Right - that is why we have GUE. But, when these functions are not
>>>>> needed GUE can perform header compression and the result looks
>>>>> exactly like IP in UDP.
>>>>
>>>> That seems impossible.
>>>
>>> Not impossible - Tom Herbert provided the solution:
>>>
>>> http://www.ietf.org/mail-archive/web/int-area/current/msg04593.html
>>
>> That is allocating bits (or bit patterns) from the IP header.
>>
>> The solution provided - to check for 0x01 - is incorrect. IP can have
>> versions that include 0x10 and 0x11.
> 
> The version field in both IPv4 and IPv6 have that bit set to 1. If GUE
> then deems that bit to indicate "direct IP encapsulation, then there
> is no need for a GUE header of length greater than 0.
> 
> You may say that future IP protocol versions might not have that bit
> set in the version field. But, the version bits for IPv4 and IPv6 will
> never change (by definition) and we do not see a new IP protocol
> version replacing IPv4 or IPv6 on the near-term horizon.

0x01 is valid for four version numbers:
        4
        5
        6
        7

You cannot assume either that 0x01 always means IPv4 and IPv6 only OR
that any other pattern is NOT an IP packet UNLESS GUE is assigned the
values you are assuming (e.g., 0x00, 0x10, 0x11), and that's not going
to happen.

As I said on the other post:

        Codepoints you aren't assigned aren't yours to assume.

> Even if a new IP protocol version emerged with the "direct IP
> encapsulation" bit set to 0, that version can still be accommodated
> by GUE. It's just that direct encapsulation cannot be used and a
> non-zero-length GUE header is needed.

It's more than that - you need to ensure that all other IP values are
NOT interpreted as uncompressed.

Joe

_______________________________________________
Int-area mailing list
Int-area@ietf.org
https://www.ietf.org/mailman/listinfo/int-area

Reply via email to