Re: [tsvwg] Comments on recent UDP options work

Joe Touch <touch@strayalpha.com> Sun, 25 November 2018 19:50 UTC

Return-Path: <touch@strayalpha.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 CE9901286E3 for <tsvwg@ietfa.amsl.com>; Sun, 25 Nov 2018 11:50:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.99
X-Spam-Level:
X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.com
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 5fFFPlo51Pxi for <tsvwg@ietfa.amsl.com>; Sun, 25 Nov 2018 11:50:08 -0800 (PST)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE2BA124C04 for <tsvwg@ietf.org>; Sun, 25 Nov 2018 11:50:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=R2bpfb/ERjMkCzRELMlHpmrybC8FAFkzFN/qoK7QJ6M=; b=38hgaEtJDxvqYJpoPLN9EaWM4 cDO9X7oUTRarRQj3++O/QFBWOl/EzlBb3I4DOUrn1cnr+co4SnHrLnf44sBgxgkQOfZHYmQm+YpWA SB8RgCNEO82cyjCAuN8J2r/1PfOBc4NEr1+I68snsZkwL2mE08jQ0TmgtfJyink2INTYwO/Q2SsHu mY7/SvecFcHXeA4hvweQNMzIrTen9S1T+hL8QS6ZoKCMUNClJGYQ6FuYs89OstNrw1RrckNBIBvb7 qoYF11sr4+aDSiWmoztwmk0vAEgEOZr/HOVRUC+38kLOcr+Ab482/ImU9kyGcQ7WyPAg1vPfWARx7 DqhJq/G2Q==;
Received: from cpe-172-250-240-132.socal.res.rr.com ([172.250.240.132]:58883 helo=[192.168.1.77]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <touch@strayalpha.com>) id 1gR0Pt-000pYT-3p; Sun, 25 Nov 2018 14:50:06 -0500
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <CALx6S35TVtmOZSXHVhpwRNuuTBXZi91JBb+iYciQPF2N_NLgPQ@mail.gmail.com>
Date: Sun, 25 Nov 2018 11:50:04 -0800
Cc: "C. M. Heard" <heard@pobox.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <4B5CEB47-EF70-48E6-B965-C641B8827C5E@strayalpha.com>
References: <CACL_3VFG+B1AZfC09XTTq0Ht8tM5RoZt8zy1c5aK2NLpQQwKGA@mail.gmail.com> <DDBEA9CB-86A1-496C-BC73-F4C62D05ED05@strayalpha.com> <5BFACDAD.7050109@erg.abdn.ac.uk> <2CFB9765-6B83-4857-B4E6-355BCD04FBFC@strayalpha.com> <CALx6S37XL-r-5nzqY_Efdr9LBMf6TcOL0SYdFvQhfc0OGKCasg@mail.gmail.com> <CACL_3VFFwUALtr=CR11Ut+BWFx7oiOHwpjAhiaCVpCC7OaJ8Cw@mail.gmail.com> <CALx6S36MvUEnC4zNQDr4f7QkNZxBaK=5tZq27Dxb1cODzPPP9A@mail.gmail.com> <CACL_3VHrFvy-s-9btkHC_pHZFt+BBxrArpS8DmYkAoeK7+MtOA@mail.gmail.com> <CALx6S35TVtmOZSXHVhpwRNuuTBXZi91JBb+iYciQPF2N_NLgPQ@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
X-Mailer: Apple Mail (2.3445.9.1)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/334ift1C3UF0OsM2-x-TnffN9gQ>
Subject: Re: [tsvwg] Comments on recent UDP options work
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: Sun, 25 Nov 2018 19:50:10 -0000

UDP options do bring soft state into UDP, for at least some types of options.

See Section 10.

Joe

> On Nov 25, 2018, at 10:42 AM, Tom Herbert <tom@herbertland.com> wrote:
> 
> On Sun, Nov 25, 2018 at 10:11 AM C. M. Heard <heard@pobox.com> wrote:
>> 
>> On Sun, Nov 25, 2018 at 9:50 AM Tom Herbert wrote:
>>>> Do you mean LITE, or FRAG? That is definitely true of FRAG
>>>> without LITE (and IMHO a good reason not to use FRAG
>>>> without LITE).
>>>> 
>>> LITE+FRAG is the obvious case that leads to ambiguity on how a
>>> reciever processes a packet.
>> 
>> OK, you are fixated on the empty datagram case. A legacy receiver sees
>> a sequence of empty datagrams; a receiver that implements LITE+FRAG
>> will see a single reassembled datagram. Agreed that it's an open
>> question whether the sequence of empty datagrams is harmless. If
>> it is not, it is necessary to ensure that LITE+FRAG is not sent without
>> prior negotiation or out-of-band arrangement. Oh, wait, the spec already
>> says to do that.
>> 
> The draft states:
> 
> "the LITE UDP option can safely provide that service only between
> endpoints that negotiate that capability in advance".
> 
> That is not a normative requirement. Maybe this should read "Use of
> UDP LITE option MUST be negotiated between endpoints before use". But
> if negotiation is required and authoritative, then there should be no
> legacy receivers of such negotiated options. However, a mechanism for
> negotiation of UDP options has yet to be defined, it will be
> interesting to see if that can be done in a robust way without bring
> state into UDP.
> 
> Tom
> 
>> FRAG without LITE can of course create an ambiguity that is
>> demonstrably harmful. A legacy receiver sees a sequence of
>> non-empty datagrams that are acually fragments. Easy to come
>> up with scenarios where those apparent datagrams will be
>> misinterpreted. So be sure to pick on that case too; indeed,
>> emphasize it; but again, if the spec is followed, naked fragments
>> won't be sent to an unsuspecting receiver, either.
>> 
>> --cmh