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

Tom Herbert <tom@herbertland.com> Fri, 19 July 2019 03:25 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 770A2120043 for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 20:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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] 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 pgos88-mV1xG for <tsvwg@ietfa.amsl.com>; Thu, 18 Jul 2019 20:25:27 -0700 (PDT)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 65D181200B4 for <tsvwg@ietf.org>; Thu, 18 Jul 2019 20:25:27 -0700 (PDT)
Received: by mail-ed1-x52b.google.com with SMTP id d4so33213859edr.13 for <tsvwg@ietf.org>; Thu, 18 Jul 2019 20:25:27 -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:content-transfer-encoding; bh=wewWwHfAAo0HhELEUBeQTCcjg7ewNq+R+r74/vT8jBQ=; b=gKDcL15fdNhxQkHULbsEcEuH8sZZMbjtQ1Hh3Vig7J6v1owYZqquYDqmCmyV4r9Unu TDkskIzs6yOMw/tdo2l/9OopUELhP3ttRkaQBMgN2PkhUv9tSGGKkVPgrWCHB282OkE+ 95rc1BWmGIl8kCbq/8GijZtNEZGond6hqw0RhdLHNNzFBbe5M/bfQUKjGGmgV2KtSCZn KJYBMAYCVbUwTY2PXU8jNG0jCPVd/r0ZCAJ7cpoZBw/U7DHlKGIWAKG6WXtn/nTmL5cH 2tt+NRwTzTtYBJFudF0RKv93zktb/PqMUPJGRCYahczBxcyZ8Tm0ANRBr4nKQRVmiXb3 68Nw==
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:content-transfer-encoding; bh=wewWwHfAAo0HhELEUBeQTCcjg7ewNq+R+r74/vT8jBQ=; b=bOGl0ObCUbBNXPoakAWlcejBk5/dFoY2sDL/T1/tauDOHw1MWVdjBGfAeQEqtuqfGC kr88IsQf/Enh9inx3Wuswk8a7JFWrxg7x5/g0F6rQgHzfZ7/VMcxN9xUcFvpRuqUXFJX r4qwp4xdpQPPoz8i6cRyHKeDMC7U5A7OT8duPjmc7EtzwAWPa77CYwrRksqxVQHvQIlI 6RFdqcHsq7sbh8aDOm7oUw2pRr7KlNhv9pEqFah40HzH5CODXTZXxaZwIN7PAH7PWMkQ vtTt5oeFruC0MB6Hpz09Ygwl4ZcYLHbUWQjuYKYI+UuglxLMv3HSyv2wWyGQ5KZS3vLO AXvg==
X-Gm-Message-State: APjAAAUNofmX4eTWQWw+0rjXiiMRmIycPIQtdJal8bJ1AtY/5duTMe8M 2XP3QSI2wdezMsf0Nwq8Y19JHQgp6PH5LXOi3zU=
X-Google-Smtp-Source: APXvYqxPSPE/decslMry8DpM4bVJtSlIo5n2KLdeqmXt1YwL/kVw+GsbtKIeszhK7sNzqqhfkZ2bCKj/HAilFN35hmk=
X-Received: by 2002:a17:906:d183:: with SMTP id c3mr39330460ejz.149.1563506725857; Thu, 18 Jul 2019 20:25:25 -0700 (PDT)
MIME-Version: 1.0
References: <30c17e9c174f6b0da3ecc6b503a8cb17@strayalpha.com> <2f71a292f924a9b8de4227c4bbc2f809@strayalpha.com> <CACL_3VGrF5UnbVsSzZZoy1i57WKiQKBX2T3a16UyEVHY=Kr3XA@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949363061EF7A@MX307CL04.corp.emc.com> <CACL_3VE7+3WD3Uzubf8X9uQX9ZYPnZVhXjheUOuL9EfjT1JkGQ@mail.gmail.com> <CALx6S35V-d3Rn_wjrhbHUHgS=_+dVjR4hbMJ0-JBsG-1BuFuZg@mail.gmail.com> <B5CCEF58-38CE-4973-9CFD-002B404E4EF3@strayalpha.com> <CACL_3VEnJoV9N9i59fJXG1Nyt=mMWT7SuB8B=C-Y9a9QLtqP7Q@mail.gmail.com> <BB3FD9A5-8D30-4600-A7A7-DA3030BD34A3@strayalpha.com> <20190718100109.GA86292@clarinet.employees.org> <718EBD34-5B4A-4458-B9B4-0A94C33E019E@strayalpha.com> <CACL_3VGL2irCkZeEcP+9HLBHqtqaMPZM66youUsatzosUu=Aew@mail.gmail.com> <A07EA390-1A3A-4AE9-AFD7-2F22CD4B0E31@strayalpha.com> <CALx6S34oOza3Z4Ymjsp+HLXnSTOKwh+SAQO8mt=a-1AbTTB0GQ@mail.gmail.com> <177233bb33272ce3b64298a005254724@strayalpha.com> <CALx6S36ZBa4Bioj=0KYn7wcFi08VeAg8sHUHLRNGURsrUN673w@mail.gmail.com> <5D30B36D.80409@erg.abdn.ac.uk> <CALx6S37EauLMyeksHJ3iPNjKwLTv5qti_Hf0a2QTdzZoDrarrw@mail.gmail.com> <F1092EE4-16DC-4292-903E-F54A447E6A8D@strayalpha.com> <CALx6S340gCTQiA85iVXwnbA8nU8=nvWnGq7q3jzuG7SuVHv=ag@mail.gmail.com> <DE387BB9-BA9D-447E-9767-FD0428B7F1D7@strayalpha.com>
In-Reply-To: <DE387BB9-BA9D-447E-9767-FD0428B7F1D7@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Thu, 18 Jul 2019 20:25:13 -0700
Message-ID: <CALx6S35bwrJ_+s1WJMM8_1pSsvDBmvEfA7xiSHUbvzZKjbOfPw@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/NeIn4vXCRciBlsrY2N2eK-LkvXc>
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: Fri, 19 Jul 2019 03:25:30 -0000

On Thu, Jul 18, 2019 at 8:02 PM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
> On Jul 18, 2019, at 7:02 PM, Tom Herbert <tom@herbertland.com> wrote:
>
> Right, but this is UDP. There are inherent limits to what we can do here.
>
> IPv6 has HBH and dest options as TLVs. IPv6 allows unrecognized
> options. IPv6 has bits in the option type that tell receiver whether
> to drop packet if option is unknown. IPv6 is stateless and doesn't
> define any negotiation. The solution in IPv6 provides correctness for
> options that cannot safely be ingnored. Please explain EXACTLY why UDP
> options cannot use this same technique.
>
>
> Again, because this is UDP.
>
This is not UDP. UDP doesn't have options nor any sort of negotiation.
This is a new protocol.

> IPv6 doesn’t need to deal with legacy receivers that ignore all options anyway - all the time.
>
> So basically “drop if not supported” has no meaning ALREADY for legacy receivers. Anything further - deeper, or involving state - can still be performed by the receiver, at the receiver’s decision already anyway.

The legacy receiver problem is already resolved by putting options
that can't be ignored in packet with UDP length=8. The problem is when
a non-legacy receiver receives an options that it doesn't recognize.
If the option cannot be safely ignored that packet needs to be
dropped. This is the exact same problem that IPv6 has and hence the
same solution can be applied.

In any case, if you're saying we can't solve this problem and that the
protocol isn't extensible to something as simple as a stateless
compression option, then I raise that a major design flaw with the
protocol.

Tom

>
> Joe