Re: [dtn] DTN time and RFC8877

"R. Atkinson" <rja.lists@gmail.com> Fri, 04 December 2020 14:52 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 D12783A0C0A for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 06:52:28 -0800 (PST)
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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PDaUI_21c5w2 for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 06:52:27 -0800 (PST)
Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B2183A09C9 for <dtn@ietf.org>; Fri, 4 Dec 2020 06:52:27 -0800 (PST)
Received: by mail-qv1-xf34.google.com with SMTP id ek7so2850635qvb.6 for <dtn@ietf.org>; Fri, 04 Dec 2020 06:52:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hFvTY+BfApVYyNFpcgYelVD3j99B7RHjRPY36lijo1k=; b=LQQfPJar9t7ahUG1l2wYB1dvifxfQ2C4LgEU4huGneIMxlxXaSLpeOYaqx0c58F5xr gNCEveliYbHf1sOs1Kn/R6nS63++asN9yPP2euoLd/V5V3EpdomcqZPortG8FinJ+t6X L7mLz9UAHrr7GQsJMBfhTBVQxs+3XnDai9Qr2jqWRqqLvFLbmez9BbfifPpM+3oOewTE g2SypArRlUaG6ZiPXjLZGfwPBXoT1dCDwpGg8/nB35aIOti4c1fpCrtlE4xvT1Y7ybOE X2g99VYydKHOkzsyraTMAHKjkyY4audhLXuh1RlKMLseLUwGsLxjEDR+bswDE8PfVvtk GPaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hFvTY+BfApVYyNFpcgYelVD3j99B7RHjRPY36lijo1k=; b=M/eDxniRufcLW6aRvMiE1REQon8VCVvgtwbenmsjIv7p4g7D+u5rse+VJDVkOfbfx9 7XQVnTj8PcO7IABFxHS41DkCAmgimmbz+XYcChqiQOBWB13Y56vPiNQ2YRc0tkAxAhfb qQ4UfybW5t+ZqhrUMyGuO6KJsx3TssCMbwdKaPa/9d2e2oAg/sAdxNsParvSlx8vuC6j 9d0Nle+5FlTAoQA/XtA00s6rrAuDe0XAvr1eJeJHkRZ8Tsck32K03l1PFlP6NVDH3HKL 7uJO8u6qwIuCNQbkV3WFzcG8mwYubRoWoRaRy9dus16JW8LrqH4uUpEyE5XKBy3i58Y9 1hmw==
X-Gm-Message-State: AOAM531vXwWFq4VcWAycFDndCWRtEFRqkfcISjeG98XkMG67Di92mSua lhBxxupCrkPUNHMf6LsbB3N5D9aoPbU=
X-Google-Smtp-Source: ABdhPJw3Yc7H6DLb8e2Ss1tu4fuW37tNYUr8KpKcfd0Hy7BE9nmG7CpOF8U8f/oJBKPGW+lqJRsSwg==
X-Received: by 2002:a0c:e548:: with SMTP id n8mr5506328qvm.52.1607093546090; Fri, 04 Dec 2020 06:52:26 -0800 (PST)
Received: from [10.30.20.27] (pool-141-156-180-77.washdc.fios.verizon.net. [141.156.180.77]) by smtp.gmail.com with ESMTPSA id q62sm5267748qkf.86.2020.12.04.06.52.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2020 06:52:24 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: "R. Atkinson" <rja.lists@gmail.com>
In-Reply-To: <MN2PR13MB3567AB6566B5B2C8F3DBB4A59FF10@MN2PR13MB3567.namprd13.prod.outlook.com>
Date: Fri, 04 Dec 2020 09:52:24 -0500
Cc: "dtn@ietf.org" <dtn@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <79AB2C3F-D470-4381-9DDA-A3A3045140B6@gmail.com>
References: <MN2PR13MB3567AB6566B5B2C8F3DBB4A59FF10@MN2PR13MB3567.namprd13.prod.outlook.com>
To: Brian Sipos <BSipos@rkf-eng.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/QaLrgiQI8DZrUcHbqBHOemsdACY>
Subject: Re: [dtn] DTN time and RFC8877
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 04 Dec 2020 14:52:29 -0000


> On Dec 4, 2020, at 08:25, Brian Sipos <BSipos@rkf-eng.com> wrote:
> 
> I'm not suggesting any necessary changes, just questions about DTN Time as an intrinsic value (separate from the old SDNV or new CBOR encodings) relative to the aspects in RFC8877. I'm also not reopening the question of DTN epoch or leap seconds; those have been decided, and I'm looking to RFC8877 nomenclature for expressing those decisions.
> 	• Epoch, resolution, and units: These are already well-defined.
> 	• Leap seconds: There had been discussion on the mailing list about this and DTN Time does not consider leap seconds, though it does use a UTC epoch. This is not mentioned as explicitly as RFC8877 does for PTP, "This timestamp format is not affected by leap seconds."

Brian,

To avoid an unexpected interoperability issue if/when a Leap Second occurs, I think DTN time should specify how leap seconds are handled (or specify that they are ignored).  

I don’t really care whether they are ignored or handled, but I think it ought to be clearly specified what happens if/when a leap second occurs (or explicitly what doesn’t happen in the case of “ignored” leap seconds).

This is merely a matter of specification completeness.

> 	• Size and wraparound: The encoded syntax has its properties, but it's not clear from [2] whether the DTN Time intrinsically does also. For RFC5050 the DTN Time used SDNV with an explicit restriction to 2^64-1 (seconds) for BPbis the time is a 'unit' so also limited to 2^64-1 (milliseconds). You caution implementors about values larger than 2^32-1.
> Is there an intrinsic upper-limit or wraparound behavior to DTN Time?
> Is it okay if an implementation stores DTN Time in way (e.g., signed 64-bit int) which does not have the full domain of CBOR uint?

Again, I’m open to any resolution the WG or authors choose, but I’d like it to be clearly specified — whichever resolution folks prefer needs to be clearly documented so all
implementations will behave the same way.

> 	• Synchronization: The BPbis doesn't get into the level of detail as Section 5 of RFC8877 about what is required of BP agents. The one notable part of BPbis is that it does allow for agents with bad clocks to represent that as a DTN Time value zero, which has the special interpretation of "unknown time". This is more of a suggestion in Section 4.1.7 and not really a requirement of Section 4.1.6, so is DTN Time of zero really a special sentinel value or a legitimate encoded time?

Again, please clearly specify one or the other behaviour, but I don’t care which choice is made.

Thanks,

Ran