Re: [Ntp] Consensus call: NTPv5 and leap second smearing (vote to support clearly defined and UNAMBIGUOUSLY implemented smearing procedure)

martin.langer@ptb.de Mon, 10 July 2023 09:18 UTC

Return-Path: <martin.langer@ptb.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 B1700C151544 for <ntp@ietfa.amsl.com>; Mon, 10 Jul 2023 02:18:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.085
X-Spam-Level:
X-Spam-Status: No, score=-7.085 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, 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, T_FILL_THIS_FORM_SHORT=0.01, URIBL_BLOCKED=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=ptb.de
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 eCiaFBfExYhy for <ntp@ietfa.amsl.com>; Mon, 10 Jul 2023 02:18:43 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 AD7E2C17CEAB for <ntp@ietf.org>; Mon, 10 Jul 2023 02:18:05 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de with ESMTP id 36A9I3Ll023208-36A9I3Ln023208 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <ntp@ietf.org>; Mon, 10 Jul 2023 11:18:03 +0200
In-Reply-To: <OF767C37D0.D2022A60-ONC12589E8.002EE322-C12589E8.00300A45@ptb.de>
References: <29343948-036E-4514-8B42-689C19A61813@gmail.com> <CAJm83bAFMVFycgvo_=dZtoXrEP8TsW0WbxmQcoi2eNzSdW1rPA@mail.gmail.com> <OF767C37D0.D2022A60-ONC12589E8.002EE322-C12589E8.00300A45@ptb.de>
To: ntp@ietf.org
Cc: dsibold.ietf@gmail.com, dfoxfranke@gmail.com
MIME-Version: 1.0
From: martin.langer@ptb.de
Message-ID: <OF1E0B470E.859CBEC6-ONC12589E8.003306C8-C12589E8.003316CA@ptb.de>
Date: Mon, 10 Jul 2023 11:18:01 +0200
Content-Type: multipart/alternative; boundary="=_alternative 003316CAC12589E8_="
X-FE-Last-Public-Client-IP: 141.25.87.32
X-FE-Policy-ID: 5:5:5:SYSTEM
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=ptb.de; s=s1-ptbde; c=relaxed/relaxed; h=references:to:cc:mime-version:subject:from:message-id:date:content-type; bh=EYKgCnWy4CQmCMF/j+xhDeNumyhqeqGOrrJgElF084I=; b=dWXlC10PwL2BZMEh/AfkMYTfXIBe7nWgQIMBGByHDCcOE4HSC9KTodKbsys0VL/6zmhlLq9r6U50 kTLwWeXIa4Q/0w/pkRQvtNugvKRrjmhueajHq6zlZfBgCS/wH+7tt/4vw91DYc82XxNspsXqgyqh 2A78jxntI15cxVCDU1ZCMebYeJ3sl5zWKDbfLl5FbTeMFBFSUK4widCXPWbLK5BXswKE3yhnNvi6 qnU4uKfocLk2KXFTMg4tmI291skSDP2XLsRFbeKKqLTYHirg9ZcSBKWL9hqQd7EIe4LBErzLp/NM 1BD/rKFDIrprxAeFBZ6jFqK3JG9gyyfzemsgdQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Krn5Kj0zKgO67wDmF6LxgO3OM1g>
Subject: Re: [Ntp] Consensus call: NTPv5 and leap second smearing (vote to support clearly defined and UNAMBIGUOUSLY implemented smearing procedure)
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, 10 Jul 2023 09:18:47 -0000

hello all,

I fully agree with Kristof. I also think that option 3 of Daniel's 
proposal is the best way to handle it.

kind regards,
Martin
__________________________________________

Martin Langer, M. Eng
Physikalisch-Technische Bundesanstalt (PTB) 
Working Group 4.42 "Dissemination of Time"
Bundesallee 100,
38116 Braunschweig (Germany)
Tel.: +49 531 592-4470
E-Mail: martin.langer@ptb.de
__________________________________________



Von:    kristof.teichel=40ptb.de@dmarc.ietf.org
An:     "NTP WG" <ntp@ietf.org>
Kopie:  "Dieter Sibold" <dsibold.ietf@gmail.com>, "Daniel Franke" 
<dfoxfranke@gmail.com>
Datum:  10.07.2023 10:45
Betreff:        Re: [Ntp] Consensus call: NTPv5 and leap second smearing 
(vote to support clearly defined and UNAMBIGUOUSLY implemented smearing 
procedure)
Gesendet von:   "ntp" <ntp-bounces@ietf.org>



I concur mostly with Daniel's view here. 

I do believe that we need to include "official" support for leap smearing, 
since prohibiting it is probably futile anyway. 
But it is not enough to set a flag to notify a client that a server is 
using smearing - not if we don't know how exactly it implements that 
smearing. 
What we need (if smearing is used) is a way to unambiguously convert and 
compare smeared time to non-smeared time. 

I like option 3 of Daniel's suggestions: encode UTC as TAI plus smearing 
event information and offset information - but I think a duration for the 
event might be necessary, I'm afraid not everyone might see noon-to-noon 
as the only acceptable interval. 


Besten Gruß / Kind regards, 
Kristof Teichel 

__________________________________________ 

Dr.-Ing. Kurt Kristof Teichel 
Physikalisch-Technische Bundesanstalt (PTB) 
Arbeitsgruppe 4.42 "Zeitübertragung" 
Bundesallee 100 
38116 Braunschweig (Germany) 
Tel.:        +49 (531) 592-4471 
E-Mail:   kristof.teichel@ptb.de 
__________________________________________ 



Von:        "Daniel Franke" <dfoxfranke@gmail.com> 
An:        "Dieter Sibold" <dsibold.ietf@gmail.com> 
Kopie:        "NTP WG" <ntp@ietf.org> 
Datum:        02.07.2023 21:22 
Betreff:        Re: [Ntp] Consensus call: NTPv5 and leap second smearing 
Gesendet von:        "ntp" <ntp-bounces@ietf.org> 



There are two things I care about:

1. The timestamp on the wire must be something that can be
unambiguously converted to UTC.
2. The packet must contain sufficient information for the client to be
able to apply a noon-to-noon smear if desired.

The NTPv4 behavior of repeating during a leap second insertion is
unacceptable, because this creates ambiguity. Any of the following
would be equally acceptable to me:

1. Timestamps are UTC, represented using two fields: a day number, and
time since midnight. Leap indicator bits MUST be set during precisely
noon to noon .
2. Timestamps MUST be smeared linearly noon-to-noon in proximity to a
leap event. The leap indicator MUST be set when and only when smearing
is in progress.
3. Timestamps are TAI, and information elsewhere in the packet provides:
   a. The TAI time at which the last-announced leap event begins (may
be past, present, or future)
   b. The direction of the event (insertion or deletion)
   c. The TAI-UTC offset at the completion of this event

1 and 2 are perfectly equivalent in what information they provide. 3
is more informative, and therefore nicer for the client but harder for
the server, because it has to have the extra information available.

On Wed, Jun 28, 2023 at 3:56?PM Dieter Sibold <dsibold.ietf@gmail.com> 
wrote:
>
> Dear all,
>
> at IETF 116 we decided to have two consensus calls regarding the content 
of the NTPv5 requirement draft. These are consensus calls that we would 
like to conduct to help progress the NTPv5 requirements document (
https://datatracker.ietf.org/doc/draft-ietf-ntp-ntpv5-requirements/). Both 
consensus calls will run until July 21st 2023 and will be discussed at the 
next NTP wg meeting at IETF 117 in San Francisco.
>
> The second consensus call:
>
> Regarding leap second smearing:
>
> Currently, the NTPv5 requirement draft states that NTP servers should 
not apply leap second smearing to transmitted timestamps. Shall NTPv5 
support leap second smearing? If yes, shall the NTP server apply leap 
smearing to the transmitted timestamps or otherwise shall the client 
perform leap second smearing?
>
>
>
> Greetings
> Karen and Dieter_______________________________________________
> 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 mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp