Re: [tsvwg] Rregarding soft-state and UDP options

Tom Herbert <tom@herbertland.com> Fri, 03 January 2020 16:07 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 CBC8512000F for <tsvwg@ietfa.amsl.com>; Fri, 3 Jan 2020 08:07:39 -0800 (PST)
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 g_-XtAKxnM8k for <tsvwg@ietfa.amsl.com>; Fri, 3 Jan 2020 08:07:38 -0800 (PST)
Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 21298120074 for <tsvwg@ietf.org>; Fri, 3 Jan 2020 08:07:38 -0800 (PST)
Received: by mail-ed1-x529.google.com with SMTP id l8so41995401edw.1 for <tsvwg@ietf.org>; Fri, 03 Jan 2020 08:07:38 -0800 (PST)
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=Uxh/bNP6occr4yr+FbzQFpBtZpxlEvkcQq48ALcp6U0=; b=P8WOIqJvSqagArKzIETkYBr9f4GL7ju0SDuECo3vU6ktctykMTsOm4KO3LLY9fBfk6 0auHycjBnEca5eC0exnsxZwRVEuSBD4zrwXHGBuu268qWr7hdhe+RTx6iUsTMwnU4HVD UDbJRCpCng7LYEDjdniHWtaJvhV4lUAMaTZCgw7bGteABTBrAOJBtOZq6ffm9voZw7EJ xs600VD/svikC8ajAZ/Y2KXfw2TxWhbgyzAJqrGaAAE6fAudiq3wlj6UhUgqGMEvBg4F N6IM4w09SeQRzfZjZkdUTDbK7ohwTF+oWbfVogryetBmLs+G5a8TivgRtgJVG3wlLEWq MBZQ==
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=Uxh/bNP6occr4yr+FbzQFpBtZpxlEvkcQq48ALcp6U0=; b=ofFKtOZW3hCaikZ9Ep29Tjyq1cdngVcY3FqfA0esAtlxYwHpw9yer4xNd4sn2pdW8D e1QNNbRbCZEqzvMVtEN7yrMp65/SuVxmPlhCLK7fPVQg9iMji/b41aBw4AHQEYWiJc// tnv8EpjQOCaGqmB2a0avBK41S9LVsBClEgZt7Yis89o8H9cN2ZBCCO42WQfIu9dOWTN6 yycUDCZ603igYgkAobfM3asatNg/CBhR98sAR/PEs9AwBlIORVYg7UDft7WbUe8c7bQG s1yV5tc5MGcOOUo+5+m1f5sVr6a4ADVjGAU0JuY2Cujk31kPyAikRQR6hOHSREWvHPUO 0cPQ==
X-Gm-Message-State: APjAAAVIdNmA0GKp964uRfGaK9EvMmYWrpWDikzjprglEnYEBLCIf/Wn Vs8DVqbsA9u+745Yb/xCDWsBH1vrUVDqCUSnmfc8vQ==
X-Google-Smtp-Source: APXvYqxxAtjDKnGl81HRsgkLKbFbsJWJz2AyWG7v7bueX/CEL29XTLiVZeFbAl8yJIrXoqi6TRlW+kJ/Blln5S4mhzQ=
X-Received: by 2002:a50:c048:: with SMTP id u8mr92922411edd.226.1578067656494; Fri, 03 Jan 2020 08:07:36 -0800 (PST)
MIME-Version: 1.0
References: <CACL_3VF_Mi6JFK=so_P57+Woe5PYOzC4o2Okj6BPVzB91scRQg@mail.gmail.com> <40B548AC-6168-46B5-81F8-CB6A64C83D5C@strayalpha.com> <CACL_3VEmX6C-Mqz8OQuS2NtJQPNNFgyTgyb9uN6TrHuZYwLMLA@mail.gmail.com> <CALx6S34o4AooKW2w5rPPzRu8yQU=Db_f4jboEB6=AywJBw-mgg@mail.gmail.com> <0AA45B1F-3081-4F4F-92C2-AFB47B222854@strayalpha.com> <CALx6S35mtfGLOESBGqQpd5N0whHO_jEtZQCrfhJ=GBHSH6nxdg@mail.gmail.com> <6d088714156c9ccba194dc71ff667273@strayalpha.com> <CALx6S37FNw-5DBJZPORaGKT0HEa2nGD6NodObZHSeC1-WkwvTA@mail.gmail.com> <3CB53C92-9CE3-4EAE-BBF4-39334550B192@strayalpha.com> <CALx6S34aVhQXrnJqyo-zYoSMAsYdNqLZBy+5HRq7gX7S-mFebw@mail.gmail.com> <50B40711-64A2-48AA-8EE6-CC1B995339C0@strayalpha.com> <CACL_3VFi7nvvbFu7gAF=KABobetrceQML4Qu8OP69nxm3AtSCA@mail.gmail.com> <A64547AC-B540-45D4-8769-2B25F3A99DEC@strayalpha.com>
In-Reply-To: <A64547AC-B540-45D4-8769-2B25F3A99DEC@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Fri, 03 Jan 2020 08:07:24 -0800
Message-ID: <CALx6S34+zEqFyy60NRxdGT5OpOQmcuSKxySr=+vV+rdX3UJ1=A@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"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/TGRIOCIGR5tj1H1i0kR2QlFs6fU>
Subject: Re: [tsvwg] Rregarding soft-state and UDP options
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, 03 Jan 2020 16:07:40 -0000

On Thu, Jan 2, 2020 at 8:21 PM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
> On Jan 2, 2020, at 7:00 PM, C. M. Heard <heard@pobox.com> wrote:
>
> On Thu, Jan 2, 2020 at 6:23 PM Joe Touch wrote:
>>
>> On Jan 2, 2020, at 6:03 PM, Tom Herbert wrote:
>> > IPv6 options
>> > solve this problem by the "drop if unrecognized" bit so no negotiation
>> > is ever necessary.
>>
>> That is ONE way to solve things, but its hardly “solved" when nearly nobody uses it.
>>
>> But it’s also not relevant here because IPv6 baked that rule in from the start. We can’t - there’s NOTHING we can do to make a legacy receiver drop packets with unknown options, regardless of the flags per se. All we can do is design them so the options and data are invisible together, which LITE+FRAG already supports.
>
>
> Joe, I think that you are missing an important point here, namely that the "drop if unrecognized" flag (or Option Kind encoding rule) is proposed for the benefit of ***option aware*** receivers, not for the benefit of legacy receivers.
>
>
> FRAG+LITE already provides the behavior you want. The flag option fails to provide correct behavior for unidirectional or failed soft-state receivers - both of which are non-starters. A key requirement is that legacy receivers can silently ignore all options.

Here is the necessary requirements and text:

"
Options that cannot be ignored by a receiver due to side effects or
other requirements MAY be sent. An option that cannot be ignored is
indicated by the high order of the option type being set to 1 (if the
high order bit of the option type is 0 then the option can be safely
ignored).

If an option that cannot be ignored is received by a node that does
not recognize the option then the packet MUST be dropped. The
following requirements ensure this:

  - Options that cannot be ignored MUST NOT be sent in packets that do
not use FRAG+LITE format. This prevents a legacy receiver from
incorrectly ignoring an unknown option.
  - If an option is received with the high order bit of the bit of the
option type set to 1 and the receiver does not recognize the option,
then the packet MUST be dropped. This covers the case where a receiver
that processes UDP options however doesn't support a particular
received option that cannot be ignored.
"

This requirements yield a correct protocol for ALL CASES including
unidirectional, failed soft-state receivers, multicast, NAT
transitions, anycast, and simple unicast.

Tom

>
> …
>
> I do agree in principle that use of FRAG+LITE (in a form that includes OCS over the entire surplus area) plus post-reassembly options addresses (a) and (b) of my message (though I still reserve the right to comment when I see the details).
>
>
> AOK. And point taken that the soft state section needs clarification.
>
> Joe