Re: [tsvwg] draft-ietf-udp-options issues from IETF 104

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Thu, 18 July 2019 10:22 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 905601201D9 for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 03:22:00 -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 yBgXzXPoBMnc for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 03:21:58 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [137.50.19.135]) by ietfa.amsl.com (Postfix) with ESMTP id 7A5F21201D2 for <tsvwg@ietf.org>; Thu, 18 Jul 2019 03:21:58 -0700 (PDT)
Received: from MacBook-Pro.local (fgrpf.plus.com [212.159.18.54]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id D19291B001BF; Thu, 18 Jul 2019 11:21:53 +0100 (BST)
Message-ID: <5D304841.3030707@erg.abdn.ac.uk>
Date: Thu, 18 Jul 2019 11:21:53 +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: gorry@erg.abdn.ac.uk
CC: Derek Fawcus <dfawcus+lists-tsvwg@employees.org>, tsvwg <tsvwg@ietf.org>
References: <30c17e9c174f6b0da3ecc6b503a8cb17@strayalpha.com> <CACL_3VGs7j+y5vFNT3OL9OKX8ue4rv-Cxi467KR-vbhnMdx86g@mail.gmail.com> <2f71a292f924a9b8de4227c4bbc2f809@strayalpha.com> <CACL_3VGrF5UnbVsSzZZoy1i57WKiQKBX2T3a16UyEVHY=Kr3XA@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949363061EF7A@MX307CL04.corp.emc.com> <CACL_3VE7+3WD3Uzubf8X9uQX9ZYPnZVhXjheUOuL9EfjT1JkGQ@mail.gmail.com> <CALx6S35V-d3Rn_wjrhbHUHgS=_+dVjR4hbMJ0-JBsG-1BuFuZg@mail.gmail.com> <B5CCEF58-38CE-4973-9CFD-002B404E4EF3@strayalpha.com> <CACL_3VEnJoV9N9i59fJXG1Nyt=mMWT7SuB8B=C-Y9a9QLtqP7Q@mail.gmail.com> <BB3FD9A5-8D30-4600-A7A7-DA3030BD34A3@strayalpha.com> <20190718100109.GA86292@clarinet.employees.org> <5D3045ED.30207@erg.abdn.ac.uk>
In-Reply-To: <5D3045ED.30207@erg.abdn.ac.uk>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/kiIMXAqHwtvowy4p5zXfcuEch3c>
Subject: Re: [tsvwg] 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 10:22:01 -0000

On 18/07/2019, 11:11, Gorry Fairhurst wrote:
> On 18/07/2019, 11:01, Derek Fawcus wrote:
>> On Wed, Jul 17, 2019 at 05:18:10PM -0700, Joe Touch wrote:
>>>> On Jul 17, 2019, at 1:13 PM, C. M. Heard<heard@pobox.com>  wrote:
>>>> As I have explained previously, fate-sharing, while unachievable 
>>>> with the protocol trailer format but can be achieved with a 
>>>> protocol header packet format.
>>> It really can’t - again, you can’t force a receiver to act as 
>>> options-aware.
>> That is not what I understand Mike to mean by fate sharing, and his 
>> proposed framing.
>>
>> I see it as two cases:
>>
>> 1) Packet with legacy UDP data, and UDP options.
>>
>> In this case there is no fate sharing, a legacy receiver will only 
>> see the
>> UDP data, and the options will be lost.
>>
>> 2) Packet with zero-length UDP data, and UDP options carrying 
>> application data and options.
>>
>> In this case a legacy receiver will simply receive a zero length UDP 
>> packet.
>> However a new receiver will have fate sharing for the application 
>> data and options.
>>
>> Both cases can be used depending upon the application in question.
>>
>> In a request / response scenario, one can initially send packets in 
>> form 1,
>> and then switch to form 2 if the responder supports such, maintaining 
>> soft
>> state as necessary.
>>
>> Mike DNS example being one where a request would be send in form 1,
>> a legacy response would be received as pure UDP,
>> but a DNS server on a new host could send its response in form 2.
>>
>> So in general there is no fate sharing between the options within a 
>> given
>> packet (they can be understood or not per option), but there is fate 
>> sharing
>> between the presence of any options and application data in form 2.
>>
>> Mike was also further suggesting to carve the option id space such 
>> that there
>> is a signalling bit.  Doing so would then allow for fate sharing 
>> across options
>> if at least 1 'discard if not understood' option was present.
>>
>> DF
> Close to what I assumed.
>
> 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