Re: [tsvwg] design assumptions - draft-ietf-udp-options

Tom Herbert <tom@herbertland.com> Wed, 17 July 2019 19:02 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 CE7BF1208C1 for <tsvwg@ietfa.amsl.com>; Wed, 17 Jul 2019 12:02:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] 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 v9JJZKl3sSgj for <tsvwg@ietfa.amsl.com>; Wed, 17 Jul 2019 12:02:17 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 BB6831208C9 for <tsvwg@ietf.org>; Wed, 17 Jul 2019 12:02:15 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id m10so27132108edv.6 for <tsvwg@ietf.org>; Wed, 17 Jul 2019 12:02:15 -0700 (PDT)
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=pF8kOVMk1/KB2m2F3pZKN/i2x+7UQWl76WBPG7YQlzs=; b=q7vHNtRPuf+E3pvqnUuJIXukX9isZ+DnyeaOjbAjfZxPwHIpjvvNdWNZxbIY3FfL7a bsAPxS8v9XYtD/UwhyQPHWmexPeQgIBEfWa4yGibsV6s4kyEMPa1StLMdvOxW2ccWUAP TuePIHTk/Bomn2n4kOVnRuPBC/nRPnfT1pmDDFlqu+2fBq74+fmWbqgdvFzgkfcb0cBP 8vMjouBDyxImXFibj0hEqp9m2YYM/eoUfEKLLLD2loVjGThUzKbYHMzfsVgBGtDSbwUb d9FtubilpI0Cj6i6IeFeUeg/sUfOTEb2hnxHHY3LEAk5kB4UVftpWv9Brxo+xGxjD0J5 zgog==
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=pF8kOVMk1/KB2m2F3pZKN/i2x+7UQWl76WBPG7YQlzs=; b=RUutRK0ZJo6BPwI/JmjWgLv15iccfWNegGgA0Q4pLYPojtZ+wXY20qCblUX+HdoXJ3 GEMFrd6BLPRmYIDmbiXtzcr89/9fL5qs9DIjumxwO6roZ7j9yM0T7EYaN057/tN8cQ74 NWG04T9uaUweFl2O2FJvR2TiA3RS+uACckCcyoccaz6sY7kckdHCiNi4DGapAtIdsH/4 PNo0SOCtB9hr7fMW8hneD2sZZ8g4CM9gPQXChwNLmMnUrccppBirbDl+TiLPlRWTrKpN bYOGWgUBQxDPFwxb232ii4pW++5GHxrz3JI6Lee7HdrCYdatKV1YFgqIZcoXBYbW/zyz YQlQ==
X-Gm-Message-State: APjAAAW6OH4tlmi/Dr1cFSXHK8P6/1Ik3456N3ajWdhoVAzaqsRW63HY Gel9kg/k2Xyz24YxJwUc0m3zarAoA1O9FFlVwV4=
X-Google-Smtp-Source: APXvYqx+VzeOO1ne8RJLJ56IQBLkJSTvSItV62Uibb7zSPM7yT+TzSWDt29mNQ79Yy9jwAi+nG+dw16x3F0c4jctFgc=
X-Received: by 2002:a17:906:69c4:: with SMTP id g4mr33135683ejs.9.1563390134175; Wed, 17 Jul 2019 12:02:14 -0700 (PDT)
MIME-Version: 1.0
References: <CAPDqMeq9GjEQKukH1pZOTdE50e_rc3U6gpdxT-5qrS5phD0RGw@mail.gmail.com> <646D45AD-D79B-4BD2-A084-7DA97CE2C415@strayalpha.com> <7EC37B50-45D5-4CF1-B113-205E55BF244E@strayalpha.com> <CALx6S34s7L7xo+26bt5Cdaqi4Es5Aci42GHk1WNKzugr5st-Gw@mail.gmail.com> <B525BF50-EFCC-44A5-A604-6CDDA914A1CB@strayalpha.com> <CAPDqMep3R6z9PRKkHyOvrh6sV9n5Sc0B++-zVz0FYJCwE6swrQ@mail.gmail.com> <E42A2AE2-F499-465E-BDE6-5EFC0AB20042@strayalpha.com> <CE03DB3D7B45C245BCA0D24327794936306138E9@MX307CL04.corp.emc.com> <CAPDqMeoyNb7vQTdqxLpZpnKb9S7QKeDJNLyQJBmq95yXhB+xfQ@mail.gmail.com> <7D365770-64FE-40BC-901D-B4D7DF6B484B@strayalpha.com> <20190713182554.GB39770@clarinet.employees.org> <CALx6S36mH2M6SYnRSecWXa7k_d1u8O43+CXE-=KqeO0x2e5+qw@mail.gmail.com> <82FF6486-FABF-4D2C-B5E2-178779C720A4@strayalpha.com> <30c17e9c174f6b0da3ecc6b503a8cb17@strayalpha.com> <CACL_3VGs7j+y5vFNT3OL9OKX8ue4rv-Cxi467KR-vbhnMdx86g@mail.gmail.com> <2f71a292f924a9b8de4227c4bbc2f809@strayalpha.com> <0ce46e21249f0dc55310b192d382f50a@strayalpha.com> <CALx6S36gaMqNRo_hYKr45T_vTkUB-vRrYRYJz2_KgvejNsJtLQ@mail.gmail.com> <efbf65646a0e0d2535dc5726b34f3472@strayalpha.com> <CALx6S37sZxmGQJq5mxDiF88NeUjj2HMRnQG5KyZA_4ujrLJkqg@mail.gmail.com> <079d7d849d0e6260497a6c0ed37595a2@strayalpha.com> <CALx6S37wOkz0436CmevOjSe=VwAxKstSR9Jc66PUmXwUKK4vBw@mail.gmail.com> <075C3166-DF88-4160-8E6C-1C32511F4D46@strayalpha.com> <811C4C35-48D8-4382-A4B4-784FAC1B9F1D@strayalpha.com> <CE03DB3D7B45C245BCA0D2432779493630620745@MX307CL04.corp.emc.com> <80BB381B-9B2F-4ACF-9F3A-27E7B8B10AC2@strayalpha.com> <CE03DB3D7B45C245BCA0D24327794936306212A0@MX307CL04.corp.emc.com> <CACL_3VGS8-3susS-qm3oDD3=fwT6QmRa4_hgceJKhqjz3n+H5Q@mail.gmail.com>
In-Reply-To: <CACL_3VGS8-3susS-qm3oDD3=fwT6QmRa4_hgceJKhqjz3n+H5Q@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 17 Jul 2019 12:02:02 -0700
Message-ID: <CALx6S37GyRuVtoERrp1bDr3iCj0tZwGFH5CEsBJG3t0seii=3w@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
Cc: "Black, David" <David.Black@dell.com>, Joe Touch <touch@strayalpha.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/urCgQciYDFTpXWbYaX8avOl11t0>
Subject: Re: [tsvwg] design assumptions - draft-ietf-udp-options
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: Wed, 17 Jul 2019 19:02:20 -0000

On Wed, Jul 17, 2019 at 11:20 AM C. M. Heard <heard@pobox.com> wrote:
>
> On Wed, Jul 17, 2019 at 10:14 AM Black, David <David.Black@dell.com> wrote:
>>
>> Joe,
>>
>> Still as an individual ..
>>
>> > I would agree with your point on #8 LITE were it not that #8 is the basis for
>> > the only way we have to accomplish #5 Frag while satisfying #2.
>
>
> I emphatically disagree that LITE is needed to support FRAG in an acceptable way.
>
+1

The requirement when there are UDP options that can't be ignored, like
FRAG, is that the UDP length is eight and so all the protocol and user
data is in the surplus. The bits in the surplus area can be arranged
as convenient, so then the UDP options can be in a header as opposed
to trailer. Thus the LITE option isn't needed and the awkward moving
around user data to reconstruct the protocol trailer is unneeded.

> I have already put one proposal on the table that divorces FRAG from LITE.
> See the thread UDP Options: how to do FRAG without LITE and forced UDP CS=0.
>
> I recently put forward a better proposal, based on a variant of Tom Herbert.s header.
> It's at the end of https://mailarchive.ietf.org/arch/msg/tsvwg/XZxL29UA-95ReA72mxv5-kEytK0
>
> Derek Fawcus suggested a further improvement that will also support LITE.
> It's available at https://mailarchive.ietf.org/arch/msg/tsvwg/jqctei-uuocYIp1qTJ0p1mIE-HI
>
That mentions support for checksum coverage like in UDP-Lite. I would
suggest support for that is not a requirement. Host systems perform
much better processing whole packet checksums than partial checksums
(one reason why UDP-Lite never got any traction). Also, for UDP
checksum compensation to work the checksum has to cover the whole
surplus space.

> I'll post a message fleshing out Derek's ideas but I'll use the other thread for that.
>
> Getting back to this thread and the core design assumptions that Joe posted:
>
>> 1- support options
>> 2- allow at least some options to be silently ignored by legacy receivers (to enable ‘“optionally enhanced” exchanges)
>> 3- allow at least some options to be required
>> 4- allow the options themselves to be protected
>> 5- support for fragmentation/reassembly
>> 6- support for MTU discovery
>> 7- support (optional?) middlebox checksum/payload length bug traversal
>> 8- support LITE, i.e., where some of the payload is not covered by at least some checksum processing
>
>
> Modulo clarification of  #3, I agree with that list. But I would also add:
>
> 9 - any option that affects the handling of payload data must share fate with that payload data, by all receivers (legacy or otherwise)
>
> The clarification to #3 that I would like to see is whether "required" means:
> (a) "required for any conforming implementation to support" or
> (b) "required by the receiver in every packet"
>
> I ask because the term is used both ways in draft-ietf-tsvwg-udp-options-07.
>
> Either way, I think everything on the list is achievable.
>
> Thanks & regards,
>
> Mike