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

Derek Fawcus <dfawcus+lists-tsvwg@employees.org> Thu, 18 July 2019 10:01 UTC

Return-Path: <dfawcus@employees.org>
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 924E01201AF for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 03:01:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.106
X-Spam-Level:
X-Spam-Status: No, score=-1.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 XIT5THi3Exnc for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 03:01:10 -0700 (PDT)
Received: from clarinet.employees.org (unknown [IPv6:2607:7c80:54:3::74]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3EBCD12001A for <tsvwg@ietf.org>; Thu, 18 Jul 2019 03:01:10 -0700 (PDT)
Received: by clarinet.employees.org (Postfix, from userid 1736) id 8D2594E12968; Thu, 18 Jul 2019 10:01:09 +0000 (UTC)
Date: Thu, 18 Jul 2019 11:01:09 +0100
From: Derek Fawcus <dfawcus+lists-tsvwg@employees.org>
To: tsvwg <tsvwg@ietf.org>
Message-ID: <20190718100109.GA86292@clarinet.employees.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>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BB3FD9A5-8D30-4600-A7A7-DA3030BD34A3@strayalpha.com>
User-Agent: Mutt/1.12.1 (2019-06-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/FyqxAE1wGoll9lkh0sQ__JLo7ds>
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:01:12 -0000

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