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

Joe Touch <touch@strayalpha.com> Wed, 13 March 2019 03:39 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 E851D1277DB for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 20:39:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.22
X-Spam-Level:
X-Spam-Status: No, score=-1.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 1OpHofZdca9T for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 20:39:27 -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 39BEA12705F for <tsvwg@ietf.org>; Tue, 12 Mar 2019 20:39:27 -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=Ayi7/xALXUSjKPOOCJ/luJcOCO4BzoudWd4lWV1SKyI=; b=Y6XLGkHJ4KkDQNvDUgm4Q0YOh SWtkasOUR4CmQ8ze4IAGXc1ouvdC9fuFmVsqgIwVdB+eoRKXgosjioduDVZ+7akx5UjQAm+IdhaHu STbw08GE0Fajj6X1Dlpv6KM4tOBRdi9/c5BE+bENctw2432yYG8/2Nz2iO4gexniL/LwQN4DVF6/o u2zztKGHIP9Mso1O4l3QQKI78yI8RosR8Cn+7z8/sUm9SciHwHaZOhd/7WgoXhUn0MQt9NTSonIwc nahe5Q5OZ7MMhkGc28Wr1uqZLrAI4Z7YkTZb2D9JOVzsWEOix5Q3a5VdspfCIxLFTUMOjG6AREsQL AUkcBRVqg==;
Received: from [172.58.185.254] (port=20813 helo=[IPv6:2607:fb90:6495:f38:e440:2e8:a9c0:df98]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <touch@strayalpha.com>) id 1h3ujk-001sZX-1W; Tue, 12 Mar 2019 23:39:24 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
X-Mailer: iPhone Mail (16D57)
In-Reply-To: <CACL_3VGrFZV+4HEqVatR4QEJ2hStZutmMBXbeu5nzSQ012mn3A@mail.gmail.com>
Date: Tue, 12 Mar 2019 23:39:22 -0400
Cc: Raffaele Zullo <raffaele@erg.abdn.ac.uk>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <277290A3-68D1-4DA5-BD56-D476AA672C6D@strayalpha.com>
References: <CACL_3VFg-EWCYHZ4+kYV30vjNzPs90ysAu5SCdLNb+9OPxE+3g@mail.gmail.com> <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com> <fd5a4cd7983862c376f1db9f324f4ea1@erg.abdn.ac.uk> <b25fcf12e33d8093b0a44d88f5c9dda1@strayalpha.com> <7b02a0ff2b33f504fa3b254996251992@erg.abdn.ac.uk> <2fa0ad4d9dcd54e5b78fd1a6cf86fbca@strayalpha.com> <CACL_3VGrFZV+4HEqVatR4QEJ2hStZutmMBXbeu5nzSQ012mn3A@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/bwES3uz4ln4yRY1ztV-4nikAoWg>
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: Wed, 13 Mar 2019 03:39:28 -0000


> On Mar 12, 2019, at 11:26 PM, C. M. Heard <heard@pobox.com> wrote:
> 
> On Tue, Mar 12, 2019 at 4:16 PM Joe Touch <touch@strayalpha.com> wrote:
>>> On 2019-03-12 16:01, Raffaele Zullo wrote:
>>> OK, but what happens if UDP Length (that was 8) is increased to
>>> 8 < UDP Length <= IPPayloadLength?
>>> Will part of the Options area be delivered to user as a regular UDP
>>> Payload?
>> 
>> If the reassembly checksum isn't zero, this would be caught (with high
>> probability) during reassembly.
> 
> If LITE+FRAG is being used, then the initial LITE option will be corrupted,
> as at least one octet will be skipped. With exceedingly high probability,
> the LITE option will not be processed. The remaining options won't be
> found, and what is there is unlikely to be parsed. Result: the
> (UDP Length - 8) octets that appear to be conventional UDP user data
> will be delivered, and the trailing octets will be discarded since they
> will not appear to be valid UDP options.
> 
> Reassembly won't even be invoked.
> 
> So, CS=0 does have its risks even for the length field.
> 
> Mike Heard

Fair enough. Now show us how to avoid that without recopying the payloads and/or recomputing the checksum twice. 

That’s the issue. A fix for a problem that current UDP already deals with and doesn’t come up vs so much extra work the result won’t be useful. 

Joe