Re: [dtn] AD evaluation of draft-ietf-dtn-bpbis-13

Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 08 July 2019 07:30 UTC

Return-Path: <magnus.westerlund@ericsson.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 9F7FC120118 for <dtn@ietfa.amsl.com>; Mon, 8 Jul 2019 00:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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=ericsson.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 w0l9JUXKsZta for <dtn@ietfa.amsl.com>; Mon, 8 Jul 2019 00:29:59 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0610.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::610]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C466120106 for <dtn@ietf.org>; Mon, 8 Jul 2019 00:29:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aixJ5szK5KKZEMaPDtqpNqMJ2J3aeUaNIDrtorUREzhjAVRD+H5dCbbVNwzVEuvmKTQ+rp0bWwvnOajLFc3tIfuPTOTGVA2h+B10lwADvndR7RLpW2fV7G5c9KXv+MR53phSMkNK9ck5fprjd7yhgCIOF2AJOuG9FDsNLGcW/giIL5qLoRBHlmpot2K0SCGtApKcV7q+1qEXjR5nHFcA/ebioNPeBGqd4D+FjGfGO1BayE3zGIC+e0a34fTo7j3qw3uxBTnEI8tWjo49uVJrYGUFVGzN+BhVkMPPSCnmgTMB5DClTxALjBCHC1uPMmiOyy5CV6qcBzvqOgpQNnyrIQ==
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=xjIrq7LmqsPATza9L0JZxHAT1dFk4Oees/KN0TRxt6s=; b=CgNuN4GFcHO2YDVLgCsNgLW1TqTO+yi48IzjZJjW0lI//8Y0D6Aml9e0JeAfN3EDUq06E+SutuB9nx2GUOhsJM7XCEtVMCLdU5TtYuZupeGR8L7OQFrrx78LR3Qmnm1YETBWaj4YO2pJ8olB6m+2ZGXWNIyWNIhzYoE+If98UoA0uwAd9p1ZVCJ4UnN9uvaFlynC03BMTHXWTBcyWbENL0xvj2Hyr14ompN2yit55QnyrF4/0W4rxAtrpIm4WeObDmFD6btVHV9JgqkuHW1nMeaLuNSm1gHKEKJdblvbUxvDp20ri9h2Su8Bk3cVyBiU/Exezr0dXTTgg+2SyVd+cg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ericsson.com;dmarc=pass action=none header.from=ericsson.com;dkim=pass header.d=ericsson.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xjIrq7LmqsPATza9L0JZxHAT1dFk4Oees/KN0TRxt6s=; b=Gv8d4W0+oGHLOxuTERMb8OG0z/GVJ3pB3TEicquJ2Wl3j+j/bo/GCJ8htG/6z8gczUoS806cmZT7rGqYJIvgbsmCTSgRzorAOUAmsUCGheLkt1M+DqFOax7E4xYIwC2B0E+A4zBrRHXRUhqNdOReM0Wzvd3HnG6ZtT5SNmExfLo=
Received: from HE1PR0701MB2522.eurprd07.prod.outlook.com (10.168.128.149) by HE1PR0701MB3034.eurprd07.prod.outlook.com (10.168.93.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Mon, 8 Jul 2019 07:29:56 +0000
Received: from HE1PR0701MB2522.eurprd07.prod.outlook.com ([fe80::3418:2814:2ee2:a22b]) by HE1PR0701MB2522.eurprd07.prod.outlook.com ([fe80::3418:2814:2ee2:a22b%4]) with mapi id 15.20.2073.008; Mon, 8 Jul 2019 07:29:56 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "rja.lists@gmail.com" <rja.lists@gmail.com>
CC: "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] AD evaluation of draft-ietf-dtn-bpbis-13
Thread-Index: AdUzOQfkywWzmEnHT4iyH8+qUympAQBwPMcAABk9S4A=
Date: Mon, 08 Jul 2019 07:29:56 +0000
Message-ID: <85207ada98b21ac1b72b14bb16017de9adf1ebbf.camel@ericsson.com>
References: <HE1PR0701MB25224DF64B2B60A0C655E1CE95F50@HE1PR0701MB2522.eurprd07.prod.outlook.com> <AF8293C5-000A-4512-B779-561FE5D7393A@gmail.com>
In-Reply-To: <AF8293C5-000A-4512-B779-561FE5D7393A@gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=magnus.westerlund@ericsson.com;
x-originating-ip: [192.176.1.87]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cc4996a5-02ec-430d-45d4-08d70376138b
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:HE1PR0701MB3034;
x-ms-traffictypediagnostic: HE1PR0701MB3034:
x-microsoft-antispam-prvs: <HE1PR0701MB303437058D67E80CB1E3E53895F60@HE1PR0701MB3034.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 00922518D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(366004)(376002)(199004)(189003)(4326008)(73956011)(66476007)(66556008)(66616009)(66946007)(229853002)(99286004)(6246003)(2501003)(2351001)(5660300002)(25786009)(53936002)(36756003)(99936001)(44832011)(76116006)(64756008)(66446008)(86362001)(2906002)(2616005)(486006)(186003)(476003)(66066001)(118296001)(7736002)(478600001)(966005)(6512007)(6306002)(6916009)(256004)(11346002)(14444005)(305945005)(446003)(5640700003)(316002)(76176011)(8676002)(26005)(14454004)(71190400001)(71200400001)(102836004)(6116002)(53546011)(3846002)(8936002)(6486002)(81156014)(81166006)(6436002)(68736007)(1361003)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0701MB3034; H:HE1PR0701MB2522.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: NqMzA1a75KMcBOBWiPOI9NlYIo0HvBSZqovcInd/o40xjj5cihsNoDjsWHAweyRvqz74ODEOqn4cUI9pDmZu7nPSgWbNQYLJKsluWrwFqEZF8N48F5kUv0c6eAriFBLko/j00bfiO9DF1Ig7hjwAdKmD9hhqndLObC1A3+N1K63XUSExoF0rGKqfx14SGWMHESANY9jJcOWsPCDOICHlQWwcdqzpazIwNytQVLQCETFn7Js0PcP5S6itZQiKnPg2voNOpT+DqD35H40vuKajoAAcpWPkwB1NUrlMAoRItLm3DrO3/UKoB9Rzn7CyYChT4U29asSeyma1NH+Yy4i7zHQsBR9MJAGHOoC4OIwnk3cl/SnEVQsDaaia99LpUFEkxEbrsFt2d6/BG6JdooWrlYkyYshnOSkzn0jTlwnVmqo=
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-xyyQk3EJ3oG/o69eqq5E"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cc4996a5-02ec-430d-45d4-08d70376138b
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 07:29:56.3523 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: magnus.westerlund@ericsson.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB3034
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/FkSAqZzExh5NK-u10NSKNWT8-fg>
Subject: Re: [dtn] AD evaluation of draft-ietf-dtn-bpbis-13
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: Mon, 08 Jul 2019 07:30:03 -0000

Hi,

I also had some private discussion with Scott Burleigh on this matter
of the clock. What we concluded is that the current clock using Unix
Epoch time adjusted to start 2000 appears fine for the current usages
in DTN. The only implication is that during a positive (added) leap
second, both the leap second and the second before will have the same
seconds since value. Nothing BP can't handle. And during negative leap
seconds the clock will simply skip over that last second of that day.
Neither appear to have any real impact on the protocol. 

However, how leap seconds are handled need to be documented and a
normative reference to the clock needs to be provided. 

Regarding Ran's comments below and my comment regarding 64-bit unsigned
integers. You simply need to document what is expected to happen here.
If you continue to use the seconds since year 2000 started then I
really think you should allow 64-bit precision. The reason is that any
system using this system still will have to know the NTP era, i.e. how
many wraps the NTP 32-bits seconds have done to correctly populate BPs
time field. Note that BP time has one wrap around day for a 32-bit
counter, NTP has another and Unix Epoch time a third. Thus tracking the
wraps becomes necessary, or at least knowing that one have a clock
system that will know the year correctly to derive the era. 

So my comment here was really one part failure to understand your
requirements and one part this is insufficiently specified. 
I now have a better understanding of your considerations, so fixing the
insufficiently specified is likely all that is needed. 

Cheers

Magnus Westerlund


On Sun, 2019-07-07 at 15:27 -0400, R. Atkinson wrote:
> > On Jul 5, 2019, at 10:06, Magnus Westerlund <
> > magnus.westerlund@ericsson.com> wrote:
> >  
> > 2.       Section 4.1.6:
> >  
> > I think the format and definition of this field are insufficient.
> > It is lacking a reference or a normative description of what "Unix
> > Epoch Time" in an unsigned int format actually is. Is the intention
> > here to simply measure the number of seconds since the start of
> > year 2000? Which Unix epoch time is not due to leap seconds. And I
> > become uncertain as UTC time scale is something else than Unix
> > Epoch time at least when it comes to leap seconds handling. Due to
> > that Unix Time have discontinuities in the time scale at leap
> > seconds I would recommend strongly against using it. Select UTC or
> > TAI depending on where you want the leap second handling pain to
> > exist. 
> >  
> > Also, you specified only CBOR unsinged integer which is a
> > representation that can use 64-bit and thus not have the issues
> > with 32-bit signed integer seconds epochs that regular unix time
> > has, but that should probably be made explicit that it is expected
> > to handle that. Even if the first wrap of this unsigned 32-bit
> > format will not occur until 2136. 
> >  
> > And please provide necessary normative references, not informative
> > ones. 
> 
> Nota Bene:  I understand that DTN is not mandating the use of any
> particular time synchronisation protocol by a particular DTN
> implementation.  I agree that such is a system time implementation
> decision is outside the DTN protocol scope.
> 
> That said, in the context of widely deployed IETF standards for time
> synchronisation, I wonder whether the right answer really might be to
> specify that this DTN protocol field contains “Time as defined by the
> IETF Network Time Protocol (NTP)”.  NTP is derived from UTC, but its
> epoch is not “seconds since start of year 2000”.  Note also that NTP
> ought not crash in 2036 (which is a common misconception).  Further,
> while Unix systems often use NTP, NTP time is not necessarily
> precisely the same as "Unix time".
> 
> Quoting from Dave Mills (who invented NTP):
> 
> "However, the NTP protocol will synchronise correctly, regardless of
> era, as long as the system clock is set initially within 68 years of
> the correct time.”
> 
> URL for above quote:  "
> https://www.eecis.udel.edu/~mills/ntp/html/warp.html"
> 
> For more about NTP time eras, please see the article by Dave Mills
> which is online here:
>       "https://www.eecis.udel.edu/~mills/y2k.html”.
> 
> The main alternative standards-based  implementation/deployment
> alternative to NTP might be to use time as defined by Precision Time
> Protocol (PTP), which is derived from TAI.  
> 
> A 3rd possibility is to pick something consistent with CCSDS’
> Proximity-1 protocol.  Mills discusses Proximity-1 here:
> "https://www.eecis.udel.edu/~mills/proximity.html"
> 
> In the context of Delay-Tolerant Networking, the clock precision of
> PTP likely is significant overkill, while the lower precision of NTP
> might be more reasonable.  Further, in the context of Delay-Tolerant
> Networking, consistent definition of time matters but the presence of
> leap seconds does not create issues (after all, DTN is supposed to be
> delay-tolerant).
> 
> Maybe just go with NTP time and normatively reference the NTP RFC,
> possibly also with informational references to some of Dave Mills
> documents ?
> 
> What do others think ?
> 
> Yours,
> 
> Ran
> 
> 
> 
> 
> 
-- 
Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Network Architecture & Protocols, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------