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

Danny Mayer <mayer@pdmconsulting.net> Tue, 16 August 2022 16:05 UTC

Return-Path: <mayer@pdmconsulting.net>
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 A46DFC1524BD for <ntp@ietfa.amsl.com>; Tue, 16 Aug 2022 09:05:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.118
X-Spam-Level:
X-Spam-Status: No, score=-1.118 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RDNS_NONE=0.793, T_SCC_BODY_TEXT_LINE=-0.01] 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 Q31gisiFuXaK for <ntp@ietfa.amsl.com>; Tue, 16 Aug 2022 09:05:32 -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 11CA5C1524AC for <ntp@ietf.org>; Tue, 16 Aug 2022 09:05:22 -0700 (PDT)
Received: from [192.168.1.156] (pool-108-26-202-2.bstnma.fios.verizon.net [108.26.202.2]) (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 4M6bb61yp2zMNZk; Tue, 16 Aug 2022 16:05:22 +0000 (UTC)
Message-ID: <dfeccb6c-b7cf-0873-5688-11c251a0569b@pdmconsulting.net>
Date: Tue, 16 Aug 2022 12:05:21 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <PH0PR06MB70611F2331D8255F7E2B6604C2999@PH0PR06MB7061.namprd06.prod.outlook.com> <0b4c7efa-3977-b588-0974-33b6a9437e52@nwtime.org> <YvDWC27qKnODlD52@localhost> <0b57b7db-772e-f5e6-e6a0-a433673f3d77@nwtime.org> <YvED7T5R0UsRWbv3@localhost> <b64c6a0a-ea2e-0a19-4bb9-38bfaa2e5032@nwtime.org> <YvIUIu1LaloEjJMb@localhost> <a500eea8-e6a1-c10f-2385-3a05fb0e9638@pdmconsulting.net> <Yvomi1Y5hWhPi8Av@localhost> <4723f2b2-43b0-a9ee-4d80-6e31d74b9d3a@pdmconsulting.net> <YvtBSLkHF1JpGH07@localhost>
From: Danny Mayer <mayer@pdmconsulting.net>
In-Reply-To: <YvtBSLkHF1JpGH07@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/vSgUre_kBRt9L4S1wMdoWdO2UQw>
Subject: Re: [Ntp] 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: Tue, 16 Aug 2022 16:05:43 -0000

On 8/16/22 3:03 AM, Miroslav Lichvar wrote:
> On Mon, Aug 15, 2022 at 04:27:47PM -0400, Danny Mayer wrote:
>> On 8/15/22 6:57 AM, Miroslav Lichvar wrote:
>>> The IANA registry includes the values from RFC 5906, which nobody is
>>> using. ntpd is using its own values. That's one of the issues that the
>>> draft in the subject is supposed to address.
>>>
>> Are you saying that the ones in the IANA registry are wrong or that RFC5906
>> is wrong? Or both?
> The IANA registry matches the values in RFC 5906, but they don't match
> the values used by ntpd. There doesn't seem to be an implementation
> using the IANA/RFC5906 values. The document discussed here is trying
> to update the IANA table to include both sets of values in order to
> prevent conflicts with newly specified extension fields, as already
> happened with NTS.
>
> My understanding is that RFC5906 was based on the ntpd implementation,
> similarly to RFC5905, so other implementations could interoperate with
> it. I think the discrepancy can be easily explained as an oversight.
> There are macros used in the code and it's not very obvious how the
> values are encoded in the type field.
>
I had a conversation with Harlan about this. It turns out that the 
Autokey version currently implemented in the ntpd reference 
implementation is using what is called a v1 version of the extension 
field while RFC5906 is documenting the v2 version of the extension 
field. I was not aware of this when I put it into the draft of RFC5906. 
Dave Mills never mentioned that to me. My apologies for that.

Danny