Re: [Ntp] Antw: [EXT] Going forward with NTP ‑ v5, v4 and approach

Harlan Stenn <stenn@nwtime.org> Fri, 19 August 2022 09:21 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 4CDA2C157B39 for <ntp@ietfa.amsl.com>; Fri, 19 Aug 2022 02:21:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.105
X-Spam-Level:
X-Spam-Status: No, score=-1.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, RDNS_NONE=0.793, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no 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 t64imiIqPGIg for <ntp@ietfa.amsl.com>; Fri, 19 Aug 2022 02:21:19 -0700 (PDT)
Received: from chessie.everett.org (unknown [IPv6:2001:470:1:205::234]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 92A23C157B3A for <ntp@ietf.org>; Fri, 19 Aug 2022 02:21:19 -0700 (PDT)
Received: from [10.208.75.149] (071-084-168-128.res.spectrum.com [71.84.168.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 4M8GTV5Y2WzMP6h; Fri, 19 Aug 2022 09:21:18 +0000 (UTC)
Message-ID: <b3509231-815f-2389-0126-34f5cab000d3@nwtime.org>
Date: Fri, 19 Aug 2022 02:21:17 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, kristof.teichel=40ptb.de@dmarc.ietf.org, "ntp@ietf.org" <ntp@ietf.org>
References: <OFBAE2F5D9.2E42DB42-ONC12588A2.00362BE6-C12588A2.003D5155@ptb.de> <62FF3B1A020000A10004C836@gwsmtp.uni-regensburg.de>
From: Harlan Stenn <stenn@nwtime.org>
In-Reply-To: <62FF3B1A020000A10004C836@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/k7IPHA6zthhjMnf0cdkWlMKlYWo>
Subject: Re: [Ntp] Antw: [EXT] Going forward with NTP ‑ v5, v4 and approach
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 09:21:25 -0000


On 8/19/2022 12:26 AM, Ulrich Windl wrote:
>>>> <kristof.teichel=40ptb.de@dmarc.ietf.org> schrieb am 18.08.2022 um 13:09
> in
> Nachricht <OFBAE2F5D9.2E42DB42-ONC12588A2.00362BE6-C12588A2.003D5155@ptb.de>:
> ...
>> 4) Are mode 6 exchanges (any modes other than timing packets really) part
>> of "the protocol"? Specifically, do they share a version number, or get
>> their own?
>> Again, I would have assumed that obviously, one divides a protocol (with
>> version number) into modes. I.e., there would be NTPv4, with one of its
>> modes being NTPv4‑mode6.
>> But one could also say that NTP‑mode6 is kinda its own protocol, and then
>> say something like "we are currently up to v4 for NTP‑mode2/3, but only up
>> to v2 for NTP‑mode6"; I find this is asking for trouble, but one could do
>> it. There is a strong point to be made then that this way, the mode would
>> be its own protocol and should have its own specification.
> 
> The problewm IMHO is that the VN field in the NTP packet is used to specify
> how to parse it. So an NTPv4-mode6 request cannot use the same VN field to
> specify ist version number (when independent from the core NTP timing
> ptotocol).

Please give an example of how this is true.

> There are claims saying an NTP packet can always be parsed whatever the VN
> field is, however.

If v5 breaks with history and uses an incompatible base packet structure 
this is probably true if one wants to have per-version parsing engine.

TANSSAAFL.  If you want compatibility, be compatible.  If you want new 
features to be added *and* maintain compatibility, that's likely trivial 
with v5 with regards to a v4 or v5 server.

If you don't care about v4/v5 compatibility, then that's your choice, too.

No packet format that uses EFs will be able to talk with stock pre-v4 
servers.

> ...
> 
> Regards,
> Ulrich
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

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