Re: [Ntp] 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 10:57 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 ED1EFC14CF10 for <ntp@ietfa.amsl.com>; Thu, 11 Aug 2022 03:57:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.689
X-Spam-Level:
X-Spam-Status: No, score=-2.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_NONE=-0.0001, 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 tEnkYAKhORhU for <ntp@ietfa.amsl.com>; Thu, 11 Aug 2022 03:57:15 -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 C1C45C14F740 for <ntp@ietf.org>; Thu, 11 Aug 2022 03:57:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660215434; 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=dYGMolT15sVEnPFpqorC0TabKJxioq67nCQYJeCO3uI=; b=FB4Ov6Dg/1TkkLhHYVFkLFfCBBF2V1yBU6fx9ayT41VV9kCx+b/cYQYViQM0jzdXH/+KOS E+PmFSHtzI8j1U9VdL2P00bmbaXViQrDeqfDe0qhEQ0jY0iigIexDvN3JlUa/FvL+fbdT6 mN+UBG1Y0t/vlqVl5fTjVvvsAOOwkh4=
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-244-7qJ1tpV7PyOD4WYawGeSVg-1; Thu, 11 Aug 2022 06:57:10 -0400
X-MC-Unique: 7qJ1tpV7PyOD4WYawGeSVg-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 C63AC29ABA07; Thu, 11 Aug 2022 10:57:09 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 166D3C15BA4; Thu, 11 Aug 2022 10:57:08 +0000 (UTC)
Date: Thu, 11 Aug 2022 12:57:08 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@nwtime.org>
Cc: Martin Burnicki <martin.burnicki=40meinberg.de@dmarc.ietf.org>, "ntp@ietf.org" <ntp@ietf.org>, Hal Murray <halmurray@sonic.net>
Message-ID: <YvTghH4nLX2I0SVV@localhost>
References: <20220809030711.F00DC28C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <7eef9a6f-a115-b009-24e5-2b96a8bc02ae@meinberg.de> <YvI4qRV+MOrmYKey@localhost> <de5650d1-bf3a-34bf-9812-acb942364f4f@nwtime.org>
MIME-Version: 1.0
In-Reply-To: <de5650d1-bf3a-34bf-9812-acb942364f4f@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/NlbA3pW7sOpPVzT67-rsvPAwHDg>
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: Thu, 11 Aug 2022 10:57:18 -0000

On Thu, Aug 11, 2022 at 03:16:05AM -0700, Harlan Stenn wrote:
> On 8/9/2022 3:36 AM, Miroslav Lichvar wrote:
> > The proposed NTPv5 header is not compatible with NTPv4. Servers can
> > support multiple versions. If they support NTPv5, they should respond
> > with NTPv5. If they don't support NTPv5, they shouldn't respond with
> > anything.
> 
> We disagree.  That's not a problem.  What's wrong with that choice being a
> local policy choice on the part of either the implementation or the
> responding system?

You don't see a problem with sending messages marked as being in one
version, but conforming to another version?

All servers that currently respond to NTPv5 requests are broken. There
is no NTPv5 specified yet. Unfortunately there is a large number of
them, so we need to make sure NTPv5 clients will not accept these
responses.

> > There should be no ambiguity with extension fields. NTPv5 is expected
> > to be compatible with NTPv4 extension fields. The main use case will
> > be NTS. Autokey is insecure and should not be used.
> 
> I don't understand.  Are you saying that if a v4 client sends an NTS packet
> to a v5 server and that packet "passes the checks" then the v5 server should
> respond with a v4 response?

If the v5 server supports v4, then yes. If it supports v5 only, it
should not respond.

> I think that's what you're saying, and in that
> case the issue of compatibility is moot - the v5 server is not responding
> with v5 EFs.

The compatibility I mentioned makes it easier for existing NTS
implementations to support NTPv5 in addition to NTPv4. I don't expect
there to be any NTPv5-exclusive implementations, at least in near
future.

-- 
Miroslav Lichvar