Re: [6lo] SCHC HC over IEEE 802.15.4: comments

Carles Gomez Montenegro <carles.gomez@upc.edu> Tue, 25 July 2023 14:17 UTC

Return-Path: <carles.gomez@upc.edu>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0FF2CC151071 for <6lo@ietfa.amsl.com>; Tue, 25 Jul 2023 07:17:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=upc-edu.20221208.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UVleIJEDkKK8 for <6lo@ietfa.amsl.com>; Tue, 25 Jul 2023 07:17:32 -0700 (PDT)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C86DC14CE5E for <6lo@ietf.org>; Tue, 25 Jul 2023 07:17:31 -0700 (PDT)
Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3175d5ca8dbso2027118f8f.2 for <6lo@ietf.org>; Tue, 25 Jul 2023 07:17:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20221208.gappssmtp.com; s=20221208; t=1690294650; x=1690899450; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=CZGBRSZ/QHCd5bZlivxikBq2oAq0aoz5moR1kVeteaA=; b=GwOivXPh32oecx3L3ddEOFsBAQW9qOggjtzGrwgSFG+c1MzUKUf+c+jLoJe3mP2DxK WOAkaGQjqExSn/8E4DpX7pwzV3DxZ9WzuQJRQf60iFQk8N+/eLzuNETLtvLiyYqy3f3s P3VC1UFjO11Vk1V7UZ1SuaWEs5GkTnx0Ejz1Bjcx2FTYQPqBFqWC4NnuT/1HE/TJt52K OHaTHPgmYWVS5v9eWYR+k7jXc0jUKN/1AXsTyYwRBLQBlINeQ55pHTjqvQuJWf4t9MC3 2UPsEsTkIp5cyJ2DsD2Dxe6xI6xEh3AWUoLVmDAKrY4czjV/1SyUeppP+FlIubSV+Yzq 92+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690294650; x=1690899450; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CZGBRSZ/QHCd5bZlivxikBq2oAq0aoz5moR1kVeteaA=; b=LYKMolXEvc9lQC1blkFleXpTXG25NcrJqadLrMbAPRHfuKYsxyRrGM5J9RH2nOhjXq crd3+7x4pqI66UiWs9K+EG0ITOBZVyZxtbvVY/9+cSMSU0oeO18v+De/HZi0p65+gyL6 up+92KpIfsV2nVLBZYMypcl/QJSOyzSnYQeXnddIkSLtF5v/V78zh4NCAc3mokUBTZbo ar/9NS/pSOV1+8y0OyjEo3kmRm22wZD35c7hCGYWAB7rOC7jn7CvW4UlExtWRozqwP9t hFxq5zLJXZ/mGd47HIhUnGE28JG0DsB5o51gOg0hBpPxiO9e9a+wUajZr84hTxCNnUeH BskA==
X-Gm-Message-State: ABy/qLamFihqxGUvA0K233GfhW8sZHuG/hi1cTnxDRlx2BFGN0l+lctG 7GgkNccY7FqyIC0PICWwbdqixyKIBNLkNQqvokEoG6TFlj82dGx9
X-Google-Smtp-Source: APBJJlGStoTtS1pVI6tCxiGgQDlylY7yJutWiPUpumWPWSeb6vns3fBRBaUXa3XU5QWlhq52mY/l4L8LYBoAypKVXck=
X-Received: by 2002:a5d:6702:0:b0:317:6262:87af with SMTP id o2-20020a5d6702000000b00317626287afmr4063627wru.16.1690294649963; Tue, 25 Jul 2023 07:17:29 -0700 (PDT)
MIME-Version: 1.0
References: <850A3945-8130-4F20-81CD-A065768BBA18@gmail.com>
In-Reply-To: <850A3945-8130-4F20-81CD-A065768BBA18@gmail.com>
Reply-To: carles.gomez@upc.edu
From: Carles Gomez Montenegro <carles.gomez@upc.edu>
Date: Tue, 25 Jul 2023 16:17:19 +0200
Message-ID: <CAAUO2xxny147yRCEcqByijC_UvS2=sX_undcBaXpn8_UwOPjjQ@mail.gmail.com>
To: Georgios PAPADOPOULOS <gpapadopoulos.ietf@gmail.com>
Cc: 6lo@ietf.org, Ana Minaburo <ana@ackl.io>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/9Po8bW0wymGaT5cv5qwuCvxy8g0>
Subject: Re: [6lo] SCHC HC over IEEE 802.15.4: comments
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Jul 2023 14:17:36 -0000

Dear Georgios,

Many thanks, once again, for your comments!

Please find below my inline responses:


On Mon, 24 Jul 2023 at 22:32, Georgios PAPADOPOULOS
<gpapadopoulos.ietf@gmail.com> wrote:
>
> Dear Ana and Carles,
>
> Please find few more comments below:
>
> - Section 1:
> [GP] In the second paragraph, the following is written “On the other hand, an RFC 6282 compressed UDP header has a typical size of 4 bytes.”. We agree that RFC 6282 can compress the UDP header down to 2 bytes, isn’t it:
>
> Ports within 61616 to 61632 (4 bits).
> Length can be derived from IPv6 header Length information.
> Checksum can be elided, see subsection 4.3.2 in the RFC 6282.
> 1 byte of the Header.

[CG] The key point here is the *typical* size of 4 bytes. It is true
that the UDP checksum can be elided. However, the question would be:
how typical is that? As you point out, RFC 6282 (section 4.3.2) gives
the conditions under which the UDP checksum can be elided, and such
conditions comprise i) tunneling existing field protocols over UDP,
and ii) some form of integrity check in the UDP payload. I understand
that the latter may occur e.g. if UDP carries CoAP/DTLS or
CoAP/OSCORE. It is reasonable to assume that in such cases, indeed,
the UDP checksum can be elided. We will rewrite the related text in
our draft to incorporate your comment.

>
> - Subsection 3.1:
> [GP] If the idea is to introduce the third stack in Figure 2 (the one in the right), then one could say if you want to cover all options, then another one would be using SCHC compressing only CoAP, while 6LoWPAN for the UDP and IPv6, i.e., CoAP/SCHC HC/UDP/IPv6/6LoWPAN HC/6LoWPAN Frag/802.15.4

[CG] Well, the idea was not to actually cover all options. The
(so-called) "transition" option was added because there was an
explicit request for it. Is it the case for the option you suggest as
well?

> - Subsection 3.3.2:
> [GP] In this subsection the following is written “In this approach, a network node … “, in this case the “network node” is referring to a 6LN, 6LR, or to a 6LRB?

[CG] It refers to any node. It applies to a 6LBR, a 6LR or a host. We
will add some explanatory text in the sentence.

> - Subsection 3.3.2:
> [GP] A Topology-representation Figure would ease the description. For example, I believe a similar (or an extended) Figure 3 from RFC 9008 would do the job.

[CG] Agreed.

> - Subsection 3.3.3:
> [GP] I am not an English native speaker so I might be mistaken, but, in the following sentence, “An alternative approach where intermediate nodes neither have to store the Rules used by the endpoints for packet header compression/decompression, which also does not require IPv6-in-IPv6 encapsulation, non-storing mode RPL and RFC 8138 compression, is the Pointer-based Route-Over approach.”, the use of “neither” confuses me a lot since I am constantly looking for the "nor”.
> What about replacing it with simply “do not”?

[CG] From another non-native English speaker, your suggestion appears
to be safe. :-)

> — —
> I hope they (or at least some of them) make sense,

[CG] Thanks a lot for these (and for your earlier) comments! We plan
to incorporate your feedback in -03.

Cheers,

Carles (as one of the authors)


> Georgios

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre de virus.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>