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

"C. M. Heard" <heard@pobox.com> Sat, 26 June 2021 20:33 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 766A13A0C7B for <tsvwg@ietfa.amsl.com>; Sat, 26 Jun 2021 13:33:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, 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 kvB6cnfo9bIH for <tsvwg@ietfa.amsl.com>; Sat, 26 Jun 2021 13:32:57 -0700 (PDT)
Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E74CE3A0C79 for <tsvwg@ietf.org>; Sat, 26 Jun 2021 13:32:56 -0700 (PDT)
Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id CE3C5CB04F for <tsvwg@ietf.org>; Sat, 26 Jun 2021 16:32:51 -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=vYLKDuFiUxKShnAG893+GeKlXKSXtzjV Bu1C0xphFhI=; b=qrWQAzgydtiZPTZSllSycyktm7YhnsqY0Ok3r87GEuZoBIZa nkkoTGrQh3eAZkj5jXUXUI9A9QYCh/2pzrd0WveWTgKkMZ61nZnhVWEPpu/Zv7tL BweXBqb41u6plOhlmhI/ZbWbk8YhJjhZ6vWErZj4jaOx76iLFWQQZ10aKlc=
Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C4D6ECB04D for <tsvwg@ietf.org>; Sat, 26 Jun 2021 16:32:51 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-io1-f44.google.com (unknown [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 4D5E5CB04A for <tsvwg@ietf.org>; Sat, 26 Jun 2021 16:32:51 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-io1-f44.google.com with SMTP id b7so16942163ioq.12 for <tsvwg@ietf.org>; Sat, 26 Jun 2021 13:32:51 -0700 (PDT)
X-Gm-Message-State: AOAM531PEXqAlUqNRl8iVINqZtYVisvC4d/yV/priE/pQlfwgZ+KT7kW uh4wbjmfMWt9Ifr7Xk7ARovbASCVC0/0vuPNrGE=
X-Google-Smtp-Source: ABdhPJzZ7VwGFN/t7rwOJR2taalC2R6R3cA4X6OWYrAS5cbGBu2AAoiUqI+A0sTfTV3+hn5nuzqsmHk6TprCsynb8dk=
X-Received: by 2002:a02:94af:: with SMTP id x44mr15259990jah.79.1624739570668; Sat, 26 Jun 2021 13:32:50 -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> <CACL_3VFUpae=ABZu=WuAUmJozOZcr5z4qW3orZGkzVi-niEa4g@mail.gmail.com> <54092700-A760-4B54-81E7-DDAC518FA27E@strayalpha.com>
In-Reply-To: <54092700-A760-4B54-81E7-DDAC518FA27E@strayalpha.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Sat, 26 Jun 2021 13:32:39 -0700
X-Gmail-Original-Message-ID: <CACL_3VHH67CCOBHvq_fC9E1AeqWA1Uwdyxg-SVnxxd-YJX5WTw@mail.gmail.com>
Message-ID: <CACL_3VHH67CCOBHvq_fC9E1AeqWA1Uwdyxg-SVnxxd-YJX5WTw@mail.gmail.com>
To: Joseph Touch <touch@strayalpha.com>
Cc: Jonathan Morton <chromatix99@gmail.com>, TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f65ac005c5b12801"
X-Pobox-Relay-ID: AD860B4E-D6BD-11EB-8803-8B3BC6D8090B-06080547!pb-smtp1.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/dUOTDlF4x6sVijtNGhhO5JJx7RA>
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: Sat, 26 Jun 2021 20:33:02 -0000

On Sun, Jun 20, 2021 at 12:36 PM Joseph Touch  wrote:

> FWIW, on this point:
>
> On Jun 20, 2021, at 11:28 AM, C. M. Heard  wrote:
>
> 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.
>
>
> Agreed, but that doesn’t help the client send a bigger request, which
> should also be possible, up to the minimums we specify.
>

But this doesn't help unless the client knows a priori that the server
accepts UDP options in general and fragments in particular. AFAICT The only
way to know a priori is via explicit configuration, in which case the
relevant limits (MRSS, and possibly number of fragments) can be configured
too.


> I’m wondering if we can say:
>
> - MUST support reassembly of at least (somewhere between 3 and 10),
> unless considered a constrained instance, which MUST support at least 2
>
> This allows for minimal IoT-style instances but doesn’t open the door too
> widely.
>

I remain unconvinced that it would be good for adoption of the spec to
require anything beyond the ability to accept a datagram consisting of a
single UDP fragment (one that is both initial and terminal). Based on the
implementation experience that I have had, the difficulty is NOT how many
fragments one must reassemble but rather the requirement to implement
stateful reassembly machinery in an otherwise stateless protocol. Despite
its age, RFC 815 remains still a good read and IMO its main lesson -- that
the maximum reassembled size is what needs to be bounded, not the number of
fragments -- remains relevant.

Thanks,

Mike Heard