Re: [lp-wan] Magnus Westerlund's Discuss on draft-ietf-lpwan-coap-static-context-hc-13: (with DISCUSS and COMMENT)

Ana Minaburo <ana@ackl.io> Thu, 19 March 2020 11:03 UTC

Return-Path: <ana@ackl.io>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38C5C3A2732 for <lp-wan@ietfa.amsl.com>; Thu, 19 Mar 2020 04:03:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.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 UUYd8fGyqdMM for <lp-wan@ietfa.amsl.com>; Thu, 19 Mar 2020 04:03:20 -0700 (PDT)
Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 150153A2730 for <lp-wan@ietf.org>; Thu, 19 Mar 2020 04:03:18 -0700 (PDT)
Received: by mail-il1-x133.google.com with SMTP id d14so1773475ilq.10 for <lp-wan@ietf.org>; Thu, 19 Mar 2020 04:03:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=npNMiiD1++D0F4Zyl6FVri+PtUKK+KS981HO+YubPAY=; b=FmXDuHZ/8MZwPm7AAhqfMGZxaFUisfVteBUL1feY0XNn0bbuSjDE2nHmMqUkLvM97M +syaELnnAO9lNUqAJEcEXGcOLbfXondbiFSh88iqCTIlekEYmfOFVe0ANU4nJK7KvKoe sgCc43si7d3V58EclwDtveT8Ytpmk+j0FA/AYgXU+txdl1W2WFGPiPj1Fj9tngYH14su A8eH9QvvQhWlDN/fCApIxUI6ql3CLFfub6os++yQGha7+UYaaStzJu/fWHvt6Luz5ahW JpTjqHWiTV+W8jt2qB5PrT/62LRkEAg41mQYLppud4hZ/OQyzG1kN2w6WlrlE62R1bGR OtrA==
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=npNMiiD1++D0F4Zyl6FVri+PtUKK+KS981HO+YubPAY=; b=qaPm2qE+OVAKm8j1cG41Rfdg9e3oFwT0/ZR2TmvSJrCn99MVUqFCbXV8sZ+jvQg4De duGP4kXejO+YoAJnw005SRz3Law6eyMxt6ZU0cFUkReKkfKSDiusKt6Wzn37qxp8VujH eHSkZUtoBU4mm1VeyU4EcfBoa7BVMXJvGqwoo5QKLpLmvfbDV20n913mla3ssL4HEx3e rtfNbFrFwM7s+2y5D496N98V1PX2aVQ6qdBFfUbVaex4nfBZV9dIYQS6Zacg0NKoQ1Mg LrhVyQXjlylyuhVa56TEkEJRKl8GBihvhSYg14I6F1f+qxkNIdehlg5GIviv76gKoKso /18Q==
X-Gm-Message-State: ANhLgQ26VQRg7/YMK2cFoVWMRDe5jSvo2MgJHksKeaiFRGk7jxZUdc4c FqOAI7YXusO+IIHvRRvlEVdVAZO8nIaaZiX4eZghSQ==
X-Google-Smtp-Source: ADFU+vu5+v0j24dtCwJ4BvxWLAQy5qroLwRAzrkgfum3iCDc7ZdKBf6Tr+PS6oEhOjvE4qqYfbwkd6To5pP3tn7vX2s=
X-Received: by 2002:a92:c684:: with SMTP id o4mr2642889ilg.294.1584615792080; Thu, 19 Mar 2020 04:03:12 -0700 (PDT)
MIME-Version: 1.0
References: <158400724904.18264.11973989758327952003@ietfa.amsl.com>
In-Reply-To: <158400724904.18264.11973989758327952003@ietfa.amsl.com>
From: Ana Minaburo <ana@ackl.io>
Date: Thu, 19 Mar 2020 12:02:45 +0100
Message-ID: <CAAbr+nRKAZ-skp5ABqEF0REvkmrtRMdJMoWEkZ0QARhaRrK79w@mail.gmail.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-lpwan-coap-static-context-hc@ietf.org, lpwan-chairs@ietf.org, lp-wan <lp-wan@ietf.org>, Pascal Thubert <pthubert@cisco.com>
Content-Type: multipart/alternative; boundary="00000000000064912305a1331d7e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/I_fctmGt9q7A7rbqN7y17iKj-UU>
Subject: Re: [lp-wan] Magnus Westerlund's Discuss on draft-ietf-lpwan-coap-static-context-hc-13: (with DISCUSS and COMMENT)
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2020 11:03:27 -0000

Dear Magnus,

Thank you for your review, please see my comments below.

Ana

On Thu, Mar 12, 2020 at 11:00 AM Magnus Westerlund via Datatracker <
noreply@ietf.org> wrote:

> Magnus Westerlund has entered the following ballot position for
> draft-ietf-lpwan-coap-static-context-hc-13: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-lpwan-coap-static-context-hc/
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> Reviewing this document and its application to compress case two and three
> stacks in Figure 1, i.e. with some end-to-end encryption appears to
> significantly change an assumption from the SCHC for IPv6/UDP. Namely, the
> assumption about context establishment. In normal SCHC the contexts are
> established between the Device and the NGW. In these end-to-end encrypted
> case
> the context establishing party for the COAP compression is the APP and the
> APP
> layer in the device. This difference appear completely ignored in this
> document. I think this is a significant difference as having the device
> and NGW
> run a protocol for establishing context over the L2 or L3 with the local
> context knowledge is fairly straightforward. However, in this case when the
> COAP peer on the internet side of the NGW this determination and
> configuration
> is a different matter.
>
> >From my perspective some more discussion of the fact that this is a
> different
> context and that it have different challenges in establishing the context
> should be made clear in the document.
>

Ana: Your question is very important for the deployment of SCHC over
different networks, but the context establishment is out of the scope of
this document.
This proposal concerns the way the CoAP header fields may be compressed
using SCHC and how a developer can use the SCHC features to reduce the CoAP
header.
I've added a sentence in the introduction part, here is the new text:

SCHC compresses and decompresses headers based on shared contexts between
devices. *The way the Contexts are provisioned is out of the scope of this
document. *Each context consists of multiple Rules. Each rule can match
header fields and specific values or ranges of values. If a rule matches,
the matched header fields are substituted by the rule ID and optionally
some residual bits. Thus, different Rules may correspond to different types
of packets that a device expects to send or receive.

>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> I would also note that the TSV-ART review did find an issue with the an
> underlying assumption in draft-ietf-lpwan-ipv6-static-context-hc which is
> not
> yet published. The issue is that the assumption that the UDP length field
> is
> redundant will not be true when
> https://datatracker.ietf.org/doc/draft-ietf-tsvwg-udp-options/ gets
> approved.
> Thus the question arises if this assumption should be amended or not in the
> underlying technology. I note this here primarily so that it is discussed
> by
> the WG and the responsible AD.
>
>
> Ana: As explained in Dominique's mail, the use of SCHC for this new option
in UDP does not affect or modify the SCHC protocol.

Ana