Re: [tsvwg] Comments on recent UDP options work

Tom Herbert <tom@herbertland.com> Sun, 25 November 2018 17:26 UTC

Return-Path: <tom@herbertland.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 6AB4212F1AB for <tsvwg@ietfa.amsl.com>; Sun, 25 Nov 2018 09:26:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.359
X-Spam-Level:
X-Spam-Status: No, score=-3.359 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 siYQTim5R0Nx for <tsvwg@ietfa.amsl.com>; Sun, 25 Nov 2018 09:26:54 -0800 (PST)
Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33B9012EB11 for <tsvwg@ietf.org>; Sun, 25 Nov 2018 09:26:53 -0800 (PST)
Received: by mail-qt1-x82e.google.com with SMTP id n32so15084357qte.11 for <tsvwg@ietf.org>; Sun, 25 Nov 2018 09:26:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=446q+30ske3WjAC7mvLN0gwwgGD/OC+YAwdxlFWYHSA=; b=A3eYQMeAHgpPYsuLwJ8qyh6o+dLSFaIYjdqNKyMsTadFewnCZPh+QKavCT8U3T+1I5 c9z4TJZwrN43/PKELwty5f1yqcLVs8qs7a57gvbkkCWYRvN3xXH6b6jfhWNipG8woGqX SzMrnPWVyy8MHYwrDBKGuE2o9TM/jARl6XxjcjI5cJJ9oaEF2Gn52YOcu2pmNC+uKjgU 3+RyXZERJxSjKqflAp2588HuwXlKfF+rr6+PfYVRRFVdOrN1pEuS3Mih6OfglbuHVEV9 TO0I3+zMU3rNNi7OvSIPcPeZ5a6sQpDE9Yv6YLJMqBPX0qXgnGnnrmcG/c9W6uny2PC6 ug3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=446q+30ske3WjAC7mvLN0gwwgGD/OC+YAwdxlFWYHSA=; b=rIz6OvtIt+1rkcC19R0nHxPrdAaRuvmtO003+Lp0uheuRbqZBHyhP1rd983vzInx6o 7trqOQ8JszNIfD1LYhsqcmd0xxpnYmuxxuSGUESnIERvOgM+0ra7UJZGpqbUDk0pl7Wi HI5kMaP5ZlF3ESWnHpUx88ZShA48pJHfGRD87vx19cShl6aXAKeMZx1Mme9LAYE0k5Ha ESyV00Vsyg3dTfwDs2dX++Qzg1TDojLgkoXwTbv9KKoq5gxEZXm7nde2j7OsLBWrt2q3 dAA9cgpHIMw/zyJbiqajT74PjYrqZDVI5HJRqHNCxJRoFAO+SycrGtmzJVbg/0pHFhis nnxQ==
X-Gm-Message-State: AA+aEWaAuA/wtZYVKzA72AbkHa7VWvKihhaZmp1unk6mkTlJk66/Av8O NUEUQdObqpAn7KbjY17GbMPXVo25FaK3u6C5Xda/SQ==
X-Google-Smtp-Source: AFSGD/UTNbcblgt0PYgfhjggiwlcB2ozgBa0yXHJOrxVNAMMYQKZVAZBUpzaUb5fN1wxFlhqzpcUdenucRz3B2KM8vQ=
X-Received: by 2002:a0c:b407:: with SMTP id u7mr22000051qve.179.1543166812564; Sun, 25 Nov 2018 09:26:52 -0800 (PST)
MIME-Version: 1.0
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>
In-Reply-To: <2CFB9765-6B83-4857-B4E6-355BCD04FBFC@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sun, 25 Nov 2018 09:26:42 -0800
Message-ID: <CALx6S37XL-r-5nzqY_Efdr9LBMf6TcOL0SYdFvQhfc0OGKCasg@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, "C. M. Heard" <heard@pobox.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/lNV5GDE7-_epmgNVgory-T8_IpU>
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 17:26:57 -0000

On Sun, Nov 25, 2018 at 8:37 AM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
> > On Nov 25, 2018, at 8:28 AM, Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
> >
> > On 25/11/2018, 16:16, Joe Touch wrote:
> >> One question (and clarification):
> >>
> >>> On Nov 25, 2018, at 8:03 AM, C. M. Heard <heard@pobox.com <mailto:heard@pobox.com>> wrote:
> >>>
> >>> 1. In the thread on "UDP Options Implementation Update," Tom Jones
> >>>    said "The current spec puts data in the UDP payload, which does
> >>>    not seem correct.”
> >>>
> >> I didn’t understand that either.
> > Where is the data portion of the fragment carried?
>
> It depends on whether it’s FRAG+LITE or FRAG only; the former puts it in the option area, the latter leaves it in the UDP payload.
>
> >> No variant of UDP options adds anything to the *UDP* payload; they all use space in the *IP* payload that extends beyond that of the UDP payload. That includes LITE.
> > If it is always OK to return a UDP Options packet that has had the options area stripped (without the receiver knowing) - then I think the operation is correct.
>
> I don’t think that’s “OK” - i.e., that should NEVER be a legitimate function of any intermediate device. However, being robust to that behavior might be a consideration...
>
> > If that could result in an incomplete or incorrect datagram payload then I think the deisgn may be wrong.
>
> The design is not intended to overcome the arbitrary behavior of all intermediate devices. Again, “more robust” doesn’t mean “right”….

But, the protocol does need to be correct. In the case of LITE, the
draft allows that receivers may interpret the same packet from a
sender in two very different ways. One receiver may see a UDP packet
with non-zero payload, but the other way is for an application to
receive a zero length UDP message. I don't know if this can be
considered correct. It's implicit in the the draft that receiving a
well formed zero length UDP message is innocuous to applications, but
I don't believe this has been proven. There should be more discussion
and supporting evidence for this.

Tom
>
> >>>
> >>> 1. If I understand this comment correctly, I think the issue is
> >>>    addressed by using it in combination with LITE. If in the end we
> >>>    don't retain LITE, it would still be possible to re-specify the
> >>>    FRAG option to get the same effect (i.e., make all data in the
> >>>    fragment part of the option); in this case, we would need a
> >>>    separate option to signal that FRAG is understood, in order to
> >>>    support (3) above.
> >>>
> >> It my be possible that FRAG is not useful without LITE, but remember that LITE may be useful without FRAG.
> >>
> > I think the point I saw was that LITE is complicated to implement, and also it is quite unlikely to work on many paths, because it is not possible to have LITE semantics and a CCO.
>
> We can leave that to the user, with the appropriate caveats.
>
> >> As to determining which options are understood, we currently infer that from the options received (i.e., if you send an option, you indicate you can receive it too). The receipt of ANY of the core options implies support for all of them.
> > I really do not think this should include FRAG. Support for fragments at the IP-layer is very much in doubt in other WGs, and the requirement that an endpoint "must" support FRAG, if a sender uses any options does seem worrying.
>
> FRAG is part of the core of UDP options; if an endpoint supports any of that core, it can be assumed to support the entire core.
>
> Support for fragments at the IP layer does interfere with the profit and effort model of vendors and operators but what we’re seeing “in other WGs” are the shopping around of ideas until they find a home. Let’s not confuse that with a groundswell.
>
> Joe