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

Christian Amsüss <christian@amsuess.com> Tue, 19 March 2024 03:20 UTC

Return-Path: <christian@amsuess.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 F0FF4C1E572F; Mon, 18 Mar 2024 20:20:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 qXP2Mz3RLMkA; Mon, 18 Mar 2024 20:20:04 -0700 (PDT)
Received: from smtp.akis.at (smtp.akis.at [IPv6:2a02:b18:500:a515::f455]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 B8250C14F6A5; Mon, 18 Mar 2024 20:20:00 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com ([IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by smtp.akis.at (8.17.2/8.17.2) with ESMTPS id 42J3JtHD093988 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2024 04:19:55 +0100 (CET) (envelope-from christian@amsuess.com)
X-Authentication-Warning: smtp.akis.at: Host [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd] claimed to be poseidon-mailhub.amsuess.com
Received: from poseidon-mailbox.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 1D82E35CB8; Tue, 19 Mar 2024 04:19:55 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:bfbd:e9f4:2c0a:95da]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id B4ACC32433; Tue, 19 Mar 2024 04:19:54 +0100 (CET)
Received: (nullmailer pid 3833 invoked by uid 1000); Tue, 19 Mar 2024 03:19:54 -0000
Date: Tue, 19 Mar 2024 13:19:54 +1000
From: Christian Amsüss <christian@amsuess.com>
To: carles.gomez@upc.edu
Cc: core@ietf.org, dtn@ietf.org, Anna Calveras Auge <anna.calveras@upc.edu>
Message-ID: <ZfkEWrZ0EcqlAJ3K@hephaistos.amsuess.com>
References: <170928597415.22824.8051716330073401889@ietfa.amsl.com> <CAAUO2xxnC8t6LGr=OkR5tk7pHQOrScf5ZReLnaaOzEOYA7EFqQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="UCvRMv1TLKB8BgSj"
Content-Disposition: inline
In-Reply-To: <CAAUO2xxnC8t6LGr=OkR5tk7pHQOrScf5ZReLnaaOzEOYA7EFqQ@mail.gmail.com>
X-Scanned-By: MIMEDefang 2.86
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/Fji18TO3-EDypDrMXSXL4oruzcQ>
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 03:20:07 -0000

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