Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5 and leap second smearing
Harlan Stenn <stenn@nwtime.org> Wed, 12 July 2023 08:17 UTC
Return-Path: <stenn@nwtime.org>
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 2CFFBC151AFF for <ntp@ietfa.amsl.com>; Wed, 12 Jul 2023 01:17:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 bEF8pJAHfc84 for <ntp@ietfa.amsl.com>; Wed, 12 Jul 2023 01:17:18 -0700 (PDT)
Received: from chessie.everett.org (chessie.fmt1.pfcs.com [66.220.13.234]) by ietfa.amsl.com (Postfix) with ESMTP id A56BEC151099 for <ntp@ietf.org>; Wed, 12 Jul 2023 01:17:18 -0700 (PDT)
Received: from [10.208.75.149] (075-139-201-040.res.spectrum.com [75.139.201.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 4R19Zk2XDhzMQSD; Wed, 12 Jul 2023 08:17:18 +0000 (UTC)
Message-ID: <94656195-0d55-6288-97fd-136673df6851@nwtime.org>
Date: Wed, 12 Jul 2023 01:17:16 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0
Content-Language: en-US
To: "Windl, Ulrich" <u.windl@ukr.de>, Martin Burnicki <martin.burnicki@meinberg.de>, Daniel Franke <dfoxfranke@gmail.com>, Miroslav Lichvar <mlichvar@redhat.com>
Cc: Dieter Sibold <dsibold.ietf@gmail.com>, NTP WG <ntp@ietf.org>
References: <29343948-036E-4514-8B42-689C19A61813@gmail.com> <CAJm83bAFMVFycgvo_=dZtoXrEP8TsW0WbxmQcoi2eNzSdW1rPA@mail.gmail.com> <ZKwPcv+qOJxcANBn@localhost> <CAJm83bAOQYZaPYyVYoi2M7gza7LxNee=ksC-sDeV_5dO3io66A@mail.gmail.com> <7b087b9d11cd453ea857922b3089d92b@ukr.de> <0dfa81a3-5d1d-0f5b-5716-98cd4f5cb056@meinberg.de> <68683697955440d28cf3ecf7c7f66852@ukr.de> <6a34ec4e-2926-f7d8-f088-2b854d09a177@nwtime.org> <d11b51b752674703ba65e833b6905ef2@ukr.de>
From: Harlan Stenn <stenn@nwtime.org>
In-Reply-To: <d11b51b752674703ba65e833b6905ef2@ukr.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Iln5f0rREvFRbiRK4TK5O2efEDk>
Subject: Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5 and leap second smearing
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: Wed, 12 Jul 2023 08:17:23 -0000
I'm kinda sadly surprised that we're even having this conversation. On 7/11/2023 11:57 PM, Windl, Ulrich wrote: > Hi! > > Actually in our intranet we have at least one device claiming to use NTPv2. Is it claiming v2 or is it actually running code from before June of 1993? Why did you mention this without doing any additional investigation of the situation? What is your goal? > So your recommendations might seem nice, but actual implementations may be different. If you are using something other than the reference implementation, you should follow the instructions for that software. TTBOMK, there is no ubiquitous program named 'ntpdate'. Do you disagree? The only pervasive version of ntpdate that I know of is the one in the reference implementation, and we have been telling folks for a disturbingly long time that they should not use ntpdate, and have given what, to me, sure looks like simple, clear, and complete direction on what should be used instead of ntpdate. > There still is amazingly terrible software around. Sure. So what? Why are "you" trying to perpetuate a known-bad "solution"? H -- > Regards, > Ulrich > > -----Original Message----- > From: Harlan Stenn <stenn@nwtime.org> > Sent: Wednesday, July 12, 2023 8:52 AM > To: Windl, Ulrich <u.windl@ukr.de>; Martin Burnicki <martin.burnicki@meinberg.de>; Daniel Franke <dfoxfranke@gmail.com>; Miroslav Lichvar <mlichvar@redhat.com> > Cc: Dieter Sibold <dsibold.ietf@gmail.com>; NTP WG <ntp@ietf.org> > Subject: [EXT] Re: [Ntp] Re: Re: Consensus call: NTPv5 and leap second smearing > > Nobody should be using ntpdate. > > The correct procedure for this has been well-documented for many years' > time. > > H > > On 7/11/2023 11:29 PM, Windl, Ulrich wrote: >> Hi! >> >> On "I wonder how big the chance is that you will run ntpdate or something to >> initially set your sytem time exactly during this short interval, so it >> can be affected by this tiny modification.": >> Like for race conditions: The question is not *how* likely it is; instead the fact that it is possible is enough to worry about it. >> >> Some embedded systems have no battery backed clocks, so they try to get the time from network during boot, and they typically use some "ntpdate equivalent" that will query a bunch of servers once, the "take the best one" to set the time. That was the scenario I had in mind. >> >> Regards, >> Ulrich >> >> -----Original Message----- >> From: Martin Burnicki <martin.burnicki@meinberg.de> >> Sent: Tuesday, July 11, 2023 4:29 PM >> To: Windl, Ulrich <u.windl@ukr.de>; Daniel Franke <dfoxfranke@gmail.com>; Miroslav Lichvar <mlichvar@redhat.com> >> Cc: Dieter Sibold <dsibold.ietf@gmail.com>; NTP WG <ntp@ietf.org> >> Subject: [EXT] Re: [Ntp] Re: Consensus call: NTPv5 and leap second smearing >> >> Ulrich, >> >> Am 11.07.23 um 08:11 schrieb Windl, Ulrich: >>> Hi! >>> >>> I'm not so sure about that: Assume there's a leap second going on, and some client using SNTP (ntpdate) on boot to set the time. >>> According to the protocol a server saying UNSYNC cannot be used, so around leap event no time sync is possible then. Right? >> >> If I remember correctly, doing so has been proposed by Miroslav quite >> some time ago, and in ntpd from ntp.org it has been implemented accordingly. >> >> There are only about 3 seconds (IIRC) around a leap second where a >> server claims to not being synchronized. >> >> If a normal clients that polls once every 64 s (or in even larger >> intervals) happens to do a poll exactly during these 3 seconds, it gets >> a single reply from the server which the client will simply ignore. >> >> If the server would *not* claim to be unsynchronized, there's a chance >> that the client has already made the leap second step, but the server >> has not, or vice versa. In this case, a continuous offset that used to >> be in a sub-millisecond range could easily increase to about 1 second >> for this single poll. >> >> Of course this could be eliminated by a spike filter, but I agree with >> Miroslav that possible impacts are much less if such a huge spike can't >> even occur. >> >> I wonder how big the chance is that you will run ntpdate or something to >> initially set your sytem time exactly during this short interval, so it >> can be affected by this tiny modification. >> >> >> Martin > -- Harlan Stenn <stenn@nwtime.org> http://networktimefoundation.org - be a member!
- Re: [Ntp] Consensus call: NTPv5 and leap second s… James Browning
- [Ntp] Consensus call: NTPv5 and leap second smear… Dieter Sibold
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Salz, Rich
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Paul Gear
- Re: [Ntp] Consensus call: NTPv5 and leap second s… David Venhoek
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Windl, Ulrich
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Dave Hart
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Steven Sommars
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Harlan Stenn
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Harlan Stenn
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Danny Mayer
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Daniel Franke
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Harlan Stenn
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Harlan Stenn
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Danny Mayer
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Martin Burnicki
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Dieter Sibold
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Doug Arnold
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Miroslav Lichvar
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Denis Reilly
- Re: [Ntp] Consensus call: NTPv5 and leap second s… James
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Martin Burnicki
- Re: [Ntp] Consensus call: NTPv5 and leap second s… kristof.teichel
- Re: [Ntp] Consensus call: NTPv5 and leap second s… martin.langer
- Re: [Ntp] [EXTERNAL] Re: Consensus call: NTPv5 an… Denis Reilly
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Daniel Franke
- [Ntp] Antwort: Re: Consensus call: NTPv5 and leap… kristof.teichel
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Warner Losh
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Steve Allen
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Watson Ladd
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Harlan Stenn
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Dave Hart
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Windl, Ulrich
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Martin Burnicki
- Re: [Ntp] [EXTERNAL] Re: Consensus call: NTPv5 an… Martin Burnicki
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Martin Burnicki
- Re: [Ntp] [EXTERNAL] Re: Consensus call: NTPv5 an… Denis Reilly
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Martin Burnicki
- Re: [Ntp] [EXTERNAL] Re: Consensus call: NTPv5 an… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Consensus call: NTPv5 and… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Windl, Ulrich
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Consensus call… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Re: Consensus call: NTPv5 and… Harlan Stenn
- Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5… Harlan Stenn
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Consensus call: NTPv5 and… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Re: Re: Consensus call: N… Windl, Ulrich
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Consensus call… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Re: Re: Re: Consensus call: N… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: Re: Re: Consensus call: N… Harlan Stenn
- Re: [Ntp] [EXT] Re: Re: Re: Consensus call: NTPv5… Harlan Stenn
- Re: [Ntp] [EXT] Re: Re: Re: Re: Re: Consensus cal… Windl, Ulrich
- Re: [Ntp] [EXTERNAL] Re: [EXT] Re: Consensus call… Denis Reilly
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Miroslav Lichvar
- Re: [Ntp] [EXTERNAL] Re: [EXT] Re: Consensus call… Martin Burnicki
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Daniel Franke
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Warner Losh
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Warner Losh
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Re: Consensus … Windl, Ulrich
- Re: [Ntp] [EXT] Re: Re: Consensus call: NTPv5 and… Windl, Ulrich
- Re: [Ntp] Consensus call: NTPv5 and leap second s… Miroslav Lichvar
- Re: [Ntp] [EXT] Re: Consensus call: NTPv5 and lea… Martin Burnicki
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Re: Consensus … Martin Burnicki
- Re: [Ntp] [EXTERNAL] Re: [EXT] Re: Consensus call… Danny Mayer
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Re: Consensus … Windl, Ulrich
- Re: [Ntp] [EXTERNAL] Re: [EXT] Re: Consensus call… Martin Burnicki
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Re: Consensus … Harlan Stenn
- Re: [Ntp] [EXT] Re: [EXTERNAL] Re: Re: Consensus … Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: [EXTERNAL] Re: Re: Consen… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Re: [EXTERNAL] Re: Re: Consen… Martin Burnicki
- Re: [Ntp] [EXT] Re: Re: [EXTERNAL] Re: Re: Consen… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Re: [EXTERNAL] Re: Re: Consen… Martin Burnicki