Re: [Ntp] WGLC: draft-ietf-ntp-refid-updates (Network Time Protocol REFID Updates)

Steven Sommars <stevesommarsntp@gmail.com> Wed, 05 December 2018 19:57 UTC

Return-Path: <stevesommarsntp@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 1294C130DF1 for <ntp@ietfa.amsl.com>; Wed, 5 Dec 2018 11:57:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 88vvP9RQDeSx for <ntp@ietfa.amsl.com>; Wed, 5 Dec 2018 11:57:04 -0800 (PST)
Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (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 C8F8412D4EB for <ntp@ietf.org>; Wed, 5 Dec 2018 11:57:03 -0800 (PST)
Received: by mail-vs1-xe36.google.com with SMTP id e7so12872530vsc.2 for <ntp@ietf.org>; Wed, 05 Dec 2018 11:57:03 -0800 (PST)
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=U9RE8H0JbEncG7/944OKYiOrnRsKwyhq7w8zhBEiJms=; b=odAJG5PaEj2X0ttcsJ8A0eZO1woJEtG2Ygwze3MJSxJVB/PKuDNwbEkOnE2qTM8Jtl ekT3TuZgYU/FyXFPkMEe/gZAX1J8oYHda/c8jJzvmu4ecfTf7yKKQaYfW0DSbpK7fsjA lM72fUPd0HKjR5lZXRUoQCGz9Cq6bssqf9U+oHVOY8nFE5D9Cnr2MTnPqUKAYXIWxnhM oqi7oq0dLL6s06asVovlGbzN2x88Tc9Fb1/2C2dm4KlGvy5tPcbalEURic9SRhDC/G3Q r2SJTdzT1zgHYtyuzKdWRy0MCuyYb4lBAdVyo75lkVxA9puC2ZNop+etqqB7xZqNtLNw 9ehQ==
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=U9RE8H0JbEncG7/944OKYiOrnRsKwyhq7w8zhBEiJms=; b=M7IgvKRYT443nppzaoZQi6iu5k/7FUyoXbtmIFo+IzdYXbhofA4Xo0MXtzb7vyoDQf 71H+3cfL2fvomwFv3DqWiHWfatuFStxBv3KfuCxFepd3esLNLz73NYu/oC2/n7VggrC5 Oh4O/okf4Wnnt55SclHkQU1wpXEXUl4HAdtM0JhMbxrIaQUThrogwo2/A0DNQn7G99Ot l4wDBNwuo1KPCP33n5PFnTh+2uk2q34PUKqZPZnLY/+EQd1BcB19+Wm8E+c57vQ2CQ7o p/0QBU2iJ28LlG9Os722/c8QmQRXGd5j/04vaNz7cQEV1cFjmqE8zwm/MzGfzbQ9im3n CWhQ==
X-Gm-Message-State: AA+aEWbeMVoo/JGn8hQ2iSrHi+R41dNWCqhGcBMIbtBH3UlUSfCTeg8w 2rYdQxFv/FUENmy/fvjuM4gY6S34sk3Dg6/klVJlmobS
X-Google-Smtp-Source: AFSGD/XlNowfmwz/2BU2DB3SWy944ZuBVVTZd3LWQhMVTUmuyy6vANsBcMWA0QJFU6Y0yZAfOcZL9OCMfGufHcU+ugk=
X-Received: by 2002:a67:6f82:: with SMTP id k124mr11343223vsc.42.1544039822792; Wed, 05 Dec 2018 11:57:02 -0800 (PST)
MIME-Version: 1.0
References: <233E3DDE-C85D-495B-8052-AE2DCDAE925B@isoc.org> <20181205173654.GC28938@localhost>
In-Reply-To: <20181205173654.GC28938@localhost>
From: Steven Sommars <stevesommarsntp@gmail.com>
Date: Wed, 05 Dec 2018 13:57:13 -0600
Message-ID: <CAD4huA5g6H1nQYhptuzOnoDxUTy0b_+LK9cpaWedhvNPB6riuA@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: ntp@ietf.org
Content-Type: multipart/alternative; boundary="000000000000281b95057c4bc95b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Z1TgQJWMdQ5EIbxbYHVHs0elEoE>
Subject: Re: [Ntp] WGLC: draft-ietf-ntp-refid-updates (Network Time Protocol REFID Updates)
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: Wed, 05 Dec 2018 19:57:06 -0000

I'm monitoring public NTP servers, many of which are in the NTP pool (
https://www.ntppool.org)
Over twenty stratum 2 servers currently report via the refid field that
they are sync'd to Google NTP servers, time.google.com.
The Google servers implement leap second smearing, which may be
unexpected/unwanted.
There are other examples where a stratum 2+ server sync'd to a faulty time
source.

Implementation of this draft would make such identifications impossible.







On Wed, Dec 5, 2018 at 11:37 AM Miroslav Lichvar <mlichvar@redhat.com>
wrote:

> On Tue, Nov 06, 2018 at 09:05:19PM +0000, Karen O'Donoghue wrote:
> >
> > Folks,
> >
> > This message initiates a three plus week working group last call for:
> >
> > Network Time Protocol REFID Updates
> > https://datatracker.ietf.org/doc/draft-ietf-ntp-refid-updates/
>
> This document was started a long time ago and it had some nice
> improvements, but I'm still not sure the proposed changes are worth
> the problems they would cause. This was discussed many times before,
> so just a quick summary of the issues I see:
>
> The proposed IPv6 refid is not compatible with RFC 5905. This will
> cause issues between new and old implementations. We can discuss what
> impact these issues would really have, but they do exist.
>
> Shrinking the refid space for IPv6 to 24 bits will make collisions
> between IPv6 addresses more likely. There are public servers with IPv6
> addresses that didn't collide before, but would collide with the
> proposed change. I don't see a point in avoiding collisions between
> IPv6 and IPv4 addresses, when the total number of collisions would be
> much larger.
>
> The NOT-YOU refid may have some small security benefits, but it breaks
> existing use cases of the field.
>
> For example, an NTP client can reject servers that are synchronized to
> another server used by the client (e.g. A => C and A => B => C).
> Hiding the refid will prevent this.
>
> The refid field is useful for debugging. For example, it allows us to
> find a small group of servers in a larger group that spreads wrong
> information about leap seconds. I think that the time source of a
> server shouldn't be secret, at least with public servers, and that's
> where the NOT-YOU refid would probably be most useful for security.
> I'm conflicted on this.
>
> --
> Miroslav Lichvar
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>