Re: [core] Benjamin Kaduk's No Objection on draft-ietf-core-senml-versions-03: (with COMMENT)

Carsten Bormann <cabo@tzi.org> Thu, 03 June 2021 10:28 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BEDC3A334D; Thu, 3 Jun 2021 03:28:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 krmwsaDZDXnP; Thu, 3 Jun 2021 03:28:42 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 677103A334A; Thu, 3 Jun 2021 03:28:42 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4FwhvC2clzz315m; Thu, 3 Jun 2021 12:28:39 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <162265748074.13521.4368551591199171477@ietfa.amsl.com>
Date: Thu, 03 Jun 2021 12:28:38 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-core-senml-versions@ietf.org, core-chairs@ietf.org, "core@ietf.org WG" <core@ietf.org>, jaime@iki.fi
X-Mao-Original-Outgoing-Id: 644408918.918173-2590708e1d7e789238803e0fb576208a
Content-Transfer-Encoding: quoted-printable
Message-Id: <3BC8BF6C-94C6-46B7-9A38-0DB25CCBD0D9@tzi.org>
References: <162265748074.13521.4368551591199171477@ietfa.amsl.com>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/IICY8qeXFZm7Zwwlr7EUX7Yc4HI>
Subject: Re: [core] Benjamin Kaduk's No Objection on draft-ietf-core-senml-versions-03: (with COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jun 2021 10:28:48 -0000

Hi Ben,

> On 2021-06-02, at 20:11, Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
> 
> Benjamin Kaduk has entered the following ballot position for
> draft-ietf-core-senml-versions-03: No Objection
> […]
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Thanks, this is nicely written and a reasonable approach.
> 
> Section 3
> 
> I think I'm supposed to interpret this as being "the exact bit pattern
> 1010 in the last four bits indicates support for the base SenML version
> defined in RFC 8428; any other bitstring in that position cannot be
> taken as an indication of support for the base version".  In other
> words, we're still getting a one-bit signal, just encoded in four bits.
> Is that right?  Or maybe just "it's an error to see any other values for
> those four bits"?  (If so, do we reject the entire pack?)

Well, really, RFC 8428 only defines version 10.
So we have no idea what another setting of those four bits would mean.
The cop-out is the text

   These four reserved feature codes are not to be used with any
   more specific semantics except in a specification that updates the
   present specification.

which to me indeed means unless there is another specification updating this one, one would reject lsb ≠ 1010, except for a legacy application that, e.g. still supports SenML version 5.
Does this need more text?  Suggestions welcome.

> Section 5
> 
> I'd consider adding a sentence "the assignment of new feature bits is
> done in a backwards-compatible manner, so existing implementations will
> not erroneously assume support for a version (feature) that is defined
> in the future" in the vein of an avoided security consideration.

You lost me here.  How can one assign bits in a non-backwards-compatible manner?

Of course, feature code 37 could mean "support all of feature code 36 except for feature foognorz, as well as feature barfgnup”.  When 36 and 37 are set, this means 36 + barfgnup.

We don’t even touch on how a receiving implementation could signal its feature support to a generating implementation; the underlying assumption is that most SenML is generated for eternity and not for a specific recipient.

Grüße, Carsten