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

Joe Touch <touch@strayalpha.com> Wed, 10 July 2019 22:41 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 E66691200B8 for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:41:42 -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 PmMAyIj5JOJr for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 15:41:40 -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 47D361200B3 for <tsvwg@ietf.org>; Wed, 10 Jul 2019 15:41:39 -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=1pgxVQAY15kpOGE2HeApsYZmYRZBUYWbIXIKWdBwrsY=; b=mmk9rGZQXZp/jXSM+zcs+5t+I 4FI0VTZfeNAx9C6CJxv4OYco2F2wsmcNmR1/VgwRJuQBu58+qU0NGW04dcLVTwKKEbj5TVBYG78vh 7oUIerHRmIxWeB8pQ/WF8eIKVjU1IRKZzrOKDY6538NHmnBwcH2Uxze+JD4T0vVKPJRdxFnugHZds N0vM0u9ETy0+efpzYfEA8No49WihylmXZ4tq+r+Kx7OMATeqs8iuw1l11cp77wXyS/mBsZRKTdieD kF793lsh30VGKqaBTtVmqtNribrrMihzWonBsOJ/765LqIX/AIzHKPdfvpY33cIFFQs7DsgK9w3kb UwdE11wYQ==;
Received: from [::1] (port=55510 helo=server217.web-hosting.com) by server217.web-hosting.com with esmtpa (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1hlLHJ-001Ti2-HH; Wed, 10 Jul 2019 18:41:38 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_60bbae679bdf641ed3a529dd382ccfbf"
Date: Wed, 10 Jul 2019 15:41:33 -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: <CALx6S37rt7OJtH5a2ZH23R21ATETuwTeFS-mZQECtgxPQ3nSZA@mail.gmail.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>
Message-ID: <ccc386aa429bfe301998f39eb7fccfbf@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/IB1yUFFsn8cpAlJ2xS31sTuRVS8>
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:41:43 -0000

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