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

<mohamed.boucadair@orange.com> Thu, 18 July 2019 11:48 UTC

Return-Path: <mohamed.boucadair@orange.com>
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 CAD141204AF for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 04:48:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 fLEuAgADBBAz for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 04:48:27 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 194EA1200B2 for <tsvwg@ietf.org>; Thu, 18 Jul 2019 04:48:27 -0700 (PDT)
Received: from opfedar06.francetelecom.fr (unknown [xx.xx.xx.8]) by opfedar20.francetelecom.fr (ESMTP service) with ESMTP id 45qC7s0zJPz8w1X; Thu, 18 Jul 2019 13:48:25 +0200 (CEST)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.20]) by opfedar06.francetelecom.fr (ESMTP service) with ESMTP id 45qC7s07Psz3wbp; Thu, 18 Jul 2019 13:48:25 +0200 (CEST)
Received: from OPEXCAUBMA2.corporate.adroot.infra.ftgroup ([fe80::e878:bd0:c89e:5b42]) by OPEXCAUBMA1.corporate.adroot.infra.ftgroup ([::1]) with mapi id 14.03.0439.000; Thu, 18 Jul 2019 13:48:24 +0200
From: mohamed.boucadair@orange.com
To: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>
CC: tsvwg <tsvwg@ietf.org>
Thread-Topic: Options larger than 255 (was RE: [tsvwg] draft-ietf-udp-options issues from IETF 104)
Thread-Index: AdU9XrOIbQhAQXhuSDGVYS+Xa1V+cw==
Date: Thu, 18 Jul 2019 11:48:24 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B93302FA71098@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.13.248]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/ytPvMMh260DJjAv98puLvJAw5aM>
Subject: [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 11:48:29 -0000

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