Re: [tsvwg] draft-ietf-udp-options issues from IETF 104

"C. M. Heard" <heard@pobox.com> Tue, 16 July 2019 14:37 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 6A08812062B for <tsvwg@ietfa.amsl.com>; Tue, 16 Jul 2019 07:37:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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; domainkeys=pass (1024-bit key) header.from=heard@pobox.com 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 AemIvqYwsjLV for <tsvwg@ietfa.amsl.com>; Tue, 16 Jul 2019 07:37:45 -0700 (PDT)
Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89B8712060C for <tsvwg@ietf.org>; Tue, 16 Jul 2019 07:37:45 -0700 (PDT)
Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 354C76CDB6 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 10:37:45 -0400 (EDT) (envelope-from heard@pobox.com)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=/tkLu4xKsKYkDIEQfLmy+OldqAo=; b=xUXeEx ur3eLVuYiUEVUL4NxwHDtlS+TR5+A1pIut4uMScM3c6ZQAuxzZGIqfvlQtJV94VZ 0fHvTE9tbIE/Nf4kC0Y7QNOx2Xeqvq1DakmCnXb2MzhFChVIE8RkU095bmleSWKW O4x+iOnYgZMFrjN8kH5FIT8bqh6THm9vIut1U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=qKo+Qx9PCEzsLD3jy6yx1cXmRvbfNndZ nLp7h3sxOhitY6gUoDkN0L2cqC4zaf5BjrHX7wxqRlPLdCyBfien8CyDAZZM/XqA VfIEs5/t3cw5oD5xV8sPvwLdXmO9liVk5sJL1L/laqiln4vF525QcFYG0rRLQ5uU 7xFtfUT37z4=
Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 2D9C86CDB5 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 10:37:45 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-io1-f51.google.com (unknown [209.85.166.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id AA1C86CDB4 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 10:37:42 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-io1-f51.google.com with SMTP id k20so40233752ios.10 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 07:37:42 -0700 (PDT)
X-Gm-Message-State: APjAAAVwdLiv2tuP58+1Vtg95HmGIVjG+LNbInbl4JUYryF0dGHdbJq1 t+s0cTW4soLW2TwKVMfLH9fu3Kv0ltzzR+D9Z5M=
X-Google-Smtp-Source: APXvYqxAZVYXoOWlO+pKrRLcfcDfHducMJBwt7U9DAzSj7htKQw1MPMZWfFmBY3ud7ATZ4FGsGAiS6iF+G8P/0fc1pA=
X-Received: by 2002:a6b:8b8b:: with SMTP id n133mr30042458iod.183.1563287861470; Tue, 16 Jul 2019 07:37:41 -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>
In-Reply-To: <30c17e9c174f6b0da3ecc6b503a8cb17@strayalpha.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Tue, 16 Jul 2019 07:37:29 -0700
X-Gmail-Original-Message-ID: <CACL_3VGs7j+y5vFNT3OL9OKX8ue4rv-Cxi467KR-vbhnMdx86g@mail.gmail.com>
Message-ID: <CACL_3VGs7j+y5vFNT3OL9OKX8ue4rv-Cxi467KR-vbhnMdx86g@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000aa2fd2058dcd5116"
X-Pobox-Relay-ID: 44E403D2-A7D7-11E9-B713-8D86F504CC47-06080547!pb-smtp21.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/BGhyoky-mX9Fm9TYxcaD3RCHAhk>
Subject: Re: [tsvwg] draft-ietf-udp-options issues from IETF 104
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: Tue, 16 Jul 2019 14:37:47 -0000

Responding to some points below ...

On Mon, Jul 15, 2019 at 1:34 PM Joe Touch <touch@strayalpha.com> wrote:

> Where we currently are on OCS:
>
> - 16-bit, as per current UDP-options draft TEXT (figs and tables need to
> be updated)
>
OK

> - zeroes-out with the checksummed data, to enable transit of widespread
> implementation bugs in middleboxes
>
Actually it needs to include the surplus length as a pseudo-header per
https://tools.ietf.org/html/draft-fairhurst-udp-options-cco

> - the OCS field is now manditory (not signalled with a KIND field or
> optional as a field)
>
As mentioned in
https://mailarchive.ietf.org/arch/msg/tsvwg/XZxL29UA-95ReA72mxv5-kEytK0 for
use in the trailer I'd prefer leaving it as an option so that NOPs can be
prepended for alignment, at the discretion of the sender

> - OCS *SHOULD be computed, but MAY be set to zero (e.g., when UDP CS=0, at
> user discretion and peril)
>
Partly agree. I do not want to see any receiver obligated to accept packets
with UDP trailers that don't have a computed OCS if UDP CS<>0 (it's fine to
allow a mode that does otherwise as long as it's an optional-to-implement
capability). Remember, in IPV6 the IP Payload Length is NOT protected by an
IP header checksum or by the pseudo-header in the UDP checksum, so the ONLY
protection against corruption of the computed trailer length is the OCS.

> - with LITE, OCS might be transmit-side computed and receive-side ignored
> to allow for the intended NON-ROBUST capability (at least when NOT
> transiting buggy middbleboxes; see below) of LITE
>
> (if LITE data doesn't change, that will transit middleboxes; if the LITE
> data does change, there's no way to help it transit middleboxes anyway)
>
As a point of clarification: this means that OCS would include the LITE
data (which it does NOT do now) and the options; OCS would not be checked
on receive; is that correct?

Mike




>
>