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

Martin Burnicki <martin.burnicki@meinberg.de> Tue, 26 October 2021 08:00 UTC

Return-Path: <martin.burnicki@meinberg.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 5CA4B3A124C for <ntp@ietfa.amsl.com>; Tue, 26 Oct 2021 01:00:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.429
X-Spam-Level:
X-Spam-Status: No, score=-5.429 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, NICE_REPLY_A=-3.33, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=meinberg.de
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 GMv7YogJmO3G for <ntp@ietfa.amsl.com>; Tue, 26 Oct 2021 01:00:26 -0700 (PDT)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6B663A124D for <ntp@ietf.org>; Tue, 26 Oct 2021 01:00:26 -0700 (PDT)
Received: from seppmail.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 51BCB71C073B; Tue, 26 Oct 2021 10:00:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinberg.de; s=d2021; t=1635235224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MGOkJ3I8es9TauQW4ExrAXy5KZ89J0TsxmFvDIJEPJk=; b=MammhFxsSAgkSJPHlWAfBBSJYyAYEkzQIHxMqt5jBhqagvDOAX7nWWuBbZWGEwn3Z+A4Z2 e451f7r/Y+1/tUWCFtrC7A6tKC0DnQdew7wvSec0PJf1v2ei0RbrJhhmk8bQSER7dmAXhN nA3WupvQGBMQB3LDskRZae9BRGhM6i7sH+c4TTVnvDCXX3aRm5YVNbrG/RmdLUemPpIXSn XrB7getjQpLY72/cuhTLwwrlBLXva00kkNgb2aW+xVkkk8gvXd6empW6tORv5+5LCPfC8y vtDN/MVi5QdQUbpytq73oQzC8ZMose/gYYutflTjnhR5vjBPq9WQRXA+LfzD2g==
Received: from srv-kerioconnect.py.meinberg.de (srv-kerioconnect.py.meinberg.de [172.16.3.65]) (using TLSv1.3 with cipher AEAD-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by seppmail.py.meinberg.de (Postfix) with ESMTPS; Tue, 26 Oct 2021 10:00:23 +0200 (CEST)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Tue, 26 Oct 2021 10:00:20 +0200
Message-ID: <98a3aaf8-2e16-accd-1b19-4e3e5d5d19b6@meinberg.de>
Date: Tue, 26 Oct 2021 10:00:20 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1
Content-Language: en-US
To: Denis Reilly <dreilly@equinix.com>, Doug Arnold <doug.arnold=40meinberg-usa.com@dmarc.ietf.org>, Danny Mayer <mayer@pdmconsulting.net>, Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "mlichvar@redhat.com" <mlichvar@redhat.com>, "halmurray+ietf@sonic.net" <halmurray+ietf@sonic.net>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <D19C98F0020000AAAB822621@gwsmtp.uni-regensburg.de> <CEFD0B92020000436A6A8CFC@gwsmtp.uni-regensburg.de> <616E7B69020000A10004491E@gwsmtp.uni-regensburg.de> <DB577C29020000EF6A6A8CFC@gwsmtp.uni-regensburg.de> <616E933D020000A100044957@gwsmtp.uni-regensburg.de> <72083C72020000E06A6A8CFC@gwsmtp.uni-regensburg.de> <D11527C602000032FDA5B133@gwsmtp.uni-regensburg.de> <9E2EA18B020000B86A6A8CFC@gwsmtp.uni-regensburg.de> <6EFADD85020000BDFDA5B133@gwsmtp.uni-regensburg.de> <61714B21020000A100044B83@gwsmtp.uni-regensburg.de> <AM7PR02MB576513760641C35EB5B43673CFBF9@AM7PR02MB5765.eurprd02.prod.outlook.com> <61727020020000A100044BE7@gwsmtp.uni-regensburg.de> <c1e5ade3-2693-c684-66de-0c306036dc1e@meinberg.de> <cc5fb67c-a2a8-1f18-37a7-c79a80326ed2@pdmconsulting.net> <b7c9724d-b5e9-6318-211f-45b39d2dcd99@meinberg.de> <AM7PR02MB5765AC8CA9C752968F7D942CCF809@AM7PR02MB5765.eurprd02.prod.outlook.com> <04886961-6348-44D1-B230-8457813DDDCF@equinix.com>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Organization: Meinberg Funkuhren GmbH & Co. KG, Bad Pyrmont, Germany
In-Reply-To: <04886961-6348-44D1-B230-8457813DDDCF@equinix.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------nRY4Nl33E9DczOLy3t4LbNS0"
X-SM-outgoing: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/-nlVv2Tyh9wk-i0d0GX2F9DrMkc>
Subject: Re: [Ntp] [EXTERNAL] Re: Antw: Re: Antw: Re: 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, 26 Oct 2021 08:00:33 -0000

Denis Reilly wrote:
> Leap smearing was one of the main topics of the BCP. Because we 
> understand why it’s a good idea in many cases, but also why it can be 
> perilous if handled incorrectly.
> 
> In the BCP, we arrived at a few key guidelines, aiming to preserve the 
> most flexibility to operators while still maintaining standard public 
> behavior:
> 
> - Don’t mix smearing and non-smearing servers
> 
> - Don’t smear if your timestamps are required to be in sync with UTC
> 
> - Only smear on totally private installations, do not smear on public 
> servers
> 
> In my view, these restrictions exist because there is no standardized 
> way to detect that a server is smearing in ntpv4. So we settled on the 
> notion that public interactions should use the standard timescale, while 
> operators could do whatever they wanted in the privacy of their own 
> networks.
> 
> At minimum, NTPV5 should include a standardized way for the server to 
> tell everyone else that it is smearing the timestamps on the wire, so 
> that clients can elect to not use the server. In my opinion, there is no 
> use in saying that smearing on the wire is not allowed in V5 – people 
> will do it anyway.

Absolutely true.

> I think that we should also have a way for the server to broadcast the 
> smearing algorithm in use on the network. This is, of course, valuable 
> when servers are smearing, because then a client which knows about this 
> can back-out the smearing behavior and obtain UTC time if it wants to.

Hm, I'm not sure what would be the best way to broadcast the smearing 
parameters in a future-safe way. There is the smear interval, when it 
starts and when it ends, and also the smear function: linear, cosine, 
quadratic, or whatever will be invented in the future.

Maybe it's easier and less error prone to let the server indicate *that* 
it provides smeared time, and what the current smear offset is. So 
clients can easily convert this back to UTC, if they want/need to.

Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burnicki@meinberg.de
Phone: +49 5281 9309-414
Linkedin: https://www.linkedin.com/in/martinburnicki/

Lange Wand 9, 31812 Bad Pyrmont, Germany
Amtsgericht Hannover 17HRA 100322
Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg, 
Andre Hartmann, Heiko Gerstung
Websites: https://www.meinberg.de  https://www.meinbergglobal.com
Training: https://www.meinberg.academy