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

Miroslav Lichvar <mlichvar@redhat.com> Tue, 16 August 2022 06:48 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 EC797C159493 for <ntp@ietfa.amsl.com>; Mon, 15 Aug 2022 23:48:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable 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 xG_TmEHUIvTR for <ntp@ietfa.amsl.com>; Mon, 15 Aug 2022 23:48:51 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 A4865C159495 for <ntp@ietf.org>; Mon, 15 Aug 2022 23:48:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660632493; 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=d2kJpuqd+Gpv06gQcidSKhpqAJtZdQyqNxvQPQTI844=; b=h0TTJ86KJfv0XXPrxzgmJ2tq6794xALKF6j+YquQ1KrazLtgX0R6SDWrCUq4xbIiHO5ale kzzfwwSPX41nLdffQhojfbBt3T62uWwpq9wlTYN2Xa8MehvWbccn3C9Pyj8PdIF903eJ5T rBtJWwUiUr1K6y7CBIubP+Ufxd69jC4=
Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-596-0iyTUCkNMDeAwjTMOCD4Vg-1; Tue, 16 Aug 2022 02:48:07 -0400
X-MC-Unique: 0iyTUCkNMDeAwjTMOCD4Vg-1
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9C7C1299E759; Tue, 16 Aug 2022 06:48:07 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D5DF51121319; Tue, 16 Aug 2022 06:48:06 +0000 (UTC)
Date: Tue, 16 Aug 2022 08:48:05 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Heiko Gerstung <heiko.gerstung=40meinberg.de@dmarc.ietf.org>
Cc: Harlan Stenn <stenn@nwtime.org>, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <Yvs9pU7gODIDKAlu@localhost>
References: <b64c6a0a-ea2e-0a19-4bb9-38bfaa2e5032@nwtime.org> <656D355F-E06A-4005-B9D6-90885FA8509D@akamai.com> <1a4bae28-f0f3-e675-899a-bad597b4ee29@nwtime.org> <F74A7B5B-3D77-42AF-BD7E-1A874CCD2D66@akamai.com> <67545c9a-3291-bbe6-c876-4c762c80c710@nwtime.org> <FF22AEFE-ED61-405E-AB40-B7901D0CD588@meinberg.de> <f79cecd6-92b0-595b-e449-6b6f8944ae66@nwtime.org> <133C5633-E4D5-42AF-8215-E3FDE28C5BF9@meinberg.de> <Yvon8eNc4hlI4LbG@localhost> <83E424AA-F0B8-48C0-B05A-33296EA5A6D9@meinberg.de>
MIME-Version: 1.0
In-Reply-To: <83E424AA-F0B8-48C0-B05A-33296EA5A6D9@meinberg.de>
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/-3ELgxKe95q8PQRHA4ba_UmThb0>
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 06:48:52 -0000

On Tue, Aug 16, 2022 at 08:30:57AM +0200, Heiko Gerstung wrote:
> One situation we have to take care of IMHO is an NTPv2/v3/v4 client trying to use a V5 server. Maybe it would be better to just state that a V5 only implementation must not respond to V2,V3,V4 requests. If it chooses to support those older protocol versions, it has to respond with the correct (requested) packet format. 

Yes, that is specified in the current NTPv5 draft.

> The second problem is an NTP V5 client sending a request to a V2/V3/V4 server. It would be possible to send a V5 NTP request in a V4 compatible format here (as a probe) and if we receive a response indicating that V5 is not supported (as far as I understood, ntpd would for example send a V4 response, others might choose not to respond at all), we can go away and look for a V5 supporting server. 

That is also specified in the NTPv5 draft. The client can send an
NTPv4 request with a specific reference timestamp and if the server
supports NTPv5, it will respond with NTPv4 and the same specific
reference timestamp, so the client will know it can switch to NTPv5.

-- 
Miroslav Lichvar