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

Joe Touch <touch@strayalpha.com> Wed, 10 July 2019 23:45 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 C351D12009C for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 16:45:22 -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 8otyFxCWNJ6A for <tsvwg@ietfa.amsl.com>; Wed, 10 Jul 2019 16:45:20 -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 7164312006D for <tsvwg@ietf.org>; Wed, 10 Jul 2019 16:45:20 -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=JMfpWMEbdOu0X5X3v228RjhMdDmpmpr0DWTJKUZFxxA=; b=Ak7RRcUwpI7ARweevkYP9YGvo j/0s75Jakc5kcqJePXeOYOx/YkQ5hFJtzSwrwst5NbGQdy5dFkeBHHtquyD3jrxuxvuYCw2Wd7qUv g3qrNkrBzB1F37oUoHZgsOkZFm2Ayg4wZdFwP71yhoZrxCdungrqtm50Yk3pu/dRN2TEHbwIB6ufI IkIWvVbPvHxyI6FYZkRSiltJsP0PCXFI2JgQ08XYT7fSRlIVZ3EWWpuO607ovAg5Bdfepd/I8403d ItkAqit91WaOWYbCk5LSQQa6qKpY/1U5URSAszfUtw4rdSh9v4M2jgfFP5QXsMuIlZgEZYbi3TQa6 PXwnc3/TQ==;
Received: from [::1] (port=48520 helo=server217.web-hosting.com) by server217.web-hosting.com with esmtpa (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1hlMGx-002Dka-Cs; Wed, 10 Jul 2019 19:45:19 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_2769c5f2dadda82878f0ea3ff78f8e59"
Date: Wed, 10 Jul 2019 16:45:15 -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: <CALx6S35MC_fj+fL6Ax9a-9=-QX0-mHLmMQ7cUs2Rir+AvYE=zA@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> <ccc386aa429bfe301998f39eb7fccfbf@strayalpha.com> <140f11c854e0ad96c51639f830cbb688@strayalpha.com> <CALx6S35MC_fj+fL6Ax9a-9=-QX0-mHLmMQ7cUs2Rir+AvYE=zA@mail.gmail.com>
Message-ID: <5b35e91dd510119672a0836f868ade24@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/emZcO0zr1bpkXnODtLFSVLygsds>
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 23:45:23 -0000

On 2019-07-10 16:24, Tom Herbert wrote:

> On Wed, Jul 10, 2019 at 3:49 PM Joe Touch <touch@strayalpha.com> wrote: 
> 
>> ...
>> 
>> 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.
> Actually, there are two places that say it is a one byte checksum:
> 
> +--------+--------+
> | Kind=2 |checksum|
> +--------+--------+
> 
> 2*      2         Option checksum (OCS)

The first one doesn't "say" anything per se, but yes, it could be
extended to make it more clear. As I noted, this was mentioned already
on the list and is on the pending items. 

> Assuming that this is supposed to be a two byte checksum:
> 
> 1) An optional checksum cannot protect against corruption of the type
> field containing the option. I've have mentioned this several times
> and there has never be a reasonable response as to why this isn't a
> problem

It's a choice, just as whether to use checksums in IPv4 UDP. It's the
user's choice and it saves bytes when not desired. The default is to use
it, though. 

> 2) The checksum option is at least three bytes, or four bytes if
> alignment is required. A fixed checksum only consumes two bytes.

Yes, and we've been around that block before too. A fixed checksum could
take 2-4 bytes too - due to the same alignment issues. So we're talking
about 1 byte and the design is based on the principle that ALL options
are optional in UDP - there is no "default" header. 

> 3) A fixed checksum disambiguates uses standard uses from legacy uses
> of the surplus space. An optional checksum doesn't help with that.

Yes, it does. Optionally. However, note that we still have exactly ZERO
legacy uses discovered. And if - or when - we get comfortable with that,
it can be optionally omitted. 

Joe