[Ntp] Antw: Re: Antw: [EXT] Re: Quick review of WGLC for status change for draft-ietf-ntp-update-registries

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Fri, 19 August 2022 07:18 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.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 E41ADC14CE44 for <ntp@ietfa.amsl.com>; Fri, 19 Aug 2022 00:18:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_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 mqeiEqEi6baT for <ntp@ietfa.amsl.com>; Fri, 19 Aug 2022 00:18:47 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 5961DC15258F for <ntp@ietf.org>; Fri, 19 Aug 2022 00:18:39 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 48DC1600006F for <ntp@ietf.org>; Fri, 19 Aug 2022 09:18:36 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 1325D600006B for <ntp@ietf.org>; Fri, 19 Aug 2022 09:18:33 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Fri, 19 Aug 2022 09:18:33 +0200
Message-Id: <62FF3948020000A10004C82F@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.4.1
Date: Fri, 19 Aug 2022 09:18:32 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: stenn@nwtime.org, mlichvar@redhat.com
Cc: "ntp@ietf.org" <ntp@ietf.org>, Heiko Gerstung <heiko.gerstung@meinberg.de>
References: <133C5633-E4D5-42AF-8215-E3FDE28C5BF9@meinberg.de> <4f833218-231f-8c47-e529-b3ba00f6554e@nwtime.org> <62FB5EDB020000A10004C5CD@gwsmtp.uni-regensburg.de> <a89aeba9-5e88-2214-634f-7a9a7106eec3@nwtime.org> <Yvt4C97N+I51c54v@localhost> <d4ff7203-1c7a-2c9b-ab27-5c5143253b7e@nwtime.org> <YvyqnxraeuxbGqNs@localhost> <3d6d3d96-09cf-1122-f866-f561e676ce0b@nwtime.org> <YvzsAxnyEoNCw8bI@localhost> <59d0ab10-8c50-a71d-8c74-a94bc012a251@nwtime.org> <Yv30G3Pxwr8wiEtp@localhost> <a8109d2a-ca46-3e52-4ed3-2652c22c9d69@nwtime.org> <6AFCB82E020000327BE0EBB5@gwsmtp.uni-regensburg.de> <4CB5CC870200008B822C0D04@gwsmtp.uni-regensburg.de> <60C367EE020000A986EDC2A6@gwsmtp.uni-regensburg.de> <FEA2AE59020000BF822C0D04@gwsmtp.uni-regensburg.de> <BB908AD30200002F86EDC2A6@gwsmtp.uni-regensburg.de> <F0B7CB85020000F0822C0D04@gwsmtp.uni-regensburg.de> <62FB5EDB020000A10004C5CD@gwsmtp.uni-regensburg.de> <F7211617020000C9822C0D04@gwsmtp.uni-regensburg.de> <B01B5D8D020000786A6A8CFC@gwsmtp.uni-regensburg.de> <FE4B42EF020000DC822C0D04@gwsmtp.uni-regensburg.de> <43CEEC91020000736A6A8CFC@gwsmtp.uni-regensburg.de> <A20358250200004A822C0D04@gwsmtp.uni-regensburg.de> <4B86A8CD0200005A6A6A8CFC@gwsmtp.uni-regensburg.de> <6CAE8D93020000F1822C0D04@gwsmtp.uni-regensburg.de> <C1BDA73B020000676A6A8CFC@gwsmtp.uni-regensburg.de> <FDC487BF02000063822C0D04@gwsmtp.uni-regensburg.de>
In-Reply-To: <FDC487BF02000063822C0D04@gwsmtp.uni-regensburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/_w6mp_scHxlOOeZh9_0uM8glPks>
Subject: [Ntp] Antw: Re: Antw: [EXT] Re: Quick review of WGLC for status change for draft-ietf-ntp-update-registries
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: Fri, 19 Aug 2022 07:18:53 -0000

>>> Harlan Stenn <stenn@nwtime.org> schrieb am 18.08.2022 um 12:14 in Nachricht
<a8109d2a-ca46-3e52-4ed3-2652c22c9d69@nwtime.org>:
...
> 
> The code is/was open source.  MANY folks built it from source.

Harlan,

there are several points to comment on, but taking just this one above: What are you trying to say?
AFAIR Dave Mills had the final hands on all changes of the clock algorithms. It seems you try to say "the public" is responsible for any mess in the code.

> 
> The code was in active production use.
> 
> Changing the code would have caused interoperability problems with 
> deployed production (public) use.
> 
> Nobody else seems to have implemented full NTPv4, including autokey or 
> mode 6 (or mode 7).

Well, actually neither mode 6, not mode 7 were specified beyond the package format; I'm not even sure about mode 7.
So interoparability between implementations would have been very questionable.
BTW: I think mode 6 in NTPv5 needs the ability to switch formats, and I suggest to implement JSON, because it's a rather simple and compact format (as compared to XML for example). The the system should change from formatting texts in the server to formatting the text lines from JSON in the client. So eventually more narrow or wider terminals could be used, and parsing the results by a program could be made much more reliable.

...
>> So you are ok with the client getting different data in different
>> units than it expects, assuming it doesn't do anything important with
>> this it anyway.
> 
> "assuming it doesn't do anything important with" the data, yes.  By your 
> definition, nothing important is being done.

Well two different points of view.
While talking on units and mode 6: In NTPv4 the stability (clk_wander) is limited to microseconds (three fractional digits of milliceconds); for GPS-synced clocks that value is 95% of the time between 0 and 1.  The precision of the values is nowhere specified...

> 
> I have seen ZERO evidence of "real" v1 NTP packets traversing the net. 
> I *believe* (and this has yet to be disproven) that people are sending 
> v[234] packets with a version field that says "1".  That's not a v1 packet.

But how do you _know_? I guess you _suspect_.

> 
> I have seen ZERO reports or emails where folks have said "We're running 
> real ntpv2 and are trying to get time from v3 and/or v4 servers, and we 
> have a problem because the v3/v4 servers are replying with different 
> data in the 2nd and 3rd words of the packet."

I'm afraid people doing stupid things hardly ever admit in public that they do.

> 
> So how can you justify saying this incompatibility is "significant"?

I'm afraid this is not about a problem, but about a point of view...

...
> 
> Can you (or anybody else) show that the differences and evolution of NTP 
> over the initial and v1-v4 efforts resulted in ANY 
> significant/non-trivial upgrade or interoperability issues?

Actually there were many. For example NTPv4 not supporting DES keys any more.
Autokey is another: First promoted, then deprecated.

> 
> Please compare this with what you envision when the gazillion deployed 
> pre-v5 implementations try and get time from a v5 (only) server.

I think it's unfair to criticize an implementation that does not exist yet. Not even a specification exists.

...
> What % of v4 NTP packets on the internet (assuming that is the right 
> place to watch for this) use EFs?

I can remember times when you could query the Internet for NTP servers. Unfortunately there exist many servers that are not reachable publically. So it's a bit hard to guess what kind of packets are circulating globally.

...
> 
> No, it means that a v3 server will drop a v4 client request that has an 
> EF (even with a valid MAC).

A v3 server should drop any v4 request IMHO.

> 
> What you are advocating for is REDUCED service, for no good reason.

Sometimes denying a request can be preferable to serving the request badly.

...
>> When v5 is widely supported, the default can be changed to start with
>> v5 and maybe fall back to v4 if the server is not responding.
> 
> I recall your previous content described that v5 servers should just 
> drop v4.

I'd say: s/should/may/

> 
> Now you are saying that one should not implement a server that is solely v5.

See above.

...
>> If I showed you a working NTPv5 server and client, would that change
>> your mind?
> 
> I sure don't have the time to poke at it.  But if it got even 10% of the 
> scrutiny and effort that even ntpv4 got before it was turned in to a 
> Standard I'd be satisfied.

You are getting hypothetical, and I think that's not fair:
The efforts to get the code done is probably much more than looking at it.

Regards,
Ulrich

> 
> -- 
> Harlan Stenn <stenn@nwtime.org>
> http://networktimefoundation.org - be a member!