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

"R. Atkinson" <rja.lists@gmail.com> Sun, 07 July 2019 19:27 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 9B7CC12008F for <dtn@ietfa.amsl.com>; Sun, 7 Jul 2019 12:27:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w53xqej_VyPl for <dtn@ietfa.amsl.com>; Sun, 7 Jul 2019 12:27:17 -0700 (PDT)
Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (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 9BA4B120033 for <dtn@ietf.org>; Sun, 7 Jul 2019 12:27:17 -0700 (PDT)
Received: by mail-qt1-x841.google.com with SMTP id h24so16077122qto.0 for <dtn@ietf.org>; Sun, 07 Jul 2019 12:27:17 -0700 (PDT)
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=uGoY+xuqTy7VrdNtSACA9wve4KhNfwl9xFeOtx1V/cY=; b=aO8Rhqow1tQG0JZlBSgoQSNwrGUO1DAyaOsACoWT4utitkZd60lUMT7D91W9cK7P2M bVo9Ht+gjQ2pxf8oEEekqc9KNE07pxQ6pQlqbvyeRKILJFJgM0cq7+9nCktoVapvzCbD plkasUcKLgmXppM1ih34EeZaekx8C6nMW+oVDgk/ssalV/3qQgW+BteKrt6HuDNo6paP rEVvbt+rzCwXCkmvoXB1fNV6kt4IjoJBmsEYo10MvS2KlTRSdoPiXFLE7IcKxnyLK52I KUuspEUwJ6DFXdooIqE4qPMEWT/wXAS8WUeU0eb2r/FPhZ3OMjnLeKZONlCeNBlvUiYU dAlw==
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=uGoY+xuqTy7VrdNtSACA9wve4KhNfwl9xFeOtx1V/cY=; b=Ri3IG1zVbWpJ+g8AV6uOTuuNwUA2Cijk0N9GnidYK33idbfPJtEtXWTdzHTwA9oJfn YIiuADvQSoM6u7HCfm6rNn/jZqimol7EHpZHXj903wm0jNJQgqdG7Xk8wb80sASqbolI ifip8Iw6h06dwDRZpNJ6+39hTh+VAjhWB/qBrda8VfHmSgmHNnvZKTfrHSJGymFNv40Q yYFD3GrvHKSQZDpCNoO/7UO1UsnOJmJ8jg0Tx+RsRB4Eb/rppBaZQ2vMRuWNYNxkL9Uh X/Z86nFYqe3XQyRtAaFE4wf7YkHWvpQpiSJEnRtRrrYtosWhBK+dwDBrefcDuV441m5w to2A==
X-Gm-Message-State: APjAAAWeOCbLi8L0/FbTEHhLRFJmStP5+7pHfc0GEVr+db5apklt+jAn OxbtPBOhDFa0IXKzfq0EEL4=
X-Google-Smtp-Source: APXvYqwscq/bYwa5hwrQpcFFimTAX8szwdGR+LHtoJzZ9lCrRxfFc4/knPW21DI49+kDrF4+ucwvzg==
X-Received: by 2002:aed:2d67:: with SMTP id h94mr6626462qtd.154.1562527636692; Sun, 07 Jul 2019 12:27:16 -0700 (PDT)
Received: from [10.30.20.16] (pool-72-83-171-117.washdc.east.verizon.net. [72.83.171.117]) by smtp.gmail.com with ESMTPSA id y42sm9094623qtc.66.2019.07.07.12.27.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Jul 2019 12:27:15 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: "R. Atkinson" <rja.lists@gmail.com>
In-Reply-To: <HE1PR0701MB25224DF64B2B60A0C655E1CE95F50@HE1PR0701MB2522.eurprd07.prod.outlook.com>
Date: Sun, 07 Jul 2019 15:27:14 -0400
Cc: "dtn@ietf.org" <dtn@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AF8293C5-000A-4512-B779-561FE5D7393A@gmail.com>
References: <HE1PR0701MB25224DF64B2B60A0C655E1CE95F50@HE1PR0701MB2522.eurprd07.prod.outlook.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/n3r8uvUdteHCFawuwoPXr86zS9o>
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: Sun, 07 Jul 2019 19:27:20 -0000


> 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