Re: [Ntp] Antw: Re: Calls for Adoption -- NTP Extension Field drafts -- Four separate drafts

Daniel Franke <dfoxfranke@gmail.com> Mon, 09 September 2019 16:18 UTC

Return-Path: <dfoxfranke@gmail.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 60DFF120271 for <ntp@ietfa.amsl.com>; Mon, 9 Sep 2019 09:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V1LLIJ2T_LlJ for <ntp@ietfa.amsl.com>; Mon, 9 Sep 2019 09:18:24 -0700 (PDT)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D6D012080F for <ntp@ietf.org>; Mon, 9 Sep 2019 09:18:12 -0700 (PDT)
Received: by mail-io1-xd2d.google.com with SMTP id r8so5125477iol.10 for <ntp@ietf.org>; Mon, 09 Sep 2019 09:18:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MSv6mNlMvwxt3W2o2qJr57Ez3semhOklmBpl+TcPx+k=; b=Y1fCqh3yw56aUhcmDXN9C1yt1j6yuuLjfgHNCPdwul+W+ntV4IFMOJF+PZiAu0/xXL MlE/qKCFEocEvt55tactkjWTSd53DExU+ujQrrSzc1XgbWYjaizKvkihMJpceTjPvwLM rMaOcLKt7VwAKaCV+9/UhoBQ/V63UiYT7JShfljQhByow6XaOkMvimn8WHm3PbAVw7ur ijAsJD8kiogyokas5En2vwbe6RfE/J6uQCd9TtiKKMLx6K7RbrIENYnyQWLjISJug+ga RtYsga7jQqX7ljgcoEYVe0dShsiW0LhQxq4UiS7LCt1A87EROzaJNUZtGUr14AKjeoiY 3PTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MSv6mNlMvwxt3W2o2qJr57Ez3semhOklmBpl+TcPx+k=; b=XrgbfwjPHdFgTJ1PX8RNH2kcOVj8bx/ATYLhz6WUA69I4sR0+/mSBHlL76e/CNeXx9 L98heuxaEb+2++pZfTCUr5L6LjYN3XLg8pleqVoFOWGbB3/7A8vd5M/fKl/UKVi6DlHc rITWZmk1WFmHqQwb0N2NK+l3dEGowtrGH8oM2iTdWLrYL46Ay/BPkCpHkvpkXQG81kEN 4qzyimyNOInYmqYeZMS6+Y9/UqjYoBmRRMMaX/imLpz3KJahiZihSSkkBDBYvChP1evD rlnxK4MssVxKSsvxZk/IK04Cht9h0rIQJj4B1KREdeJsmbBBMDYsuftjK6zVq0C5UxcO qdSA==
X-Gm-Message-State: APjAAAUbH20wbefxZBPfLyIWfUYw/mRmzYIN1FY9PwS9wUR3LkpASqcG SrZHFB9wRLO702vqHmBAcnrKIwexH4BLZVPaKTg=
X-Google-Smtp-Source: APXvYqxKD5Fb9jo4VIqRveQGJvteo7uF9lxaXjGdYTzDnbCW4SRRhH7hwat3VwdbA3cOvUXnAKDqxiz+pGelzmvinoU=
X-Received: by 2002:a02:3f5c:: with SMTP id c28mr26046390jaf.103.1568045891766; Mon, 09 Sep 2019 09:18:11 -0700 (PDT)
MIME-Version: 1.0
References: <heiko.gerstung@meinberg.de> <F9ECE897-2A6D-4336-86B6-88F87FC4BA89@meinberg.de> <20190903081335.15AB8406062@ip-64-139-1-69.sjc.megapath.net> <AF23AEA1-E2A4-4F4B-9649-21BCF3BFBD8B@akamai.com>
In-Reply-To: <AF23AEA1-E2A4-4F4B-9649-21BCF3BFBD8B@akamai.com>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Mon, 09 Sep 2019 12:18:01 -0400
Message-ID: <CAJm83bC81BWxGPmGbaTgxU6vmKtWF_-j5oMohyU9M5YX9HqbYQ@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: Hal Murray <hmurray@megapathdsl.net>, Heiko Gerstung <heiko.gerstung@meinberg.de>, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/hRXnehkUQU2_ADQl9FgSkFR-wZY>
Subject: Re: [Ntp] Antw: Re: Calls for Adoption -- NTP Extension Field drafts -- Four separate drafts
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Mon, 09 Sep 2019 16:18:26 -0000

On Mon, Sep 9, 2019 at 12:08 PM Salz, Rich <rsalz@akamai.com> wrote:
>
> >    It can't.  There are fields in a NTP v3 reply that are copied from the request
>     packet.  The v3 only system doesn't know how to find them in a v4 packet.
>
> So that could be a signal to the sender that the receiver does not know the version, right?

The only thing that would really paint us into a corner would be if
there were a lot of v4 servers out there that reply to v5 packets with
something structured like a v4 packet but with a 5 in the version
field. That would create a big mess for the client to figure out
whether what it's getting back a response from a correct v5 server or
a broken v4 server. As long as v4 servers never put any version higher
than 4 in their replies, then a v5 client can interpret any v4
response as an error signal no matter whether that was what the server
intended. But it's really silly for a v4 server to attempt to reply to
a v5 request with anything but an error.

I propose we just avoid this situation entirely by making NTS a
mandatory part of v5. NTPv5 gets a separate NTS Next Protocol code
from NTPv4, so version negotiation happens during NTS-KE. And then no
correct client will ever emit a v5 time packet without already knowing
that the server supports v5.