[core] Re: Fwd: New Version Notification for draft-gomez-core-coap-bp-01.txt

Carles Gomez Montenegro <carles.gomez@upc.edu> Tue, 23 July 2024 17:33 UTC

Return-Path: <carles.gomez@upc.edu>
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 18A9DC1D4CF2 for <core@ietfa.amsl.com>; Tue, 23 Jul 2024 10:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.806
X-Spam-Level:
X-Spam-Status: No, score=-1.806 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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.20230601.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 39bCiR-bRLUP for <core@ietfa.amsl.com>; Tue, 23 Jul 2024 10:33:12 -0700 (PDT)
Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 9D5B0C1D4CDE for <core@ietf.org>; Tue, 23 Jul 2024 10:33:12 -0700 (PDT)
Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a7a94aa5080so17631466b.3 for <core@ietf.org>; Tue, 23 Jul 2024 10:33:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20230601.gappssmtp.com; s=20230601; t=1721755990; x=1722360790; darn=ietf.org; h=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=o/5PmlKMrs8FlYdNZ3RzWXvuMHqSSDrIF14Crs8rTkQ=; b=v/7G7ixBxAahCpY1nqDdfzC1CAmPrCAnSJyCoZjvf48J/p8avstjPRyacC7UCpCUub d/71WEsEVfKE4fv1NMtqD7Ite0C0rAfIkUsPGdbq2lv0YAtXzM3s/flwLUy1UVRDTgki 9mrw9fA/c0QR5tVf4KkdTcU7b3p+cIb2yOoz8r340LJbkH211z6mlU8MvPoFzlUzrzuw vXoDDtp49tPOC4jiXnVPa92P31pVf6DeR/S19or0olnzw/pV+i7C/1/FlozhoPQ4BOuP MbsILOCdsXE7ei3yFQGjCek1sCD5ryEI7rkeJy4ISGFpwWQGhvLwzw0To5rlkNG+nTib YiAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721755990; x=1722360790; h=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=o/5PmlKMrs8FlYdNZ3RzWXvuMHqSSDrIF14Crs8rTkQ=; b=skx0r2Ndw0dqbfupvq+Vk6+Ul9SrdHdttnOjGEvMlznvd6tcaIgLV7gCcfiulghTmc TXHKBs9Va1hJAv5a+SXCaA6IK+5dHtqMnLf3y41F5+ZIeTGFYQSCG5KAGLdTMyQyhcSG EUL5EDxDfK+ePxdVa6u8YmEXM8zRoe4Whevl2L/z/l+NuxNN5oe+Q/JV+DZ+rX+iSgYd d2QQD9jzd/GCPBGlxcKg6RodKcPNNBnq8Xbf6dhuq4L2GbyigA3wxFftZSgd6rz44dI+ 7soz0SOO+TeDduQCxQaGwj1stxQIahCjTMFuo2Piv78cKFVVLXlu0kFsPQSErrwSraFT eFcg==
X-Gm-Message-State: AOJu0YyWSqFcDn4Jsogi1Z6KP7NPeNYQEJKo6z3bKbnv3S2nYbgH4xpE LMmb1kaXgVLGB3aT93A7hsvoxlnGf1bHVoptxHMDjxXv6MlrAl/WaboWTFY6C0m4d0xii+3gctd 1YK2dj6JJWuseym9wjTcrmO5q2fMzRLPJhVWZLjGcp7UFK8BB0WhBxw==
X-Google-Smtp-Source: AGHT+IE7/BBlANPPn2FZgXEqcL/ZokWe4nnrpxxEWxGIdfRt7pqeUVk+Y//4wk965TS4hYieyGdQKbxtu45vx8yGCdM=
X-Received: by 2002:a17:906:c148:b0:a7a:a06b:eebe with SMTP id a640c23a62f3a-a7aa06bef6emr171968466b.9.1721755989861; Tue, 23 Jul 2024 10:33:09 -0700 (PDT)
MIME-Version: 1.0
References: <171921376625.295438.15141756318636525209@dt-datatracker-ff65ff8f7-whn7d> <CAAUO2xz6L7sq5HOwObRnDAUvnLKRBomKXuTqhx_EjQD+jpD2=w@mail.gmail.com> <e035f0b0-04a8-43f3-aa4a-1f4920edaf8d@ri.se>
In-Reply-To: <e035f0b0-04a8-43f3-aa4a-1f4920edaf8d@ri.se>
From: Carles Gomez Montenegro <carles.gomez@upc.edu>
Date: Tue, 23 Jul 2024 19:32:57 +0200
Message-ID: <CAAUO2xyUpb0re0L6m5DfFEk0HMjEG8aTxKe573QRzXR3LKYevQ@mail.gmail.com>
To: Marco Tiloca <marco.tiloca@ri.se>
Content-Type: multipart/alternative; boundary="0000000000002a7b07061ded8e6f"
Message-ID-Hash: QECCD6LJTTQYLBZUEQZBY33UNY7RYSW5
X-Message-ID-Hash: QECCD6LJTTQYLBZUEQZBY33UNY7RYSW5
X-MailFrom: carles.gomez@upc.edu
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: core@ietf.org, dtn@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Reply-To: carles.gomez@upc.edu
Subject: [core] Re: Fwd: New Version Notification for draft-gomez-core-coap-bp-01.txt
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/fiipEZDTdut2PwTl4lPr9T4jvEs>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>

Hi Marco,

First of all, apologies for the delay in this response.

Many thanks for your thoughtful comments!

Please find below my inline responses:

On Mon, 24 Jun 2024 at 23:22, Marco Tiloca <marco.tiloca@ri.se> wrote:

> Hi Carles,
>
> Thanks for this update! Please see below a few quick comments.
>
> Best,
> /Marco
>
>
> Section 4.1
>
> * "Upon receipt of a bundle that carries a CoAP CON message with the
> "request reporting of bundle delivery" flag set, the receiver MAY opt to
> only send the corresponding bundle delivery status report and omit sending
> a bundle encapsulating a CoAP ACK message, if and only if it is not
> possible to transmit a piggybacked response (e.g., because the response is
> not ready at the moment, or because the CON message does not elicit a
> response)."
>
>   Is the beginning of the sentence referring literally to any "CoAP CON
> message", or only to CoAP requests like the second part of the sentence
> seems to suggest? (The same goes for the last sentence in the same
> paragraph)
>
>
The beginning of the sentence is intended to refer literally to any "CoAP
CON message".

Perhaps the second part of the sentence could be modified as:

OLD:
the receiver MAY opt to only send the corresponding bundle delivery status
report and omit sending a bundle encapsulating a CoAP ACK message, if and
only if it is not possible to transmit a piggybacked response (e.g.,
because the response is not ready at the moment, or because the CON message
does not elicit a response).

NEW:
the receiver MAY opt to only send the corresponding bundle delivery status
report and omit sending a bundle encapsulating a CoAP ACK message, if and
only if the CoAP ACK message does not carry a payload.



>   On the second part of the sentence, what if the server has ready to send
> a CON separate response (see Section 5.2.2 of RFC 7252)? Before the CON
> separate response, can't the server consider to send the bundle delivery
> status instead of sending an empty ACK also in this case?
>
>
To the second question, the answer is yes. I hope that the NEW text above
can offer a clearer wording.


>
> Section 7
>
> * "When CoAP is used over BP, determining whether a notification was sent
> by the server later than another notification SHOULD be performed based on
> the creation timestamps of the corresponding bundles encapsulating the two
> notifications."
>
>   At the same time, Section 5 says:
>
>   > CoAP messages destined to the same endpoint MAY be aggregated and
> carried as the payload of a single encapsulating bundle.
>   >
>   > TO-DO: aggregation, to be discussed.
>
>   If multiple notifications are aggregated and placed in the same bundle,
> will they have to be internally ordered, i.e., based on the value of their
> Observe option or of their Partial IV if protected with (Group) OSCORE?
>
>   Is there a further internal mechanism provided by the BP bundle that one
> can additionally/alternatively rely on?
>
>
A bundle has exactly one payload block. Therefore, I understand that any
ordering will have to be performed at the upper layer.
Let's see how we perform the aggregation (Carsten gave some hints recently)
and whether it might naturally provide the ordering.


>
> Section 10
>
> * "OSCORE is a CoAP option that"
>
>   Well, OSCORE is a security protocol. A CoAP message protected with
> OSCORE also includes the OSCORE option.
>
>
Definitely!
(Will be updated in -02.)


> * "OSCORE is used to secure CoAP group communication
> [draft-ietf-core-groupcomm-bis]."
>
>   That is the Group OSCORE protocol, see draft-ietf-core-oscore-groupcomm.
>
>
Agreed.


> * "only the CoAP message payload and some of the CoAP message header
> fields are protected"
>
>   More precisely:
>
>   "only the CoAP message payload, one CoAP message header field, and some
> of the CoAP options are protected"
>
>

>   (The CoAP message header field in question being 'Code')
>
>
Many thanks!


> * "OSCORE uses by default an anti-replay window, with a window size of 32"
>
>   More precisely:
>
>   "OSCORE uses by default an anti-replay sliding window, with a window
> size of 32"
>
>
Agreed.


> Nit
>
> * Section 11.1
> --- s/[rfc6761]/[RFC6761]
>
>
> Agreed.

Once again, many thanks for all your comments!

Cheers,

Carles


>
> On 2024-06-24 09:45, Carles Gomez Montenegro wrote:
>
> Dear CoRE and DTN WGs,
>
> Please find below the main pointers to our updated version (-01) of the
> CoAP over BP Internet Draft.
>
> We have aimed to address all the feedback that has been provided by both
> WGs in IETF 119 (Brisbane) and also via the mailing lists.
> We are very grateful to everyone who provided feedback. (*)
>
> As usual, comments are very much welcome!
>
> Cheers,
>
> Carles and Anna
>
> (*) The following paragraph will be duly added in the Acknowledgments
> section of the next revision:
> The authors would like to thank (in alphabetical order) Christian Amsüss,
> Edward J. Birrane, Marc Blanchet, Carsten Bormann, Scott Burleigh, Joshua
> Deaton, Jaime Jiménez, Achim Kraus, Brian Sipos, Rick Taylor, Marco Tiloca,
> Rodney Van Meter, and Magnus Westerlund for useful design considerations,
> reviews and comments.
>
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Mon, 24 Jun 2024 at 09:22
> Subject: New Version Notification for draft-gomez-core-coap-bp-01.txt
> To: Anna Calveras <anna.calveras@upc.edu>, Carles Gomez <
> carles.gomez@upc.edu>
>
>
> A new version of Internet-Draft draft-gomez-core-coap-bp-01.txt has been
> successfully submitted by Carles Gomez and posted to the
> IETF repository.
>
> Name:     draft-gomez-core-coap-bp
> Revision: 01
> Title:    Constrained Application Protocol (CoAP) over Bundle Protocol (BP)
> Date:     2024-06-24
> Group:    Individual Submission
> Pages:    23
> URL:      https://www.ietf.org/archive/id/draft-gomez-core-coap-bp-01.txt
> <https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-gomez-core-coap-bp-01.txt&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519139622%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=PaeUCkI3Hsxhc2QX6NT4GKZUHNXNodAEekPm3RPdZFk%3D&reserved=0>
> Status:   https://datatracker.ietf.org/doc/draft-gomez-core-coap-bp/
> <https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-gomez-core-coap-bp%2F&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519156423%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=6lzcX2MQ%2F9MgSax%2FixHZkHB6hlglEy%2F%2FSINIhAdfVhg%3D&reserved=0>
> HTMLized: https://datatracker.ietf.org/doc/html/draft-gomez-core-coap-bp
> <https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-gomez-core-coap-bp&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519172245%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=EC78U9s%2Bah9ExCzCAFQEIvsiMYdxgdZh53rzysdj7Zo%3D&reserved=0>
> Diff:
> https://author-tools.ietf.org/iddiff?url2=draft-gomez-core-coap-bp-01
> <https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fauthor-tools.ietf.org%2Fiddiff%3Furl2%3Ddraft-gomez-core-coap-bp-01&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519187351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=tCHfZp9hnLT9BP%2Bat1c794jqO6McX35sKcYQlV8SPrc%3D&reserved=0>
>
> Abstract:
>
>    The Bundle Protocol (BP) was designed to enable end-to-end
>    communication in challenged networks.  The Constrained Application
>    Protocol (CoAP), which was designed for constrained-node networks,
>    may be a suitable application-layer protocol for the scenarios where
>    BP is used.  This document specifies how CoAP is carried over BP.
>
>
>
> The IETF Secretariat
>
>
>
>
> <https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519201318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=c3MJbAyTqV963AYaeu%2FKxNToAx5H6HyxP4UDl%2FOxoaQ%3D&reserved=0> Libre
> de virus.www.avg.com
> <https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=05%7C02%7Cmarco.tiloca%40ri.se%7C02b24c1004b243f5461a08dc9421a9ec%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C638548119519213493%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=9lWxORhBKK5jhfK2kuMijxh%2BuAIRqqR77Bw3UlBHAjQ%3D&reserved=0>
>
> _______________________________________________
> core mailing list -- core@ietf.org
> To unsubscribe send an email to core-leave@ietf.org
>
>
> --
> Marco Tiloca
> Ph.D., Senior Researcher
>
> Phone: +46 (0)70 60 46 501
>
> RISE Research Institutes of Sweden AB
> Box 1263
> 164 29 Kista (Sweden)
>
> Division: Digital Systems
> Department: Computer Science
> Unit: Cybersecurity
> https://www.ri.se
>
>