Re: [dtn] DTN time and RFC8877

Brian Sipos <BSipos@rkf-eng.com> Fri, 04 December 2020 17:59 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 DA13B3A0E78 for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 09:59:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, HTTPS_HTTP_MISMATCH=0.1, 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 El_vXysXXhmY for <dtn@ietfa.amsl.com>; Fri, 4 Dec 2020 09:59:56 -0800 (PST)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2071.outbound.protection.outlook.com [40.107.94.71]) (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 E85823A0E6D for <dtn@ietf.org>; Fri, 4 Dec 2020 09:59:55 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cSpXVvnbKmlWlU4q/4STlCiGrEmcWQGxi/b9S9mGpVo5q3QFCw5MdnHxyXRtIiecOIS4KtXDyvi9C9dagV7R8aEPlcwJAcGZ6jS/QBrdR+HSlErtKP9ICHHSp2o7wMe/JLhSW+fwN4ZtAVzvnHWkjPe26Q2WhaFSGlBcnelPFf3nLGAJXD58EwDw7IWP59TK1ubgNGfHnhKpTJG0mJ/oDRapG4Z55ALrKqjG6G9DE+5We2tXY5WhbbralVlvpCfI9jW3iCsyGKdKhix/lBTssmJ/IXOzTHbBY5CGb1DoRo30Gm0gQp7E84QD0ICXWl+UK8Bo1FgZbL+GO1z8357Qiw==
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=6UbSCAHxxmyhmBM6z+7Qh6gS+6zykYRgz6foNq0LSpA=; b=n69yA/hBfock7qADsRA4JDl0w++o5NYXbXLwLGTDf7mCttKD3XvzED+QEA1fxoMARvgEYdjE4z2XSOUlyulLFOmM4yk3yC+PPP2KGy3lYLPb0WvJHSDSXiSWCQgskkYOdc9VwXPzcetD3P8JsTskYa5fZqub5ODexPcHQVDYBi0CklIjVENoHigB4CknCdZU1O3I6Tf61DND0l0A2rG4czy2ltUOAfX9JjbZLzviuoDMvS35AZJA4CPNqhP08YzdE3DDQGEEVQcYViP1aO7wikpH7AsjZrnVtNr04nekYPeaRx2QYMTZ9Wvu4K4rFt845NzTlTqh7orSoyUnObEF1Q==
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=6UbSCAHxxmyhmBM6z+7Qh6gS+6zykYRgz6foNq0LSpA=; b=VlMeMLC5IYQnEtee7baISKGZtEDpUdUqJ3aswMyc5Rq5wR/dvRY/j8LbWmrb4XW7IKNyjPdzFDy5HAXFWA7LxHh6y2cWXvfZYKLM0zm5Jjm12LwQMNjtslBADGEr/DNPcslsQp9k+oDZoGuqjwcDFcPoAsBpaAz3SFlhyI/9Fko=
Received: from MN2PR13MB3567.namprd13.prod.outlook.com (2603:10b6:208:168::10) by MN2PR13MB2685.namprd13.prod.outlook.com (2603:10b6:208:e9::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.5; Fri, 4 Dec 2020 17:59:52 +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 17:59:52 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov>, Carsten Bormann <cabo@tzi.org>, "R. Atkinson" <rja.lists@gmail.com>
CC: "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] DTN time and RFC8877
Thread-Index: AQHWyjswWTgpX7Avn0u6jPsMDgwrWKnnBbAAgAANjoCAAAJraoAAGhsAgAAE9Ms=
Date: Fri, 04 Dec 2020 17:59:52 +0000
Message-ID: <MN2PR13MB3567EFBED8E8524EDA6D97D39FF10@MN2PR13MB3567.namprd13.prod.outlook.com>
References: <MN2PR13MB3567AB6566B5B2C8F3DBB4A59FF10@MN2PR13MB3567.namprd13.prod.outlook.com> <79AB2C3F-D470-4381-9DDA-A3A3045140B6@gmail.com>, <79172DA3-C10C-439F-A31D-40F21ED9F503@tzi.org> <MN2PR13MB3567FC3F22BCF58531A709329FF10@MN2PR13MB3567.namprd13.prod.outlook.com>, <f99ddda56ee646a9bbc74514b91a4615@jpl.nasa.gov>
In-Reply-To: <f99ddda56ee646a9bbc74514b91a4615@jpl.nasa.gov>
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: a05c07b9-ada8-4f03-b938-08d8987e665c
x-ms-traffictypediagnostic: MN2PR13MB2685:
x-microsoft-antispam-prvs: <MN2PR13MB2685678A9A87EC9ED7EBC6949FF10@MN2PR13MB2685.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ITJgsZtKnEa4HZ1cQyrngc2kygXggE4GJrFKiMdS2P2axdSbhE75Z6y//3m9NCoehNej+BjiXhBJfMMP/OIBD10VbqTqSU/sbwST3g7mdaW/Oe3ET3RC03nS+YLevw8e4qhmtRXrvTX0+685TjiXmlvgpn29gKl9MuuRFyVB8HkS0gsV89QZHn0sVP+ot+Ny/IdE0kPpACjNZinEvvvglxTkdotj7aXHDWFde7aajlWfHOomqWcNz67DyWQInYey8TJXatl0nm12cR8b5tRbIjyaTq3CBMvhYcHkUYxe/HZB8XwWXy3pfjPexJV8SOjZFt/VGJh0NVpvpUs1fhFXAe3AgRQj4Bglcp3dFoJRC6A3e9KTYeGHbg+HSCh98wU+NEo82ULdP9jjHJLKZrkRJpRf6ScOtq6ZELDZeQecPn2x12fLEJMQxhpEqgTQhIxF5QD0H7+uXwVz+oDJj7e2eQ==
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)(346002)(366004)(376002)(396003)(136003)(83380400001)(86362001)(8936002)(8676002)(33656002)(966005)(478600001)(26005)(2906002)(53546011)(166002)(6506007)(186003)(7696005)(110136005)(55016002)(9686003)(316002)(66946007)(71200400001)(4326008)(5660300002)(66556008)(64756008)(66476007)(52536014)(76116006)(83080400002)(19627405001)(66446008)(19627235002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: LJjUA0uHZFJNGNVShAoVS3czqM33onESeOj695cQ2a7TeM0j0Sv9qqpdSc8uantdqQVL+7KvjeRDN7JqJTHMsN5Re9YYAgr+pn7YoILmctOOKjuLNbg1op9fKFruZpbXWmj9NDbaOahHV2Ibwg8aDkYTUIP7/gtrxn71oYLGee55c5LJEqQljxtqj+hXFJQsVyXqyUkB3AZy6Mj4RNWf8PbIYbhTI7nNSC5rnpry9A4n5ZGlP6Y1OowVn0hAUzPKhHxz9oKWAGqSoc3Lzu2dIEC87F/mEoiZPcNvuiD9n01U6Y0jBHpujg0WNu3Kn8uROUqtTu3mlQKRbvnUrJEccEP+7l+zthY5kapydf5+0OKT+2W5ZIQ8vYv/w0IZHVta+xqeavvkHRe87zOpqRmtlmuKnYq+osqSqq/T2Rll3gKdcQAj5egi02sfxvYqD147j6QA/2gSq6cAAv2O+U3yElBLQjv3Wa8iRpPQJGC29cQr6QTOw0luw1tf0KgOuSu4a+QylxuU76heGjLN7BFYdXYL1MbBa26TdKlOdQK9vpxCATNqgAj7lcl6oojL9wMtn1Wv0X8Aaf3uakz3lV28tZdW9PeJOzSVIqJhiuOOQp+4pLVX/x2ctxs4vqJ6cs1xF9pPnnqshKYuwHbLnB+erxFlG89otZ1z3jj8Z4IW/rV/B+g/33mjlnuKpKy773O44zBesHHDoGfc2uMdIzMvsS9OwKYlqs4iwAViOgORWcwlpOKrHpj2N2lZN8+AOHePwzD13T62hy3o/lbxewmWQDhk1PFpFVf99joCE5OcHK65LCz8K7JEqycJszbqbFbcLiIikOOLCWGI0HvmExcVrNiNuMm24iua2v0AZS5O0y///XPVrd1nQZ9qYiegzdEFq9j7qJWcdXto/Fu9d9GMjcb3j4LJxs2OkLkYWnr3FA9E7YtuZeuuAfEUYCNh5E0VfqVOHcQ5cSc3pEEJhjui8m0YdGF0lxVUbEemboHKGWQ=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3567EFBED8E8524EDA6D97D39FF10MN2PR13MB3567namp_"
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: a05c07b9-ada8-4f03-b938-08d8987e665c
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2020 17:59:52.2689 (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: Zxvg2eHcXFQ3VCsFRZ8qNriMzzrGp3wxjOSbTiJeH9RFp1oixlw+AhWvHTsuzVnRmjgrg76zDlGCA2mpyLFUHQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB2685
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/WpqRwk41fOQR1TnpDcMnU_uiCgw>
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 17:59:58 -0000

Scott,
Your last revised text (in that email) is okay, except that I think it's best to avoid "unix time" or "unix epoch". Both "UTC" and "unix time" have a lot of baggage beyond using them as instant-of-time epoch references. And implementations of unix time seem to do all kinds of funny things that're not strictly in the specs.

Carsten,
The statement "... is not affected by leap seconds." is specifically the recommended language of RFC 8877 for describing this situation. DTN time uses a specific epoch instant as a zero reference and then uses TAI/UTC rate-of-time as its unit scale.
________________________________
From: Burleigh, Scott C (US 312B) <scott.c.burleigh@jpl.nasa.gov>
Sent: Friday, December 4, 2020 12:23
To: Brian Sipos <BSipos@rkf-eng.com>; Carsten Bormann <cabo@tzi.org>; R. Atkinson <rja.lists@gmail.com>
Cc: dtn@ietf.org <dtn@ietf.org>
Subject: RE: [dtn] DTN time and RFC8877


Brian, I think it’s actually not all that unusual: it’s exactly the way the time() system call is defined on the time(2) man page.  Unix calendar time is a simple count of seconds, just as TAI is, and the starting point of the count is a moment in time that we commonly identify as a time value on the UTC time scale.



It's true that TAI and UTC both advance at the same rate, one second per second, but the offset between TAI and UTC changes as new leap second adjustments are made in UTC: as each leap second is declared, the offset between TAI and UTC increases by 1 second – TAI advances by 1 second and UTC does not.  In my proposed revised text I said “DTN time is not affected by leap seconds.”  Does that address your concern?



Scott



From: dtn <dtn-bounces@ietf.org> On Behalf Of Brian Sipos
Sent: Friday, December 4, 2020 9:10 AM
To: Carsten Bormann <cabo@tzi.org>; R. Atkinson <rja.lists@gmail.com>
Cc: dtn@ietf.org
Subject: [EXTERNAL] Re: [dtn] DTN time and RFC8877



Scott,

I think the current statement is fine, it's just unusual to mix UTC-the-datum with TAI-the-lack-of-leap-seconds.

Because TAI and UTC only differ by a time-varying offset [1] but use the same rate, these two are identical statements:

  1.  "time elapsed since the start of the year 2000 on the Coordinated Universal Time (UTC) scale" which is what BPbis currently states.
  2.  "time elapsed since 32 seconds after the start of the year 2000 on the TAI scale" which accounts for the TAI-UTC leap second difference of 32 on 1 Jan 2000.

In either case, a statement such as the RFC8877 phrasing of "DTN Time is not affected by leap seconds." would add clarity to the situation without affecting the current agreed requirement text.



[1] https://cdf.gsfc.nasa.gov/html/CDFLeapSeconds.txt<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.us%2Fv3%2F__https%3A%2Fcdf.gsfc.nasa.gov%2Fhtml%2FCDFLeapSeconds.txt__%3B!!PvBDto6Hs4WbVuu7!au7pNhZH89rogLdZXrVRil2SNQj43GU3wk2GEVPxFbfnbJc0enzoIwG6JJkLTO6LGLz7VB40fAU%24&data=04%7C01%7CBSipos%40rkf-eng.com%7C34669fd5ab7740e52fb108d898794261%7C4ed8b15b911f42bc8524d89148858535%7C1%7C1%7C637426993859020246%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=286lwpqaYG0s9nlF9KZWHdgUWrs2CFPxa0RnxP9P8zA%3D&reserved=0>

________________________________

From: Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>>
Sent: Friday, December 4, 2020 10:40
To: R. Atkinson <rja.lists@gmail.com<mailto:rja.lists@gmail.com>>
Cc: Brian Sipos <BSipos@rkf-eng.com<mailto:BSipos@rkf-eng.com>>; dtn@ietf.org<mailto:dtn@ietf.org> <dtn@ietf.org<mailto:dtn@ietf.org>>
Subject: Re: [dtn] DTN time and RFC8877



On 2020-12-04, at 15:52, R. Atkinson <rja.lists@gmail.com<mailto:rja.lists@gmail.com>> wrote:
>
> (or specify that they are ignored).

You can’t say just that, because there are two ways to handle “ignoring” leap seconds, and when you say they are “ignored”, you don’t say which one.

(One way of “ignoring" leap seconds is to stay in TAI, which has no concept of leap seconds.
The other way is actually being cognizant of them and doing work to “ignore” them, i.e., reset the clock after each of them.  This is what UTC does to be able to “ignore” leap seconds.)

Grüße, Carsten