Re: [tsvwg] New Version Notification for draft-herbert-udp-space-hdr-01.txt

Tom Herbert <tom@herbertland.com> Wed, 10 July 2019 22:17 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 5B084120241 for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.602
X-Spam-Level:
X-Spam-Status: No, score=-0.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 mG5gsySuHfRH for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:17:16 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 DCCBC12012A for <tsvwg@ietf.org>; Wed, 10 Jul 2019 15:17:15 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id w13so3688013eds.4 for <tsvwg@ietf.org>; Wed, 10 Jul 2019 15:17: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; bh=gj9I2wUl45uVVAJPDshg7HQb8YMs3NSx4SIX/7WeMYE=; b=2PA5hifp7nNIrw+mwdMHjlYPeo4Bap37+HVVwnhLxn8M8y2jRDSb3O0ti2Erx4/LC3 o9i0/dGNByODu7zGrVTGX806LJpeLg2Ut4XXJMZIq4ErtSIdlNJ7QEWJS0TU7I14LXxt D7AWUITkOJy64j7e3D/Hy05Qtx7Xi4OZZX0A5G4hOs8W3e1NojkkdtNNtP+cnut1OsKo HH9PjLJk8INNsvwo7zs+16D4ULyV3R1eeXreFsUm/hdPuaW7XQO0oWLgg5pwZrTKfJhU 29lMHK+VurZpfjINJURSy2j5FJzn9j+wPVc9UQ1uTPGP27+hcySnw7dUCGrHCxkCHczF m/hw==
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; bh=gj9I2wUl45uVVAJPDshg7HQb8YMs3NSx4SIX/7WeMYE=; b=auDzCxfcR78zuY8qbvtFzi2bZAb1pHeP6QVGxPRTF52mLZ77lznL/2TqN5iKHDUd7o 4XkFlxZpoXXnuASAc7KiSUP8boSCkBXuVjN6YJMXCr02SxsIflwUrf23twbwQaCKEVDk Fk42kNSYZlOVg/62mY/z9uEqdizE353hmGrhe478oZgiRJc9/NRymO9J0wL2EavDq5tl Y+XSwUH0gmcmyutUVJMTKwi+QPP+SHk3AIvruEE9tzulcP06nfWXmBqUw1/tK8f8mz9k wsBnVpf4aZBh3jHsu+3ps4De2fE9/0xIoo6q2xueNg3QAHdJOaQsg118nkVNUoMoPBGP rQ6w==
X-Gm-Message-State: APjAAAUfwGZ04txLVVV/q0cxdLoWL35wihsvbBA1/Rj+tqKJXMSEOmK6 ktwcT+g/FJWnG3nYnC5EmElPVYYDCtC24BvhnlLOuw==
X-Google-Smtp-Source: APXvYqxok4+/DXf1CxbLs7mjZKnqXSkQclEwHiIokxgr4YKBUGwm8x0bFX2u8dA4Ey1eH8DNlfPGp8xJOwVkkRp+/U8=
X-Received: by 2002:aa7:dad6:: with SMTP id x22mr260117eds.122.1562797034302; Wed, 10 Jul 2019 15:17:14 -0700 (PDT)
MIME-Version: 1.0
References: <156262970360.865.13042807682366763561.idtracker@ietfa.amsl.com> <CAPDqMeoMqsB8=tH5TBaq5Tw-sLW3HNc8tpfUU3htV=sWo7pJcA@mail.gmail.com> <D7E52D2B-3912-4897-80C6-0150CDE10218@strayalpha.com> <CAPDqMep9MYqjFvvJSVbqYwo-xJ1pUocYszNukveaZODhf9+75A@mail.gmail.com> <e73919f08202937bf45418cbf8bcc38c@strayalpha.com> <CAPDqMeoh3n5fL1k6Fw9D8rCpy4a9eWyUZvgStyzYfFuJbuWudw@mail.gmail.com> <3f6f54e0b828e2628af964d6ee7f33e1@strayalpha.com>
In-Reply-To: <3f6f54e0b828e2628af964d6ee7f33e1@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 10 Jul 2019 15:17:03 -0700
Message-ID: <CALx6S37rt7OJtH5a2ZH23R21ATETuwTeFS-mZQECtgxPQ3nSZA@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: Tom Herbert <tom@quantonium.net>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Te_K3Nzl6qlJ8Erbytkb1rXBqDY>
Subject: Re: [tsvwg] New Version Notification for draft-herbert-udp-space-hdr-01.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: Wed, 10 Jul 2019 22:17:17 -0000

On Wed, Jul 10, 2019 at 12:24 PM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
>
>
> On 2019-07-10 11:36, Tom Herbert wrote:
>
>
> ...
> The UDP surplus header provides alignment,
>
>
> UDP options already has NOPs for that.
>
The NOPs align the options to the start of surplus. If the surplus
space is unaligned to begin with then there's no point to using NOPs
to align individual options.

>
> integrity check,
>
>
> UDP options already has a OCS for that.

A one byte optional checksum is next to useless as an integrity check.
This has already been brought up in reference to OCS.

>
>
> disambiguation for other uses of surplus space,
>
>
> This isn't needed. It won't support existing uses (not that any are known) because they won't follow the format.  UDP options already allows for experimental uses and other standards-track extensions through codepoint assignment.

If the checksum fails then surplus space isn't processed. So,
probability of misinterpretation of some random use of surplus space
is < 0.0015%.

>
>
> a means to extend the UDP header,
>
>
> Actually, it hinders UDP options by limiting them to 1020 bytes, as with all "other uses".
>
That is intentional. Allowing unlimited options is a path towards DOS attack.

>
> friendliness with HW and SW implentations,
>
>
> It has no benefit vs. the existing approach in this regard.
>
The checksum ensures that the surplus space sums to zero so that the
UDP checksum computation yields the same result rather it covers the
UDP datagram only or the UDP datagram and surplus space. If we don't
have this property, we will lose checksum offload which is important
for UDP performance. Along similar lines, a per packet checksum is
much better than the fragmentation checksum since we can offload the
former and not the latter.

Tom