Re: [tsvwg] Options larger than 255 (was RE: draft-ietf-udp-options issues from IETF 104)

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Thu, 18 July 2019 12:45 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95486120251 for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 05:45:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NEukTYJyIj9v for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 05:45:07 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [IPv6:2001:630:42:150::2]) by ietfa.amsl.com (Postfix) with ESMTP id 3947B120128 for <tsvwg@ietf.org>; Thu, 18 Jul 2019 05:45:06 -0700 (PDT)
Received: from MacBook-Pro.local (fgrpf.plus.com [212.159.18.54]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id BAFCF1B000FA; Thu, 18 Jul 2019 13:45:03 +0100 (BST)
Message-ID: <5D3069CF.7000109@erg.abdn.ac.uk>
Date: Thu, 18 Jul 2019 13:45:03 +0100
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Reply-To: gorry@erg.abdn.ac.uk
Organization: University of Aberdeen
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: mohamed.boucadair@orange.com, "tsvwg@ietf.org" <tsvwg@ietf.org>
References: <787AE7BB302AE849A7480A190F8B93302FA71098@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <5D306564.1000101@erg.abdn.ac.uk> <787AE7BB302AE849A7480A190F8B93302FA773C1@OPEXCNORMAE.corporate.adroot.infra.ftgroup>
In-Reply-To: <787AE7BB302AE849A7480A190F8B93302FA773C1@OPEXCNORMAE.corporate.adroot.infra.ftgroup>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/dsEPY0pOIyN5YVHbzWLtU4_Gns4>
Subject: Re: [tsvwg] Options larger than 255 (was RE: draft-ietf-udp-options issues from IETF 104)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jul 2019 12:45:10 -0000

Ah so, I guess the document editors canm work out what is best to do.

My wish was to systematically allow larger options to be possible.

Gorry

On 18/07/2019, 13:41, mohamed.boucadair@orange.com wrote:
> Re-,
>
> 0/1 are illegal values. These values MUST NOT be used. A receiver will discard them systematically.
>
> With the proposed approach: 254/255 are legal values... but with a special meaning.
>
> Cheers,
> Med
>
>> -----Message d'origine-----
>> De : Gorry Fairhurst [mailto:gorry@erg.abdn.ac.uk]
>> Envoyé : jeudi 18 juillet 2019 14:26
>> À : BOUCADAIR Mohamed TGI/OLN
>> Objet : Re: Options larger than 255 (was RE: [tsvwg] draft-ietf-udp-
>> options issues from IETF 104)
>>
>> I don't mind the choice of codepoint, my understaning was zero was an
>> invalid length, and an easy thing to test in code. Choosing 254 or 255
>> seems less obvious to me, but if there are good reasons, just say...
>>
>> Gorry
>>
>> On 18/07/2019, 12:48, mohamed.boucadair@orange.com wrote:
>>> Re-,
>>>
>>> Associating a meaning with Len=0 as proposed by Joe may not be
>> intuitive. An alternate approach would be:
>>> * 'Len' only covers the option data field (that is, 'kind' and 'Len'
>> fields are not covered. The overall option length can be easily inferred).
>>> * Associate a meaning with one of the two values we grabbed:
>>>    - 254 or 255: a 16-bit extended length field follows
>>>
>>> Cheers,
>>> Med
>>>
>>>> -----Message d'origine-----
>>>> De : tsvwg [mailto:tsvwg-bounces@ietf.org] De la part de Gorry
>> Fairhurst
>>>> Envoyé : jeudi 18 juillet 2019 12:22
>>>> À : gorry@erg.abdn.ac.uk
>>>> Cc : tsvwg
>>>> Objet : Re: [tsvwg] draft-ietf-udp-options issues from IETF 104
>>>>
>>>>> Gorry
>>>> P.S. I like the idea to explicitly allow options longer than 255 bytes?
>>>> - This seems useful for fragmentation and would be an easy addition,
>>>> someone suggested using 0 option length to indicate a 16b length field,
>>>> which could make total sense. As in:
>>>>
>>>> https://mailarchive.ietf.org/arch/msg/tsvwg/B4oeZkpagdl4gkAMDCFW7F1A7_8
>>>>
>>>> Gorry