Re: [tsvwg] draft-ietf-udp-options issues from IETF 104

Tom Herbert <tom@herbertland.com> Tue, 16 July 2019 21:37 UTC

Return-Path: <tom@herbertland.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 57C9C12061D for <tsvwg@ietfa.amsl.com>; Tue, 16 Jul 2019 14:37:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 NMWfzNJkBrug for <tsvwg@ietfa.amsl.com>; Tue, 16 Jul 2019 14:37:13 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 068CD120413 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 14:37:13 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id r12so22111892edo.5 for <tsvwg@ietf.org>; Tue, 16 Jul 2019 14:37:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YahQjoc2ndQMfmJatkX2MZ3k0kvd+oPEzCqUjmBDMLE=; b=Kt95fJ9CqT52cRn5Sl49zKxoceirZ3TJxFVnWFRE+BpAIba4miDlIjBhAHO+9Ba52O ew1QiOMKt3JX4Kyy91y4lSbdXhyXSOjvy9FPi5oj7eez3yWknuyy7iS06b4C0UJ3yySp m4HUTbCfxU4n+estcL8T+w61U3RtNVCb9IMxY4ll9SNOWUDkVMX/BuP5CD5Ja+v/QZgK QIQRXKfHXmCNlc1qgf22BNfYN2LAd5WoKh9Jz5p0wdurH359NXMko8rbf6jMS5OCcPP/ fYlfeFUxos+P+LD0/YnQpdp7x7/lfmWRZl4u7iYzdPZE4+DIsd4ts98IzqPHCdiRaLAE lHkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YahQjoc2ndQMfmJatkX2MZ3k0kvd+oPEzCqUjmBDMLE=; b=Yxk5nLrPvs0v8egeHrK9rI9RCXmo1uvI9GOeH3wYqL0LQxGCKQgTlvD4PftkL0V6To bHJRJkNiok9GwPASoXenOKj0i1QtKtNe3Yo11xe1uGHNAff6qObp0Vim+hBlLyTOMiNI BVHQ3kuQLzQ615qE0RQqz0isx7LC1QHzvI6WHnRztOXQmFSlHl/gLjvUs4xpxM0vsMU5 4ZjcxX2v/rvCoQ61AHUVIObw8PDaY5sQEk/tTfMszVHQHhunwy89X9bB+1z7VAnbJDj2 mKV8HMvZO+m/Staen83rJDLUGTckZqduNBT5+dDc5dH7M0phHByneUFxIBdPhSerbcM2 aEnQ==
X-Gm-Message-State: APjAAAUintK8WN5TtYaCyHwHzI4VgqsYaPwj55zqojnVqXzzy/+VHM2a XRZVkJDqyn8EABfoSDzjsPPdmUlxT1sI4J8upbc=
X-Google-Smtp-Source: APXvYqzB2lzSc3VJ0Yb5tCxgfe9xK06lH3PWNAuU5XHdA1rc9mFFNn5s/s5H385iK+wDd4YvTtzj6vOIJIsEQc7USfM=
X-Received: by 2002:a17:906:d183:: with SMTP id c3mr28212748ejz.149.1563313031395; Tue, 16 Jul 2019 14:37:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAPDqMeq9GjEQKukH1pZOTdE50e_rc3U6gpdxT-5qrS5phD0RGw@mail.gmail.com> <646D45AD-D79B-4BD2-A084-7DA97CE2C415@strayalpha.com> <7EC37B50-45D5-4CF1-B113-205E55BF244E@strayalpha.com> <CALx6S34s7L7xo+26bt5Cdaqi4Es5Aci42GHk1WNKzugr5st-Gw@mail.gmail.com> <B525BF50-EFCC-44A5-A604-6CDDA914A1CB@strayalpha.com> <CAPDqMep3R6z9PRKkHyOvrh6sV9n5Sc0B++-zVz0FYJCwE6swrQ@mail.gmail.com> <E42A2AE2-F499-465E-BDE6-5EFC0AB20042@strayalpha.com> <CE03DB3D7B45C245BCA0D24327794936306138E9@MX307CL04.corp.emc.com> <CAPDqMeoyNb7vQTdqxLpZpnKb9S7QKeDJNLyQJBmq95yXhB+xfQ@mail.gmail.com> <7D365770-64FE-40BC-901D-B4D7DF6B484B@strayalpha.com> <20190713182554.GB39770@clarinet.employees.org> <CALx6S36mH2M6SYnRSecWXa7k_d1u8O43+CXE-=KqeO0x2e5+qw@mail.gmail.com> <82FF6486-FABF-4D2C-B5E2-178779C720A4@strayalpha.com> <30c17e9c174f6b0da3ecc6b503a8cb17@strayalpha.com> <CACL_3VGs7j+y5vFNT3OL9OKX8ue4rv-Cxi467KR-vbhnMdx86g@mail.gmail.com> <2f71a292f924a9b8de4227c4bbc2f809@strayalpha.com> <CACL_3VGrF5UnbVsSzZZoy1i57WKiQKBX2T3a16UyEVHY=Kr3XA@mail.gmail.com> <0ce46e21249f0dc55310b192d382f50a@strayalpha.com>
In-Reply-To: <0ce46e21249f0dc55310b192d382f50a@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Tue, 16 Jul 2019 14:37:00 -0700
Message-ID: <CALx6S36gaMqNRo_hYKr45T_vTkUB-vRrYRYJz2_KgvejNsJtLQ@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: "C. M. Heard" <heard@pobox.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/98ai0S5HgWDD_tCVM0Dw5cda_tA>
Subject: Re: [tsvwg] draft-ietf-udp-options issues from IETF 104
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, 16 Jul 2019 21:37:22 -0000

On Tue, Jul 16, 2019 at 2:25 PM Joe Touch <touch@strayalpha.com> wrote:
>
> Focusing on the end part...
>
>
>
> On 2019-07-16 13:42, C. M. Heard wrote:
>
> In-line followups where where they seem to be warranted.
>
> ...
>
> > Many of these simply won't work as automatically legacy-compatible with
> > draft-herbert; the legacy data can easily exceed its limits, at a minimum.
>
> My take (as stated in the long message) is that we probably want both the
> trailer format pretty much as defined in draft-ietf-tsvwg-udp-options-07
> for the backward compatible / safe to ignore  options (MSS, TIME, REQ, RES,
> dummy FRAG used for negotiation) and and a variant of the header format as
> defined in draft-herbert for the others.
>
>
> Safe-to-ignore needs the current structure, which isn't draft-herbert compatible (because data can easily exceed the limit).
>
> udp-options in general aren't draft-herbert compatible because we do not have (nor IMO do we want) a strict limit on using the option length for udp-options.

IPv6 extension headers began without a limit, and then we realized we
needed to limit them to fit into one MTU, and then we realized that
unbounded limits are a good DOS attack vector so we added more limits
to the receiver which are now default in Linux. Saying that we need
unlimited options is an academic statement and doesn't reflect
realities of deplyment.

If needed, it's easy enough to extend USH with an type that indicates
a next header. Given that in all the history of options being defined
in any protocol, I don't think this a high priority. I see no purpose
in defining a protocol that allow 65,500 bytes of options in a single
packet.

Tom

> Unsafe-to-ignore can use LITE, at which point we can add - if needed - a flag to force receivers to check OCS on receipt (to differentiate the closest we can come to LITE vs. something close enough IMO to the draft-herbert header approach)..
>
> Joe