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

Miroslav Lichvar <mlichvar@redhat.com> Thu, 11 August 2022 11:17 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 699E4C14CF12 for <ntp@ietfa.amsl.com>; Thu, 11 Aug 2022 04:17:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.689
X-Spam-Level:
X-Spam-Status: No, score=-7.689 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.582, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, 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 DD72dtjpoCTg for <ntp@ietfa.amsl.com>; Thu, 11 Aug 2022 04:17:00 -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 95E0BC14CF10 for <ntp@ietf.org>; Thu, 11 Aug 2022 04:17:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660216619; 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=Beypmt3l/LSVZ7jOO4DyIq7FtUSz9FoXeWwHA3u9i1U=; b=NJPw2YeUrKioYF/UfqlRy0X8Is4DofaFibfE1z2xj+c/RXqlFbhh6BPSJqxlq0pDP0SyPP Lzhp7PvuAytSgvkL/SgS2vtREk9Lvft70B1pWTk9SPcHROeGHSkwxboWyvJO7BASygDPzf VMHvX0sW3Clf7PV1jSk2F65J7e1Xw50=
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-304-SdQ0RA1COYau7LyR9m5atQ-1; Thu, 11 Aug 2022 07:16:55 -0400
X-MC-Unique: SdQ0RA1COYau7LyR9m5atQ-1
Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4957D3803900; Thu, 11 Aug 2022 11:16:55 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2CBCDC15BA4; Thu, 11 Aug 2022 11:16:54 +0000 (UTC)
Date: Thu, 11 Aug 2022 13:16:53 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@nwtime.org>
Cc: Martin Burnicki <martin.burnicki@meinberg.de>, Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>, halmurray@sonic.net
Message-ID: <YvTlJYigcXtZtXGS@localhost>
References: <20220809030711.F00DC28C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <7eef9a6f-a115-b009-24e5-2b96a8bc02ae@meinberg.de> <62F23E8A020000A10004C393@gwsmtp.uni-regensburg.de> <1adca9bf-81fa-189f-ae13-47c049e02721@meinberg.de> <7a445ad1-f93c-8c18-834c-503c60f17911@nwtime.org>
MIME-Version: 1.0
In-Reply-To: <7a445ad1-f93c-8c18-834c-503c60f17911@nwtime.org>
X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8
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/nfPyBE5XgrpXiWUwTTAx9QFmnFs>
Subject: Re: [Ntp] Antw: Re: 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: Thu, 11 Aug 2022 11:17:02 -0000

On Thu, Aug 11, 2022 at 03:43:54AM -0700, Harlan Stenn wrote:
> The design is that the base packet for a given NTP protocol stays the same
> for future protocol versions.  If new info is wanted, it is APPENDED to the
> packet.  The easiest way to get new stuff there might be to use EFs, rather
> than by changing the base packet format and size.

Maybe that was the original intention, but if it's not specified
anywhere I don't think we should be prevented from making incompatible
changes in the protocol.

> If v5 comes along and makes the base packet larger, it should do so by
> appending the new data after the v4 base packet boundary.  Looking at A.5.3
> (fast_xmit()) in 5905, a v5 server would respond to a v5 client request with
> a v5 packet that is the expected size.  But a v4 (or v3) server would
> respond with a v5 version number in the header area with a base packet
> length of (to use the above example) 40 bytes.  The originating system would
> see it got a v5 response with a short length. That packet should be
> perfectly usable (as a v4 response).

If you look at A.5.1 in RFC5905, you will see

	if (r->version > VERSION /* or format error */)
		return;                 /* format error */

That is, an NTPv4 server is supposed to drop an NTPv5/6/7 request.

-- 
Miroslav Lichvar