Re: [dtn] Question on generation of Status Reports

RJ A <rja.lists@gmail.com> Wed, 03 April 2024 17:15 UTC

Return-Path: <rja.lists@gmail.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 56A4CC157915 for <dtn@ietfa.amsl.com>; Wed, 3 Apr 2024 10:15:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 4oM4QQ_s4t46 for <dtn@ietfa.amsl.com>; Wed, 3 Apr 2024 10:15:36 -0700 (PDT)
Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) (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 E6EADC157931 for <dtn@ietf.org>; Wed, 3 Apr 2024 10:15:36 -0700 (PDT)
Received: by mail-ua1-x929.google.com with SMTP id a1e0cc1a2514c-7e38d2f7790so32496241.3 for <dtn@ietf.org>; Wed, 03 Apr 2024 10:15:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712164536; x=1712769336; darn=ietf.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=+XxGxC02bFeyykKMFF/z2nuDjj9yThcQgSf0vcfcmCg=; b=ZS/bJg5ZD1j+1qnjEw0gq7kNLA0zXo1jvBzVE87R2amybAX869MTf+azfjWBmIo3kr QiPevm/+qwYdPxhoQ3s/sy4Xgak0+//WUCJPS61io3YDCPypcR4Hm4yJN4O8W/b1/kLQ IvVw9wzfsIcTtRzQ76ZjcsAw2DpiAIo+P6ioBUk7La3iaOLlw+scOJ7PAmu3WOY9hdc/ O0xa+Zs2Cjk7orOYyn7ybI1vjU62uYDCBXLjRshpBbXfogmDtcKpYHtnOaws6IUIQmNa BAmKvU8uuVQFMKoqVZ0rxJJxyjGseGr9gzf/PTXYBpjXgyfV3f4AvxCP1jTVwNqDqEvk yJlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712164536; x=1712769336; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+XxGxC02bFeyykKMFF/z2nuDjj9yThcQgSf0vcfcmCg=; b=djr43k/x6GRto7sWp/nGA/C+Hen0JWMjKRkbIaJNzOiT3qhUjEskTAFrL0sq5SxwEx AbF0JWNzUbJUq8/+q93t8HoAd8FBv5XE6WniZUDtpOFcWB4XQZIQvE4nf5LnEcVJH0CV u42GkOH3FfsgbDfTqN867iLwA2aYJwnw/r95qWs3rVDm9IbGeVCIuvmfvskL4RNxgK9G pT9/Gh/hgD6wpNoH54+QZeQWrYScB3F3XdvhwXfpBqCp5cnQEkYxD3+ksWY9p/exxYGH UCKANFOFs+RDR+8QWiTU7YwiQ/YWAjdmbNJ9D7dTlN+s89TcEPHiP2yzDhVlYfzZHXYc QwzQ==
X-Gm-Message-State: AOJu0YzLgx9bKdhC+L33WtjZjCTaZCA0ySaeNvnWm1f4tesj8Xo5qtPM lIXWB4i2bQJy3QMLhghyshRRIk+jxxOR6Gwcn+admYvpCkOPhd1aoGFmK/2j
X-Google-Smtp-Source: AGHT+IFbVZOYz1RlAwibPen3mmj8vkOtP7sDdCTgA4ej3jN/+di8WFx0D1LcuJkNiFkNdHr3aofceg==
X-Received: by 2002:a05:6122:a18:b0:4d4:126b:2c8 with SMTP id 24-20020a0561220a1800b004d4126b02c8mr14521049vkn.9.1712164535672; Wed, 03 Apr 2024 10:15:35 -0700 (PDT)
Received: from smtpclient.apple (pool-108-28-83-193.washdc.fios.verizon.net. [108.28.83.193]) by smtp.gmail.com with ESMTPSA id jv1-20020a05621429e100b00699051c86bfsm3490990qvb.107.2024.04.03.10.15.35 for <dtn@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2024 10:15:35 -0700 (PDT)
From: RJ A <rja.lists@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Date: Wed, 03 Apr 2024 13:15:24 -0400
References: <38A5475DE83986499AEACD2CFAFC3F980273703707@tss-server1.home.tropicalstormsoftware.com> <01be01da85e1$404b3f60$c0e1be20$@gmail.com>
To: dtn@ietf.org
In-Reply-To: <01be01da85e1$404b3f60$c0e1be20$@gmail.com>
Message-Id: <89F4DC25-C893-4FD5-BC3F-0FD9E9EDCD7F@gmail.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/Jj0_DcEosuvBFMxTnHrBibZJBF0>
Subject: Re: [dtn] Question on generation of Status Reports
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: Wed, 03 Apr 2024 17:15:39 -0000


> On Apr 3, 2024, at 12:09, sburleig.sb@gmail.com wrote:
> 
>  Separately, it has been pointed out that RFC 9171’a rule for the CBOR encoding of the status indicators of bundle status items is not altogether clear.  These are Boolean values that are supposed to be encoded as “CBOR Boolean values”, but the CBOR specification doesn’t actually define any “Boolean values”.  What was intended here was that the status indicator should have a value of 0 or 1, the Boolean values; the CBOR encoding for such a value ought to be 000 00000 or 000 00001, i.e., major type 0 (unsigned integer) with Additional Information providing the value.  An erratum to this effect is in the works somewhere, I think.  [An alternative would be to CBOR-encode such a value as a CBOR simple/float (major type 7) with Additional Information set to 20 (interpreted as False) or 21 (interpreted as True) according to Table 4 of RFC 8949.  Since False and True are not, themselves, Boolean values but are instead the propositional interpretations of the Boolean values 0 and 1, I think this diverges from the intent of RFC 9171 and would argue for just 0 or 1 instead.  There may be endless disagreement over this point.]

If anyone wants this (or anything else which might be ambiguous or confusing) clarified, the right process step probably is to file a proposed erratum on RFC-9171.

Ran