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

Carles Gomez Montenegro <carles.gomez@upc.edu> Thu, 21 March 2024 22:35 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 2AEC6C18DBB8 for <core@ietfa.amsl.com>; Thu, 21 Mar 2024 15:35:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, 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 L4W-bmYQ6gQy for <core@ietfa.amsl.com>; Thu, 21 Mar 2024 15:35:39 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 AD172C1CAF2D for <core@ietf.org>; Thu, 21 Mar 2024 15:35:33 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-41464711dc8so12267245e9.1 for <core@ietf.org>; Thu, 21 Mar 2024 15:35:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20230601.gappssmtp.com; s=20230601; t=1711060532; x=1711665332; 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=vy69C0YL2A/i0hGhcpppkNNux2A0PL6WiZKnBzbOEzo=; b=aXGlJlZjnSYncFQGFX3hWGDDSMliAYEEka6DZfEYjW4sW21Ri3MSrvQUnnleDAyQLr kJ5plXBj2dHFuIQ74rP/K+GPAds1c0INOV8addXGToSE1baet/aL8Wimak/hk1u78GJu m++luusrmvJ+3aXXUjCnMF0Gl+U8P5iG6t6QvclHXuKKljdGIcBsb7N8AouMOJ/MHVGU R0gLSe44IVjDb4PpptX4TxTzZE2KSSR2EwbMDC4L7XCL2vI8pTQiLO5Hho9KjD9Ar6IM XoQBU8aYgHxyHpB6V/9MSiVJJzYMnOhL9G2TJCl9V03KWrJrVwicTTitFqlYVTzjxIEv dPag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711060532; x=1711665332; 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=vy69C0YL2A/i0hGhcpppkNNux2A0PL6WiZKnBzbOEzo=; b=GksD0drcx8RqaSTr7j1gOtO3TAQrSHq5NdXqXpL/FwKJaNVP5jiTtgYIJAYjzZeSxH exPQi5TE0v5FWn0YF2dwLgkD6RcT4iYAxqtdLTocqc/A6wcwSVYFY9VU89T7v20SaP6n p7aTv/KL/kC4uWlxgSdCGuIat3vJ/KHJZKtO/m0sdEn8b1Wl6VfBznSAbr6gpZJ8X3A9 qSCHFounfjKJZHQEOhQwsnifWCEMTClj66O+3/iI+thm8Ms+wdRKwwBiEPLNZ4zhwoaU ru2rN32zALKxX6hWysDBk6+0DFbvE+0D5k+MN/HV5Bny9OwWKKFBQ3H/RifAXd+ZiBo4 TbNg==
X-Gm-Message-State: AOJu0YzkSy/sPb2MKhbQzCQ4CrlfP2G5S4QnEM0nksRn5K6miNmNDbKH o7uZc4nKW/lDGvnxoxBFnorwlp6aAethV0Sso8d+UHIcxS7TArtmeD/Ko1zyuZJJfYrFr96ubi9 2buof4200OiqrdvaY5ZRGEEqDj/SRwtR3yAbp2g==
X-Google-Smtp-Source: AGHT+IFU22+83EVAt6FpSq7oSZr36NJ70/C+btFhyJ5L1aeQzbCk6OXjdd5xwKxMq78TAzDVeK8nyzm0o3p5dUXakRk=
X-Received: by 2002:a5d:6c6c:0:b0:33e:6495:3273 with SMTP id r12-20020a5d6c6c000000b0033e64953273mr434476wrz.4.1711060531791; Thu, 21 Mar 2024 15:35:31 -0700 (PDT)
MIME-Version: 1.0
References: <170928597415.22824.8051716330073401889@ietfa.amsl.com> <CAAUO2xxnC8t6LGr=OkR5tk7pHQOrScf5ZReLnaaOzEOYA7EFqQ@mail.gmail.com> <46f1b3ea3f4e4505b459683d926a25dc@jhuapl.edu> <CAAUO2xzCkkx3V+y3wLmdbxZKdL6Rhvxwo+oo17AGQZPUhDFA5Q@mail.gmail.com> <40875d8977304e14945d32ff30a0d284@jhuapl.edu>
In-Reply-To: <40875d8977304e14945d32ff30a0d284@jhuapl.edu>
Reply-To: carles.gomez@upc.edu
From: Carles Gomez Montenegro <carles.gomez@upc.edu>
Date: Thu, 21 Mar 2024 23:35:19 +0100
Message-ID: <CAAUO2xyAUabZvWKMpK6Mb0rOrLE7w4PZ+uUeq==XBveDN+NA7g@mail.gmail.com>
To: "Sipos, Brian J." <Brian.Sipos@jhuapl.edu>
Cc: "core@ietf.org" <core@ietf.org>, "dtn@ietf.org" <dtn@ietf.org>, Anna Calveras Auge <anna.calveras@upc.edu>
Content-Type: multipart/related; boundary="0000000000003008c90614335337"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/n979VNq2nsizLp8aeDFfsGEFqZI>
Subject: Re: [core] [EXT] [dtn] Fwd: New Version Notification for draft-gomez-core-coap-bp-00.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
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, 21 Mar 2024 22:35:43 -0000

Hello Brian,

Thanks for your valuable feedback.

Yes, definitely, this is something that needs to be addressed in the draft.

The current version of the draft does not yet include security-related
content, but we will aim to incorporate your feedback in a future update.
As you detail, there are several aspects that need to be properly
considered.

We will reply back with some proposal intended to address the points you
raise below.

Best regards,

Carles (on behalf of the authors)





On Wed, 20 Mar 2024 at 06:36, Sipos, Brian J. <Brian.Sipos@jhuapl.edu>
wrote:

> Carles,
>
> Great to see your feedback.
>
>
>
> One other aspect to consider with the application-level responses is that
> of security parity between request and response bundles and/or ADUs. It’s
> likely that the security (and forwarding) policies related to status
> reports will be completely disconnected from application traffic being
> statused, in the sense that the status reports have a different
> destination/audience by design.
>
>
>
> On that same topic it would be good to have some application requirements
> (outside of security considerations section) about the security
> relationships between CoAP-over-BP requests and responses. Or asked another
> way: must a bundle containing a CoAP response have at least the same
> layer/type/level of security as the request?
>
> Part of the complexity of this question is that there can be security at
> BP layer and at CoAP layer (or both) and that can include (or not include)
> authentication, integrity, and confidentiality aspects.
>
>
>
> The example in [1] is somewhat of a special case because it is designed to
> be sent in plaintext, with security as part of the application layer
> design. For CoAP/BP though, for example, if a request includes BPSec
> confidentiality of the payload I would hope/expect that the response must
> also include confidentiality.
>
>
>
> *From:* Carles Gomez Montenegro <carles.gomez@upc.edu>
> *Sent:* Tuesday, March 19, 2024 3:50 PM
> *To:* Sipos, Brian J. <Brian.Sipos@jhuapl.edu>
> *Cc:* core@ietf.org; dtn@ietf.org; Anna Calveras Auge <
> anna.calveras@upc.edu>
> *Subject:* Re: [EXT] [dtn] Fwd: New Version Notification for
> draft-gomez-core-coap-bp-00.txt
>
>
>
> *APL external email warning: *Verify sender carles.gomez@upc.edu before
> clicking links or attachments
>
>
>
> Hi Brian,
>
>
>
> First of all, apologies for the delay in this response.
>
>
>
> Many thanks for your encouraging, detailed and helpful feedback!
>
>
>
> Please find below our inline comments/responses:
>
>
>
> On Fri, 1 Mar 2024 at 16:42, Sipos, Brian J. <Brian.Sipos@jhuapl.edu>
> wrote:
>
> Authors,
>
> This looks like a good starting point for this kind of layering and
> leveraging of existing application-side tools over a new transport.
>
> I have a few feedback comments about clarifying behavior:
>
>    1. It is important for applications to define appropriate Bundle
>    Lifetime durations for each ADU being sent. This allows the network to
>    delete bundles when appropriate (and also avoid deleting when
>    inappropriate) and avoids application-level retries acting in conflict with
>    BP-level retention logic. The bundle Lifetimes could be set to correspond
>    with the EXCHANGE_LIFETIME to make that explicit and controlled, with
>    response messages’ Lifetimes adjusted appropriately.
>
>
>
> Agreed!
>
>
>
> We plan to address your comment in the next draft update. One detail is
> that we probably need to set the bundle lifetime to EXCHANGE_LIFETIME for
> bundles carrying CoAP CON messages, and NON_LIFETIME for bundles carrying
> CoAP NON messages.
>
>
>
>
>    1.
>    2. The document doesn’t have any explicit logic about response data
>    and bundle source/dest EIDs. BP itself doesn’t have any intrinsic logic of
>    what a “response” means, so it’s up to an application to define the Source
>    EID and Destination EID of a response relative to the
>    bundle-being-responded-to (see [1] for an example). This doesn’t need to be
>    complex logic, but does need to be defined by the BP application.
>
>
>
> Thanks a lot. The example is indeed very helpful! Again, to be addressed
> in the next draft update.
>
>
>
>
>    1.
>    2. Related to your aside at the end of Section 4.1 about the use of BP
>    Status reports to elide application acknowledgement: this assumption is
>    probably incorrect, as status reporting contains lots of other information
>    not pertinent to the CoAP ACK logic. Also, because there is currently not a
>    well-defined scope for BPA—application interfaces a BPA receiving a status
>    report does not necessarily give any visibility to the BP application.
>    Current BPA implementations tend to treat status reports as accounting
>    events similar to ICMP messages, where the application is not involved or
>    informed.
>
>
>
> Admittedly, this "optimization attempt" aimed to (according to some
> numbers we have) save a few (although not many) bytes to be transmitted,
> hoping that it would compensate the additional complexity of this special
> handling. I am wondering if future implementations might offer a BPA -
> application interface, but if this proposal is not really worth it, even if
> it is offered as a "MAY", we can of course abandon it.
>
>
>
>
>    1.
>    2. In the URI definition of section 8.1 it is important to indicate
>    that the embedded EID (which itself is a URI) must be percent-encoded when
>    embedding. And the percent-encoded-EID really just conforms to the
>    “reg-name” rule of [2] and doesn’t involve the “port” rule at all.
>
>
>
> Yes, we plan to address your comment it in the next draft revision.
>
>
>
>
>    1.
>
>
>
> Looking forward to seeing experiments with this layering!
>
>
>
> Great, thanks!
>
>
>
> Such experiments are indeed in our roadmap (in the mid-long term), and we
> are of course also interested in similar initiatives from other
> participants.
>
>
>
> Cheers,
>
>
>
> Carles (on behalf of the authors)
>
>
>
> Brian S.
>
>
>
> [1]
> https://www.ietf.org/archive/id/draft-ietf-acme-dtnnodeid-12.html#section-3.4
>
> [2] https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
>
>
>
> *From:* dtn <dtn-bounces@ietf.org> *On Behalf Of *Carles Gomez Montenegro
> *Sent:* Friday, March 1, 2024 4:52 AM
> *To:* core@ietf.org; dtn@ietf.org
> *Cc:* Anna Calveras Auge <anna.calveras@upc.edu>
> *Subject:* [EXT] [dtn] Fwd: New Version Notification for
> draft-gomez-core-coap-bp-00.txt
>
>
>
> *APL external email warning: *Verify sender forwardingalgorithm@ietf.org
> before clicking links or attachments
>
>
>
> Dear CoRE and DTN WGs,
>
>
>
> Please find below the main pointers to the initial version of a draft that
> aims to specify how CoAP can be carried over BP.
>
>
>
> We look forward to receiving your feedback!
>
>
>
> Best regards,
>
>
>
> Carles and Anna
>
>
>
>
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Fri, 1 Mar 2024 at 10:39
> Subject: New Version Notification for draft-gomez-core-coap-bp-00.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-00.txt has been
> successfully submitted by Carles Gomez and posted to the
> IETF repository.
>
> Name:     draft-gomez-core-coap-bp
> Revision: 00
> Title:    Constrained Application Protocol (CoAP) over Bundle Protocol (BP)
> Date:     2024-03-01
> Group:    Individual Submission
> Pages:    19
> URL:      https://www.ietf.org/archive/id/draft-gomez-core-coap-bp-00.txt
> Status:   https://datatracker.ietf.org/doc/draft-gomez-core-coap-bp/
> HTMLized: https://datatracker.ietf.org/doc/html/draft-gomez-core-coap-bp
>
>
> 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
>
>
>
> [image: Image removed by sender.]
> <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>
>
>
>
>