Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-13.txt

"C. M. Heard" <heard@pobox.com> Sun, 20 June 2021 18:28 UTC

Return-Path: <heard@pobox.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 0C3693A07B2 for <tsvwg@ietfa.amsl.com>; Sun, 20 Jun 2021 11:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.898
X-Spam-Level:
X-Spam-Status: No, score=-0.898 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.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 OI7PEiqe6pNI for <tsvwg@ietfa.amsl.com>; Sun, 20 Jun 2021 11:28:48 -0700 (PDT)
Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8AB783A07B1 for <tsvwg@ietf.org>; Sun, 20 Jun 2021 11:28:47 -0700 (PDT)
Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 3E2361351BD for <tsvwg@ietf.org>; Sun, 20 Jun 2021 14:28:43 -0400 (EDT) (envelope-from heard@pobox.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; s=sasl; bh=YsoW8KAhgP4QuWsXqzGfYKLcqdm/1KmL yAUr8oUFC6g=; b=pbZFZn7I32lj1TFe8NwT6Bgo6F1UVcGwNDP1T3W3fxDsXVHA qxPA9uhjcesS8Uv/QvmH4gnpHmh0inAxPtgNT5A4aEh+nWd3pkdwGna5Fzlqys7A xdDH09uXR+5g13i34Kk4NdFDmRXu18tIewP1Rjo/fCLw9gB266YlDsbh3WY=
Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 373FA1351BC for <tsvwg@ietf.org>; Sun, 20 Jun 2021 14:28:43 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-il1-f176.google.com (unknown [209.85.166.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id D62A91351BA for <tsvwg@ietf.org>; Sun, 20 Jun 2021 14:28:40 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-il1-f176.google.com with SMTP id s19so6537565ilj.1 for <tsvwg@ietf.org>; Sun, 20 Jun 2021 11:28:40 -0700 (PDT)
X-Gm-Message-State: AOAM530QGvK0PGeOYHJr8al5RquNlx29ADjFPyO9D2fQKkTzicPs5eqf P6wk0FmFwBNFEFLHpAyeK962CThazQnCwSdlalk=
X-Google-Smtp-Source: ABdhPJx7j6pcVKYGJ+RRvNBlXxkiSUwOooL5I6CVVgBM5Kg+9wD78VYurBzRVG8hO53J3kMHNYtFcUlKz1AJKJ30UAE=
X-Received: by 2002:a92:cb02:: with SMTP id s2mr15466958ilo.256.1624213719553; Sun, 20 Jun 2021 11:28:39 -0700 (PDT)
MIME-Version: 1.0
References: <162408795080.21706.5548660195641640175@ietfa.amsl.com> <C2C396E7-B728-496E-841B-D9F64004D3E3@strayalpha.com> <20210620043304.c6xerpura7lyw6yo@family.redbarn.org> <95274A1D-3C51-4D40-A5AB-7E8A4AEFDD1B@strayalpha.com> <20210620171249.le6tjyi7h66jggq2@family.redbarn.org> <E716B4A5-44F5-41A1-98C0-A7A25FAFF779@gmail.com>
In-Reply-To: <E716B4A5-44F5-41A1-98C0-A7A25FAFF779@gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Sun, 20 Jun 2021 11:28:28 -0700
X-Gmail-Original-Message-ID: <CACL_3VFUpae=ABZu=WuAUmJozOZcr5z4qW3orZGkzVi-niEa4g@mail.gmail.com>
Message-ID: <CACL_3VFUpae=ABZu=WuAUmJozOZcr5z4qW3orZGkzVi-niEa4g@mail.gmail.com>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: Paul Vixie <paul@redbarn.org>, Joseph Touch <touch@strayalpha.com>, TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000cb1be905c536b913"
X-Pobox-Relay-ID: 563C5522-D1F5-11EB-9B8A-D5C30F5B5667-06080547!pb-smtp20.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/LLnHeGpohk3gd9mdACAWyoyXtEI>
Subject: Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-13.txt
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, 20 Jun 2021 18:28:53 -0000

On Sun, Jun 20, 2021 at 10:20 AM Jonathan Morton wrote:

> I think a crucial point here is that TCP only sends as much data as the
> receiver has positively indicated as it is ready to accept (ie. the rwnd),
> *regardless* of congestion control considerations.  It's entirely feasible
> to have a TCP receiver that can only handle 4KB outstanding at a time, and
> support for that was baked into TCP from the beginning.
>
> The fragmentation handling is analogous to that, but due to the nature of
> UDP, the sender might not have information about the receiver's
> capabilities at send time.  So the question is about how much data and what
> complexity of fragmentation the sender may assume the receiver has
> a-priori.  I would suggest that this assumption should be conservative due
> to the interoperability principle.
>

An option-aware client can and should include the UDP MRSS (Maximum
Reassembled Segment Size) option in its request to indicate to the remote
server the largest fragmented UDP datagram that it can reassemble. It can
also include the UDP MSS option to indicate the largest single UDP segment
(unfragmented datagram or single segment) that it can receive (this may be
further limited by path MTU, of course). This can be done in a
backward-compatible way by transmitting the request as an ordinary
(unfragmented) UDP packet with all options in the trailer. At present the
draft does not include an option to indicate how many fragments can be
reassembled; perhaps it should.

Whether or not every implementation of UDP options should be required to
reassemble fragments at all is still under debate, but even I end up in the
rough on that point, the fact remains that many stacks won't support UDP
options at all. In the absence either of explicit information to the
contrary, either via negotiation (as in the example sketched above) or by
manual configuration, a sender should not assume that the remote end offers
any support for UDP options and should have the capability to fall back on
UDP without options.

Mike Heard