Re: [Ntp] NTPv5 draft

Warner Losh <imp@bsdimp.com> Tue, 08 December 2020 20:12 UTC

Return-Path: <wlosh@bsdimp.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 16ACB3A1133 for <ntp@ietfa.amsl.com>; Tue, 8 Dec 2020 12:12:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 9dv4tN6HpKqT for <ntp@ietfa.amsl.com>; Tue, 8 Dec 2020 12:11:59 -0800 (PST)
Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 645FE3A118E for <ntp@ietf.org>; Tue, 8 Dec 2020 12:11:59 -0800 (PST)
Received: by mail-qv1-xf33.google.com with SMTP id p12so8821686qvj.13 for <ntp@ietf.org>; Tue, 08 Dec 2020 12:11:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fkTTew26MQ0hpNMaA1+w4Gkp0SNLxYZXDzRA4Amj8JM=; b=BpenB6cOSnP5jJciOtL0BUgVYKtfsqQ4QUatPD5axj46ASld6S3sWkXJ80gf5PtCvl J2QI0v70LspjkNsFfpJiNvVGWcUoApap76gxt6nwqAyY3GKH41n++3xiAQQV/DfPljVJ FruokLFN/BtqUs48j/lDy9XcTi5qEIgcUtAzNVrVFTnTRvpaZbomhoJyaYJsjgBGhyg7 wQS2PcKNk6Ubwx3RB5L6i0y2/JWgZDa9zYvrVY9wrVkSgtxQ9P6Uuhw/MBRqIx9jAXmc 7XOOJX4qcQjqkFNXFQYaWe4MUJsh2H3VQyFTFjwzlpg16kQIBAf+k4L8EfG1IYm2wENf fIeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fkTTew26MQ0hpNMaA1+w4Gkp0SNLxYZXDzRA4Amj8JM=; b=O+dauXwCtfhbbRxBNZNZnBiGIQ0Ug22xpThQzbd99VxNSkPtRU6vZDSJSYYueaxAJy iEupnf4S2sywXI98aSWkfyNkLdBgXvJkKydfWUxACpyOVnnh+dmuUtNcyLNFaNY0lZ6J Vpub72KpO7od19FG2i/TD9jfCS6FWUXKqEKtWQyKkMHUWPixkMeLOOqjaNbVoq0cHTfy K637B9GleHBQRW6+DwXSjaoxg+skJtK49xLG0mhetONzdw8zBoLUKss5d2dUOAR9JhrO w+yGt4ZmKTgSUr7vA5O9TwEw6/ePeenKFmEhCGmaWOD1ItZXTz9XYPQVsekwQR7Xl8pP YpdA==
X-Gm-Message-State: AOAM532rYQ3/h+F+pTzf/7VsqpedJ6QBxvcLCOQjU4grlJIPpG7+hDJ/ ZRk0n1qFZEmZOk7Y7+Im1fX8aOUg/sxECi8DEHrHKzvpQYiveA==
X-Google-Smtp-Source: ABdhPJzkLonYoPq5lsfC9FqHaS8pPoIPlvCRHPXjPJSRBZvh+x3fbGQjFFz3vgi26y6e9y/C0rzma7BGv0oMXjI4j3c=
X-Received: by 2002:a0c:c30d:: with SMTP id f13mr29604638qvi.29.1607458318119; Tue, 08 Dec 2020 12:11:58 -0800 (PST)
MIME-Version: 1.0
References: <20201111161947.GG1559650@localhost> <AA848C67-CFB7-43FC-B190-FD3911360373@gmail.com> <20201201081203.GB1900232@localhost> <2B8C7410-DFA7-4A87-A33E-F50FFA96D0F9@gmail.com> <20201201100305.GK1900232@localhost> <F62C1325-8409-474C-9650-FA96405D0F4B@gmail.com> <20201207104541.GE2352378@localhost> <E0159612-5D83-4A0E-BBD1-1D75C0B49226@akamai.com> <20201207153444.GO2352378@localhost> <1204B871-7728-45DA-B628-8F79BD074A96@akamai.com> <20201208095046.GT2352378@localhost> <D15AF5B4-F976-44D6-B8E7-986E3B8CE23D@akamai.com> <3314193a-a430-8db8-b72c-8443dcc1f125@dansarie.se> <4ab54344-fa4d-5719-db63-0555ce190643@rubidium.se>
In-Reply-To: <4ab54344-fa4d-5719-db63-0555ce190643@rubidium.se>
From: Warner Losh <imp@bsdimp.com>
Date: Tue, 08 Dec 2020 13:11:46 -0700
Message-ID: <CANCZdfprZSNX-GNN7KOVhj3k3jU1t2KiNUHTqRrDB+_g2OCw3A@mail.gmail.com>
To: Magnus Danielson <magnus@rubidium.se>
Cc: NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000b0a7705b5f98e98"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/FhF1294p6J7L0utv4xW2kFmkWmI>
Subject: Re: [Ntp] NTPv5 draft
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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, 08 Dec 2020 20:12:10 -0000

Magnus,

On Tue, Dec 8, 2020 at 8:53 AM Magnus Danielson <magnus@rubidium.se> wrote:

> Agree fully. You bring up a point which I think not all is appreciating.
> While we may develop protocols for the Internet, does not mean that they
> actually have access to the network, or that such access is open in any
> normal sense. For such air-gaped networks update cycles can also be long
> enough that for instance leap-second file cannot be sent along each
> upgrade to ensure correct leap-second list that way.
>

When I implemented the LORAN-C timing system refresh at Timing Solutions,
this issue was the biggest issue we had. We could get leap seconds from the
GPS, and had to resort to a number of ad-hoc methods to distribute from
there. Especially since we needed to cope with the scenario where a
computer fails and is replaced by a spare that had been on the shelf for 5
years, but still had the requirement it couldn't get setting the UTC time
of the atomic clock wrong (since LORAN TOC was timed vs UTC time scale, so
a wrong time meant wrong timing signals to the LORAN transmitter), nor wait
for a full GPS almanac to download.... We used a number of ad-hoc methods
to do this since there was nothing standard and in practice they proved to
be less robust than one would have liked. These machines were networked,
but on a private network that existed at each LORAN station only with only
minimal connectivity to the outside world (if any).

Leap seconds sound easy and simple, but the logistical issues surrounding
them are legend, especially when one must engineer for discontinuous use
cases.

Leap seconds are trivial if you have perfect knowledge. Sadly, history has
shown that this knowledge to be somewhat less than perfect...

Warner