Re: [Ntp] [EXT] NTPv5 -- drop leaps

"Windl, Ulrich" <u.windl@ukr.de> Tue, 18 July 2023 08:07 UTC

Return-Path: <u.windl@ukr.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 7C9E2C14F726 for <ntp@ietfa.amsl.com>; Tue, 18 Jul 2023 01:07:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oE6U2ISsGhT8 for <ntp@ietfa.amsl.com>; Tue, 18 Jul 2023 01:07:50 -0700 (PDT)
Received: from mail01.ukr.de (mail01.ukr.de [193.175.194.181]) (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 29E30C14CE33 for <ntp@ietf.org>; Tue, 18 Jul 2023 01:07:49 -0700 (PDT)
X-IronPort-AV: E=McAfee;i="6600,9927,10774"; a="281916"
X-IronPort-AV: E=Sophos;i="6.01,213,1684792800"; d="scan'208";a="281916"
Received: from unknown (HELO ukr-excmb01.ukr.local) ([172.24.6.61]) by dmz-infcsg01.ukr.dmz with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2023 10:07:45 +0200
Received: from ukr-excmb03.ukr.local (172.24.6.63) by ukr-excmb01.ukr.local (172.24.6.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 18 Jul 2023 10:07:45 +0200
Received: from ukr-excmb03.ukr.local ([fe80::1cb4:6e0c:6da4:a8a0]) by ukr-excmb03.ukr.local ([fe80::1cb4:6e0c:6da4:a8a0%5]) with mapi id 15.01.2507.027; Tue, 18 Jul 2023 10:07:45 +0200
From: "Windl, Ulrich" <u.windl@ukr.de>
To: Hal Murray <halmurray@sonic.net>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [EXT] [Ntp] NTPv5 -- drop leaps
Thread-Index: AQHZuSLnWQpaBoXtmE26fiPZmuNfO6+/KyxA
Date: Tue, 18 Jul 2023 08:07:44 +0000
Message-ID: <10cf4aebee7046ab83d456f3b4a63421@ukr.de>
References: <20230718025211.63F3B28C20C@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
In-Reply-To: <20230718025211.63F3B28C20C@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.24.3.1]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/4w-S4ovVzvSHtRZXY-UTD94fz0M>
Subject: Re: [Ntp] [EXT] NTPv5 -- drop leaps
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
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, 18 Jul 2023 08:07:54 -0000

Hi!

Considering that NTPv5 should be good for another 10 years or so, I think the leap seconds logic should be kept, because politics changes its mind much more frequently.

Regards,
Ulrich

-----Original Message-----
From: ntp <ntp-bounces@ietf.org> On Behalf Of Hal Murray
Sent: Tuesday, July 18, 2023 4:52 AM
To: ntp@ietf.org
Cc: Hal Murray <halmurray@sonic.net>
Subject: [EXT] [Ntp] NTPv5 -- drop leaps


Leap seconds are on the way out.

I think we should drop all mention of leaping or smearing from NTPv5.  The 
idea is to simplify RFCs, making it easier for us to create documents that are 
easy to understand and more likely that implementors will find what they need.

It will also save time and clutter on this mailing list.

There is a good chance there won't be any more leap seconds.  If there are, we 
can muddle through, just like we would do if we didn't have NTPv5.

If we aren't cleaning up leaping and smearing, do we need a new version?

We will have to support NTPv3 and NTPv4 for a long long time.  (And NTPv1/0)
What do we need to fix that will be worth the effort of switching to a new 
version and running 2 versions in parallel?

----------

Assuming we decide that we should work on a new version...

I think we should split NTP RFCs into smaller documents.

I'd like to see a clean/simple document for basic server-server traffic.  Just 
time.  If we were going to keep leaping, TAI would be the obvious choice.  
Without leaps, UTC will work fine and we don't need anything about what time 
scale is being used.

What is needed in a basic NTP packet?

We need an RFC describing an extension for shared keys.

I think an extension for UT1 or DUT1 would keep the astronomers happy.  Would 
any of them use it?

Multicast and symmetric may be appropriate for their own modes rather than 
using extensions.  I think we should leave room in the mode assignments for 
them and others.

Does Multicast need a separate mode?  I expect it would have a multicast dest 
address.  Would anything else be sent to that address?

Are there any fields that we might want to add to the basic packet that seem 
more appropriate for the packet rather than an extension?

What about interleaving?  Maybe we should have a slot with room for various 
flags, like interleaving and symmetric mode.

--------

I think we need a BCP for SNTP -- specfically targeted at code that will go 
into ROM and won't get updated.

That means we have to figure out what we will support in the long term.

--------

I think we should make it clear that software that looks at packets should 
check the version field first, then the mode field.  That gives us the 
opportunity to move the mode field and/or make it bigger.

--------

The leap-seconds file is now included with the time-zone data.  (They have 
promised to push out a release with new leap info even if there are no changes 
in the time zone data.)  This is now included with Debian and Fedora.
  /usr/share/zoneinfo/leap-seconds.list

It would be easy to setup a utility to tell the kernel the TAI offset and any 
pending leap info without help from NTP.





-- 
These are my opinions.  I hate spam.



_______________________________________________
ntp mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp