Re: [core] [lp-wan] Fwd: New Version Notification for draft-ietf-lpwan-coap-static-context-hc-08.txt

Thomas Fossati <tho.ietf@gmail.com> Tue, 11 June 2019 22:12 UTC

Return-Path: <tho.ietf@gmail.com>
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 3ED4212009C; Tue, 11 Jun 2019 15:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 wRh5pSebQiNn; Tue, 11 Jun 2019 15:12:10 -0700 (PDT)
Received: from mail-it1-x12e.google.com (mail-it1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 3E08E12006A; Tue, 11 Jun 2019 15:12:10 -0700 (PDT)
Received: by mail-it1-x12e.google.com with SMTP id m3so7644846itl.1; Tue, 11 Jun 2019 15:12:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=U2nPoBHf6/4YKlDy9C0w2G0ypXvNLqLWVu7EmUpv7II=; b=VvzIQjZJUyccyOw8BPc7wKoqw427Kb4lkL1eRlrsXyYdKsImi3JABvVCDEe1Z4BvPK mCkLwPl4tFTzXNuU39i63YPA6tJefxO0/IriFygsUoiTfyPj9OCUvfAdU3fzugBU79th biwogDlRV0otXQMS5kn1YClq2VVM/tYRXJ2ACiPRZcWaEVX2e2uFVtCO5svnPR+y3qi5 PzN6G6MuYAUnRsD7iMTfc1Vb3rnOJvhgIKVFHIjpeDUDksMLdhuGXmXFDlekG37fnBDK lcO9TXvAxzGCbTyn0Rv9JopI4Owqg1cttec5BfVE7YaMAwZyuKbWx5mSZIWrtzMxvoK5 K6CA==
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=U2nPoBHf6/4YKlDy9C0w2G0ypXvNLqLWVu7EmUpv7II=; b=lShXss61KXL/TEP0GKgwnnYBGXUlJeXIuBrflY8ggSgQoQPmxysD34Nk1J2cSMlTyw /VhMSA4YmAODeQdDa1z9GbT/dVUlDe0EAYFEoyOw8Qj2aiamTSc0iVb0oG1z4v1W/VQo l+uG78oHynVM+X6AdVBDfEEcboTt2HDMsjCw0y0hgV3J68yYjDZfGl270CkWz2AetmK8 zsbOYnzM9EVp1RWnK60tZJwBtf6aSIBrgaGpmJfZ4jpp5n1MsfdfGV4askmHSa89lzPT BS4Sk7llYlkbVG51dm4uiqGaPtEytYRWgAnFRoMZOTIgF512XAzZZFGm9prPe+tV3f6p 7qKw==
X-Gm-Message-State: APjAAAUV5CxW7/8SLVEZwuHVBc0Z9SVMoTFxtqQx6r+WGAcik3aZ4hC/ /zVvWkPp8Y067yKVA81pWToZL0p44INTuB01E0GA4Hyp+0U=
X-Google-Smtp-Source: APXvYqy15qZR1j+W33Pau5dMi2aOU9nIUA/zsvcQ8/UEp55FAvF9I6aUO9f/KjoMzq0j2Z4cnqfX9xAI+IzIDxE2Fo8=
X-Received: by 2002:a24:db06:: with SMTP id c6mr22317927itg.47.1560291129524; Tue, 11 Jun 2019 15:12:09 -0700 (PDT)
MIME-Version: 1.0
References: <155915229337.5461.11045326859886255040.idtracker@ietfa.amsl.com> <CABONVQZoDpTXQeTkszptBGybg6yXYLquLkb5L8sn6aq4wJq_tw@mail.gmail.com> <CAObGJnPGK82RHt1rhUkAsrHe4StHkJbRTM0CJ5=tmPM=-_XUyw@mail.gmail.com> <CABONVQb+Kgtb7AaJzJTzH0sYFUHxfRj9VWuWksn39GkKBEKbRg@mail.gmail.com>
In-Reply-To: <CABONVQb+Kgtb7AaJzJTzH0sYFUHxfRj9VWuWksn39GkKBEKbRg@mail.gmail.com>
From: Thomas Fossati <tho.ietf@gmail.com>
Date: Tue, 11 Jun 2019 23:11:58 +0100
Message-ID: <CAObGJnPYof2=HthyQFQxT90+we0XVrJNJPa2Z_0fbsXuTo_sKA@mail.gmail.com>
To: Laurent Toutain <laurent.toutain@imt-atlantique.fr>
Cc: lp-wan <lp-wan@ietf.org>, "core@ietf.org WG" <core@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/aFB0AbWSF8x4cHjgs96Z4uQueHo>
Subject: Re: [core] [lp-wan] Fwd: New Version Notification for draft-ietf-lpwan-coap-static-context-hc-08.txt
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: Tue, 11 Jun 2019 22:12:12 -0000

Hi Laurent, Ana,

On Tue, Jun 11, 2019 at 3:16 PM Laurent Toutain
<laurent.toutain@imt-atlantique.fr> wrote:
> On Thu, May 30, 2019 at 1:53 PM Thomas Fossati <tho.ietf@gmail.com> wrote:
> > - Sec 4.1: "This field is bidirectional and MUST be elided during
> > the SCHC compression". This is a dangerous statement as it leads us
> > straight into CoAP ossification territory.  If you want SCHC to work
> > with CoAP v1 only what you really want to say here is "SHCH
> > compression MUST NOT be applied to CoAP packets with version
> > different from v1".  Granted that, a SCHC box deployed today could
> > sit in the field happily ever after.  If not, when a new CoAP
> > version is rolled out, endpoints wouldn’t be able to use this new
> > version on any path crossing an SCHC box.
>
> We don't think this will create ossification. The rule is very
> flexible and do not force to elide this field at any time. For
> instance, if you have a device that is CoAP v1 only, then you can
> elide the field.
>
> During a transition period if the device accepts CoAP v1 and v2, then
> the rule can be set to MO=ignore and CDA=value-sent. Or a rule for v1
> and a rule for v2 can be used.  In anycase the device will receive the
> appropriate CoAP version after decompression.

Thanks for taking the time to explain.

However, I'm still a bit unsure about what is story for supporting
protocol upgrade / evolution, so please let me rephrase my concern and
you can clear all my doubts :-)

Does the spec in its current form provide the guarantee that a middlebox
that is deployed today and never updated (or updated on a different time
scale with respect to the endpoints) will not interfere with versions of
the protocol it doesn't understand?  Otherwise said: what is the default
behaviour of a SCHC entity when handling unknown semantics?

cheers, thanks, t