Re: [Ntp] [EXT] NTPv5 -- drop leaps
Steven Sommars <stevesommarsntp@gmail.com> Mon, 24 July 2023 00:08 UTC
Return-Path: <stevesommarsntp@gmail.com>
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 473BFC15108C for <ntp@ietfa.amsl.com>; Sun, 23 Jul 2023 17:08:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dhhPvnEKAEUc for <ntp@ietfa.amsl.com>; Sun, 23 Jul 2023 17:08:30 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A162AC151524 for <ntp@ietf.org>; Sun, 23 Jul 2023 17:08:21 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5217bb5ae05so5045833a12.0 for <ntp@ietf.org>; Sun, 23 Jul 2023 17:08:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690157299; x=1690762099; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=e6ptc0Go8ILqZkOVBa2iFEKw74qViFwIXEm1HL2nYys=; b=bZvuEZJOMZoxe97Q0WmTVllX9ZNtyaz88GIEBI0l/oykgaCVhG7aqL1Iv3fj0mYpWu 0s98111XK0XGBN00cXjF5GIP3cAxZmPm4lCjzf+GwtXqrEpwNDpiiwCH1VbE4Xe0o+Ca ZGhR0h/TlrwpvvOyRytY44kHMf1CrEEN54qYoq39nLX+B9JUOkXpqfxKg4/1OeaH7hG7 RvSElOp3BHTmv1wbWlz4NX1helE+49MRda9HLXRr9apg86hIuXtwiY4BDXeFKKtzhAdK c5LYtegIopwN95ruabf5WIdmiE5FzU4lnttM6HBM3VZgRFIFMfs4dDhEtW93PUYMNJWz 7szg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690157299; x=1690762099; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=e6ptc0Go8ILqZkOVBa2iFEKw74qViFwIXEm1HL2nYys=; b=NYFixZYLv7nwTgyI0eJyKwFVSEUppjjeOx6hJnsCLQH1Q9b1TGgQ6HGUXCVivS28Pk E6Ms/fBclts43aKr19GLKv7ZXPA/47sjKglpyQ4d5e39/bYXK0FIKLPVsyk2ZJirI1hL mJ/lKY54wSYIkaoVCBvu9f0YCsAEsqXEaXxKgW5Br/PYajbiEbm16p0iZ4IazbD0NYZ5 0R746PMvKvA+/49l4kP0WQ99irhXlJFek4lWvEj1abaaBo2KhuX32aghLlIVfW4GwryN xygbKSUuhPdctAKktyJtwI61liRJjoF2DBMbm/xckJTVqKy46OIO1NcjX7p0UWhCGBTr 7L0w==
X-Gm-Message-State: ABy/qLY/jkjTsL0KC8BCgK3lQAPiubkHUnsYV3jxXDhUMVz9vHqUWwPT O2hB/t0K8pvSFGd2hOCSPEc8D8FQJZ4Ku0bphRGZ8debKHo=
X-Google-Smtp-Source: APBJJlExrQdKq7O0S+aH5JaNdqim9jxZYz6l5/NbuSdBFySZLU9A4E4XNa/YaHK2T7+loVOFAMUc4PasKMJhGX70kXQ=
X-Received: by 2002:aa7:d04a:0:b0:518:7cf5:7ff8 with SMTP id n10-20020aa7d04a000000b005187cf57ff8mr7122067edo.12.1690157299267; Sun, 23 Jul 2023 17:08:19 -0700 (PDT)
MIME-Version: 1.0
References: <20230718025211.63F3B28C20C@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <10cf4aebee7046ab83d456f3b4a63421@ukr.de>
In-Reply-To: <10cf4aebee7046ab83d456f3b4a63421@ukr.de>
From: Steven Sommars <stevesommarsntp@gmail.com>
Date: Sun, 23 Jul 2023 19:08:07 -0500
Message-ID: <CAD4huA74sKjrsMU0EZbpq9MOE2Y09c5ripO9cbbpvUAx+CN8Ag@mail.gmail.com>
To: "Windl, Ulrich" <u.windl@ukr.de>
Cc: Hal Murray <halmurray@sonic.net>, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006ffdae060130698e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/CnX0nC3jjOVy0xmIE8Tyf23-ODE>
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: Mon, 24 Jul 2023 00:08:35 -0000
Two alternate proposals instead. The existing leap smearing mechanism(s) has worked well enough and can be used if needed in the future. There's no need to force-fit special-case signalling into NTPv5. A BCP for deploying leap-smearing (and for avoiding it) would benefit operators of both NTP servers and clients. E.g., understand exactly which devices will perform the smearing, ensure that all utilized NTP servers use the same smearing algorithm, recognize that your client's notion of current time may differ from other clients, log the use of leap-smearing, and leap smearing may not be compatible with FINRA and other requirements. The second alternative is more radical. Smeared time defines a new time scale(s); call it UTC-LS. NTPv5 continues the current UTC focus, but adds a uniform mechanism for additional time scales. TAI, UT1, UTC-LS. Leap smearing is no longer a special case. Steve Sommars On Tue, Jul 18, 2023 at 3:08 AM Windl, Ulrich <u.windl@ukr.de> wrote: > 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 > > _______________________________________________ > ntp mailing list > ntp@ietf.org > https://www.ietf.org/mailman/listinfo/ntp >
- [Ntp] NTPv5 -- drop leaps Hal Murray
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Windl, Ulrich
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Steven Sommars
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Warner Losh
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Hal Murray
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Martin Burnicki
- Re: [Ntp] [EXT] NTPv5 -- drop leaps Martin Burnicki