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

Joe Touch <touch@strayalpha.com> Wed, 10 July 2019 22:49 UTC

Return-Path: <touch@strayalpha.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 706441202EB for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:49:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.218
X-Spam-Level:
X-Spam-Status: No, score=-1.218 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 E20yFniT1yY2 for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:49:54 -0700 (PDT)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6ADAE120297 for <tsvwg@ietf.org>; Wed, 10 Jul 2019 15:49:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=Message-ID:References:In-Reply-To:Subject:Cc: To:From:Date:Content-Type:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=48HP4G05pM/r7+tWrDqcrR//teQfaxrTVnM8asNNQrY=; b=kpydLljIAnarEi5hR2QqqfExY CWY6ocKFTpXJCoVCshH43makdy0WBxOx+JPOHsijClT2o/S5Ev7KiZ8XuK2cFrzZAQ15xJsE8Xd8s PBxvv95ceYtxPt1Y2lLYl+6vSiQtr8wHQsNdL0J7QyRkXOPKsU5+CDMGltUbRVjZQVPX2AqXxXflu gSy7uQ0BpAEhHR0q8fYr7tc3N+Co00m4nZHNhRmQ+W9e1aAHmY5w05kr7i4atNHk6Y8I2gL07u557 1CMZYuNgL6LfhjtmK6VoZqeyfZld3i/12rsrfQwdsaKkR8T8mEejSJC/KubThn8FBDdy4dZoYO9U1 rvRTGm+iA==;
Received: from [::1] (port=34704 helo=server217.web-hosting.com) by server217.web-hosting.com with esmtpa (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1hlLPJ-001Z0z-09; Wed, 10 Jul 2019 18:49:53 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_ab5e1c10b30592452bd6ad2a9a6987d7"
Date: Wed, 10 Jul 2019 15:49:48 -0700
From: Joe Touch <touch@strayalpha.com>
To: Tom Herbert <tom@herbertland.com>
Cc: Tom Herbert <tom@quantonium.net>, tsvwg <tsvwg@ietf.org>
In-Reply-To: <ccc386aa429bfe301998f39eb7fccfbf@strayalpha.com>
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> <CALx6S37rt7OJtH5a2ZH23R21ATETuwTeFS-mZQECtgxPQ3nSZA@mail.gmail.com> <ccc386aa429bfe301998f39eb7fccfbf@strayalpha.com>
Message-ID: <140f11c854e0ad96c51639f830cbb688@strayalpha.com>
X-Sender: touch@strayalpha.com
User-Agent: Roundcube Webmail/1.3.7
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/a2yOpAEDZXijoGZpgWrey5Gw--w>
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:49:59 -0000

Re-sending the full response this time: 

On 2019-07-10 15:17, Tom Herbert wrote:

> 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.

That's already supported in the UDP options. They can start with NOPs
too. 

>> 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.

It was changed to 2 bytes before the last IETF, between v5 and v6 (we're
on v7; the doc table does need to be updated, but the text is accurate
and no longer talks about folding it over). 

>> 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%.

See above. 

>> 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.

There are only 256 codepoints; options you don't support you skip over.
And only NOPs can be repeated and only up to 3x in a row. 

And if you see enough of these with options you don't know or care
about, maybe you should throttle. 

One thing we do know is that any fixed size limit WILL be insufficient.

>> 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...

We've already been over this and the updated text already does EXACTLY
the same thing, except that it doesn't need alignment to work. 

> ... Along similar lines, a per packet checksum is
> much better than the fragmentation checksum since we can offload the
> former and not the latter.

That remains one of the items that we're waiting for others to comment
on, ones we're NOT discussing because we're still wasting time on this. 

--- 

In summary, please look at the current draft and note that OCS is now 3
bytes. That is incorrect in the table (we already noted that on the
list; it's in the next round of opdates) but not in the text of the OCS
section. 

Joe