Re: [Ntp] I-D Action: draft-ietf-ntp-roughtime-08.txt

Hal Murray <halmurray@sonic.net> Sun, 22 October 2023 11:22 UTC

Return-Path: <halmurray@sonic.net>
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 DE4FDC14CEF9; Sun, 22 Oct 2023 04:22:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 l-xqSZ5XtXeK; Sun, 22 Oct 2023 04:22:38 -0700 (PDT)
Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (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 1F529C14F74A; Sun, 22 Oct 2023 04:22:37 -0700 (PDT)
Received: from 107-137-68-211.lightspeed.sntcca.sbcglobal.net (104-182-38-69.lightspeed.sntcca.sbcglobal.net [104.182.38.69]) (authenticated bits=0) by d.mail.sonic.net (8.16.1/8.16.1) with ESMTPSA id 39MBMafu025399 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 22 Oct 2023 04:22:36 -0700
Received: from hgm (localhost [IPv6:::1]) by 107-137-68-211.lightspeed.sntcca.sbcglobal.net (Postfix) with ESMTP id 248CE28C245; Sun, 22 Oct 2023 04:22:36 -0700 (PDT)
X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8
To: ntp@ietf.org
cc: i-d-announce@ietf.org, Hal Murray <halmurray@sonic.net>
From: Hal Murray <halmurray@sonic.net>
In-Reply-To: Message from internet-drafts@ietf.org of "Wed, 18 Oct 2023 15:42:50 -0700." <169766897083.19005.16520093276970985628@ietfa.amsl.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 22 Oct 2023 04:22:36 -0700
Message-Id: <20231022112236.248CE28C245@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
X-Sonic-CAuth: UmFuZG9tSVZIwqRS2YJiMJ+Et18dQHprqkM7X0+7eYzsq3xBhMa1Hy4f4bEZHo+O/kfyTLEI6poaVK/wFD+Ya8sULkZnm8STf4D1JiueCHE=
X-Sonic-ID: C;YHlVTc1w7hGo3H8cP63e0g== M;BtdvTc1w7hGo3H8cP63e0g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/N3cN6aoh51yUUl6QN7XmaxM71KM>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-roughtime-08.txt
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: Sun, 22 Oct 2023 11:22:39 -0000

I think there are two ideas tangled up in here.  One is how to get NTS off the 
ground if you don't know the time.  (NTS needs time to check certificates.)  
The other is a way to prove that a server is lying or busted.

I'm interested in the first one.  It's really hard to figure out what you have 
in mind.

The introduction says "Roughtime uses a list of keys and servers to resolve 
this issue."

Section 10 has a list of 4 servers with a note to the RFC editor to delete 
that section.  So how is a client going to find servers?

Whatever your plan is for distributing that list, why is Roughtime better than 
just distributing a list of root-certs for trusted NTS servers?

You didn't say anything about the life time of your list.  I think the getting 
off the ground area is worth some serious thought and discussion.  The simple 
case is something like a Raspberry Pi that doesn't have a RTC.  The nastiest 
case I know of is hot standby modules for Telco or SCADA applications that may 
sit on the shelf for 10s of years.

Are there other IETF groups working on getting off the ground and/or updating 
things like root certificates?


Section 7 discusses Integration Into NTP

I'd be happy if you drop this section.  I assume it's obvious how to use 
Roughtime to get a time that NTS can use for checking certifictes.  That's all 
NTP needs.


You don't say where your delta or sigma come from.  (They are probably 
leftover from the part I didn't read.)

Getting a useful PHI might be tough.  Have you worked through any numbers?  
(I'll say more if you want.)  I think you need another parameter -- how 
accurate do you expect your clock to be.

Your "MUST use Roughtime" when stepping the clock is not reasonable.  ntpd can 
make small steps.  (I had a reproducable test case.  Downloading a big file on 
my old, slow DSL line had enough bufferbloat to kick ntpd over the 128ms step 
threshold.)

My reading of "MUST use Roughtime" is to run it again, but you didn't actually 
say that.  If a small step is still close enough you could use the previous 
Roughtime.

My thinking has been assuming that I'm using NTS.  If so, why are your 
Roughtime servers going to be any better than my authenticated NTP servers?

That gets into the whole area of which servers to trust.  I think that would 
be a good discussion.


So on to proving that a server is busted.  Why is the proof part important?  
How would that fit into a program for monitoring NTP servers?

The pool has a monitoring setup.  Do you have any data from Ask?  How often 
does he kick out buggy servers?  (as compared to ones that don't respond)

---------

I'm working from a printed version of the PDF.
There are no page numbers.
The Table of Contents (second sheet) doesn't have page numbers.


Typo:
   Section 7:  "fall to far otside"
   "to" => "too"

End of Section 7:  "may wish to" (at end)
  May wish to what?

Section 3:
  "absolutely confident"
Absolute is pretty strong.  I get suspicious when I see things like that.

Section 8: Grease
  I'm not familiar with the use of that term in this context.


-- 
These are my opinions.  I hate spam.