[dtn] DTN time and RFC8877

Brian Sipos <BSipos@rkf-eng.com> Fri, 04 December 2020 13:25 UTC

Return-Path: <BSipos@rkf-eng.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 5CDC43A0CB9 for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 05:25:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rkf-eng.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 WJwrTXpdT9M0 for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 05:25:51 -0800 (PST)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760078.outbound.protection.outlook.com [40.107.76.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0FA9D3A0CB1 for <dtn@ietf.org>; Fri, 4 Dec 2020 05:25:50 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I8ChT8DBYNnpJJult9N9/XjC67uQBLTuIdjI7/gLEoIN88Q7A71rwUQVfrQ1mlLAgLzB1KdW0qToEilYLyTUn05tlA95aVgHIOYL9s3862wO8WAByB1EqdbGBTrIdGYCkuTG3dxsXEaYdD2TO7OF2HWBbslhIcR5Fg/y6uvla8wNpW1qNuRGee0eCsMAto3JDJyKybOXCeNANWIBlG9th0RP2IslCh6DleUOq8QLYaF07PmAN3q8+mUHZvh/LgolKHMl0VWUVJSGz/u8IP60dJDD4FLkAclD9p0Bev20jnM8I0TXOhVKXUqc9q7UAb+Fxjlz9rxgD6Cgd3JHSNcfag==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W8Q4BKPq+MNiS6BiPIzztL4m1ZQMpKarae2bYnXuWE0=; b=iUf6bdjviiG+zgECyhFLGbML5DimUitNhSO9le/fweYgvULNSBjbTGYzEj536ni/BVqWhtjzDtmfgsw6hXsKS+yD8Gh8Ffd95swwJBVc7dE/ZkiNbD7T6Nr4uDxIW6Mj4rktVw3Uh/mXNeDvb1B5UlGq13tftGbFar9OtyCuFilwygKSsnnRofceqB1bN1Mq8EyC5UEVxYPWkEZQPGVm2+udcPxjtRZsB2WvuTo4MoBoorBWmyJ27S2R32COuF9Don8VYnsynM7cSSqykLMzcGFd4mx0rQkC8tteEaRl6a6RT+/rghIbun84Zvi0b0G2WtsgGyBEjyG5dM7qW6Cdqw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rkf-eng.com; dmarc=pass action=none header.from=rkf-eng.com; dkim=pass header.d=rkf-eng.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rkf-eng.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W8Q4BKPq+MNiS6BiPIzztL4m1ZQMpKarae2bYnXuWE0=; b=TYx3ljdWXko16CLeJLpjKXQkShPstve5u64CcxyP0BNV2m3Qx0FVmt1dCa/xLO5IWGN3ZJ/37T6oluHfAbItf2NMlkwScQk5BPrc+SWMepqAlNEeNydZFVsQ4U11QgGfSvqcsicAtBPjz5IIO6ZUnvHx9FV5JIbLgpJr3PLCzG4=
Received: from MN2PR13MB3567.namprd13.prod.outlook.com (2603:10b6:208:168::10) by MN2PR13MB3630.namprd13.prod.outlook.com (2603:10b6:208:1e2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.6; Fri, 4 Dec 2020 13:25:45 +0000
Received: from MN2PR13MB3567.namprd13.prod.outlook.com ([fe80::54f4:962e:10e5:a2e1]) by MN2PR13MB3567.namprd13.prod.outlook.com ([fe80::54f4:962e:10e5:a2e1%7]) with mapi id 15.20.3632.009; Fri, 4 Dec 2020 13:25:45 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "scott.c.burleigh@jpl.nasa.gov" <scott.c.burleigh@jpl.nasa.gov>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: DTN time and RFC8877
Thread-Index: AQHWyjswWTgpX7Avn0u6jPsMDgwrWA==
Date: Fri, 04 Dec 2020 13:25:45 +0000
Message-ID: <MN2PR13MB3567AB6566B5B2C8F3DBB4A59FF10@MN2PR13MB3567.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: jpl.nasa.gov; dkim=none (message not signed) header.d=none;jpl.nasa.gov; dmarc=none action=none header.from=rkf-eng.com;
x-originating-ip: [96.241.16.84]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a4f1227d-fa67-48ff-cc18-08d898581b28
x-ms-traffictypediagnostic: MN2PR13MB3630:
x-microsoft-antispam-prvs: <MN2PR13MB36302346BAC1F21BEF87E4069FF10@MN2PR13MB3630.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /mGiiyq5iDz/9CfPe5e22uj7rRMjf0Sod/2LIWuqphMRhPd08AEp/lknFdKoevUD7JSKnVqXUn/PBlBsjcpqX7Zm/USAhXl5XxU38zsmfFYT/Bv8dWZ5XQU93WGxY1ZstwfU62rzWqyN5clJRT25TtmxUGIbpr8hsPVIyAXjisoRVn+zoyjbe4qEySuxa6yDfRsHuEBPm/yxkRcL37vKyzu6EgxmoLoDm8hjZ/buRPvGK+jMB92GCawk+nbeUCqfCsTcHjduWvUsy95rB7OF+hMbtrFOrkt3DqPrn8HLPpZecad1UsvgkydGygar1VcYg8LoXbcM2Y0yePBDcnnwkW4tRif33227WllxU6ArJrJCWHZnwhnyKJ9fs1ECuK29t35qt9QLQPi00niAdHKNrg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR13MB3567.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39830400003)(396003)(346002)(366004)(376002)(136003)(64756008)(83380400001)(33656002)(66556008)(19627405001)(5660300002)(76116006)(86362001)(66476007)(66446008)(52536014)(71200400001)(66946007)(166002)(26005)(7696005)(478600001)(110136005)(2906002)(966005)(8936002)(186003)(6506007)(9686003)(8676002)(55016002)(316002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: v/okPLioA2Y8heCDoB7fPvvr7+KP3XWb0d/tlkJU5FU1RYo9t5CT8CZtbCPuCR4MDqXamqNxCwCun1Lybk8QNr9IehIT2jBjSctUUwYoWxUgCynOOsAJEQtDOJdpelsYyA+paLNqu3hlsT1EnT7jyyFRGXl1UATOYFoJMuGeaYP14GGYCAiGKyjr8FSIoWErw9KXL9RhykLS58ZeJhuprEzu8Q9lg3sbQqp5xqs2W+idv+ZFUJn0tYArTTMkji69jmFJXYBEiCuz3NNab4ulS4bo5D9tYUVLF+CwASDDMzu2twAqSy9RK1j6FGHWWHBnlOxoGqnV9Mp9+/GViQVJhsri47kDEt5H4DzkUjtJVUiNZNUVLf+E+RZ3NqddUTpJsN4xdWiK0DmtlQfqR6pgGouxUbE4wk9tNtL9oRQYlXERnjgGc8cWFQRDWVctAm0i9QIuL1Vgj+wjQepaOGklyqFKw94X6j24cyUwT0ZBeaQnEHyidIR3LnmHAvth4nKVR6SIykL7MZc7q0mP2s/JeCnGvS4LTMXuKQDY80jCCKEW3bEvmCCh2r+ajMhddlzVyN5lhXo0hULolc/Pxj1CGhtG/Vp8gB5d7GSx6ZNvNfKZfNE8Y6wQXRX6hb/5VIRY1xJHq20C8NWYdXS46hOyROsCDhhK/m+a/mDpROQsm90NMJ+A5svD7uu9a6lZZoqNFuaYRKwrZ55qNOwsydWovr0lBdjZVjj/xAZU+fgcS+0aBiRmGTolFLsIAaMa/qzpuLzeNc+rPpiWp9P03ylX12cFsMc+WybOqNQodvoaOBlYyQwFKn8E6+aR6iiPfQ6JMzLiCmxemAPug4uy/Y7ZGkTyy16bX+PLJlirAuQYUXrXKCRN1kYklCFFuTPnXRHAgcmv7cm/EtYIOebVMV2hMIfyMujAI88FqThM5HZtdqaQssL9zb4w06LoaOnJYrJl0sZoPhh6ey93Qj4IASewME5DeNh/lmR6B/S5lnUeLY4=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3567AB6566B5B2C8F3DBB4A59FF10MN2PR13MB3567namp_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3567.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a4f1227d-fa67-48ff-cc18-08d898581b28
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2020 13:25:45.0878 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4ed8b15b-911f-42bc-8524-d89148858535
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 1vpLw5v4jxHOoU72iMazpDJU/1eiQvnRzvdEez4zSpqPNyVxadxGxExfBc2THvuyY+nFDDrSr03ASRXC1YLlOA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3630
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/400n8FHOfxC4_c96v2vL3zSQQnE>
Subject: [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 13:25:53 -0000

Scott,
Addressing to you since is directly a question on BP spec, but any BP implementor is also welcome to speak up.
A new recommendation for what to include in IETF specifications using timestamps is RFC8877 [1] and brings up a couple of points not addressed by current BPbis section on DTN Time [2].

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."
  *   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?
  *   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?

Thanks for any feedback,
Brian S.

[1] https://tools.ietf.org/html/rfc8877#section-3
[2] https://tools.ietf.org/html/draft-ietf-dtn-bpbis-29#section-4.1.6