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

Rick Taylor <rick@tropicalstormsoftware.com> Tue, 19 March 2024 07:59 UTC

Return-Path: <rick@tropicalstormsoftware.com>
X-Original-To: dtn@ietfa.amsl.com
Delivered-To: dtn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDCA4C14F6ED; Tue, 19 Mar 2024 00:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 VQ-opgxu4sRK; Tue, 19 Mar 2024 00:59:22 -0700 (PDT)
Received: from mail.tropicalstormsoftware.com (mail.tropicalstormsoftware.com [188.94.42.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17D8EC14F6EC; Tue, 19 Mar 2024 00:59:19 -0700 (PDT)
Received: from tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d]) by tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d%10]) with mapi id 14.03.0513.000; Tue, 19 Mar 2024 07:59:16 +0000
From: Rick Taylor <rick@tropicalstormsoftware.com>
To: Christian Amsüss <christian@amsuess.com>, "carles.gomez@upc.edu" <carles.gomez@upc.edu>
CC: "core@ietf.org" <core@ietf.org>, "dtn@ietf.org" <dtn@ietf.org>, Anna Calveras Auge <anna.calveras@upc.edu>
Thread-Topic: [dtn] [core] Fwd: New Version Notification for draft-gomez-core-coap-bp-00.txt
Thread-Index: AQHaeayOV2YjgIAhY0S2Rpj09L+1WrE+ssaw
Date: Tue, 19 Mar 2024 07:59:15 +0000
Message-ID: <38A5475DE83986499AEACD2CFAFC3F9802736E1F11@tss-server1.home.tropicalstormsoftware.com>
References: <170928597415.22824.8051716330073401889@ietfa.amsl.com> <CAAUO2xxnC8t6LGr=OkR5tk7pHQOrScf5ZReLnaaOzEOYA7EFqQ@mail.gmail.com> <ZfkEWrZ0EcqlAJ3K@hephaistos.amsuess.com>
In-Reply-To: <ZfkEWrZ0EcqlAJ3K@hephaistos.amsuess.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.10.0.3]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/WYUNRskrZLfGwjwTX3fsAAYySfM>
Subject: Re: [dtn] [core] Fwd: New Version Notification for draft-gomez-core-coap-bp-00.txt
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Delay Tolerant Networking \(DTN\) discussion list at the IETF." <dtn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dtn>, <mailto:dtn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn/>
List-Post: <mailto:dtn@ietf.org>
List-Help: <mailto:dtn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dtn>, <mailto:dtn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Mar 2024 07:59:26 -0000

Hi Christian,

In BPv7 bundles are (mostly uniquely) identified by the tuple of (Source EID, Timestamp) both in the primary block:

>From Section 4.3.1 of RFC9171:

"The creation timestamp comprises two unsigned integers that, together with the source node ID and (if the bundle is a fragment) the fragment offset and payload length, serve to identify the bundle. See Section 4.2.7 for the definition of this field."

Cheers,

Rick

> -----Original Message-----
> From: dtn [mailto:dtn-bounces@ietf.org] On Behalf Of Christian Amsüss
> Sent: 19 March 2024 03:20
> To: carles.gomez@upc.edu
> Cc: core@ietf.org; dtn@ietf.org; Anna Calveras Auge
> Subject: Re: [dtn] [core] Fwd: New Version Notification for draft-gomez-core-
> coap-bp-00.txt
> 
> Hello Carles, Anna,
> 
> thanks for submitting this. I know it's work for you, but for me it's also fun
> catching up with time values I otherwise only know from recreational reading
> :-)
> 
> A few comments from a first read:
> 
> * CoAP's retransmission mechanism is based on exponential back-off to
>   avoid congestion. Does BP provide any mechanisms suitable for
>   differentiating between congestion and loss of message (which would
>   allow doing linear rather than exponential retransmits), NACKs (which
>   would allow immediate retransmission) or RTT estimates (which could
>   decrease time to completion similar to how FASOR speeds up
>   retransmission)?
> 
> * Unlike the round trip time related parameters (which clearly need
>   higher values in interplanetary scenarios) 128 seconds from Observe
>   are related to the time by which a messager might be delayed relative
>   to another message.
> 
>   As (to my little knowledge stemmming from reading this document) BP
>   will not retransmit on its own, can such reorderings happen? Or can
>   there be multipath routing (where path RTT differences would exceed
>   128 seconds)?
> 
> * Message IDs are mainly used for request deduplication, and to match
>   empty ACKs to requests. Are there identifiers inside BP that are
>   available to higher layers that they can use and refer to? (If so, an
>   original message could do without a message ID, a retransmission could
>   refer to the original bundle, and an ACK might just use the status
>   report).
> 
> * Increasing the message ID size and timeouts also means that servers
>   that do request deduplication may need to store quite many requests.
>   It may make sense to emphasize that the use of idempotent servers can
>   become necessary here.
> 
>   Relatedly, OSCORE's default replay window is 32 messages, and unlike
>   for DTLS one can't unilaterally pick a larger one. I don't know if and
>   whether you plan on setting up OSCORE contexts, but that setup process
>   should include an explicit field to advertise a larger replay window.
>   (To my knowledge, everyone so far was happy with the default, and
>   never specified a way to increase the window).
> 
> * RFC 7959 allows parallel transmissions of blocks, and the emphasis on
>   CON is merely a recommendation (which users document have good reason
>   to not follow) -- no need to go stop-and-wait there. RFC9177 has a
>   very limited applicability scope for its Q-Block. The content format
>   it describes for describing multiple missing blocks is just as
>   applicable to regular block-wise.
> 
> * What is the shape of the endpoint_ID? Might be a tad hard to pack
>   URI-shaped identifiers into the authority component, but the upside is
>   that we may not need another scheme. Let's talk more after tomorrow's
>   presentations, where this will be a topic of mine anyway.
> 
> Best regards
> Christian
> 
> --
> We are dreamers, shapers, singers, and makers.
>   -- Elric