[Ntp] Re: NTP Extension Field additions, and IANA NTP table management process

Miroslav Lichvar <mlichvar@redhat.com> Wed, 19 February 2025 10:40 UTC

Return-Path: <mlichvar@redhat.com>
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 C8D43C1ECA97 for <ntp@ietfa.amsl.com>; Wed, 19 Feb 2025 02:40:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.251
X-Spam-Level:
X-Spam-Status: No, score=-2.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.148, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
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 uGxpo4gA3d5I for <ntp@ietfa.amsl.com>; Wed, 19 Feb 2025 02:40:34 -0800 (PST)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F6ADC1E67FE for <ntp@ietf.org>; Wed, 19 Feb 2025 02:40:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1739961632; 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=Ks6wf0dbIOBFkYEzh1dRDetWyHvDyOL2rof5sOjF1vc=; b=WxOK6g5ZlxH++uuEUFct2HTjXPW6xJVmwUDnMWeUpHRmbWNBZdNLSnNTI0To9O6Nxfyvqp TMv1rSdXl08QPSXskUGzOMP/j0Awx7DJbGhjodO9g4CkNs/ASTr4z9FE52tvCSE9O2+aMM Fe4oWqU8uuN6UVO2gqkIXHt5U/95ahg=
Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-25-_BY2EGxPOuON0Kozr9CquA-1; Wed, 19 Feb 2025 05:40:30 -0500
X-MC-Unique: _BY2EGxPOuON0Kozr9CquA-1
X-Mimecast-MFC-AGG-ID: _BY2EGxPOuON0Kozr9CquA_1739961629
Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B4717190F9E6; Wed, 19 Feb 2025 10:40:29 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AD85F1800352; Wed, 19 Feb 2025 10:40:28 +0000 (UTC)
Date: Wed, 19 Feb 2025 11:40:26 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <Z7W1GoS_X17_383Z@localhost>
References: <c39a7031-e2e1-4b0e-930e-56b98c047961@ntp.org> <Z7WgtMSv25E9HoQt@localhost> <cb02e50d-6a68-4fc9-953c-a96fa113380e@ntp.org>
MIME-Version: 1.0
In-Reply-To: <cb02e50d-6a68-4fc9-953c-a96fa113380e@ntp.org>
X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111
X-Mimecast-Spam-Score: 0
X-Mimecast-MFC-PROC-ID: ahypryirn-pPaksZUTpT2aAn-Pugf7AVuDstFpoeffU_1739961629
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Message-ID-Hash: VRDXSLTQ2A2Y7QD6JZZNBK4JEWGXVBCG
X-Message-ID-Hash: VRDXSLTQ2A2Y7QD6JZZNBK4JEWGXVBCG
X-MailFrom: mlichvar@redhat.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ntp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ntp@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ntp] Re: NTP Extension Field additions, and IANA NTP table management process
List-Id: Network Time Protocol <ntp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/VgNEjVDcHPsZvpQVW9EcYHWDke0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Owner: <mailto:ntp-owner@ietf.org>
List-Post: <mailto:ntp@ietf.org>
List-Subscribe: <mailto:ntp-join@ietf.org>
List-Unsubscribe: <mailto:ntp-leave@ietf.org>

On Wed, Feb 19, 2025 at 02:12:17AM -0800, Harlan Stenn wrote:
> The format of EFs and the Type field has been as I have described it since
> the inception of extension fields in NTPv4.

Maybe that was the intention, but RFC5905 didn't describe it like
that. RFC5906 is informational.

> I don't understand.  Are you saying that 256 type may not be enough for
> NTPv4?

Yes. It's not just NTPv4. There will be NTPv5, v6, ...

> I'll point out that we're now talking about 18 or 19 (or if your number is
> correct, 23) out of 256 total being consumed in *25 years*.

That doesn't mean the rate cannot accelerate. The 13 proposed ones
could be allocated in a single year or only few years apart.

> Beyond that, it would be trivial to declare a new EF type, say an Extended
> Extension Field, which would be implemented in that packet's data payload,
> that would have room for at least 16*256 *more* EFs.

Or we could just fully use the existing 16-bit type, avoiding
complications in future.

> The working group is already talking about v5, and v5 can change the EF
> stuff in any way it wants.

The current plan is to keep all types in one table to keep it simple.
The EFs specified for NTPv4 will still work in NTPv5.

-- 
Miroslav Lichvar