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

Miroslav Lichvar <mlichvar@redhat.com> Wed, 17 August 2022 13:26 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 835E5C157B47 for <ntp@ietfa.amsl.com>; Wed, 17 Aug 2022 06:26:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.679
X-Spam-Level:
X-Spam-Status: No, score=-2.679 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, 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 q6pyQEQnG1nz for <ntp@ietfa.amsl.com>; Wed, 17 Aug 2022 06:26:30 -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 CA0B2C159483 for <ntp@ietf.org>; Wed, 17 Aug 2022 06:24:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660742666; 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=UHR7daIx96sSSfVkuFNsB2fUvmLyjjyPy9AnFcZCZYs=; b=DbIyS6vZHOH/FoPMkusdeuebTdIVkgwZTABp9mTrEKJSn1ctUMAv453TS7Oo6F5f4pulhs HGkCYsewZyfJSq0aDc9OXiRyd8IAHX3InYrEyEtCfKYnmUd3Y8VfPaDYJsY2hTEiiKqEVY KyT1jnVqogtECdwki4eeGLGZrVB1Jos=
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-582-kmQv1VLLMA-ujqqTBhi20Q-1; Wed, 17 Aug 2022 09:24:22 -0400
X-MC-Unique: kmQv1VLLMA-ujqqTBhi20Q-1
Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 784A61C0BC6C; Wed, 17 Aug 2022 13:24:22 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ACBE9492C3B; Wed, 17 Aug 2022 13:24:20 +0000 (UTC)
Date: Wed, 17 Aug 2022 15:24:19 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@nwtime.org>
Cc: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>, Heiko Gerstung <heiko.gerstung@meinberg.de>
Message-ID: <YvzsAxnyEoNCw8bI@localhost>
References: <FF22AEFE-ED61-405E-AB40-B7901D0CD588@meinberg.de> <f79cecd6-92b0-595b-e449-6b6f8944ae66@nwtime.org> <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>
MIME-Version: 1.0
In-Reply-To: <3d6d3d96-09cf-1122-f866-f561e676ce0b@nwtime.org>
X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9
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/218lAIf9AxlLnO4tqCpiEl7DT2A>
Subject: Re: [Ntp] 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: Wed, 17 Aug 2022 13:26:32 -0000

On Wed, Aug 17, 2022 at 02:30:20AM -0700, Harlan Stenn wrote:
> I believe that's what has already been done.  For the timing modes:
> 
> v2 to v3 changed a variable in the packet header.

So if a v2 server responded to v3 request with v2 data in v3 packet,
the client would get incorrect data?

I thought you said the idea was to add new fields if incompatible
changes are made.

In case you forgot, v2 was not compatible with v1 either.

> v3 to v4 added extension fields.

As Ulrich already explained, that works only for the v3-subset of the
protocol, i.e. the same is if the protocol number didn't change.

A v3 server is not able to respond to a v4 request containing
extension fields, even if it's authenticated with a symmetric key that
the server knows.

> As I have said many times, the design of the timing modes and the packet
> structure allows NTP to reply to packets of lesser, equal, or greater
> version numbers and "it just works".

No, it doesn't. You may think it works, but you just don't see the
whole picture.

> Your NTPv5 work is explicitly breaking that rule, and y'all are apparently
> only recently beginning to see some of the consequences of that choice.

That rule isn't written anywhere and as you just shown, it wasn't
followed anyway. Why should be v4->v5 be different?

> It's not clear to me what or how long it will take for a v5 client to detect
> and remediate an attempt to talk to a v4 server.

If you read the draft, you would know there is no additional delay.

> It's not clear to me what or how long it will take a v4 client to detect and
> remediate an attempt to get time from a v5 server that does not respond to
> the v4 request.

As was said multiple times, a v5-only server cannot respond to v4
requests. The same as a v4-only server following RFC5905 cannot
respond to a v3 request and the same as a v3-only server following
RFC1305 cannot respond to a v2 request.

> > > > Are there any client implementations using the NTPv4 control mode?

> If that is, indeed, what you are asking, then no, I'm not aware of anything.
> But how does that matter?

It gives us an idea how important it is to have it specified.

-- 
Miroslav Lichvar