Re: [Ntp] Antw: [EXT] Re: New Version Notification for draft‑gruessing‑ntp‑ntpv5‑requirements‑03.txt

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Tue, 19 October 2021 09:43 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 D8B323A09D4 for <ntp@ietfa.amsl.com>; Tue, 19 Oct 2021 02:43:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 nHNjOZ8tPbkZ for <ntp@ietfa.amsl.com>; Tue, 19 Oct 2021 02:43:29 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [194.94.157.148]) (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 166743A09CE for <ntp@ietf.org>; Tue, 19 Oct 2021 02:43:28 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id DABE96000055 for <ntp@ietf.org>; Tue, 19 Oct 2021 11:43:25 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id C15E5600004A for <ntp@ietf.org>; Tue, 19 Oct 2021 11:43:25 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Tue, 19 Oct 2021 11:43:25 +0200
Message-Id: <616E933D020000A100044957@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.3.1
Date: Tue, 19 Oct 2021 11:43:25 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: mlichvar@redhat.com
Cc: james.ietf@gmail.com, "ntp@ietf.org" <ntp@ietf.org>, doug.arnold@meinberg-usa.com
References: <163386015957.12424.6997038478834885480@ietfa.amsl.com> <CAO+dDx=6baLhf9LwSMvR1F0ieuLO6NXmExYLDvcCF2tgchHs8w@mail.gmail.com> <DB8PR02MB5772AC97BFE2D7C1139EFDC0CFB89@DB8PR02MB5772.eurprd02.prod.outlook.com> <E469D9A7-7445-49D9-A8A2-82BA7BF1FA27@gmail.com> <YW2FvUiaHC/hbxkG@localhost> <616E7B69020000A10004491E@gwsmtp.uni-regensburg.de> <YW5/KqAZdI+EmlTn@localhost>
In-Reply-To: <YW5/KqAZdI+EmlTn@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/y9FP69jtfRt_x45oWarYeT7vD_w>
Subject: Re: [Ntp] Antw: [EXT] Re: New Version Notification for draft‑gruessing‑ntp‑ntpv5‑requirements‑03.txt
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: Tue, 19 Oct 2021 09:43:32 -0000

>>> Miroslav Lichvar <mlichvar@redhat.com> schrieb am 19.10.2021 um 10:17 in
Nachricht <YW5/KqAZdI+EmlTn@localhost>:
> On Tue, Oct 19, 2021 at 10:01:45AM +0200, Ulrich Windl wrote:
>> >>> Miroslav Lichvar <mlichvar@redhat.com> schrieb am 18.10.2021 um 16:33
in
>> Nachricht <YW2FvUiaHC/hbxkG@localhost>:
>> 
>> ...
>> > Same for UTC vs TAI.
>> 
>> I thing the TAI offset (whole seconds) should be part of every NTPv5 timing

> packet. So we can keep the old timestamp format while providing TAI.
> 
> That's the Timescale Offset field in my draft. If the selected
> timescale is UTC or TAI, it contains the TAI‑UTC offset, or 0x8000 if
> unknown. The expectation is that client will request the timescale
> which it is using for timestamping of NTP packets.

Would it be allowable for a stratum-1 server to provide an "unknown TAI
offset" while still claiming to be "v5"?
It could be a challenge for systems like DCF-77 that do do provide a TAI
offset.
So maybe a special "refclock" (similar to the "PPS") would be needed to
provide the TAI offset from UTC only.
We have the leapseconds file, but updating it is still a manual task.

> 
>> Maybe NTPv6 will demand that TAI should be the new time base. Still we
would 
> need the offset to provide UTC and similar.
> 
> If all computer clocks were keeping time in TAI, or at least could
> convert all their timestamps to TAI, that would make sense. But I
> think it's more likely that UTC will stop leaping before TAI is
> adopted everywhere.

It depends how future OS time APIs will look like.

> 
> ‑‑ 
> Miroslav Lichvar