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

Tom Herbert <tom@herbertland.com> Tue, 03 November 2015 02:04 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: spud@ietfa.amsl.com
Delivered-To: spud@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E66DB1A1B5A for <spud@ietfa.amsl.com>; Mon, 2 Nov 2015 18:04:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622] autolearn=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 BrY6d3UYOj1H for <spud@ietfa.amsl.com>; Mon, 2 Nov 2015 18:04:56 -0800 (PST)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 E97FB1AC3FD for <spud@ietf.org>; Mon, 2 Nov 2015 18:04:53 -0800 (PST)
Received: by iody8 with SMTP id y8so5608302iod.1 for <spud@ietf.org>; Mon, 02 Nov 2015 18:04:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qvKZYFUI8RsWlQdur33ahI+quC0WRjJnr5X371nRew0=; b=eDz5aE7anCZxd9CTlpxo0TSyiTB4MLAkygnT22hw2W8QZyoPG3Yed3OHswPcKh+RUM Eaz7G58yVj4pb29VTN8iOvgx1VucWxXi+oOpcP5DT2NsrDhFwoy+k+H3dfDrv52iXxO8 kZsUUI9JMN9pezwdsiP+mBSu3q5WFeepUMJjb6U2QTixX68bGpfFpJPd3iYT+Gi+Vt/5 S5V6iMbzwVGtkoUM2MED3LJSMQQhVRSjV16W4CZEaXevha/o8DWRLkBGE7i7xX8gjBIB XmmgldqcWF+kiIf816bmFAa9B2HLLN57tLHuao6R8vb+bIXM/cT5hPqTnZQHEwbYWbuR KQ8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=qvKZYFUI8RsWlQdur33ahI+quC0WRjJnr5X371nRew0=; b=Vl+Mvl/wUU+JaeeBEhgaVZkzG6L2rxeQ9r+Wcm8PHlZQKfVJaHLYuCXvWDquFlBZaU RHtm7Ku0LA9s4pp3trQfRpDsP+1SXUSXUVrEgVzCoI7L5RM9vjRhgHy+Ir1/MuvZR97U zuEn9ImUrVO21SNHxczNZ5iFZnnJh/fXZhXHs4LFr/n5qrNWAhfWaMcTxkJZdZywtWp2 h9csOPE3sIJRQi/kIlEsqt32uxw+4Pfts/QUADKBuYVXSBMsqhCmqifM9RqV3WNie0Zn 79LPjx8KQHFWAzv/t8afXlGXHzYcSqN4xO9k+x0IZyWR2N4hD35aviBaYZItkdGe/fFk +OLw==
X-Gm-Message-State: ALoCoQlZBQAiYJ41V3tIQJBYJp+sr+gdQojgchLhRcJw0ky3al4MrhvuuMNLYJbExij3I5RqowXl
MIME-Version: 1.0
X-Received: by 10.107.31.138 with SMTP id f132mr26331336iof.84.1446516293226; Mon, 02 Nov 2015 18:04:53 -0800 (PST)
Received: by 10.107.41.83 with HTTP; Mon, 2 Nov 2015 18:04:53 -0800 (PST)
In-Reply-To: <2C92D0E0-7269-4B53-9AA8-DB999597BBEA@isi.edu>
References: <CACL_3VF5i7FvMR53R8JwRQAW--QJz3a+T9c_Pnwqt9D-baAJ-w@mail.gmail.com> <5636FD40.4030101@bobbriscoe.net> <CALx6S36vY+E-JN7eU5hwur-W2KzYfavhYSyPbcAwZec1pA0b6w@mail.gmail.com> <56378116.2050709@isi.edu> <CALx6S36JfJu-Sc-z0obP5Ku1TzTWfrQAYv3OMppfdFptG54Kog@mail.gmail.com> <2C92D0E0-7269-4B53-9AA8-DB999597BBEA@isi.edu>
Date: Tue, 3 Nov 2015 11:04:53 +0900
Message-ID: <CALx6S36_LLuVj56T5xUYyaPACFoM2N7xhofJ6h2av4zDEPLbmA@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
To: Joe Touch <touch@isi.edu>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/TVTGvwVpvW5eEMniFOyvHahQu2c>
Cc: Bob Briscoe <ietf@bobbriscoe.net>, tsvwg <tsvwg@ietf.org>, spud <spud@ietf.org>
Subject: Re: [Spud] [tsvwg] New Version Notification for draft-touch-tsvwg-udp-options-01.txt
X-BeenThere: spud@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Session Protocol Underneath Datagrams <spud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spud>, <mailto:spud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spud/>
List-Post: <mailto:spud@ietf.org>
List-Help: <mailto:spud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spud>, <mailto:spud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Nov 2015 02:04:57 -0000

On Tue, Nov 3, 2015 at 10:48 AM, Joe Touch <touch@isi.edu> wrote:
>
>
> On Nov 2, 2015, at 5:15 PM, Tom Herbert <tom@herbertland.com> wrote:
>
>>> We need to live without broken offloads because offloads are part of the
>>> protocol stack. They can't simply jump in and try to help without being
>>> very careful about corner cases like this.
>>>
>>> E.g., we've already seen an offload that merges TCP packets with
>>> different options, which ought to be clearly inappropriate.
>> Checksum offload conforms to the requirements for host checksum field
>> processing and Length field handling in RFC768 and RFC1122-- if this
>> change maintains those requirements then there is no issue.
>>
>> It is not clear from the draft what the effect on checksum processing
>> will be. My questions are:
>>
>> 1) What is the UDP payload length for number of bytes to checksum over?
>
> The udp payload indicated by the udp length field, and the usual IP pseudoheader.
>
>> 2) What value is in the UDP length field when the checksum is performed?
>
> The length before the trailer.
>
>> 3) What is the on-the-wire value of the UDP length field?
>
> Same as #2 above.
>
>>
>> If the use of UDP options is treated as a "truncation" of the UDP
>> payload before the checksum calculation is performed
>
> It is.
>
>> then the answers
>> to the above questions are the same and there is no incompatibility.
>
>> The option bytes would not be covered by the UDP checksum however.
>
> Correct. A separate "trailer checksum" would be required to protect the trailer.
>
That's great. Can you add this description to the draft?

One other question. In this model the options are really part of the
IP payload and not the UDP payload (so presumably this solution is not
UDP specific but can be applied to any protocol). Essentially this
another way to extend IP and so it seems conceivable that these TLVs
could alternatively be put into an IPv6 extension header to accomplish
the same effect (at least for IPv6). Have you considered the tradeoffs
for doing that?

Thanks,
Tom