Re: [tsvwg] Fwd: New Version Notification for draft-touch-tsvwg-udp-options-05.txt

Joe Touch <touch@isi.edu> Tue, 28 February 2017 22:18 UTC

Return-Path: <touch@isi.edu>
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 AB4011293DF for <tsvwg@ietfa.amsl.com>; Tue, 28 Feb 2017 14:18:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 CLG1C-4uxxWr for <tsvwg@ietfa.amsl.com>; Tue, 28 Feb 2017 14:18:49 -0800 (PST)
Received: from nitro.isi.edu (nitro.isi.edu [128.9.208.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BAB3128AC9 for <tsvwg@ietf.org>; Tue, 28 Feb 2017 14:18:49 -0800 (PST)
Received: from [128.9.160.81] (nib.isi.edu [128.9.160.81]) (authenticated bits=0) by nitro.isi.edu (8.13.8/8.13.8) with ESMTP id v1SMIXUN012168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 28 Feb 2017 14:18:33 -0800 (PST)
To: Tom Herbert <tom@herbertland.com>, tsvwg <tsvwg@ietf.org>
References: <148823787288.13843.6091386736320524682.idtracker@ietfa.amsl.com> <800de1a6-cb9b-f22b-946a-8b6832fc9a05@isi.edu> <20170228163751.GA89477@cowbell.employees.org> <7d58ead9-2d1a-d35c-7cd2-90526918838c@isi.edu> <20170228204607.GA71184@cowbell.employees.org> <CALx6S36RvV0i4VSO=F5g6f4r4i2_VYmN6K1wygJZY7EsthFKEA@mail.gmail.com> <fed51ce6-d852-9f4d-91ff-08d69e80e2a0@isi.edu> <20170228214648.GB4674@cowbell.employees.org>
From: Joe Touch <touch@isi.edu>
Message-ID: <2cb0255e-9ead-e42e-4252-b66c1aee06ba@isi.edu>
Date: Tue, 28 Feb 2017 14:18:33 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <20170228214648.GB4674@cowbell.employees.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
X-MailScanner-ID: v1SMIXUN012168
X-ISI-4-69-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/VUvJ7l6wowLd-Mz7uuOzKCzdP-8>
Subject: Re: [tsvwg] Fwd: New Version Notification for draft-touch-tsvwg-udp-options-05.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.17
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, 28 Feb 2017 22:18:50 -0000

Hi, Derek,


On 2/28/2017 1:46 PM, Derek Fawcus wrote:
> On Tue, Feb 28, 2017 at 01:17:16p.m. -0800, Joe Touch wrote:
>> Hi, Tom,
>>
>> OK - so I think you and Derek are basically arguing for an Internet
>> checksum to verify reassembly, rather than using a new or stronger one.
> Actually,  I made a mistake.  I attributed to Tom what was I believe
> was actually suggested by C. M. Heard - namely the suggestion to
> combine FRAG+LITE as a way of allowing existing hosts to discard fragments.
>
> In that he was suggesting adding an overall reassembled checksum,
> which would be necessary as otherwise the repurposed reassembled
> Lite payloads would not have a checksum.  I was simply pointing
> out that in that scenario,  the same could be achieved with a
> single CHECKSUM option, carried in only one of the FRAG packets.
It matters whether the options are considered to apply before or after
reassembly.

The trick is what is being reassembled - is it the UDP payload only or
something larger?

Again, I need to think about this a little more. I'd really like to
stick to something simple.

> So there would be no need to change the FRAG header definiton to
> add a checksum there.
>
> In the normal case of reassembling FRAG'ed payloads,  I don't see
> that an overall checksum gains us anything.
>
> Possibly an overall CRC would have some value?  That would seem to
> require a second type of ACS-like option, i.e REASSEMBLE-ACS?
> Again it would only need to be sent with only one of the FRAG
> containing packets.  Is such an addition worth it?

The two options are:

- add a checksum inside the FRAG option that applies the reassembled whole
- define the options in such a way that some apply before reassembly
(e.g., before each FRAG option in each received UDP packet) and some
apply after (we'd have to be careful in defining what is created as a
result.

The second variant is cleaner if there's a way to do it. However we have
some possibly conflicting issues:

    - OCS clearly ought to apply for each fragment (otherwise you might
err in reassembly and wait too long to catch it)
    - AE should apply to each fragment (same rule as OCS - you have
enough info to prevent an attack on reassembly)
    - ACS would usefully apply after reassembly
    - FRAG shouldn't appear more than once
    - TIME is useful only before FRAG
    - MSS is useful only before FRAG (and we might want two different
MSS values - the conventional MSS and a UDP reassembly MSS!)
 
Again, this deserves a bit more digestion...

Joe
    -