Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07

Joe Touch <touch@strayalpha.com> Tue, 12 March 2019 01:51 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 1F14712D4E9 for <tsvwg@ietfa.amsl.com>; Mon, 11 Mar 2019 18:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.78
X-Spam-Level: ***
X-Spam-Status: No, score=3.78 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_SUMOF=5, MIME_QP_LONG_LINE=0.001, SPF_NEUTRAL=0.779] 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 N0yrmao_uC0t for <tsvwg@ietfa.amsl.com>; Mon, 11 Mar 2019 18:51:09 -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 5947812B003 for <tsvwg@ietf.org>; Mon, 11 Mar 2019 18:51:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To: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=1NuNFWf8Q+/UbYQIeunzAZrsQXE46+IYP9t7IMCM6B8=; b=ajgcRfNHlxkO33FNlcJJXLN0l 86enP4hlunkex3ZWEO3NeJge2O7PvlHsCDYLRBJ71bju5iFUdtC0+h/oYVn9hiWs3bwcSctQez7O4 eX5ExBuSNJsBn3hdm+2jTNZOTFA0TUdoLvdzj/a8l29kMHvlPF/tAEkhbRKl0D8X1mcDTYFfV3rnC IE2vexjuBJUoVME+C2K2WgHwZ1la36M0ENwUhzi4v8nF82OmosUxVYOCEoAvJ57k5G4m7aOp0R7Cn AhGy5uIv7XWo120fUdJLFfZgLNap0qVZBd9BVSaFqH6EnzgxGJyv2xu1enE8hzCp3HOMmcD3SSZPe m4SCRYAgg==;
Received: from [65.222.224.130] (port=58605 helo=[172.20.15.93]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <touch@strayalpha.com>) id 1h3WZO-002fLs-3g; Mon, 11 Mar 2019 21:51:06 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
X-Mailer: iPad Mail (16D57)
In-Reply-To: <CACL_3VE=6Yq0mHyadsOB92AwTyhoWXHCCHTsZOAo8VGjUJcVZQ@mail.gmail.com>
Date: Mon, 11 Mar 2019 18:51:05 -0700
Cc: Raffaele Zullo <raffaele@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8FDF5CF0-1421-496B-B051-29E13522363E@strayalpha.com>
References: <CACL_3VFg-EWCYHZ4+kYV30vjNzPs90ysAu5SCdLNb+9OPxE+3g@mail.gmail.com> <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com> <f95fb11b44f5d628ba85ede7d9feccf7@erg.abdn.ac.uk> <136FF703-4DFE-4B32-A722-67122F28C894@strayalpha.com> <CACL_3VGp48nu_CRPTKTRnVkEpc=PAK05jQ8zKBoqpWSMxHnihg@mail.gmail.com> <32fee79db0d64dd078e3025a8a5c89ff@erg.abdn.ac.uk> <CACL_3VE=6Yq0mHyadsOB92AwTyhoWXHCCHTsZOAo8VGjUJcVZQ@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
X-OutGoing-Spam-Status: No, score=-0.5
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/eIoBFu1286fcX1PRN3-o974k_wY>
Subject: Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07
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, 12 Mar 2019 01:51:10 -0000

+1

The current wording was, FWIW, intended to continue to allow OCS alignment if desired.

Joe

> On Mar 11, 2019, at 1:28 PM, C. M. Heard <heard@pobox.com> wrote:
> 
>> On Mon, 11 Mar 2019 19:27:08 +0000 PM Raffaele Zullo wrote:
>>> On 2019-03-11 16:26, C. M. Heard wrote:
>>>> On Sat, 9 Mar 2019 11:28:57 -0800 Joe Touch wrote:
>>>> Well, there are several implications here:
>>>> 
>>>> 1. we can add in the option length, BUT that also means:
>>>>        (a) we need to declare that the option area consumes the
>>> whole of
>>>>        the surplus area (no chance for other uses)
>>>>        OR
>>>>        (b) that the surplus area is always zero
>>>>        OR
>>>>        (c) that OCS covers even the surplus area (it doesn’t need
>>> to be
>>>>        zero; it does need to be included)
>>>> 
>>>>        we need a choice here. AFAICT, the safest (a)
>>> 
>>> I agree with that.
>> 
>> 
>> I would add that a Zero padding after UDP Options area is not neutral to
>> the (full IP payload) checksum because it still increases the IP Total
>> Length (it changes the "pseudo-header").
> 
> Good point; that one seems to keep escaping me :-(
> 
>>>> 2. we don’t need OCS alignment; what we do need is to
>>> “coordinate” the
>>> 
>>> alignment of a 16-bit of the length to the OCS checksum field
>>>>        i.e.:
>>>>        - calculate the length needed (IPlen - UDP len)
>>>>        - if OCS checksum field is not 16-bit aligned to the start
>>> of the
>>>>          option area, then swap bytes
>>>>        - add the result to the OCS checksum (‘pseudo header’
>>> seems a bit
>>>>          heavy here, but same point)
>>> 
>>> I believe that is correct. Padding could still be convenient, though,
>>> and I see no reason to disallow it (the current draft does permit
>>> padding for alignment).
>>> 
>> 
>> Would it be possible to leave this as a choice?
>> CCO draft, despite on sender's side required alignemnt,
>> on receiver's side only required that the complement of the sum of
>> Options and pseudoheader was zero,
>> in order to accept also a working CCO computed without alignment.
> 
> +1
> 
> Mike Heard