Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Message Format

Dan Drown <dan-ntp@drown.org> Fri, 26 November 2021 03:18 UTC

Return-Path: <dan-ntp@drown.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF5763A0769 for <ntp@ietfa.amsl.com>; Thu, 25 Nov 2021 19:18:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.809
X-Spam-Level: *
X-Spam-Status: No, score=1.809 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 OR-58s_8CtUv for <ntp@ietfa.amsl.com>; Thu, 25 Nov 2021 19:18:39 -0800 (PST)
Received: from vps3.drown.org (vps3.drown.org [IPv6:2600:3c00::f03c:91ff:fedf:5654]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFF0E3A0766 for <ntp@ietf.org>; Thu, 25 Nov 2021 19:18:39 -0800 (PST)
Received: by vps3.drown.org (Postfix, from userid 48) id 9D0EC2FCA8B; Thu, 25 Nov 2021 21:18:38 -0600 (CST)
Received: from 2603-8080-2709-c400-e1af-bf84-8740-1498.res6.spectrum.com (2603-8080-2709-c400-e1af-bf84-8740-1498.res6.spectrum.com [2603:8080:2709:c400:e1af:bf84:8740:1498]) by mail.drown.org (Horde Framework) with HTTPS; Thu, 25 Nov 2021 21:18:38 -0600
Date: Thu, 25 Nov 2021 21:18:38 -0600
Message-ID: <20211125211838.Horde.B6KZzBvmcXd79vBLQemYwkA@mail.drown.org>
From: Dan Drown <dan-ntp@drown.org>
To: ntp@ietf.org
References: <20211123131501.Horde.ErUH7VWw3Nr2PFkAGzGIEuI@mail.drown.org> <20211124223810.Horde.KKjrsykVQUMJgW4WVO5ZZmt@mail.drown.org> <YZ9ZADfVlh6z9I4N@localhost>
In-Reply-To: <YZ9ZADfVlh6z9I4N@localhost>
User-Agent: Horde Application Framework 5
Content-Type: text/plain; charset="utf-8"; format="flowed"; DelSp="Yes"
MIME-Version: 1.0
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/PuuFOqBREoB-awfwWJBELBnERAE>
Subject: Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Message Format
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Time Protocol <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2021 03:18:42 -0000

Quoting Miroslav Lichvar <mlichvar@redhat.com>:
> On Wed, Nov 24, 2021 at 10:38:10PM -0600, Dan Drown wrote:
>> For timescale offset, there is an overlap with the unknown value
>> (0x8000/-1.0 seconds) during a negative leap second smear. Is this worth
>> mentioning in the rfc?
>
> Hm, good point. I think it depends on when the leap smear starts.
> There is no +1.0 value. If we define 0x8000 in time16 to mean unknown,
> at least it would be symmetric. +1.0/-1.0 would be rounded to
> 0x7fff/0x8001.

Ok, that rounding makes sense.

Oh, and another thing I've seen people mess up is which sign means  
which clock is faster.  The time formats specify:

* "it is the TAI-UTC offset"
* "it is the UT1-UTC offset"
* "it is the current offset between the leap smeared time and UTC"

Maybe these need to be reworded to be more explicit and follow the  
same phrasing? Something like

* "it is TAI minus UTC"
* "it is UT1 minus UTC"
* "it is the leap smeared time minus UTC"