Re: [tsvwg] Alternative version of the UDP FRAG option

"C. M. Heard" <heard@pobox.com> Mon, 18 March 2019 14:43 UTC

Return-Path: <heard@pobox.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 894E512865E for <tsvwg@ietfa.amsl.com>; Mon, 18 Mar 2019 07:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com; domainkeys=pass (1024-bit key) header.from=heard@pobox.com header.d=pobox.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 I1rai9vfszno for <tsvwg@ietfa.amsl.com>; Mon, 18 Mar 2019 07:43:10 -0700 (PDT)
Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB56A127963 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 07:43:08 -0700 (PDT)
Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 5FF35678D1 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 10:43:06 -0400 (EDT) (envelope-from heard@pobox.com)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=9ajbRXw+mFq/f/IgCXIaxpWgOIs=; b=CT62kY On0Op+i41I0wjaZNag+mA/rOqLjWLP9dMzFgj9rQWP4ENEqhxwu6zQxFLdi9drsS wYhekEIMF5G9N6P3oN4jl0VqycLycd7pWs4KjFyYFalQcy/KW/7zglebCQ5uWUuG qssdhmZZWlI0V8ksBmU8TUDNW7HtniYhVhWUU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=J9hP+X5XKLbPNzz+4YomLPQpoRwWW8Lb AwdU843ozeIZAr4y2et/ftgHX349OhitOqiUB+xk+BsRKr/2fKy4mr2olwEA8zl2 waT5KT1olWm3tsFH6IgqbT4ZmFDE/QlQO0Ybek+Kk2eWvSeTg4IntVJCbwIXnvB7 uiOWDM2DeMI=
Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 58A7E678D0 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 10:43:06 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-it1-f173.google.com (unknown [209.85.166.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id BE965678CD for <tsvwg@ietf.org>; Mon, 18 Mar 2019 10:43:02 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-it1-f173.google.com with SMTP id l139so21647045ita.5 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 07:43:02 -0700 (PDT)
X-Gm-Message-State: APjAAAX450EUwO1k4FLoFBpgZt+9l+1z5RYoHn7VD/m0RWZBGsCbnWt+ qJqEf2PaCt4l4VlrUFFYD5y1u3xJEmBRn3RdsF0=
X-Google-Smtp-Source: APXvYqzveUXlU9NBn4V3XdXNrfvPWQnnkRFcUsg5PEx1W6+8RMlVir7i7+YqJnGyiXaDixmgGN0+bs3YM08ShEiTHdU=
X-Received: by 2002:a05:660c:2ca:: with SMTP id j10mr4168051itd.151.1552920181607; Mon, 18 Mar 2019 07:43:01 -0700 (PDT)
MIME-Version: 1.0
References: <CACL_3VE1=0OORUuOKg9GjcdVuhBNTkWhymE7PAs5WYO0ZR0DWQ@mail.gmail.com> <CALx6S37y_AbESyX5PcCSu7NEr-uPVrPXksEeAx5aSNAyqshL6Q@mail.gmail.com>
In-Reply-To: <CALx6S37y_AbESyX5PcCSu7NEr-uPVrPXksEeAx5aSNAyqshL6Q@mail.gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Mon, 18 Mar 2019 07:42:51 -0700
X-Gmail-Original-Message-ID: <CACL_3VFJTxM3s-GLOTz9xmkNk1uOQoCmAGApbAf1ZgbH3Opptw@mail.gmail.com>
Message-ID: <CACL_3VFJTxM3s-GLOTz9xmkNk1uOQoCmAGApbAf1ZgbH3Opptw@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
Cc: Joe Touch <touch@strayalpha.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-Pobox-Relay-ID: 221B1FBA-498C-11E9-A0E6-EE24A11ADF13-06080547!pb-smtp21.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/-7GNYqOTfmSrL4kgYlh_MU0ADWA>
Subject: Re: [tsvwg] Alternative version of the UDP FRAG option
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: Mon, 18 Mar 2019 14:43:12 -0000

On Sat, Mar 16, 2019 at 9:06 AM Tom Herbert wrote:
> Thinking about this, it occurs to me be that the LITE option isn't
> needed. The assumption in the UDP options draft is that a receiver
> needs the UDP payload to immediately follow the UDP header, but the
> UDP payload can be anywhere in the surplus area as long as it's
> aligned to four bytes. A receiver will know how to handle it and
> deliver the UDP data to the application (e.g. by maintaining a pointer
> to the data).
>
> So that allows a format like:
>
> UDP header (Length=8) | Surplus area header | Options | Payload
>
> The surplus area header contains the header length and a checksum
> covering the surplus space (four bytes altogether). The three headers
> can thought of as an extended UDP header, so the format becomes:
>
> Extended UDP header | Payload
>
> Which looks a whole lot like any other protocol format with a variable
> length header such as TCP or IPv4.

A major downside to this approach is that is does not let you add
"optional to process" options such as MSS, Echo Request, and Echo
Response to UDP datagrams that are intended to be processed normally
by legacy receivers that do not understand UDP options or the extended
UDP header format. You can do that with the option trailer as
currently proposed.

Mike Heard