
From nobody Tue Jul  2 05:31:36 2019
Return-Path: <fgont@si6networks.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 19054120089 for <ntp@ietfa.amsl.com>; Tue,  2 Jul 2019 05:31:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1vjtup-C8zpG for <ntp@ietfa.amsl.com>; Tue,  2 Jul 2019 05:31:32 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74E5012006A for <ntp@ietf.org>; Tue,  2 Jul 2019 05:31:31 -0700 (PDT)
Received: from [192.168.1.114] (unknown [160.176.57.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id D915592F58; Tue,  2 Jul 2019 14:31:28 +0200 (CEST)
To: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
References: <CAN2QdAGS20q=7+r+qMFEBBu4gNmSDR9-vYDbvgC=ZnqWLEU-6w@mail.gmail.com> <739c2eaa-05f1-0b30-4b64-fc5d3f91ce5b@pdmconsulting.net> <a3a545cf-d83d-a2c7-ad6c-3e349de78615@si6networks.com> <9f75e400-cf2f-053f-ed06-f4d6df415eaf@pdmconsulting.net> <70d86938-5d50-7732-5257-c698d7d308d6@si6networks.com> <b4a5d0ec-606e-7994-9bc9-e21e24f38def@ntp.org> <f4b5312c-b02c-ee51-1c59-f0467f51ab77@si6networks.com> <OF8F5917D8.BA274E92-ONC1258418.004C2FAF-C1258418.0052EEFB@ptb.de> <20190613100006.45108edd@rellim.com> <68186be5-764d-73e7-1631-04567edf28a7@si6networks.com> <20190613122929.0e049722@rellim.com> <3b7c6e55-b2a9-443c-e5cb-3b4c9e5bb642@si6networks.com> <20190614112522.2e5676f3@rellim.com>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= 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 wPI9brGzquUHy4qRrA==
Message-ID: <73f861c1-72e0-5e01-87e1-18658cd11859@si6networks.com>
Date: Tue, 2 Jul 2019 13:31:18 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
MIME-Version: 1.0
In-Reply-To: <20190614112522.2e5676f3@rellim.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/k-MlMs5GIH_ckW3ZANOCH3LFSr0>
Subject: Re: [Ntp] Details of the fragmentation attacks against NTP and port randomization
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: Tue, 02 Jul 2019 12:31:35 -0000

Hello, Gary,

On 14/6/19 19:25, Gary E. Miller wrote:
> Yo Fernando!
> 
> On Fri, 14 Jun 2019 14:07:29 +0300
> Fernando Gont <fgont@si6networks.com> wrote:
> 
>>> PROVEN to degrade.  With a few known mechanisms for that understood.
>>> Many more suspected but as yet undocumented.  
>>
>> What I'm saying it: the port number may affect the path in scenarios
>> where forwarding is somewhat based on the port number.
> 
> Yes.  That is one of a great many scenarios where randomizing the port
> per connection degrades the time qulity of the connection.

Just for the record: all of the revs we have published so for advised to
randomize the port on a per-association basis, not on a "per
transaction" basis.


> 
>> Unless you
>> assume that every router forwards packets with a hash-based algorithm
>> that includes the port, then randomization *may* affect the path.
> 
> So you propose one, of many, ways the random port per connection is
> bad.  Then sweep all the others under the rug because they are not that
> one?  Sloppy thinking.

No. I noted that the I-D has so far proposed to randomize the port on a
per-association basis, something that does not degrade the time quality.
That's what I've said.

We can add a discussion of "randomizing per-association vs.
per-transaction basis". In which case we should note the effect of
randomization on time quality. SO far that's not what the document has
been proposed. Hence I asked (and still ask) what are the alledged
negative effects of the type of randomization the I-D is actually proposing.




>> That said, at least in the IPv4 world, you have to learned to live
>> with this, since the pervasive of NATs means that it may be
>> impossible to enforce src=PORT (whatever port is), unless e.g. you
>> send requests every t<30 secs which is a usual NAT timeout for and
>> UDP "flow".
> 
> Yup.  The point of this discussion is finding the best of all the
> imperfect options.

When you randomize on the per-association basis (as opposed to
per-transaction basis), I still fail to see what are the problems it brings.


> 
>>> But your summary did not mention it.  
>>
>> Indeed the last rev didn't mentioned. In all fairness, I think it was
>> you that raised this (and we already starting working on this on our
>> working copy) -- those who objected to port randomization didn't raise
>> this, and even less considered per-association vs per-request
>> randomization in the objections they voiced.
> 
> I read the room differently. 

I'm all ears to hear/red your view.

Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue Jul  2 06:43:44 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 6159912009E for <ntp@ietfa.amsl.com>; Tue,  2 Jul 2019 06:43:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YfmLekP_ZCEv for <ntp@ietfa.amsl.com>; Tue,  2 Jul 2019 06:43:39 -0700 (PDT)
Received: from mx2.uni-regensburg.de (mx2.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:3:bdf8]) (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 28A5B120075 for <ntp@ietf.org>; Tue,  2 Jul 2019 06:43:39 -0700 (PDT)
Received: from mx2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 79BA76000051 for <ntp@ietf.org>; Tue,  2 Jul 2019 15:43:36 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx2.uni-regensburg.de (Postfix) with ESMTP id DFF21600004D for <ntp@ietf.org>; Tue,  2 Jul 2019 15:43:33 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Tue, 02 Jul 2019 15:43:33 +0200
Message-Id: <5D1B5F84020000A10003211E@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Tue, 02 Jul 2019 15:43:32 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>
References: <CAN2QdAGS20q=7+r+qMFEBBu4gNmSDR9-vYDbvgC=ZnqWLEU-6w@mail.gmail.com> <739c2eaa-05f1-0b30-4b64-fc5d3f91ce5b@pdmconsulting.net> <a3a545cf-d83d-a2c7-ad6c-3e349de78615@si6networks.com> <9f75e400-cf2f-053f-ed06-f4d6df415eaf@pdmconsulting.net> <70d86938-5d50-7732-5257-c698d7d308d6@si6networks.com> <b4a5d0ec-606e-7994-9bc9-e21e24f38def@ntp.org> <f4b5312c-b02c-ee51-1c59-f0467f51ab77@si6networks.com> <OF8F5917D8.BA274E92-ONC1258418.004C2FAF-C1258418.0052EEFB@ptb.de> <20190613100006.45108edd@rellim.com> <68186be5-764d-73e7-1631-04567edf28a7@si6networks.com> <20190613122929.0e049722@rellim.com> <3b7c6e55-b2a9-443c-e5cb-3b4c9e5bb642@si6networks.com> <20190614112522.2e5676f3@rellim.com> <73f861c1-72e0-5e01-87e1-18658cd11859@si6networks.com>
In-Reply-To: <73f861c1-72e0-5e01-87e1-18658cd11859@si6networks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/V2sz1DvARgCeeurNruyo3vDfKTg>
Subject: [Ntp] Antw: Re: Details of the fragmentation attacks against NTP and port randomization
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: Tue, 02 Jul 2019 13:43:42 -0000

Hi!

Maybe the sentence "With changing port numbers there is a specific probability
that the packet run times (transmission / reception) may change, having an
effect on the accuracy of NTP that prefers fixed and symmetric packet run
times." can make it into the document, making both parties happy; those for
randomizing ports and those against ;-)

Note that in theory the effect on accuracy could be positive as well, but most
likely not in the general case.

Regards,
Ulrich Windl


>>> Fernando Gont <fgont@si6networks.com> schrieb am 02.07.2019 um 14:31 in
Nachricht <73f861c1-72e0-5e01-87e1-18658cd11859@si6networks.com>:
> Hello, Gary,
> 
> On 14/6/19 19:25, Gary E. Miller wrote:
>> Yo Fernando!
>> 
>> On Fri, 14 Jun 2019 14:07:29 +0300
>> Fernando Gont <fgont@si6networks.com> wrote:
>> 
>>>> PROVEN to degrade.  With a few known mechanisms for that understood.
>>>> Many more suspected but as yet undocumented.  
>>>
>>> What I'm saying it: the port number may affect the path in scenarios
>>> where forwarding is somewhat based on the port number.
>> 
>> Yes.  That is one of a great many scenarios where randomizing the port
>> per connection degrades the time qulity of the connection.
> 
> Just for the record: all of the revs we have published so for advised to
> randomize the port on a per‑association basis, not on a "per
> transaction" basis.
> 
> 
>> 
>>> Unless you
>>> assume that every router forwards packets with a hash‑based algorithm
>>> that includes the port, then randomization *may* affect the path.
>> 
>> So you propose one, of many, ways the random port per connection is
>> bad.  Then sweep all the others under the rug because they are not that
>> one?  Sloppy thinking.
> 
> No. I noted that the I‑D has so far proposed to randomize the port on a
> per‑association basis, something that does not degrade the time quality.
> That's what I've said.
> 
> We can add a discussion of "randomizing per‑association vs.
> per‑transaction basis". In which case we should note the effect of
> randomization on time quality. SO far that's not what the document has
> been proposed. Hence I asked (and still ask) what are the alledged
> negative effects of the type of randomization the I‑D is actually
proposing.
> 
> 
> 
> 
>>> That said, at least in the IPv4 world, you have to learned to live
>>> with this, since the pervasive of NATs means that it may be
>>> impossible to enforce src=PORT (whatever port is), unless e.g. you
>>> send requests every t<30 secs which is a usual NAT timeout for and
>>> UDP "flow".
>> 
>> Yup.  The point of this discussion is finding the best of all the
>> imperfect options.
> 
> When you randomize on the per‑association basis (as opposed to
> per‑transaction basis), I still fail to see what are the problems it
brings.
> 
> 
>> 
>>>> But your summary did not mention it.  
>>>
>>> Indeed the last rev didn't mentioned. In all fairness, I think it was
>>> you that raised this (and we already starting working on this on our
>>> working copy) ‑‑ those who objected to port randomization didn't raise
>>> this, and even less considered per‑association vs per‑request
>>> randomization in the objections they voiced.
>> 
>> I read the room differently. 
> 
> I'm all ears to hear/red your view.
> 
> Thanks!
> 
> Cheers,
> ‑‑ 
> Fernando Gont
> SI6 Networks
> e‑mail: fgont@si6networks.com 
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
> 
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Thu Jul  4 01:16:59 2019
Return-Path: <mart.langer@ostfalia.de>
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 11C091200B5 for <ntp@ietfa.amsl.com>; Thu,  4 Jul 2019 01:16:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YdledWqmPqQm for <ntp@ietfa.amsl.com>; Thu,  4 Jul 2019 01:16:55 -0700 (PDT)
Received: from mx1.sonia.de (mx1.sonia.de [141.41.1.237]) (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 873831201C5 for <ntp@ietf.org>; Thu,  4 Jul 2019 01:16:54 -0700 (PDT)
Received: from mx1.sonia.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id F32771C800E9 for <ntp@ietf.org>; Thu,  4 Jul 2019 10:16:52 +0200 (CEST)
Received: from mail.sonia.de (mail.sonia.de [141.41.8.70]) by mx1.sonia.de (Postfix) with ESMTP id F08781C800E8 for <ntp@ietf.org>; Thu,  4 Jul 2019 10:16:52 +0200 (CEST)
MIME-version: 1.0
Content-transfer-encoding: 8BIT
Content-type: text/plain; charset=utf-8; format=flowed
Received: from [141.41.39.246] (unknown [141.41.39.246]) by mail.sonia.de (Oracle Communications Messaging Server 7.0.5.37.0 64bit (built Jan 25 2016)) with ESMTPSA id <0PU300548Z041B50@mail.sonia.de> for ntp@ietf.org; Thu, 04 Jul 2019 10:16:52 +0200 (CEST)
Sender: mart.langer@ostfalia.de
To: ntp@ietf.org
References: <20190322223210.1181540605C@ip-64-139-1-69.sjc.megapath.net>
From: Martin Langer <mart.langer@ostfalia.de>
Message-id: <746c447d-7d99-9bc5-0167-a3560d6bef03@ostfalia.de>
Date: Thu, 04 Jul 2019 10:17:30 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
In-reply-to: <20190322223210.1181540605C@ip-64-139-1-69.sjc.megapath.net>
Content-language: en-US
X-Antivirus: Avast (VPS 190704-0, 04.07.2019), Outbound message
X-Antivirus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Cbfox8xtq8X_0HV7s2RkF0gj7Z4>
Subject: Re: [Ntp] NTS Hackathon coordination
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: Thu, 04 Jul 2019 08:16:58 -0000

Hello everybody.

I just wanted to say that I will participate the next hackathon (remote).
We should note somewhere which IPs, port numbers, NTP-EF IDs and 
features (like IPv6 support, separated NTS-KE server, ...) each 
implementation expect.

I can provide 3 time servers with different settings.


best regards,
Martin


Am 22.03.2019 um 23:32 schrieb Hal Murray:
> odonoghue@isoc.org said:
>>     For those participating, Iâ€™ll see you physically or virtually tomorrow.
>>     The room will open at 9:00 am CET. It will take us a little while to get
>>     started and get through the opening portions, so for the remote folks,
>>     please be patient with us.
> I assume somebody will find bugs/quirks in our code.  I'll be available via
> email.  I'm in California.  I think that means you are starting at my
> midnight.  I'm a night owl, so we'll get some overlap.
>
> 2 more servers:
>    ntp1.glypnod.com - San Francisco
>    ntp2.glypnod.com - London
>
> The NTS-LE server is listening on port 123, both IPv4 and IPv6.
>
> I've seen cases where some NTP packets don't make it to London.  I assume it's
> filtering leftover from the DDoS mess of a few years ago.  Normal NTP
> request/responses get through.  Longer requests with NTS extensions don't get
> in to London if the source port is 123.
>
>
>

-- 
Martin Langer, M.Eng.
Ostfalia Hochschule für angewandte Wissenschaften
- Hochschule Braunschweig/Wolfenbüttel
University of Applied Sciences

Labor Datentechnik, Labor Design Digitaler Systeme
Fakultät Elektrotechnik
Salzdahlumer Straße 46/48
38302 Wolfenbüttel
Germany

Tel. : +49 5331 939 43370
Web  : https://www.ostfalia.de/cms/de/pws/bermbach/mitarbeiter/martin-langer


From nobody Sat Jul  6 07:16:47 2019
Return-Path: <fgont@si6networks.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 1ED7C120052 for <ntp@ietfa.amsl.com>; Sat,  6 Jul 2019 07:16:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 BwG3RaH_61Py for <ntp@ietfa.amsl.com>; Sat,  6 Jul 2019 07:16:43 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3E9712004D for <ntp@ietf.org>; Sat,  6 Jul 2019 07:16:42 -0700 (PDT)
Received: from [192.168.1.16] (unknown [41.140.204.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id C7C73849D0; Sat,  6 Jul 2019 16:16:39 +0200 (CEST)
References: <156225909789.12042.16125322482082094709.idtracker@ietfa.amsl.com>
To: "ntp@ietf.org" <ntp@ietf.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= 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 wPI9brGzquUHy4qRrA==
Cc: odonoghue@isoc.org
X-Forwarded-Message-Id: <156225909789.12042.16125322482082094709.idtracker@ietfa.amsl.com>
Message-ID: <9d098ba6-3995-7ace-5543-a97ed8fc6564@si6networks.com>
Date: Sat, 6 Jul 2019 15:16:32 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <156225909789.12042.16125322482082094709.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Pyj_ON3Wr0w38k7FfNVpKf4tj6g>
Subject: [Ntp] Fwd: New Version Notification for draft-gont-ntp-port-randomization-02.txt
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: Sat, 06 Jul 2019 14:16:46 -0000

Folks,

We have posted a new revision of the ntp port randomization I-D. It
contains a number of improvements based on the recent discussion, along
with an analysis of a number of considerations surrounding port
randomization.

It is available at:
https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-02.txt

We don't expect this rev to be perfect, but do we think this one is
ready for the wg to make a decision regarding whether to adopt this
document as a wg item.

P.S.: If there's anything you think we have missed, please do let us know.

Thanks!

Cheers,
Fernando




-------- Forwarded Message --------
Subject: New Version Notification for
draft-gont-ntp-port-randomization-02.txt
Date: Thu, 04 Jul 2019 09:51:37 -0700
From: internet-drafts@ietf.org
To: Fernando Gont <fgont@si6networks.com>, Guillermo Gont
<ggont@si6networks.com>


A new version of I-D, draft-gont-ntp-port-randomization-02.txt
has been successfully submitted by Fernando Gont and posted to the
IETF repository.

Name:		draft-gont-ntp-port-randomization
Revision:	02
Title:		Port Randomization in the Network Time Protocol Version 4
Document date:	2019-07-04
Group:		Individual Submission
Pages:		10
URL:
https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-02.txt
Status:
https://datatracker.ietf.org/doc/draft-gont-ntp-port-randomization/
Htmlized:
https://tools.ietf.org/html/draft-gont-ntp-port-randomization-02
Htmlized:
https://datatracker.ietf.org/doc/html/draft-gont-ntp-port-randomization
Diff:
https://www.ietf.org/rfcdiff?url2=draft-gont-ntp-port-randomization-02

Abstract:
   The Network Time Protocol can operate in several modes.  Some of
   these modes are based on the receipt of unsolicited packets, and
   therefore require the use of a service/well-known port as the local
   port number.  However, in the case of NTP modes where the use of a
   service/well-known port is not required, employing such well-known/
   service port unnecessarily increases the ability of attackers to
   perform blind/off-path attacks.  This document formally updates
   RFC5905, recommending the use of port randomization for those modes
   where use of the NTP service port is not required.




Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat



From nobody Mon Jul  8 08:25:12 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E234312028F; Mon,  8 Jul 2019 08:25:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.98.3
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <156259950382.1097.9184256783796797498@ietfa.amsl.com>
Date: Mon, 08 Jul 2019 08:25:03 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/tQGfx41DUvHpnXCGimmqPwcUR_c>
Subject: [Ntp] I-D Action: draft-roughtime-aanchal-03.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 08 Jul 2019 15:25:04 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Roughtime
        Authors         : Aanchal Malhotra
                          Adam Langley
                          Watson Ladd
	Filename        : draft-roughtime-aanchal-03.txt
	Pages           : 17
	Date            : 2019-07-08

Abstract:
   This document specifies Roughtime - a protocol that aims to achieve
   rough time synchronization while detecting servers that provide
   inaccurate time and providing cryptographic proof of their
   malfeasance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-roughtime-aanchal/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-roughtime-aanchal-03
https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-03

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Jul  8 12:14:58 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EFD471200B2; Mon,  8 Jul 2019 12:14:50 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.98.3
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <156261329089.976.11031311688358818801@ietfa.amsl.com>
Date: Mon, 08 Jul 2019 12:14:50 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/fm542PbCpw2eLsEzwMLya1wdS3A>
Subject: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-20.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 08 Jul 2019 19:14:52 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Network Time Security for the Network Time Protocol
        Authors         : Daniel Fox Franke
                          Dieter Sibold
                          Kristof Teichel
                          Marcus Dansarie
                          Ragnar Sundblad
	Filename        : draft-ietf-ntp-using-nts-for-ntp-20.txt
	Pages           : 43
	Date            : 2019-07-08

Abstract:
   This memo specifies Network Time Security (NTS), a mechanism for
   using Transport Layer Security (TLS) and Authenticated Encryption
   with Associated Data (AEAD) to provide cryptographic security for the
   client-server mode of the Network Time Protocol (NTP).

   NTS is structured as a suite of two loosely coupled sub-protocols.
   The first (NTS-KE) handles initial authentication and key
   establishment over TLS.  The second handles encryption and
   authentication during NTP time synchronization via extension fields
   in the NTP packets, and holds all required state only on the client
   via opaque cookies.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-20
https://datatracker.ietf.org/doc/html/draft-ietf-ntp-using-nts-for-ntp-20

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-using-nts-for-ntp-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Jul  8 13:47:23 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D1300120290; Mon,  8 Jul 2019 13:47:04 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.98.3
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <156261882480.1025.5519229163084413401@ietfa.amsl.com>
Date: Mon, 08 Jul 2019 13:47:04 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ktJ8SirNnDZgxWoVi6SAni7wxH8>
Subject: [Ntp] I-D Action: draft-aanchal-time-implementation-guidance-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 08 Jul 2019 20:47:13 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : On Implementing Time
        Authors         : Aanchal Malhotra
                          Kristof Teichel
                          Martin Hoffmann
                          Willem Toorop
	Filename        : draft-aanchal-time-implementation-guidance-02.txt
	Pages           : 9
	Date            : 2019-07-08

Abstract:
   This document describes the properties of different types of clocks
   available on digital systems.  It provides implementors of
   applications with guidance on choices they have to make when working
   with time to provide basic functionality and security guarantees.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-aanchal-time-implementation-guidance/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-aanchal-time-implementation-guidance-02
https://datatracker.ietf.org/doc/html/draft-aanchal-time-implementation-guidance-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-aanchal-time-implementation-guidance-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Jul  8 15:17:20 2019
Return-Path: <fgont@si6networks.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 4E468120318 for <ntp@ietfa.amsl.com>; Mon,  8 Jul 2019 15:17:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.307
X-Spam-Level: 
X-Spam-Status: No, score=-0.307 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 inajPU26VDBD for <ntp@ietfa.amsl.com>; Mon,  8 Jul 2019 15:17:03 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2DBC12031B for <ntp@ietf.org>; Mon,  8 Jul 2019 15:17:02 -0700 (PDT)
Received: from [192.168.1.16] (unknown [41.143.218.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 83C01838EA; Tue,  9 Jul 2019 00:16:59 +0200 (CEST)
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>
References: <CAN2QdAGS20q=7+r+qMFEBBu4gNmSDR9-vYDbvgC=ZnqWLEU-6w@mail.gmail.com> <739c2eaa-05f1-0b30-4b64-fc5d3f91ce5b@pdmconsulting.net> <a3a545cf-d83d-a2c7-ad6c-3e349de78615@si6networks.com> <9f75e400-cf2f-053f-ed06-f4d6df415eaf@pdmconsulting.net> <70d86938-5d50-7732-5257-c698d7d308d6@si6networks.com> <b4a5d0ec-606e-7994-9bc9-e21e24f38def@ntp.org> <f4b5312c-b02c-ee51-1c59-f0467f51ab77@si6networks.com> <OF8F5917D8.BA274E92-ONC1258418.004C2FAF-C1258418.0052EEFB@ptb.de> <20190613100006.45108edd@rellim.com> <68186be5-764d-73e7-1631-04567edf28a7@si6networks.com> <20190613122929.0e049722@rellim.com> <3b7c6e55-b2a9-443c-e5cb-3b4c9e5bb642@si6networks.com> <20190614112522.2e5676f3@rellim.com> <73f861c1-72e0-5e01-87e1-18658cd11859@si6networks.com> <5D1B5F84020000A10003211E@gwsmtp.uni-regensburg.de>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= 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 wPI9brGzquUHy4qRrA==
Message-ID: <4f8eed9b-0ef3-84e0-01f4-c07c8a6debfd@si6networks.com>
Date: Mon, 8 Jul 2019 20:12:20 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <5D1B5F84020000A10003211E@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ZdOcCSCZhazOt4OXtIi3fnGAV8s>
Subject: Re: [Ntp] Antw: Re: Details of the fragmentation attacks against NTP and port randomization
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, 08 Jul 2019 22:17:18 -0000

On 2/7/19 14:43, Ulrich Windl wrote:
> Hi!
> 
> Maybe the sentence "With changing port numbers there is a specific probability
> that the packet run times (transmission / reception) may change, having an
> effect on the accuracy of NTP that prefers fixed and symmetric packet run
> times." can make it into the document, making both parties happy; those for
> randomizing ports and those against ;-)
> 
> Note that in theory the effect on accuracy could be positive as well, but most
> likely not in the general case.

FWIW, the doc proposes the conservative approach of randomizing the
local port on a per-association basis, and leaves the analysis of
randomization on a per-transaction basis for future work.

Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue Jul  9 04:17:27 2019
Return-Path: <marcus.dansarie.nilsson@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 CD73D1200E9 for <ntp@ietfa.amsl.com>; Tue,  9 Jul 2019 04:17:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.108
X-Spam-Level: 
X-Spam-Status: No, score=-0.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.247, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 GGYSDXIJVGsZ for <ntp@ietfa.amsl.com>; Tue,  9 Jul 2019 04:17:23 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 3F936120088 for <ntp@ietf.org>; Tue,  9 Jul 2019 04:17:23 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id h28so8797107lfj.5 for <ntp@ietf.org>; Tue, 09 Jul 2019 04:17:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=sender:subject:references:to:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=EAM80N6Pep991elw65ws9nrc5nhnRPzkDh1+E0m9ZBs=; b=s3oBt/UmRmevFls1x8DADUDagps9hHwx5zr/wOAlN7lHRR1vXyVtR9vj3Q+s3XalMU qNYd5LSHS8QaaXl2P8iHs4erFQGnNBsCgV9zyKUR/3RGRCqz/neksBUQCsxPwFANjGts mAeoGVIl/Lxa4Aqsqia37lB/+ZFDXYD6zv61L7KZZRIrMLFMH3LwVT+vF61ee6LJwU9S /aNtBShmx6com4YQ3isWzSOGrmQC1jOh3WyCuG1U0Mu7pbCXCDyN6hhkQk+kXFUwpPmX tfIJJy2GKacIGwRzq8jW/meF3ox4YcUM2XMAu35kB6hjz+Wdca2JvlcYxWy/kGldwYC6 6Aug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:references:to:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=EAM80N6Pep991elw65ws9nrc5nhnRPzkDh1+E0m9ZBs=; b=iFrNFTKFzFXzq+6PA70MDC1YzUSvWrfB5jKPzvPuAEPaoxop0YeAOMY+P17Kls6N/6 YqxQK+tYM72UNcUP52+MCB4OGxEzthJto328YoEzEmO87PJ4qzXW6oQGZnGyhyBvq8YT FHtYM0jQoBqJso5MTK499JMtej9bibWmVhfb8/ShSzhWkHeH+0Z2MCYpi/l8eY1GpHEz CbXiibKzZyBDCBcBoS97qFYi5WimV3ARgGFoabXwLDMl/Q6sgaRKvMjYinUW5ROuKSB5 bDsmhZ8/V6B1Iii3qiw0BHThNP6tOaPB/2T+gp1ZvH9gtYuOA92ggYzgeaQArdLGPn2U YE2w==
X-Gm-Message-State: APjAAAXN2DBAtRHLskXZW+on6FM0ALP/1X5xbfi67+QD1sW3IXNBRCvF 3WaJ+1T9NzhLjo9hr7ND2Tg=
X-Google-Smtp-Source: APXvYqyHq6BirH/5M8RTBgN5CdXqjL8/sBVJVHcu/yoNMJ/JD61ZjIwYvVaAOMwzakgsNm85ej0XUg==
X-Received: by 2002:ac2:4c82:: with SMTP id d2mr11602055lfl.89.1562671041440;  Tue, 09 Jul 2019 04:17:21 -0700 (PDT)
Received: from [10.0.0.126] ([185.40.184.26]) by smtp.gmail.com with ESMTPSA id b27sm2349845ljb.11.2019.07.09.04.17.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2019 04:17:20 -0700 (PDT)
Sender: Marcus Dansarie <marcus.dansarie.nilsson@gmail.com>
References: <CMM.0.96.0.1562430160.roll@Stupi.SE>
To: "ntp@ietf.org" <ntp@ietf.org>
From: Marcus Dansarie <marcus@dansarie.se>
Openpgp: preference=signencrypt
Autocrypt: addr=marcus@dansarie.se; prefer-encrypt=mutual; keydata= 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
X-Forwarded-Message-Id: <CMM.0.96.0.1562430160.roll@Stupi.SE>
Message-ID: <3751fd04-36b6-0e1a-46cf-c2896cc20554@dansarie.se>
Date: Tue, 9 Jul 2019 13:17:13 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <CMM.0.96.0.1562430160.roll@Stupi.SE>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cABzydoK1lFemzuOgoFku2rt9wP09LhGx"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/joQKimSUeQQF4qJQlwtgyhCWAh8>
Subject: [Ntp] Fwd: Roughtime protocol suggestion....
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: Tue, 09 Jul 2019 11:17:26 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--cABzydoK1lFemzuOgoFku2rt9wP09LhGx
Content-Type: multipart/mixed; boundary="Ve9j0esKy7noIo1axRfKuLCS9EM7SRikB";
 protected-headers="v1"
From: Marcus Dansarie <marcus@dansarie.se>
To: "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <3751fd04-36b6-0e1a-46cf-c2896cc20554@dansarie.se>
Subject: Fwd: Roughtime protocol suggestion....
References: <CMM.0.96.0.1562430160.roll@Stupi.SE>
In-Reply-To: <CMM.0.96.0.1562430160.roll@Stupi.SE>

--Ve9j0esKy7noIo1axRfKuLCS9EM7SRikB
Content-Type: text/plain; charset=windows-1252
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

I contributed text to Roughtime draft-03 and had some discussions around
that with Peter L=F6thberg the other week. He sent me an email this
weekend with some comments he wanted me to share with the list. I'm
copying it verbatim below.

Regards,
Marcus


-------- Forwarded Message --------
Subject: Roughtime protocol suggestion....
Date: Sat, 6 Jul 2019 16:22:40 GMT
From: Peter Lothberg

20190706

Marcus, please forward this to the mailing list.

Marcus (& others),

I think it's a BIG mistake of not taking proper handling of
leap-seconds in to account on protocol designed in 2019....

Here is a proposal, I knew, it's some more lines of code, but
even if someone fucks up completely they are within the magic
second you wanted.

Today you have 5 bytes for microsecond past midnight, so
protocol resolution is;

0.000001, second

First question/proposal is to encode the "time word" MJD day
and fraction of day in a way where we can change the
resolution format, this way we can keep the format for the
future ("the Internet/IANA way of representing time in...")

Eight bytes of MJD and 32 bytes of fraction since beginning
of day (don't make it milliseconds, nanoseconds, picoseconds..)
can be encoded in a byte; (Let the server chose the format
for the resolution.)

01234567
DDDFFFFF

So the 4+5 format I recommend would start with 10000101

Time can never go backwards, by doing the division and changing
the number of seconds in a day a client that do not understand
anything about leap seconds will be approximating the time to
the best possible without any code on the client.

A client that supports leap seconds can do the correct thing,
and it's possible to have the client tracking the time of the
server.

Also a note, we should point out that any "local time" is a
operating system problem to deal with the 500+ rules out there.

Let's keep the 5 bytes for my examples. Instead of using
microseconds since midnight, let;s use fractions of day
since midnight with the available resolution. I put the comma
at microseconds.

5 bytes =3D 40 bits =3D 1,099,511,627,776

A regular day has 86400 seconds; 86400/1099511627776
gives us a resolution of;

0.000000,07858034223318 second

Better than 10 times better than the microsecond model.

Still this does not solve the leap-second problem, as it
require us to knew BEFORE the 24 hour period with the
leap second is started.

We need to knew three things to do this right;

   - Is the leap-second positive or negative,
     (as we don't want to bet our names on that it will
     always be positive)

   - A warning telling us that a leap-second day is coming.

   - Are we in the leap second day?
     (I'm not sure we need to send this in the protocol, as
      leap-seconds can only happen the last day of the month
      a calendar function could calculate that from the MJD
      day part, include the C-code in the RFC that converts
      the fractions in to daytime and the calendar.)

On a leap-day, we change the 86400 number to 86401 or 86399,

86401 86401/1099511627776 0.000000,07858125172788 err
0.006789,42014928883200
86399 86399/1099511627776 0.000000,07857943273847 err
0.006789,26298860380800

(I'm making the assumption that someone want to save on bytes in the
 network message here, if not, just add another byte, put 5 bits
 of fraction after midnight and all three flags in there.)

If we take the two least significant bits out of the 5byte/40bit
field we get 38 bits. 2^38 =3D 274877906944, 86400/274877906944

0.000000,31432136893272 second/bit

Still better than the one microsecond and now we can encode
the leap second sign and the warning flag. If someone don't
care and use all the 40 bits as a time stamp they will have a
error of max 0.000000,31432136893272 second.

With 38 bits we get;

-1 sec 86399/274877906944 0.000000,31431773095391
 0 sec 86400/274877906944 0.000000,31432136893272
+1 sec 86401/274877906944 0.000000,31432500691153



My suggestion is to do 6 bytes, 3 leap second control bits
we get 45 bits to describe time since midnight, resolution;

0.000000,00245563569478 second

And use the "number of digits" encoding.


--Peter (as there might people with red line yards in my camera view...)




--Ve9j0esKy7noIo1axRfKuLCS9EM7SRikB--

--cABzydoK1lFemzuOgoFku2rt9wP09LhGx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPIi2jSSFxqOAzfAvwQgADsPhIeYFAl0kd7wACgkQwQgADsPh
IeaS4Q/+LOAIml2JCD+zI1XGy+X6n6g2qNT+jiGuIl0ulozqChrkjp/7vCzV5Vzm
3jRmAsHEsVPwtOnehqpIqfNt5DZOv95xa7NydPL1/pKglIP+JdKT5g6GRY1CXOt2
UJ7PKwBrN6DM2PFDAU3SJhK42Dd8Ga63tqGl2Yt78+jthFgucp6772ONDZ2KWugB
TPfKe5q/c6ryPqeH+iYbgxsseLXCFgx6LxfAR/ZaWwPPDZtobka7atdoqQOcFlev
x0AXW+v7aumvMSupzQIqgz/wvae3Bk3KU4Uz7lTrduajC5t2FMlD/TrJLsVjyvr4
IIMYziXZSH+E66wXu7TfjX6hPqdHgtn7HkKWCI6jCRh8gWt3gRtFMuwPIbR6tMtP
zghJhiYRmSylXc92+CxTW0lzyzGq2MLuyoZX8/xWU3Py+2RQJmvpw8Crb8wVF5Ny
k0J0wocHFp9lyezl+K/uIxtW+ZzhDXuM/f4N95XrTYh+ROcqsp87LAuKOh8/Nu9Z
aa8ZnCyMRXh033QUVGTCF4wvHpObcsdcLNJmqsl7yNMCc7jMgtTiKe1Q9hOF59eR
Lgi/GwdeImu8kXYpnU2BOzgyISY4fDribqcieswV6Gu2EKWObYljypj7JoOi1ybU
Tj/pbbzjGEqqkl/n2WHwmN0L/yODNJS216Qoe0G4eDrqxQuRd2M=
=Ru1/
-----END PGP SIGNATURE-----

--cABzydoK1lFemzuOgoFku2rt9wP09LhGx--


From nobody Tue Jul 16 13:55:43 2019
Return-Path: <dsibold.ietf@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 CA5231200F9 for <ntp@ietfa.amsl.com>; Tue, 16 Jul 2019 13:55:41 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 cLoTeYVAJYug for <ntp@ietfa.amsl.com>; Tue, 16 Jul 2019 13:55:39 -0700 (PDT)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 5CD4D1200C1 for <ntp@ietf.org>; Tue, 16 Jul 2019 13:55:39 -0700 (PDT)
Received: by mail-wm1-x32f.google.com with SMTP id a15so19984189wmj.5 for <ntp@ietf.org>; Tue, 16 Jul 2019 13:55:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:message-id:mime-version; bh=yiHnTrd/KvE1OZnnWX9n9WTdXheRo1y+5oTixVLScqs=; b=svddKp2ahjvQcA3kzZpoWAKfR6oiAWkFDKq8486n93lvFhzVhFm7DcVyml1UtgF4Y7 EGLDWSnEVJJyQeeN8ZJFa6vvkE+nlX/Tmf+fWniuMMnJt2ElYriANMfhFyessALgMXAQ m/N5ZawKbb270ib6fuCM35I4BLIk6gd7twH0wnbzP0xaqWxynmMcOKoP1434QW8UIbKd p2rqf2VxRyxEXbG0Mwx8Y+CM+FhX3II3QghM0u+Gh8pR+giq9u/z8RC3ajtKIxyIvOo4 XSJGnHTkDmjniRjPHN7MEpQqKHyFAeTvKHN7erQeolAfUmQz4cwDHny2cL0kiQ9y64V/ yMqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=yiHnTrd/KvE1OZnnWX9n9WTdXheRo1y+5oTixVLScqs=; b=rMwt7nKClfzCrjBkWfLlSV6wd8yW1EbC9ZwuBq4bJgD27//FGkdEfdDCEahIPtQEYE qB5fgy3MJgI3koa3bbi2cI7eXBQZEQDwkDIZIeqOzcVnxBGJVvNozmD0nH6M8TjyRNwo SH5SBKQ5eqwbnAtSy0DtzHbVQB/Lg1+A13J13htx0FEInQDXox/LAYnUQoVLKbiCuiUH PFTzh1XYwf05Kl8yz81yXYNO6i5ZiPUVNxiPs/Z3uGeBSRHvN0oTJae8ufFFvA6py8O5 yTvusQ9wI6P3xt3p3lWsS/RX/hKF2U9Z0cHmHYWPFouE+jLyRhXs0pzpT1gVjM9mYkZl 22Wg==
X-Gm-Message-State: APjAAAUIHILvswGe2DdNWuPy0jdBAVHEBoScByakQGuSpt6R8DViYxgD sCvJwxgNT6G2k/Qcnguu8vM782Yo
X-Google-Smtp-Source: APXvYqyQ90tLI6uNmQwIJkNFkDjavM8WMdBE7huHmHdsG1UfuTpYGPdAQjSEw/Y+4wDJZ7m2scukjQ==
X-Received: by 2002:a1c:5f87:: with SMTP id t129mr33978928wmb.150.1563310537471;  Tue, 16 Jul 2019 13:55:37 -0700 (PDT)
Received: from [192.168.111.27] (p200300D17F30B100597BAB0E91BE1067.dip0.t-ipconnect.de. [2003:d1:7f30:b100:597b:ab0e:91be:1067]) by smtp.gmail.com with ESMTPSA id 18sm21300745wmg.43.2019.07.16.13.55.36 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jul 2019 13:55:36 -0700 (PDT)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: "NTP WG" <ntp@ietf.org>
Date: Tue, 16 Jul 2019 22:55:35 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <219E9253-FCFF-48F1-B28E-AF833AFA1336@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/r_PwBX_PEHCbXaFobYP1I0IXKEA>
Subject: [Ntp] Minute from the last interim 2019-05-29
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: Tue, 16 Jul 2019 20:55:42 -0000

Dear all,

I'm deeply sorry for the delay of the minutes from the last interim. 
Please apologize. My minute taking during the last interim was somewhat 
incomplete because of technical issues. Please check the minutes below 
and send me correction or addition until Thursday evening. After that I 
will upload the minute to the data tracker.

Thanks
Greetings
Dieter





NTP WG INTERIM MEETING, 2019-05-29
==================================


Participants
------------

Karen O'Donoghue, Dieter Sibold, Thomas Peterson, Tal Mizrahi, Danny 
Mayer, Denis Reilly, Harlan Stenn, Miroslav Lichvar, Kristof Teichel, F. 
Gont, Watson Ladd


1.  Administrative and Agenda Bashing

	- No agenda bashing
	- No objection to record the meeting
	- Tal: Slides are not online yet
	
2.  TICTOC quick document status

	- YANG data model is published as RFC 8575
	- IEEE 1588 Enterprise Profile is submitted to the IESG.
	- After publication of the Enterprise Profile the TICTOC WG will be 
closed

3.  NTP quick document status
	- BCP is in Editor Queue
	- MAC draft is in Auth 48
	- Shepard writeup for the drafts NTS for NTP und Guidelines for 
Defining Packet
	  Timestamps are in preparation
	- Draft YANG Data Model for NTP in Yang Doctor review
	
4.  Discussion on documents (working group and individual) that have 
been updated	
	
	- Interleave Mode
		- Miroslav: updated a new version. Changes in request of the last 
meeting.
		  Two paragraphs have been changes. Ready to be advanced. No 
questions.
		- Summary: this draft is going to the IESG
		
	- Roughtime
		- nobody of the authors are online
		
	- Correction field and Short Extension field
		- Miroslav: No changes to both documents
		- Summary (Karen): will leave it on the list and looking for the 
progress of the
		  various extension field draft
	
	- Port Randomization
	  Discussion:
		- F Gont: The usage of port 123 of NTP traffic is not necessary.
		  Various research has found that the usage of predictable port
		  number is problematic and should be avoided.
		- F Gont: This I-D will make NTP compliant to BCP 156.
		- Danny: Presumably this draft improves security. It does not improve
		  security
		- F Gont: An attacker has to guess what port is in use. Randomization 
will make
		  this more difficult
		- Danny: does not accept the arguments
		- Karen: any other comments
		- Gont: this is the same discussion as with other protocols years ago
		- Gont: the problem applies to to all transport protocols
		- Karen further comments?
		- Miroslav: this is useful and should be adopted
		- Karen: any other question
		- Kristof: should be adopted to be discussed
		- F Gont: most NTP implementation already randomize the port number.
		- Danny: Problem with a NTP instance that is a client and a server. 
What do you
		  gain?
		- Harlan: the client can already use other port number
		- F Gont: It is not good practice to leave this decision to the 
implementation
		- Danny: there are not only four variable that identify an association 
but five
		- F Gont: This is ture of the application layer. I speak about the 
transport
		  layer. This draft improves security on the transport layer
		- Watson: we had issues because of the fixed port number 123. DDoS 
attacks
		- Karen (without the chair's hat): we need to have better reasoning 
for adopting
		  this draft.
		- F Gont: this draft follows the work of the transport area and which 
is
		  formulated as a BCP. The Transport area should be involved.
		- Karen: the argument that there is a BCP is very compelling. We 
should seriously
		  consider to adopt it.
		- Danny: just because there is a BCP it does not apply to any 
protocol.
		- Karen: That true, but we need to consider the BCP and have to 
formulate that
		  it does not apply to NTP.
		- F Gont: you need to make a good argument that the BCP does not apply 
for NTP
		- Summary (Karen): we need to consider the BCP and have to decide 
later if we
		  adopt this draft.
		
		
	- Roughtime
		- Watson: Usage of MJD for leap second issues, some other changes, ...
		- Karen: further question?
		- Discussion about the need to consider delay attacks and  bounded RTT 
in the
		  draft (Tal, Watson, Kristof)
		- Summary (Karen): Please, think about this and discuss it on the 
mailing list

	



5.  AOB (Any Other Business?)


Dieter Sibold
dsibold.ietf@gmail.com


From nobody Wed Jul 17 23:17:56 2019
Return-Path: <odonoghue@isoc.org>
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 0FACD12012C for <ntp@ietfa.amsl.com>; Wed, 17 Jul 2019 23:17:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 1BIRYtXcBE9C for <ntp@ietfa.amsl.com>; Wed, 17 Jul 2019 23:17:52 -0700 (PDT)
Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720081.outbound.protection.outlook.com [40.107.72.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 991BE120058 for <ntp@ietf.org>; Wed, 17 Jul 2019 23:17:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YSRk0fLXk+JRHrjMh2ZyQr5qBOoL/fpY0/GMLfHdy9h6nOZrvrimEZCzeLwf6ewV3+7Dbmy4gb3lBMAOwHbAvdh5t+fIXV9t2kXUMLxKb2betH1FOPz1En3H5uqXWNpD1QdgCSYm/FXdEEGBeiKO9MMItYdCdWjy+geE2VhkwFCCvpxo1pmNYMhVRJFeno9s0kxZHzCuSBd2QsYArlETaf61vnkBJ3MWCPZ+QTIq0fAcWqWX+mAhlYlEaTzOKUMmc+s14NBXmw/wNamQK0GvZu25nuBl4XwxtNp10kGvhBWptzGtmXu4gftEiXdS+oDXdU1M94UK/dwEyZ0lMcfB6A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/HOK/VR7FjN/USd8QeLrEF1UIqmn2xtlPpIBDC5YFAs=; b=DUldXx/zOLU3n4ZyU/7/BIIf1jjHkW7J4yHoqBxGnfKaIbwe1WPDwOi0Nbxag2u+F8jL2zdASP7NdDVFQIicLGlk1ZhLzD5I4QtkJnasf5JNvfp87NkiTcRXIA0PFviUI6VXDWUsuOJ2mFcbp5ZsD6cGhokqfzMeCZdJr73xXX32JvOEIwaOwArA8QrShbXoX9NoBs7pVg21OnU1ndaHyHXnJhy0A9So7cS8N/pNvQ4aIOiFrFLp+sUf/o9uZ7RK7xHWXlFzx9iWDc0KmCr+H5HQenkU+hNxEPkq+zV1Y69sHld62pXRuq65F24TvRr6UTHYg31cJd3U/kzW7LxJUg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=isoc.org;dmarc=pass action=none header.from=isoc.org;dkim=pass header.d=isoc.org;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/HOK/VR7FjN/USd8QeLrEF1UIqmn2xtlPpIBDC5YFAs=; b=D0F5XSibhlgigqUIA7oBiOklGgRMEe3JybMr1VNIKh8CuG/odFMdNvfrDgJUPEYCvX3gVR2qoNrtCf1uMvlj7/j9sROB/mhiSZ73xFse7ky2VLpXqBrpksvrBfwD0jupJ05mEnZJNZ/3tHxg4SJC5rrG4ky+ijuUa1oBdGVrtQQ=
Received: from DM6PR06MB6234.namprd06.prod.outlook.com (20.178.226.80) by DM6PR06MB4844.namprd06.prod.outlook.com (20.176.119.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Thu, 18 Jul 2019 06:17:48 +0000
Received: from DM6PR06MB6234.namprd06.prod.outlook.com ([fe80::8082:75d3:4625:b8a6]) by DM6PR06MB6234.namprd06.prod.outlook.com ([fe80::8082:75d3:4625:b8a6%7]) with mapi id 15.20.2073.012; Thu, 18 Jul 2019 06:17:48 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: DRAFT agenda for NTP WG meeting
Thread-Index: AQHVPTCFFrkLOafmTEC1PpL5de9a3w==
Date: Thu, 18 Jul 2019 06:17:48 +0000
Message-ID: <7AA13BF0-0B3D-4A2C-8693-84E89E6ED112@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [65.99.124.221]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 85d3b25e-d9cd-41d7-464f-08d70b47a827
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR06MB4844; 
x-ms-traffictypediagnostic: DM6PR06MB4844:
x-ms-exchange-purlcount: 21
x-microsoft-antispam-prvs: <DM6PR06MB48440B4C208E64084ACD34F6C2C80@DM6PR06MB4844.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1247;
x-forefront-prvs: 01026E1310
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(199004)(189003)(53936002)(6506007)(102836004)(6512007)(2616005)(486006)(5024004)(6306002)(256004)(14444005)(33656002)(476003)(26005)(186003)(6436002)(5640700003)(14454004)(81166006)(81156014)(305945005)(1730700003)(6916009)(2351001)(498600001)(966005)(25786009)(2906002)(8676002)(7736002)(66946007)(91956017)(3846002)(99286004)(66476007)(66556008)(66066001)(64756008)(66446008)(76116006)(6116002)(6486002)(71190400001)(71200400001)(5660300002)(8936002)(86362001)(36756003)(68736007)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR06MB4844; H:DM6PR06MB6234.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 0VzdF/iTO119mYV89v9RM5xYQQX5mRNKQ81KD8RPpsORz6GOsJcH8D08ooL+ociEC18Myfr5T56nj8MMz87KeAlrN66ele/YRAio3zSwFGxNdukje+bSx2VAEAcBqe+vFX7elXEZDOm8THD15rMe66pOFkUWd9Rds25eCGyfbGSfSsWV9ILtnZ4ZSJrMNPoEV4fSFWv/+gfC3hhkVFUVkeCLIE8t3e3EloDUffrtaPtVzhuGCtqPGTcj1rz6tdBXARaJIcuPLxbqRXeohp+BXrlqhg2AT0tobQ6JlKEixJxW8bahFVhDa2u2HVtvQQsxAyEyHk/c50KxotAtb30PDdylZBmJhgA06BkRQOaIKSSfrcn990rZ2j4LPoYVqiR/kGTtQgfxDqcEI4ON6BmBg+9ZIsi1v1M1vG8oBKM5emM=
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6D2DD47E0B861C4B946ED4FA8E631285@namprd06.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 85d3b25e-d9cd-41d7-464f-08d70b47a827
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 06:17:48.5735 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: odonoghue@isoc.org
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR06MB4844
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/WudgNouCydgMO0C7exmdeKAiCQs>
Subject: [Ntp] DRAFT agenda for NTP WG meeting
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: Thu, 18 Jul 2019 06:17:55 -0000

Folks,

Attached (and on data tracker) is the draft agenda for the upcoming NTP mee=
ting. There is a bunch of stuff I need to clean up in advance of the meetin=
g.=20

Karen

DRAFT NTP WG Meeting
IETF 105 -- Montreal
Location:  Tuesday, March 26, 2019, 16:10 - 18:10 UTC+7 (9:10 - 11:10 UTC)
Chairs:   Karen O'Donoghue, Dieter Sibold
AD:       Suresh Krishnan=20
Presentation materials: https://datatracker.ietf.org/meeting/105/session/nt=
p
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
(remote participation via meetecho)

1.  Administrative and Agenda Bashing
    Note Well, Note Takers, Jabber Scribes, Agenda Bashing

2.  NTP WG Status (documents beyond the WG)=20
    	Network Time Protocol Best Current Practices=20
      		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-bcp
	NTS for NTP=20
      		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-using-nts-for-=
ntp
    	Guidelines for Defining Packet Timestamps=20
     		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-packet-timestam=
ps
    	Control Messages Protocol for Use with NTPv4
      		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-mode-6-cmds

3.  A YANG Data Model for NTP
	https://datatracker.ietf.org/doc/html/draft-ietf-ntp-yang-data-model
  =20
4.  NTP Interleaved Modes
   	https://datatracker.ietf.org/doc/html/draft-ietf-ntp-interleaved-modes

5.  Port Randomization in NTP
	https://datatracker.ietf.org/doc/draft-gont-ntp-port-randomization/

6.  On Implementing Time
	https://datatracker.ietf.org/doc/draft-aanchal-time-implementation-guidanc=
e/

7.  Roughtime=20
     	https://datatracker.ietf.org/doc/draft-roughtime-aanchal/

8.  WG Documents without updates...
	NTP Client Data Minimization=20
      		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-data-minimizat=
ion
	Network Time Protocol REFID Updates
		https://datatracker.ietf.org/doc/html/draft-ietf-ntp-refid-updates

9.  TICTOC WG status=20
	IEEE 1588 Enterprise Profile
 		https://tools.ietf.org/html/draft-ietf-tictoc-ptp-enterprise-profile

10.  Status and next steps for IEEE 1588

11.   Security profile for IEEE 1588

12. AOB

13. Wrap Up

***********

Housekeeping... Progress / Next Steps?
NTP Correction Field
      https://datatracker.ietf.org/doc/html/draft-mlichvar-ntp-correction-f=
ield
NTPv4 Short Extension Fields
      https://datatracker.ietf.org/doc/html/draft-mlichvar-ntp-short-extens=
ion-fields-00
Additional Extension Field Proposals
      https://datatracker.ietf.org/doc/draft-stenn-ntp-extended-information=
/
      https://datatracker.ietf.org/doc/draft-stenn-ntp-i-do/
      https://datatracker.ietf.org/doc/draft-stenn-ntp-mac-last-ef/
      https://datatracker.ietf.org/doc/draft-stenn-ntp-suggest-refid/
A Secure Selection and Filtering Mechanism for the NTPv4
      https://datatracker.ietf.org/doc/html/draft-schiff-ntp-chronos
Leap second List Maintenance
       https://www.ietf.org/timezones/data/leap-seconds.list


From nobody Thu Jul 18 07:05:36 2019
Return-Path: <odonoghue@isoc.org>
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 75E7712028B for <ntp@ietfa.amsl.com>; Thu, 18 Jul 2019 07:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 OfEVMygApoeR for <ntp@ietfa.amsl.com>; Thu, 18 Jul 2019 07:05:32 -0700 (PDT)
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-eopbgr810040.outbound.protection.outlook.com [40.107.81.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57AF312004D for <ntp@ietf.org>; Thu, 18 Jul 2019 07:05:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S4Vj68z1uS3dm/t0hYYYzreBtb8f3Myr7Wv7cxknXJxvgie/2YJNUMjzonYRrEf+LF7DfGxqa66NuyYZ6kpbDsTkJJPletq9kkB+zREX2SR9Q1R/KAmFSDfXd83gXOWIXQYjp6/XZpXphhWxwhvDXZIP1PwpT7TCb7RQL3H8siR2vBjp91tr5bOlgEeH9Rheq1i13TZkNTvOSDwZ9vwJdqn/U0a6EziLxhul9mJBSOBStOcRH9muzi88EtLLMmBgau4QGhEKGhEy/p1P3hLMmgFwsOPjhyn4FD5DG1T4UcgAcKj53ufUGQ0iFCBZsxOyhXa2Extj6dJ7Y09shR9iqQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8ghS5OPQFgmWTcvS78p/D+qCndxR/fghvnCE4P2SdKM=; b=kkY6ldH/jDNHCQk6N+7AiryHhujuspH13JCaHsO7YDsEKDgCOp66yHlN8CAsTT/uXtQlIMI1Sv8GcuNMdUy+IdjbnU6rxMoaOk40lReM8cOagequI/1X0WQl5iaTqESav5djIzYAw1DUFP7ba40/bKRta8KZx1aUqRQDT7bEQZYHmgZzCcAtXjMdnvJaTnJe04He0GRLVmc6ZHRkLbDAzGBdmAR+ad1p3616eHP7HdRj/NxNm2//gNibTtrZH21iPVdg5pZMY0pi30r7nLOdZzY2nDz64VY/hU7+7jZddfJwEfaKWMuZFmOcJojuJfJ/ymaPL0UPhz9xOu2qfDXMkQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=isoc.org;dmarc=pass action=none header.from=isoc.org;dkim=pass header.d=isoc.org;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8ghS5OPQFgmWTcvS78p/D+qCndxR/fghvnCE4P2SdKM=; b=bDdjnjMI96Jln2yx5w9NB3Af2Kp4uLNmIubAvaKBQweq46o1TdmQBVc7p1R+10mDxqZEGxe2mxOfKpWGJrm12KfAdiTR4ONMLsAweVute57BpcQW2aUTRVl5/+i6eB8zCiuualXWV4a1FCZ2wO7SfTtFjeHTbsll6eHf22WV22g=
Received: from DM6PR06MB6234.namprd06.prod.outlook.com (20.178.226.80) by DM6PR06MB4185.namprd06.prod.outlook.com (20.176.113.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Thu, 18 Jul 2019 14:05:29 +0000
Received: from DM6PR06MB6234.namprd06.prod.outlook.com ([fe80::8082:75d3:4625:b8a6]) by DM6PR06MB6234.namprd06.prod.outlook.com ([fe80::8082:75d3:4625:b8a6%7]) with mapi id 15.20.2073.012; Thu, 18 Jul 2019 14:05:29 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] DRAFT agenda for NTP WG meeting
Thread-Index: AQHVPTCHKgwTH7/A2kanVl/Q/k9ej6bQaVMA
Date: Thu, 18 Jul 2019 14:05:29 +0000
Message-ID: <169574D6-53AD-4277-BC07-8DA405C224DD@isoc.org>
References: <7AA13BF0-0B3D-4A2C-8693-84E89E6ED112@isoc.org>
In-Reply-To: <7AA13BF0-0B3D-4A2C-8693-84E89E6ED112@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [65.99.124.221]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1497af16-3187-4776-6ca4-08d70b88fd99
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR06MB4185; 
x-ms-traffictypediagnostic: DM6PR06MB4185:
x-ms-exchange-purlcount: 22
x-microsoft-antispam-prvs: <DM6PR06MB418598510FB1A574222E5D66C2C80@DM6PR06MB4185.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1051;
x-forefront-prvs: 01026E1310
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39850400004)(346002)(136003)(366004)(376002)(199004)(189003)(6116002)(6306002)(6512007)(6436002)(5640700003)(66066001)(476003)(478600001)(36756003)(14444005)(5024004)(305945005)(7736002)(966005)(86362001)(68736007)(33656002)(81156014)(81166006)(6246003)(6486002)(1730700003)(76176011)(8936002)(6506007)(99286004)(11346002)(14454004)(66476007)(186003)(102836004)(2501003)(8676002)(53936002)(5660300002)(2616005)(316002)(71190400001)(3846002)(71200400001)(66556008)(66946007)(25786009)(91956017)(76116006)(486006)(6916009)(2351001)(229853002)(256004)(66446008)(26005)(446003)(2906002)(53546011)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR06MB4185; H:DM6PR06MB6234.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: TnPBrsSPvRK1P5Z9q4wkUg++NNDYxn0lgzvEZm/yz6XQlAEt36ZlKGIbzCdlhOQZTabAU3XLV7xCJ067s5UfqCvUGiklpIRFJ1szIcuOC/K4ADh5siA9hWGTowzRXd16HT7V535ensJgU8vF6InmkTCb2H2ssvJvPQX+hz8x+KczKv/Ukt5zpzYDWN7XN4F8aBZJnzx1eE5cMhIKX0ELfCS6pNMCxll6fWwDM8PPK9/SBd6Sh25q1GGzoJGECn90D7nMn/WdLHyCe7+NRASCpfWRtVyhA0tyLfmX+/MBC8LSNw1K1MlZo42NmTZqYIIj7SZnnswmQwsmyQWcYIynOv6ybIYNg0VPBQBLgL9cEj8URw+OjsmtJq/92eJAzPS974c4aXzS7l9rUI7adYlLboUzI8YqQawzQjcNt1gaZvo=
Content-Type: text/plain; charset="utf-8"
Content-ID: <8A301F0236F72044B7431C991AFA4018@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 1497af16-3187-4776-6ca4-08d70b88fd99
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 14:05:29.3963 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: odonoghue@isoc.org
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR06MB4185
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/56naPucyKVazROGk5czEBZiGbNY>
Subject: Re: [Ntp] DRAFT agenda for NTP WG meeting
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: Thu, 18 Jul 2019 14:05:35 -0000

QW5kIGFzIG9uZSBhbGVydCByZXZpZXdlciBoYXMgYWxyZWFkeSBwb2ludGVkIG91dOKApiB0aGUg
bWVldGluZyBpcyDigKYgDQpNb25kYXksIEp1bHkgMjIsIDIwMTksIDE1OjUwIC0gMTc6NTAgVVRD
LTQgKDE5OjUwIC0gMjE6NTAgVVRDKSANCg0KSeKAmXZlIHVwZGF0ZWQgdGhlIGNvcnJlY3RlZCB2
ZXJzaW9uIHRvIGRhdGEgdHJhY2tlcuKApiANCg0KPiBPbiBKdWwgMTgsIDIwMTksIGF0IDI6MTcg
QU0sIEthcmVuIE8nRG9ub2dodWUgPG9kb25vZ2h1ZUBpc29jLm9yZz4gd3JvdGU6DQo+IA0KPiBG
b2xrcywNCj4gDQo+IEF0dGFjaGVkIChhbmQgb24gZGF0YSB0cmFja2VyKSBpcyB0aGUgZHJhZnQg
YWdlbmRhIGZvciB0aGUgdXBjb21pbmcgTlRQIG1lZXRpbmcuIFRoZXJlIGlzIGEgYnVuY2ggb2Yg
c3R1ZmYgSSBuZWVkIHRvIGNsZWFuIHVwIGluIGFkdmFuY2Ugb2YgdGhlIG1lZXRpbmcuIA0KPiAN
Cj4gS2FyZW4NCj4gDQo+IERSQUZUIE5UUCBXRyBNZWV0aW5nDQo+IElFVEYgMTA1IC0tIE1vbnRy
ZWFsDQo+IExvY2F0aW9uOiAgVHVlc2RheSwgTWFyY2ggMjYsIDIwMTksIDE2OjEwIC0gMTg6MTAg
VVRDKzcgKDk6MTAgLSAxMToxMCBVVEMpDQpNb25kYXksIEp1bHkgMjIsIDIwMTksIDE1OjUwIC0g
MTc6NTAgVVRDLTQgKDE5OjUwIC0gMjE6NTAgVVRDKSANCg0KDQo+IENoYWlyczogICBLYXJlbiBP
J0Rvbm9naHVlLCBEaWV0ZXIgU2lib2xkDQo+IEFEOiAgICAgICBTdXJlc2ggS3Jpc2huYW4gDQo+
IFByZXNlbnRhdGlvbiBtYXRlcmlhbHM6IGh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvbWVl
dGluZy8xMDUvc2Vzc2lvbi9udHANCj4gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KPiAocmVtb3Rl
IHBhcnRpY2lwYXRpb24gdmlhIG1lZXRlY2hvKQ0KPiANCj4gMS4gIEFkbWluaXN0cmF0aXZlIGFu
ZCBBZ2VuZGEgQmFzaGluZw0KPiAgICBOb3RlIFdlbGwsIE5vdGUgVGFrZXJzLCBKYWJiZXIgU2Ny
aWJlcywgQWdlbmRhIEJhc2hpbmcNCj4gDQo+IDIuICBOVFAgV0cgU3RhdHVzIChkb2N1bWVudHMg
YmV5b25kIHRoZSBXRykgDQo+ICAgIAlOZXR3b3JrIFRpbWUgUHJvdG9jb2wgQmVzdCBDdXJyZW50
IFByYWN0aWNlcyANCj4gICAgICAJCWh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2h0
bWwvZHJhZnQtaWV0Zi1udHAtYmNwDQo+IAlOVFMgZm9yIE5UUCANCj4gICAgICAJCWh0dHBzOi8v
ZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2h0bWwvZHJhZnQtaWV0Zi1udHAtdXNpbmctbnRzLWZv
ci1udHANCj4gICAgCUd1aWRlbGluZXMgZm9yIERlZmluaW5nIFBhY2tldCBUaW1lc3RhbXBzIA0K
PiAgICAgCQlodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9odG1sL2RyYWZ0LWlldGYt
bnRwLXBhY2tldC10aW1lc3RhbXBzDQo+ICAgIAlDb250cm9sIE1lc3NhZ2VzIFByb3RvY29sIGZv
ciBVc2Ugd2l0aCBOVFB2NA0KPiAgICAgIAkJaHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9k
b2MvaHRtbC9kcmFmdC1pZXRmLW50cC1tb2RlLTYtY21kcw0KPiANCj4gMy4gIEEgWUFORyBEYXRh
IE1vZGVsIGZvciBOVFANCj4gCWh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2h0bWwv
ZHJhZnQtaWV0Zi1udHAteWFuZy1kYXRhLW1vZGVsDQo+IA0KPiA0LiAgTlRQIEludGVybGVhdmVk
IE1vZGVzDQo+ICAgCWh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2h0bWwvZHJhZnQt
aWV0Zi1udHAtaW50ZXJsZWF2ZWQtbW9kZXMNCj4gDQo+IDUuICBQb3J0IFJhbmRvbWl6YXRpb24g
aW4gTlRQDQo+IAlodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9kcmFmdC1nb250LW50
cC1wb3J0LXJhbmRvbWl6YXRpb24vDQo+IA0KPiA2LiAgT24gSW1wbGVtZW50aW5nIFRpbWUNCj4g
CWh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0LWFhbmNoYWwtdGltZS1pbXBs
ZW1lbnRhdGlvbi1ndWlkYW5jZS8NCj4gDQo+IDcuICBSb3VnaHRpbWUgDQo+ICAgICAJaHR0cHM6
Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtcm91Z2h0aW1lLWFhbmNoYWwvDQo+IA0K
PiA4LiAgV0cgRG9jdW1lbnRzIHdpdGhvdXQgdXBkYXRlcy4uLg0KPiAJTlRQIENsaWVudCBEYXRh
IE1pbmltaXphdGlvbiANCj4gICAgICAJCWh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9j
L2h0bWwvZHJhZnQtaWV0Zi1udHAtZGF0YS1taW5pbWl6YXRpb24NCj4gCU5ldHdvcmsgVGltZSBQ
cm90b2NvbCBSRUZJRCBVcGRhdGVzDQo+IAkJaHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9k
b2MvaHRtbC9kcmFmdC1pZXRmLW50cC1yZWZpZC11cGRhdGVzDQo+IA0KPiA5LiAgVElDVE9DIFdH
IHN0YXR1cyANCj4gCUlFRUUgMTU4OCBFbnRlcnByaXNlIFByb2ZpbGUNCj4gCQlodHRwczovL3Rv
b2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi10aWN0b2MtcHRwLWVudGVycHJpc2UtcHJvZmls
ZQ0KPiANCj4gMTAuICBTdGF0dXMgYW5kIG5leHQgc3RlcHMgZm9yIElFRUUgMTU4OA0KPiANCj4g
MTEuICAgU2VjdXJpdHkgcHJvZmlsZSBmb3IgSUVFRSAxNTg4DQo+IA0KPiAxMi4gQU9CDQo+IA0K
PiAxMy4gV3JhcCBVcA0KPiANCj4gKioqKioqKioqKioNCj4gDQo+IEhvdXNla2VlcGluZy4uLiBQ
cm9ncmVzcyAvIE5leHQgU3RlcHM/DQo+IE5UUCBDb3JyZWN0aW9uIEZpZWxkDQo+ICAgICAgaHR0
cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvaHRtbC9kcmFmdC1tbGljaHZhci1udHAtY29y
cmVjdGlvbi1maWVsZA0KPiBOVFB2NCBTaG9ydCBFeHRlbnNpb24gRmllbGRzDQo+ICAgICAgaHR0
cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvaHRtbC9kcmFmdC1tbGljaHZhci1udHAtc2hv
cnQtZXh0ZW5zaW9uLWZpZWxkcy0wMA0KPiBBZGRpdGlvbmFsIEV4dGVuc2lvbiBGaWVsZCBQcm9w
b3NhbHMNCj4gICAgICBodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9kcmFmdC1zdGVu
bi1udHAtZXh0ZW5kZWQtaW5mb3JtYXRpb24vDQo+ICAgICAgaHR0cHM6Ly9kYXRhdHJhY2tlci5p
ZXRmLm9yZy9kb2MvZHJhZnQtc3Rlbm4tbnRwLWktZG8vDQo+ICAgICAgaHR0cHM6Ly9kYXRhdHJh
Y2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtc3Rlbm4tbnRwLW1hYy1sYXN0LWVmLw0KPiAgICAgIGh0
dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0LXN0ZW5uLW50cC1zdWdnZXN0LXJl
ZmlkLw0KPiBBIFNlY3VyZSBTZWxlY3Rpb24gYW5kIEZpbHRlcmluZyBNZWNoYW5pc20gZm9yIHRo
ZSBOVFB2NA0KPiAgICAgIGh0dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2h0bWwvZHJh
ZnQtc2NoaWZmLW50cC1jaHJvbm9zDQo+IExlYXAgc2Vjb25kIExpc3QgTWFpbnRlbmFuY2UNCj4g
ICAgICAgaHR0cHM6Ly93d3cuaWV0Zi5vcmcvdGltZXpvbmVzL2RhdGEvbGVhcC1zZWNvbmRzLmxp
c3QNCj4gDQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
DQo+IG50cCBtYWlsaW5nIGxpc3QNCj4gbnRwQGlldGYub3JnDQo+IGh0dHBzOi8vd3d3LmlldGYu
b3JnL21haWxtYW4vbGlzdGluZm8vbnRwDQoNCg==


From nobody Thu Jul 18 17:33:34 2019
Return-Path: <wwwrun@rfc-editor.org>
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 624BE120B5B; Thu, 18 Jul 2019 17:33:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 HyMo_hJqTUzw; Thu, 18 Jul 2019 17:33:17 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99FC0120B5A; Thu, 18 Jul 2019 17:33:17 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 1B167B80BF5; Thu, 18 Jul 2019 17:33:12 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
X-PHP-Originating-Script: 1005:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Cc: rfc-editor@rfc-editor.org, drafts-update-ref@iana.org, ntp@ietf.org
Content-type: text/plain; charset=UTF-8
Message-Id: <20190719003312.1B167B80BF5@rfc-editor.org>
Date: Thu, 18 Jul 2019 17:33:12 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Uc8EvYZ4W2uthS9pnVmENpgiOJk>
Subject: [Ntp] =?utf-8?q?BCP_223=2C_RFC_8633_on_Network_Time_Protocol_Bes?= =?utf-8?q?t_Current_Practices?=
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: Fri, 19 Jul 2019 00:33:25 -0000

A new Request for Comments is now available in online RFC libraries.

        BCP 223        
        RFC 8633

        Title:      Network Time Protocol Best Current Practices 
        Author:     D. Reilly,
                    H. Stenn,
                    D. Sibold
        Status:     Best Current Practice
        Stream:     IETF
        Date:       July 2019
        Mailbox:    denis.reilly@orolia.com, 
                    stenn@nwtime.org, 
                    dieter.sibold@ptb.de
        Pages:      26
        Characters: 60651
        See Also:   BCP 223

        I-D Tag:    draft-ietf-ntp-bcp-13.txt

        URL:        https://www.rfc-editor.org/info/rfc8633

        DOI:        10.17487/RFC8633

The Network Time Protocol (NTP) is one of the oldest protocols on the
Internet and has been widely used since its initial publication.
This document is a collection of best practices for the general
operation of NTP servers and clients on the Internet.  It includes
recommendations for the stable, accurate, and secure operation of NTP
infrastructure.  This document is targeted at NTP version 4 as
described in RFC 5905.

This document is a product of the Network Time Protocol Working Group of the IETF.


BCP: This document specifies an Internet Best Current Practices for the
Internet Community, and requests discussion and suggestions for 
improvements. Distribution of this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  https://www.ietf.org/mailman/listinfo/ietf-announce
  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see https://www.rfc-editor.org/search
For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC



From nobody Sat Jul 20 04:51:17 2019
Return-Path: <christer@weinigel.se>
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 E91DC120154 for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 04:51:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.917
X-Spam-Level: 
X-Spam-Status: No, score=-0.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 MIl-3GsYOUhp for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 04:51:13 -0700 (PDT)
Received: from mail.weinigel.se (37-46-169-123.customers.ownit.se [37.46.169.123]) by ietfa.amsl.com (Postfix) with ESMTP id 9C7821200B1 for <ntp@ietf.org>; Sat, 20 Jul 2019 04:51:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 5657D1E0275; Sat, 20 Jul 2019 13:51:11 +0200 (CEST)
Received: from mail.weinigel.se ([127.0.0.1]) by localhost (mail.weinigel.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zEBdz5w1ZpQc; Sat, 20 Jul 2019 13:51:08 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 5386B1E022B; Sat, 20 Jul 2019 13:51:08 +0200 (CEST)
To: Martin Langer <mart.langer@ostfalia.de>, ntp@ietf.org
References: <20190322223210.1181540605C@ip-64-139-1-69.sjc.megapath.net> <746c447d-7d99-9bc5-0167-a3560d6bef03@ostfalia.de>
From: Christer Weinigel <christer@weinigel.se>
Message-ID: <d580d78a-1058-3848-6024-8daa02e9e8f2@weinigel.se>
Date: Sat, 20 Jul 2019 13:51:08 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
MIME-Version: 1.0
In-Reply-To: <746c447d-7d99-9bc5-0167-a3560d6bef03@ostfalia.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ekIk_UVJ2t6sNJXPsfJMvY3v5yc>
Subject: Re: [Ntp] NTS Hackathon coordination
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: Sat, 20 Jul 2019 11:51:15 -0000

Hi all,

I just got back from vacation, but I will participate too.

I've set up my Python server on the same machine as before:

ntske: zoo.weinigel.se 4446

There's nothing really new though, I've fixed a crash bug in my server 
(an exception that would stop the server if the client closed the TLS 
socket before I could read from it).

When I was at the AIS hackathon in Uganda a few weeks ago we used slack 
to communicate within the group and I think that worked out rather well. 
  I'd suggest that we set up a slack channel for the NTP/NTS/time group 
for this hackathon too.  Does anybody know how to do that?  Otherwise I 
could give it a try.

   /Christer

On 2019-07-04 10:17, Martin Langer wrote:
> Hello everybody.
> 
> I just wanted to say that I will participate the next hackathon (remote).
> We should note somewhere which IPs, port numbers, NTP-EF IDs and 
> features (like IPv6 support, separated NTS-KE server, ...) each 
> implementation expect.
> 
> I can provide 3 time servers with different settings.
> 
> 
> best regards,
> Martin
> 
> 
> Am 22.03.2019 um 23:32 schrieb Hal Murray:
>> odonoghue@isoc.org said:
>>>     For those participating, Iâ€™ll see you physically or virtually 
>>> tomorrow.
>>>     The room will open at 9:00 am CET. It will take us a little while 
>>> to get
>>>     started and get through the opening portions, so for the remote 
>>> folks,
>>>     please be patient with us.
>> I assume somebody will find bugs/quirks in our code.  I'll be 
>> available via
>> email.  I'm in California.  I think that means you are starting at my
>> midnight.  I'm a night owl, so we'll get some overlap.
>>
>> 2 more servers:
>>    ntp1.glypnod.com - San Francisco
>>    ntp2.glypnod.com - London
>>
>> The NTS-LE server is listening on port 123, both IPv4 and IPv6.
>>
>> I've seen cases where some NTP packets don't make it to London.  I 
>> assume it's
>> filtering leftover from the DDoS mess of a few years ago.  Normal NTP
>> request/responses get through.  Longer requests with NTS extensions 
>> don't get
>> in to London if the source port is 123.
>>
>>
>>
> 


From nobody Sat Jul 20 06:55:44 2019
Return-Path: <christer@weinigel.se>
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 B174E12008B for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 06:55:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.916
X-Spam-Level: 
X-Spam-Status: No, score=-0.916 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_TRY_3LD=0.001] autolearn=no autolearn_force=no
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 oq3LiQYkgAYy for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 06:55:41 -0700 (PDT)
Received: from mail.weinigel.se (37-46-169-123.customers.ownit.se [37.46.169.123]) by ietfa.amsl.com (Postfix) with ESMTP id 0DBCB120052 for <ntp@ietf.org>; Sat, 20 Jul 2019 06:55:41 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 0E3ED1E0276; Sat, 20 Jul 2019 15:55:39 +0200 (CEST)
Received: from mail.weinigel.se ([127.0.0.1]) by localhost (mail.weinigel.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id acDF9PRMg0Fj; Sat, 20 Jul 2019 15:55:36 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 021E51E01AB; Sat, 20 Jul 2019 15:55:35 +0200 (CEST)
From: Christer Weinigel <christer@weinigel.se>
To: Martin Langer <mart.langer@ostfalia.de>, ntp@ietf.org
References: <20190322223210.1181540605C@ip-64-139-1-69.sjc.megapath.net> <746c447d-7d99-9bc5-0167-a3560d6bef03@ostfalia.de> <d580d78a-1058-3848-6024-8daa02e9e8f2@weinigel.se>
Message-ID: <545df323-65a5-a170-ae08-0f6e5fe941d7@weinigel.se>
Date: Sat, 20 Jul 2019 15:55:35 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
MIME-Version: 1.0
In-Reply-To: <d580d78a-1058-3848-6024-8daa02e9e8f2@weinigel.se>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/A0PB9LGtbZfVxQQh6bfX1WKvFGY>
Subject: Re: [Ntp] NTS Hackathon coordination
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: Sat, 20 Jul 2019 13:55:43 -0000

Hi everyone,

I've created a Slack channel for IETF-105 hackathon time-related stuff.

You ought to be able to join the channel using this link:

https://join.slack.com/t/ietf-105-time/shared_invite/enQtNjg5NDAyNDE0MTE1LTVhZDE3YzEzMTk1ZWYyNDAxZGFjZmM1OTE1ZTFiYmY4MGJlZGYyZDYyMThjNmQzOTk0MGE4N2FkZmU5MmFjNDM

   /Christer

On 2019-07-20 13:51, Christer Weinigel wrote:
> Hi all,
> 
> I just got back from vacation, but I will participate too.
> 
> I've set up my Python server on the same machine as before:
> 
> ntske: zoo.weinigel.se 4446
> 
> There's nothing really new though, I've fixed a crash bug in my server 
> (an exception that would stop the server if the client closed the TLS 
> socket before I could read from it).
> 
> When I was at the AIS hackathon in Uganda a few weeks ago we used slack 
> to communicate within the group and I think that worked out rather well. 
>   I'd suggest that we set up a slack channel for the NTP/NTS/time group 
> for this hackathon too.  Does anybody know how to do that?  Otherwise I 
> could give it a try.
> 
>    /Christer
> 
> On 2019-07-04 10:17, Martin Langer wrote:
>> Hello everybody.
>>
>> I just wanted to say that I will participate the next hackathon (remote).
>> We should note somewhere which IPs, port numbers, NTP-EF IDs and 
>> features (like IPv6 support, separated NTS-KE server, ...) each 
>> implementation expect.
>>
>> I can provide 3 time servers with different settings.
>>
>>
>> best regards,
>> Martin
>>
>>
>> Am 22.03.2019 um 23:32 schrieb Hal Murray:
>>> odonoghue@isoc.org said:
>>>>     For those participating, Iâ€™ll see you physically or virtually 
>>>> tomorrow.
>>>>     The room will open at 9:00 am CET. It will take us a little 
>>>> while to get
>>>>     started and get through the opening portions, so for the remote 
>>>> folks,
>>>>     please be patient with us.
>>> I assume somebody will find bugs/quirks in our code.  I'll be 
>>> available via
>>> email.  I'm in California.  I think that means you are starting at my
>>> midnight.  I'm a night owl, so we'll get some overlap.
>>>
>>> 2 more servers:
>>>    ntp1.glypnod.com - San Francisco
>>>    ntp2.glypnod.com - London
>>>
>>> The NTS-LE server is listening on port 123, both IPv4 and IPv6.
>>>
>>> I've seen cases where some NTP packets don't make it to London.  I 
>>> assume it's
>>> filtering leftover from the DDoS mess of a few years ago.  Normal NTP
>>> request/responses get through.  Longer requests with NTS extensions 
>>> don't get
>>> in to London if the source port is 123.
>>>
>>>
>>>
>>


From nobody Sat Jul 20 13:37:31 2019
Return-Path: <christer@weinigel.se>
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 8B33912019C for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 13:37:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.917
X-Spam-Level: 
X-Spam-Status: No, score=-0.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 byD6X_PgEJCr for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 13:37:27 -0700 (PDT)
Received: from mail.weinigel.se (37-46-169-123.customers.ownit.se [37.46.169.123]) by ietfa.amsl.com (Postfix) with ESMTP id 7F83A12014B for <ntp@ietf.org>; Sat, 20 Jul 2019 13:37:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 5210C1E0275 for <ntp@ietf.org>; Sat, 20 Jul 2019 22:37:25 +0200 (CEST)
Received: from mail.weinigel.se ([127.0.0.1]) by localhost (mail.weinigel.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L8z2aF3YXD2m for <ntp@ietf.org>; Sat, 20 Jul 2019 22:37:22 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by zoo.weinigel.se (Postfix) with ESMTP id 8A27A1E022B for <ntp@ietf.org>; Sat, 20 Jul 2019 22:37:22 +0200 (CEST)
To: ntp@ietf.org
From: Christer Weinigel <christer@weinigel.se>
Message-ID: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se>
Date: Sat, 20 Jul 2019 22:37:22 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ruLDmeZ8cfIxgWhI9v-AA9DLq0U>
Subject: [Ntp] NTS pool support
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: Sat, 20 Jul 2019 20:37:30 -0000

Hi all,

there have been some discussions on how to handle NTS pool support but
I don't think there was any definite conclusion to the discussions.

Here's my naive suggestion on how to handle NTS pools.

Considerations
==============

1) A user should not have to do anything to start using NTS if the
    NTP client that comes with the OS adds NTS support.

2) It should be possible for someone to manage a pool of NTS servers
    without having to manage the TLS private keys for each individual
    NTSKE server.

3) Reuse as much existing infrastructure as possible.

Proposal
========

Today an NTP server pool is implemented with A/AAAA records, where a
pool domain name resolves to multiple IP addresses.  For example I've
set up a small pool for my company's domain which looks like this:

$ dig time.weinigel.se a

time.weinigel.se.       86400   IN      A       77.72.227.121
time.weinigel.se.       86400   IN      A       71.19.158.104
time.weinigel.se.       86400   IN      A       37.46.169.123

(these IP-addresses correspond to fpga-lab.sth.netnod.se,
www.weinigel.se and zoo.weinigel.se respectively).

This is not suitable for a pool of NTS servers though, mostly because
the NTSKE server has to have a server certificate which matches the
domain name used to contact the NTSKE server.  This means that each
NTSKE server would have to be issued a certificate with the name of
the pool.  It also makes it trickier to talk to a specific server,
unless the server is issued multi-domain certificates which will
probably be an administrative nightmare when the pool is in part of
one domain and the server is on another domain (such as
time.weinigel.se and the NTSKE server on fpga-lab.sth.netnod.se).

Additionally, there is no way for a client know if a certain IP
address returned by a pool supports NTS or not.  It could try a well
known port (when/if NTS is assigned it's own port, or if NTS will use
tcp/123) but the client would have to attempt a TCP connection to see
if it's supported or not and this would be rather wasteful.  An ad hoc
solution would be to have a naming convention where one looks for the
same domain prefixed with nts, i.e. nts.time.weinigel.se, but that
feels rather ugly IMNSHO.

Luckily, some smart people have already solved most of this problem:
DNS SRV records.  There is a pretty decent explanation of DNS SRV
records on Wikipedia:

https://en.wikipedia.org/wiki/SRV_record

Basically, it's a way of associating services with a domain with a DNS
record which has the form:

_service._proto.name. TTL class SRV priority weight port target.

Just add a "_ntske._tcp" service for each domain that want to add NTS
support.  (I'm not sure if "_ntske" is the best name, maybe it should
be just be "_nts", or "_ntske1" or some other name, and it has to be
registered with IANA anyway.  But I'll use "_ntske" for my example.)

For my domain "time.weinigel.se", two of my NTP servers also support
NTS, and the NTSKE server listens to port 4446 on both machines.  This
means that I have added the following DNS SRV records to my pool:

$ dig _ntske._tcp.time.weinigel.se srv

_ntske._tcp.time.weinigel.se. 86400 IN SRV 1 10 4446 zoo.weinigel.se.
_ntske._tcp.time.weinigel.se. 86400 IN SRV 2 10 4446 fpga-lab.sth.netnod.se.

Since the DNS SRV records are in a completely different namespace than
the A records used for a NTP pool today it won't affect any existing
NTP clients.  A new client which supports NTS can look up the SRV
records to find the target (host) and port for the NTSKE servers.

The best thing about DNS SRV records is that the target (host) is a
fully qualified domain name, which means that when the NTS client
connects to the NTSKE server it will match the name that's present in
the TLS certificate for the server.  This means that the administrator
of the pool does not have to manage the TLS certificates and private
keys, that's up to whoever manages each NTSKE server.

In my case, I manage all of these machines, and have used letsencrypt
to create the TLS certificates for both zoo.weinigel.se and
fpga-lab.sth.netnod.se, but it could just as well have been that case
that it's Netnods operations team that would handle the certificates
for the machine on their network using their preferred CA.

Notes
=====

Microsoft does something similar for plain NTP if you run a skype for
business server.  They use a SRV record for "_ntp._udp" on domains to
point at the NTP server:

https://docs.microsoft.com/en-us/skypeforbusiness/plan-your-deployment/network-requirements/dns

Just for fun, I have really set up time.weinigel.se just the way I
have described above, and created a simple application in Python do do
the SRV record lookup needed in a client:

https://github.com/Netnod/nts-poc-python/blob/master/lookup.py

$ python lookup.py time.weinigel.se

NTP servers
     37.46.169.123
     71.19.158.104
     77.72.227.121

NTS servers
     fpga-lab.sth.netnod.se.weinigel.se:4446
     zoo.weinigel.se.weinigel.se:4446

Policy for load balancing/failover
==================================

Load balancing and failover can be done at multiple levels.  One can
have multiple DNS SRV records in a pool and achieve load balancing
that way.  If someone wants to have multiple NTSKE servers with the
same host name and do load balancing using A/AAAA records for that
name they can do that as long as the TLS certificates match the host
name.  And someone who wants to have multiple NTS/UDP timestamping
servers using the cookies from one or more NTSKE servers which share
the server keys (the keys needed to decrypt the cookie) they can do
that.

It's up to a client how it behaves when it gets multiple responses, or
if there are both DNS SRV and plain old NTP A/AAAA records is up to
the implementation.  I would suggest something like this though:

Treat multiple DNS SRV _ntske._tcp.$DOMAIN records as members of a
pool.  A smart client should try to use as many as it can at the same
time and weigh the responses from the servers.

Treat multiple A/AAAA records for the target pointed out by the DNS
SRV record as alternate addresses for the same server.  The main use
for this is load balancing/failover.  The client should treat all IP
addresses as the responses from the same server and not weigh them
separately.  The client can try all addresses at the same time, or try
one at a time, but should only use the response from one of them.

If the NTPv4 Server Negotiation record contains a host name and the
A/AAAA lookup returns multiple addresses, treat them as alternate
addresses for the same server.  The main use for this is load
balancing / failover.  The client should treat all IP addresses as the
responses from the same server and not weigh them separately.  To be
as robust as possible a client remember the list of IP addresses if
the NTS UDP timestamping server it's currently using goes down and
switch to using one of the other addresses in that case

I believe that this ought to work for just about all cases of pool
management and gives enough flexibility that one can do load balancing
and failover at multiple levels.  But I don't know if I have missed
some use cases here.

TLS Certificate PKI
===================

I don't think we want to build up our own PKI for the TLS certificates
used with NTS, so I'd suggest that we do the same thing everyone does
for HTTPS.  Yes, this means trusting every CA out there, and yes, it
means that the security of the certificates is generally set by the
least secure CA, but that's something I think we'll have to live with.
And it makes life easier, if you know how to get a HTTPS server
certificate you also know how to get a certificate for your NTSKE
server.  We shouldn't requre any special extensions, just plain
"same certs as for HTTPS".

It is possible to raise the security a bit using DNSSEC and TLSA
(RFC6698), just as for HTTPS.  With DNSSEC whoever maintains the DNS
entries for a pool or DNS entries for a a NTSKE server can ensure that
the DNS information is signed all the way from the root servers.  With
TLSA it's possible to put a hash of the NTSKE server certificate (or
CA) in DNS and thus bridge the gap from DNS to TLS session.

A TLSA record for zoo.weinigel.se would look something like this:

_4446._tcp.zoo.weinigel.se. IN TLSA (3 0 0 deadbeef...)

It basically says that deadbeef is a hash of the certificate used for
TLS connections to tcp port 4446 of zoo.weinigel.se

How to use this information is up to a client.  The default would
probably be for a NTP client to use both plain NTP servers and NTS
servers to begin with and only check the certificates against the
normal HTTPS CAs.  A NTS client which understands DNSSEC and TLSA
could add even more weight to NTSKE servers which use those.  A client
could also be configured to require NTSKE, DNSSEC and/or TLSA (maybe
per pool).

Question: Are there any best practices for HTTPS somewhere out there
that we could reuse?  Since NTSKE is a new protocol we could drop any
deprecated features of HTTPS that web browsers still have to support
for compatibility reasons.

Still not solved
================

There's one major problem with all of this.

To be able to validate the certificate of the NTSKE server the client
needs to know time, and to be able to securely get time a client needs
to be able to NTS.  A client which doesn't have any idea at all about
what time it is will have to ignore the time-related checks of the
NTSKE server certificate (or fall back to plain NTP).

This becomes even worse if one uses DNSSEC since DNSSEC requires the
DNS client to know time to within 5 minutes (IIRC) of the DNS server's
time.  Without time it can't do the DNSSEC validation.

A client will need some kind of policy on what to do here.

Thoughts, flames, have I missed anything vital?

   /Christer


From hackathon105@ietf.netizen.se  Sat Jul 20 14:01:49 2019
Return-Path: <hackathon105@ietf.netizen.se>
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 2A0011201A0 for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 14:01:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 pBEJWV-MLzii for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 14:01:47 -0700 (PDT)
Received: from lima.netizen.se (lima.netizen.se [185.65.132.171]) by ietfa.amsl.com (Postfix) with ESMTP id B87701200F8 for <ntp@ietf.org>; Sat, 20 Jul 2019 14:01:47 -0700 (PDT)
Received: by lima.netizen.se (Postfix, from userid 999) id B9E3615EB15; Sat, 20 Jul 2019 23:01:46 +0200 (CEST)
Received: from ch.lugn.nu (liua.netizen.se [185.65.132.170]) by lima.netizen.se (Postfix) with ESMTPSA id 5EB3215EB14 for <ntp@ietf.org>; Sat, 20 Jul 2019 23:01:46 +0200 (CEST)
Date: Sat, 20 Jul 2019 23:01:45 +0200
From: Martin Samuelsson <hackathon105@ietf.netizen.se>
To: ntp@ietf.org
Message-ID: <20190720210144.ytee3hf53kcl5sur@ch.lugn.nu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <156261329089.976.11031311688358818801@ietfa.amsl.com>
User-Agent: NeoMutt/20170113 (1.7.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ONrN8yWKsUHnmW5wiWI6TTYpSJY>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-20.txt
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: Sat, 20 Jul 2019 21:42:45 -0000

The protocol overview (1.2) is not fully up to date. It seems the phrasing
should be updated to specify that the server returns one single NTP server
address, not a list.

I.e section 4.1.7 of draft-20 currently reads:

"Its body consists of an ASCII-encoded [ANSI.X3-4.1986] string. The contents
of the string SHALL be either an IPv4 address in dotted decimal notation, an
IPv6 address, or a fully qualified domain name (FQDN)."

Returning a sequence of 16 octets in network byte order has been obsolete
for quite a while.
-- 
/Martin


From nobody Sat Jul 20 20:19:13 2019
Return-Path: <ask@develooper.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 C364C1200B3 for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 20:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Olc1MN1pEsIA for <ntp@ietfa.amsl.com>; Sat, 20 Jul 2019 20:19:10 -0700 (PDT)
Received: from mx-out1.ewr1.develooper.com (mx-out1.ewr1.develooper.com [139.178.64.59]) by ietfa.amsl.com (Postfix) with ESMTP id 621F612006A for <ntp@ietf.org>; Sat, 20 Jul 2019 20:19:10 -0700 (PDT)
Received: from mbox1.develooper.com (unknown [147.75.38.211]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-out1.ewr1.develooper.com (Postfix) with ESMTPS id 930656E049F for <ntp@ietf.org>; Sun, 21 Jul 2019 03:19:09 +0000 (UTC)
Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mbox1.develooper.com (Postfix) with ESMTPS id 56B821760B2 for <ntp@ietf.org>; Sat, 20 Jul 2019 20:19:09 -0700 (PDT)
Received: (qmail 5183 invoked from network); 21 Jul 2019 03:19:09 -0000
Received: from c-98-248-50-174.hsd1.ca.comcast.net (HELO ?10.0.200.100?) (ask@mail.dev@98.248.50.174) by smtp.develooper.com with ESMTPA; 21 Jul 2019 03:19:09 -0000
From: =?utf-8?Q?Ask_Bj=C3=B8rn_Hansen?= <ask@develooper.com>
Message-Id: <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_97F4C73C-E427-498D-A811-CF9FB446C2AD"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Sat, 20 Jul 2019 20:18:57 -0700
In-Reply-To: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se>
Cc: ntp@ietf.org
To: Christer Weinigel <christer@weinigel.se>
References: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xjHyp0FrRA5CAGsTZKOJRoJRjgw>
Subject: Re: [Ntp] NTS pool support
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: Sun, 21 Jul 2019 03:19:12 -0000

--Apple-Mail=_97F4C73C-E427-498D-A811-CF9FB446C2AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Jul 20, 2019, at 1:37 PM, Christer Weinigel <christer@weinigel.se> =
wrote:
>=20
> The best thing about DNS SRV records is that the target (host) is a
> fully qualified domain name, which means that when the NTS client
> connects to the NTSKE server it will match the name that's present in
> the TLS certificate for the server.  This means that the administrator
> of the pool does not have to manage the TLS certificates and private
> keys, that's up to whoever manages each NTSKE server.


In this scenario, for the client to know that the server behind the SRV =
record are trusted by the pool system, it will have to either do =
end-to-end DNSSEC (and the pool DNS has to support it), or the CA used =
for the server need to be explicitly tied to the pool configuration. If =
not then your ISP can easily hi-jack the service in a way that=E2=80=99s =
not possible with =E2=80=9Cregular NTS=E2=80=9D. Or maybe I am missing =
something. :-)


Ask=

--Apple-Mail=_97F4C73C-E427-498D-A811-CF9FB446C2AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 20, 2019, at 1:37 PM, Christer Weinigel &lt;<a =
href=3D"mailto:christer@weinigel.se" =
class=3D"">christer@weinigel.se</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
14px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">The best thing about DNS SRV =
records is that the target (host) is a</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">fully qualified domain name, which means that when the NTS =
client</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">connects to =
the NTSKE server it will match the name that's present in</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
14px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
14px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">the TLS certificate for the =
server. &nbsp;This means that the administrator</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
14px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
14px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">of the pool does not have to =
manage the TLS certificates and private</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">keys, that's up to whoever manages each NTSKE =
server.</span></div></blockquote></div><div class=3D""><br =
class=3D""></div>In this scenario, for the client to know that the =
server behind the SRV record are trusted by the pool system, it will =
have to either do end-to-end DNSSEC (and the pool DNS has to support =
it), or the CA used for the server need to be explicitly tied to the =
pool configuration. If not then your ISP can easily hi-jack the service =
in a way that=E2=80=99s not possible with =E2=80=9Cregular NTS=E2=80=9D. =
Or maybe I am missing something. :-)<div class=3D""><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Ask</div></div></body></html>=

--Apple-Mail=_97F4C73C-E427-498D-A811-CF9FB446C2AD--


From nobody Sun Jul 21 00:29:02 2019
Return-Path: <paf@frobbit.se>
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 5CF0C1200F6 for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 00:29:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 s5F5dljKS0bH for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 00:28:58 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 482731200E7 for <ntp@ietf.org>; Sun, 21 Jul 2019 00:28:57 -0700 (PDT)
Received: from [192.165.72.198] (unknown [IPv6:2a02:80:3ffc:0:5ee:b8ff:c70d:d98a]) by mail.frobbit.se (Postfix) with ESMTPSA id 21483273D9; Sun, 21 Jul 2019 09:28:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1563694134; bh=T8wBadVD5Gn3It0fg6nSWc7R7uUTc0Y8lueLrJoUee4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WTIWdaw0KX6o2UajE7PvM6O5CX/vLSb4A/HzS4ZEVN+HezoHbOlNfUZN+lXpcB5K6 Q6qqBgWyRUdlyRdjC1GN6B14FB0K7aUE/mlAp09UwVlAeBcAIxIrFdh/jhSxTIbm1/ wZoI/9ImySeyzlFvAuqawI9batFaK36ByiG8TvHU=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Ask =?utf-8?q?Bj=C3=B8rn?= Hansen" <ask@develooper.com>
Cc: "Christer Weinigel" <christer@weinigel.se>, ntp@ietf.org
Date: Sun, 21 Jul 2019 09:28:53 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <D8DF9BEE-7AE0-48D2-9A7F-B98D4F19147B@frobbit.se>
In-Reply-To: <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com>
References: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se> <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_04244A40-75A2-4403-8CD3-9E49E8C5D11E_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/PEZA1zKAd11Ms-tjTCb2sXSMmis>
Subject: Re: [Ntp] NTS pool support
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: Sun, 21 Jul 2019 07:29:00 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_04244A40-75A2-4403-8CD3-9E49E8C5D11E_=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 21 Jul 2019, at 5:18, Ask Bj=C3=B8rn Hansen wrote:

>> On Jul 20, 2019, at 1:37 PM, Christer Weinigel <christer@weinigel.se> =
wrote:
>>
>> The best thing about DNS SRV records is that the target (host) is a
>> fully qualified domain name, which means that when the NTS client
>> connects to the NTSKE server it will match the name that's present in
>> the TLS certificate for the server.  This means that the administrator=

>> of the pool does not have to manage the TLS certificates and private
>> keys, that's up to whoever manages each NTSKE server.
>
>
> In this scenario, for the client to know that the server behind the SRV=
 record are trusted by the pool system, it will have to either do end-to-=
end DNSSEC (and the pool DNS has to support it),

DNSSEC do not really work that way. But close :-)

You must trust whoever is doing the validation. You extrapolate that to y=
ou having to do the validation, but that builds upon you not trusting (fo=
r example) the access provider that runs the recursive resolver for you a=
lso do the validation.

> or the CA used for the server need to be explicitly tied to the pool co=
nfiguration. If not then your ISP can easily hi-jack the service in a way=
 that=E2=80=99s not possible with =E2=80=9Cregular NTS=E2=80=9D. Or maybe=
 I am missing something. :-)

I think Christers idea is good(*), as it collapses to "if you trust your =
DNS, then you can use SRV". This irrespectively of whether DNSSEC is in u=
se or not.

That trust can be built by either just trusting DNS, trust the validating=
 recursive resolver run by a third party, or you run your own validating =
resolver on ::1.

Saying SRV can not be used because you do not trust DNS is not working, a=
s we have other issues with NTS if we do not trust DNS. NTP Pools rely on=
 us trusting the DNS as the pool is built in DNS as the database.

   Patrik

--=_MailMate_04244A40-75A2-4403-8CD3-9E49E8C5D11E_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTQUNQ8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI180wdgCdG2NwBX3eawlPlhCKNuYjyr5Mu9wAnAnBTgjF
5j1gnPnwX0XyN4R8TuWK
=uY2T
-----END PGP SIGNATURE-----

--=_MailMate_04244A40-75A2-4403-8CD3-9E49E8C5D11E_=--


From nobody Sun Jul 21 15:15:11 2019
Return-Path: <hmurray@megapathdsl.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 1ABE8120199 for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 15:15:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 1ywT7hz-fenJ for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 15:15:07 -0700 (PDT)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 0E2211201D6 for <ntp@ietf.org>; Sun, 21 Jul 2019 15:15:06 -0700 (PDT)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id ECA5C40605C; Sun, 21 Jul 2019 15:15:05 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Christer Weinigel <christer@weinigel.se>
cc: ntp@ietf.org, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Christer Weinigel <christer@weinigel.se> of "Sat, 20 Jul 2019 22:37:22 +0200." <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 21 Jul 2019 15:15:05 -0700
Message-Id: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/pWFJKyaE_9jS9hKsJYt-QwyApow>
Subject: Re: [Ntp] NTS pool support
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: Sun, 21 Jul 2019 22:15:09 -0000

> Here's my naive suggestion on how to handle NTS pools.

I think you have to be very careful about what you mean by "pool".  In most 
NTP discussions, "the pool" usually means pool.ntp.org, a large collection of 
NTP servers run by volunteers.  Trust and secure don't make sense with that 
type of operation.  There is no point in using NTS.

Actually, I think we should NOT use NTS with "the pool".  It would give a 
false sense of security.

If the pool technology used with other pools?


Is there a term for a collection of NTP servers that are all run by the same organization?  I'll use "cluster".

Do we need pool technology if one organization runs the whole thing?  Why not just use separate names for each server?  How many servers will one organization want to run?  ...

One approach for clusters is for all the NTP servers to use the same certificate.  That means they all need the same secret key.  Cloudflare thinks that is reasonable.  They have lots of servers with the same certificate/key but use something other than pool technology to locate them.


We could avoid the key sharing by having the KE servers return the name on the certificate the server will use along with the IP Address.  That seems like a good idea.

For a more pool like approach, we need an option to return several batches of whatever is returned now - maybe with separate K2S and S2K for each batch.

---------

Or we could invent an alternate protocol.  The first stage just returns a list of names - what would have been in the SRV records.  The second stage does NTSKE with each name.  That's just reinventing SRV records in an environment we know is secure.

If we trust DNS we could use real DNS/SRV records.  I'm not a DNS wizard.  I don't know how to setup DNSSEC.  I'd be happy to use DNS/SRV if we find a DNS wizard who can point to a simple HOWTO type document that tells how to secure DNS.  We may need a separate document for each OS/distro.

What's the general status of DNSSEC these days?  Is it ready for prime time?  Should we be using it to help build critical mass?  Or using something else until more OSes/distros have good support?

Is there a simple/portable API to get SRV records?


-- 
These are my opinions.  I hate spam.




From nobody Sun Jul 21 15:58:13 2019
Return-Path: <dsibold.ietf@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 434E81200C7 for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 15:58:11 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 yKXXrD-dDgwx for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 15:58:08 -0700 (PDT)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 9F44912001E for <ntp@ietf.org>; Sun, 21 Jul 2019 15:58:08 -0700 (PDT)
Received: by mail-wm1-x32f.google.com with SMTP id s15so12173850wmj.3 for <ntp@ietf.org>; Sun, 21 Jul 2019 15:58:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=uUfKQQ1T4f0sldP1A4uZdav5dwf1RDMWAtFcaKNpfTs=; b=CVu6+OUVL9V66fjilN3qMdYLletJJK6MYtWP1nKj1xiNDsJVO94/t+1+KJfgggQAeG /lYa5OLxqgovnJin/q2Kx6dFjgEQ+jkY7bUjpkX5QbEFzS3BfSVApsxZb/GnSdwXpXso BaPkSM1a0fptstQBH1v/vGlwm/11L4RYDcI27+DZRK5nbATyj2Cbqamez8BGKcyiMril 1zSO5EaOX4wAIADgh+4kIVKBSXyqMyrzKpGCpZwzCmi9MVzhmGICNgmmo0pH7fA5mKHu ckLFbI7Edd2rHQjJ9f5K2QA08FjJc8yVmZiY0eO2yHPkKrd9uc5jAX0O1m6M9PQCGDM9 p3IA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=uUfKQQ1T4f0sldP1A4uZdav5dwf1RDMWAtFcaKNpfTs=; b=A/Kvr42GqtBIW4p7m2AAr+a+Q5swKnDESdM7h0XMiPUGsNLv4vF2XPzmVgTBu0giPU xSo0vJ3CBPkDiJcRrwBMfIwwfFz19Kz8uthuGBUpPqq63RceTcxhMLcfwiUL/6LJIPpX 3MJeQUkAME9QYD/IDCKLWa6XKhofC3J1jgprAzjC73qo2WgIlUEcB6QU0v8r/04jSLoD qAYLIXXfeYoM8oTCS0lw0dVZf86lStzXXByeEAgc+atnijIQWEWwNw+9CzVJOtwmuHWY lZncsmjmaR5ZifeXqDlcxJ/fLrWpSno2o5y2Gu/8lZIIJwLd0JSpxodumvC3YNQSgO3Y SlmQ==
X-Gm-Message-State: APjAAAU6cByGy3Z9mgJKwnDUsRw/g5rbDDASVtpDCLMpQ1uj02A2foL2 FADalLELsn48EQFmfBm2fiY=
X-Google-Smtp-Source: APXvYqzBZWa6YovAG7usIhNpw4ro/FKZW6T+4M3HaooF7xtA1rSQgCrdh0EoU5MCIZh8onilvdKhdQ==
X-Received: by 2002:a05:600c:254b:: with SMTP id e11mr56055723wma.171.1563749887017;  Sun, 21 Jul 2019 15:58:07 -0700 (PDT)
Received: from [192.168.111.101] (p2E501817.dip0.t-ipconnect.de. [46.80.24.23]) by smtp.gmail.com with ESMTPSA id e3sm33119917wrs.37.2019.07.21.15.58.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jul 2019 15:58:06 -0700 (PDT)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: "Fernando Gont" <fgont@si6networks.com>
Cc: ntp@ietf.org, odonoghue@isoc.org
Date: Mon, 22 Jul 2019 00:58:04 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <E9B4D47E-6A6F-4CEE-90E0-4604CAE3B427@gmail.com>
In-Reply-To: <9d098ba6-3995-7ace-5543-a97ed8fc6564@si6networks.com>
References: <156225909789.12042.16125322482082094709.idtracker@ietfa.amsl.com> <9d098ba6-3995-7ace-5543-a97ed8fc6564@si6networks.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/JPdP4GaYPXLUxwUy09QF1TRUB1c>
Subject: Re: [Ntp] New Version Notification for draft-gont-ntp-port-randomization-02.txt
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: Sun, 21 Jul 2019 22:58:11 -0000

Hi Fernando,
many thanks for the update of your draft. I have the following comments:

- Sec 1, third paragraph, first sentence. From my point of view the 
sentence is ambiguous. Do you want to express that BCP 156 is formally 
updating RFC 5905? I thought this is the intension of this draft. Maybe 
this could be formulated more precisely.

- Sec 3.2, third paragraph, second sentence: I suppose you mean: '... 
that the clock selection and ...' and not '... that the clock select and 
...'.

- Sec 4. I would appreciate if this section would contain a comparison 
of the specification language between RFC 5905 and the proposed new 
language.  This would make it easier for the reader to see the changes 
you introduce.

- Sec 3.2, second paragraph: that the synchronization of the two 
system's clocks may result in a different clock value is a priori not 
very surprising. It is worth mentioning if the two systems are in the 
same network. I suppose this is what you mean. If yes, please clarify.


Greetings
Dieter









Dieter Sibold
dsibold.ietf@gmail.com

On 6 Jul 2019, at 16:16, Fernando Gont wrote:

> Folks,
>
> We have posted a new revision of the ntp port randomization I-D. It
> contains a number of improvements based on the recent discussion, 
> along
> with an analysis of a number of considerations surrounding port
> randomization.
>
> It is available at:
> https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-02.txt
>
> We don't expect this rev to be perfect, but do we think this one is
> ready for the wg to make a decision regarding whether to adopt this
> document as a wg item.
>
> P.S.: If there's anything you think we have missed, please do let us 
> know.
>
> Thanks!
>
> Cheers,
> Fernando
>
>
>
>
> -------- Forwarded Message --------
> Subject: New Version Notification for
> draft-gont-ntp-port-randomization-02.txt
> Date: Thu, 04 Jul 2019 09:51:37 -0700
> From: internet-drafts@ietf.org
> To: Fernando Gont <fgont@si6networks.com>, Guillermo Gont
> <ggont@si6networks.com>
>
>
> A new version of I-D, draft-gont-ntp-port-randomization-02.txt
> has been successfully submitted by Fernando Gont and posted to the
> IETF repository.
>
> Name:		draft-gont-ntp-port-randomization
> Revision:	02
> Title:		Port Randomization in the Network Time Protocol Version 4
> Document date:	2019-07-04
> Group:		Individual Submission
> Pages:		10
> URL:
> https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-02.txt
> Status:
> https://datatracker.ietf.org/doc/draft-gont-ntp-port-randomization/
> Htmlized:
> https://tools.ietf.org/html/draft-gont-ntp-port-randomization-02
> Htmlized:
> https://datatracker.ietf.org/doc/html/draft-gont-ntp-port-randomization
> Diff:
> https://www.ietf.org/rfcdiff?url2=draft-gont-ntp-port-randomization-02
>
> Abstract:
>    The Network Time Protocol can operate in several modes.  Some of
>    these modes are based on the receipt of unsolicited packets, and
>    therefore require the use of a service/well-known port as the local
>    port number.  However, in the case of NTP modes where the use of a
>    service/well-known port is not required, employing such well-known/
>    service port unnecessarily increases the ability of attackers to
>    perform blind/off-path attacks.  This document formally updates
>    RFC5905, recommending the use of port randomization for those modes
>    where use of the NTP service port is not required.
>
>
>
>
> Please note that it may take a couple of minutes from the time of 
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


From nobody Sun Jul 21 21:02:27 2019
Return-Path: <paf@frobbit.se>
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 56A1212007C for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 21:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 GD5JSVfBSRaX for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 21:02:24 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [85.30.129.185]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 38E3E120041 for <ntp@ietf.org>; Sun, 21 Jul 2019 21:02:23 -0700 (PDT)
Received: from [192.165.72.198] (unknown [IPv6:2a02:80:3ffc:0:7c0d:3d4f:876a:24ce]) by mail.frobbit.se (Postfix) with ESMTPSA id 84FCE26FEA; Mon, 22 Jul 2019 06:02:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1563768140; bh=XyI/TsV5VK84XLyHa28blEPDfAcwwSoowF1su6zZItE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z592MMOxmyEtEGMD8hBma396owlh5cakjV8SokJBI6Knl5cAZiT3VsrEtMh9O7mn6 osRmtkSyJ7FXD9/q6PeP9T2SCdKn2oONMwYO1tcJLODXhDcSOS5bYrmaWvtAEcRFtN Cs/bTDX+Ll9PHf6mErh/QI5oDKHD+cu6Ea6Uz4X4=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Hal Murray" <hmurray@megapathdsl.net>
Cc: "Christer Weinigel" <christer@weinigel.se>, ntp@ietf.org
Date: Mon, 22 Jul 2019 06:02:19 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <D18D784B-B21D-4222-8462-2816539C9CEF@frobbit.se>
In-Reply-To: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net>
References: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_54331869-5FB5-456C-8B4F-283F3507F062_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/bh24xHgNFTe3-IxbFsqu_Jmrj8Q>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 04:02:26 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_54331869-5FB5-456C-8B4F-283F3507F062_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 22 Jul 2019, at 0:15, Hal Murray wrote:

> If we trust DNS we could use real DNS/SRV records.

There are a few different approaches if one look at DNS:

- SRV

_prefix.domain. SRV port host

- NAPTR

domain. NAPTR service_type port host [sort of]

- URI

_prefix.domain. URI uri

> I'm not a DNS wizard.  I don't know how to setup DNSSEC.

DNSSEC consists of two parts:

1. Have a zone signed. Or in reality, each RRSet (all records of the same=
 type, class and domain name) is signed by adding a signature to it, usin=
g asymmetric keys.

2. Have a signed response (i.e. RRSet) validated when it is sent as a res=
ponse to a query.

Many people mix up the two.

> I'd be happy to use DNS/SRV if we find a DNS wizard who can point to a =
simple HOWTO type document that tells how to secure DNS.  We may need a s=
eparate document for each OS/distro.

Yes and no.

I think we should decide what we build the trust on, and where we se risk=
s. We could say "for this to work, zone with records should be signed, an=
d validation should happen or else the following attack vector exists".

For "how to use DNS", we must refer to DNS material. Like we do with othe=
r non-NTP stuff. And how non-NTP people should refer to us.

I do not want to write the "NTS for DNS people" guide :-)

> What's the general status of DNSSEC these days?

Regarding the two functions I talked about above:

- Signed zones is pretty good. Almost all TLDs are signed, which means if=
 you have a domain in a signed TLD you should be able to sign your zone. =
You can do it automatically for example in Bind or other software, and ma=
ny DNS providers automatically sign your zone even if you do not ask for =
it. The trouble is that whenever you have signed your zone, the public ke=
y you use for signing must be sent to the registry of the TLD where you h=
ave your domain, so that it can be signed and a chain of trust can be bui=
lt. Not a problem unless you roll your keys.

- Validation is easy to do by "just" turning it on in your resolver. Unbo=
und do it automatically for you for example. If you use your ISP resolver=
, the result varies. Google open DNS 8.8.8.8 and as far as I know all ope=
n DNS resolvers do validate DNSSEC signed responses.

> Is it ready for prime time?

Absolutely!

> Should we be using it to help build critical mass?

DNS people like me think one definitely can build other things like NTS u=
sing DNSSEC, given you first have something like rough time as the digita=
l signatures in DNSSEC can be validated :-)

That said, we should write "you must have a DNSSEC chain of trust, or els=
e build an equivalent chain of trust in some other way".

> Or using something else until more OSes/distros have good support?

It's all in there. It is not always deployed because people are lazy. Lik=
e IPv6. Similar syndrom. Although DNSSEC can be deployed even if your ISP=
 have not deployed it. IPv6 is hard if you can not get IPv6 transit.

> Is there a simple/portable API to get SRV records?

Only the normal DNS API "one level deeper" than gethostbyname. But not mo=
re hard that that. You can still do sync calls, and do not have to deal w=
ith async socket stuff.

   Patrik

--=_MailMate_54331869-5FB5-456C-8B4F-283F3507F062_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTU1Sw8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI180isgCfSme/zD66G3gM5Zp1HaZVtIVepq4An1wHmWGC
+whPehSdW6YNjguVnNXg
=xCq2
-----END PGP SIGNATURE-----

--=_MailMate_54331869-5FB5-456C-8B4F-283F3507F062_=--


From nobody Sun Jul 21 23:25:39 2019
Return-Path: <ask@develooper.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 226FD120142 for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:25:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 y3qgdLUWlxsz for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:25:35 -0700 (PDT)
Received: from mx-out1.ewr1.develooper.com (mx-out1.ewr1.develooper.com [139.178.64.59]) by ietfa.amsl.com (Postfix) with ESMTP id 08A2A12010D for <ntp@ietf.org>; Sun, 21 Jul 2019 23:25:34 -0700 (PDT)
Received: from mbox1.develooper.com (unknown [147.75.38.211]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-out1.ewr1.develooper.com (Postfix) with ESMTPS id 44D906E008D for <ntp@ietf.org>; Mon, 22 Jul 2019 06:25:34 +0000 (UTC)
Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mbox1.develooper.com (Postfix) with ESMTPS id 0417C175A55 for <ntp@ietf.org>; Sun, 21 Jul 2019 23:25:34 -0700 (PDT)
Received: (qmail 18249 invoked from network); 22 Jul 2019 06:25:33 -0000
Received: from c-98-248-50-174.hsd1.ca.comcast.net (HELO ?10.0.200.100?) (ask@mail.dev@98.248.50.174) by smtp.develooper.com with ESMTPA; 22 Jul 2019 06:25:33 -0000
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: =?utf-8?Q?Ask_Bj=C3=B8rn_Hansen?= <ask@develooper.com>
In-Reply-To: <D8DF9BEE-7AE0-48D2-9A7F-B98D4F19147B@frobbit.se>
Date: Sun, 21 Jul 2019 23:25:19 -0700
Cc: Christer Weinigel <christer@weinigel.se>, ntp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <32C3B758-94D3-4530-83A1-5EBE5EF341CA@develooper.com>
References: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se> <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com> <D8DF9BEE-7AE0-48D2-9A7F-B98D4F19147B@frobbit.se>
To: =?utf-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf=40frobbit.se@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/4MQxPoENTLzDLf_vj--_x8_tO2Y>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 06:25:37 -0000

> On Jul 21, 2019, at 0:28, Patrik F=C3=A4ltstr=C3=B6m =
<paf=3D40frobbit.se@dmarc.ietf.org> wrote:
>=20
> On 21 Jul 2019, at 5:18, Ask Bj=C3=B8rn Hansen wrote:
>=20
>>> On Jul 20, 2019, at 1:37 PM, Christer Weinigel =
<christer@weinigel.se> wrote:
>>>=20
>>> The best thing about DNS SRV records is that the target (host) is a
>>> fully qualified domain name, which means that when the NTS client
>>> connects to the NTSKE server it will match the name that's present =
in
>>> the TLS certificate for the server.  This means that the =
administrator
>>> of the pool does not have to manage the TLS certificates and private
>>> keys, that's up to whoever manages each NTSKE server.
>>=20
>> In this scenario, for the client to know that the server behind the =
SRV record are trusted by the pool system, it will have to either do =
end-to-end DNSSEC (and the pool DNS has to support it),
>=20
> DNSSEC do not really work that way. But close :-)

Hi Patrick,

I know how DNSSEC works, but I failed at explaining my idea well!

> You must trust whoever is doing the validation. You extrapolate that =
to you having to do the validation, but that builds upon you not =
trusting (for example) the access provider that runs the recursive =
resolver for you also do the validation.

Right. I don=E2=80=99t believe trusting the access provider (typically) =
nearly comes close to the goal of NTS in terms of security.

With =E2=80=9Cregular NTS=E2=80=9D you don=E2=80=99t trust NTS, but =
rather the chosen TLS infrastructure.  Changing the trust model to rely =
on DNS doesn=E2=80=99t seem right.

What I meant with the above was that if the client does DNSSEC =
validation and the pool service does DNSSEC signing you (might?) get the =
same security guarantees back. There are a lot more TLS capable clients =
than DNSSEC validating ones, so this doesn=E2=80=99t seem like a good =
trade-off to me.

>> or the CA used for the server need to be explicitly tied to the pool =
configuration. If not then your ISP can easily hi-jack the service in a =
way that=E2=80=99s not possible with =E2=80=9Cregular NTS=E2=80=9D. Or =
maybe I am missing something. :-)
>=20
> I think Christers idea is good(*), as it collapses to "if you trust =
your DNS, then you can use SRV". This irrespectively of whether DNSSEC =
is in use or not.
>=20
> That trust can be built by either just trusting DNS, trust the =
validating recursive resolver run by a third party, or you run your own =
validating resolver on ::1.

This doesn=E2=80=99t seem realistic for most clients, at least of the =
general pool service.

As Hal said, if your =E2=80=9Cpool=E2=80=9D is all run by one =
organization it=E2=80=99s really just a cluster and you have reasonable =
deployment options already.

> Saying SRV can not be used because you do not trust DNS is not =
working, as we have other issues with NTS if we do not trust DNS.

For most TLS-based security you don=E2=80=99t need to trust DNS (because =
a DNS-hijacker won=E2=80=99t have the right TLS certificate); I don=E2=80=99=
t understand why NTS is different. If DNS is lying/hijacked/bad the =
NTSKE connection won=E2=80=99t work, right?

> NTP Pools rely on us trusting the DNS as the pool is built in DNS as =
the database.

NTS is an opportunity to improve on that. :-)

I=E2=80=99ll expand on my suggestion regarding the certificate authority =
above in a reply to Hal=E2=80=99s message.

Ask=


From nobody Sun Jul 21 23:35:02 2019
Return-Path: <ask@develooper.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 55265120142 for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:35:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=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
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 cXiXsYJh7FaG for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:34:58 -0700 (PDT)
Received: from mx-out1.ewr1.develooper.com (mx-out1.ewr1.develooper.com [139.178.64.59]) by ietfa.amsl.com (Postfix) with ESMTP id 2781E1200EF for <ntp@ietf.org>; Sun, 21 Jul 2019 23:34:58 -0700 (PDT)
Received: from mbox1.develooper.com (unknown [147.75.38.211]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-out1.ewr1.develooper.com (Postfix) with ESMTPS id 20FDA6E04B4 for <ntp@ietf.org>; Mon, 22 Jul 2019 06:25:35 +0000 (UTC)
Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mbox1.develooper.com (Postfix) with ESMTPS id F3D5F176124 for <ntp@ietf.org>; Sun, 21 Jul 2019 23:25:34 -0700 (PDT)
Received: (qmail 18267 invoked from network); 22 Jul 2019 06:25:34 -0000
Received: from c-98-248-50-174.hsd1.ca.comcast.net (HELO ?10.0.200.100?) (ask@mail.dev@98.248.50.174) by smtp.develooper.com with ESMTPA; 22 Jul 2019 06:25:34 -0000
From: =?utf-8?Q?Ask_Bj=C3=B8rn_Hansen?= <ask@develooper.com>
Message-Id: <C0905BA5-14F8-4F03-A1B7-499582E42C04@develooper.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3924A1B9-13AD-4666-9552-DAC88DE00E40"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Sun, 21 Jul 2019 23:25:20 -0700
In-Reply-To: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net>
Cc: Christer Weinigel <christer@weinigel.se>, ntp@ietf.org
To: Hal Murray <hmurray@megapathdsl.net>
References: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/0npmJHgIhi-CrGzLA0pC5aw6xGQ>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 06:35:00 -0000

--Apple-Mail=_3924A1B9-13AD-4666-9552-DAC88DE00E40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Jul 21, 2019, at 3:15 PM, Hal Murray <hmurray@megapathdsl.net> =
wrote:
>=20
>> Here's my naive suggestion on how to handle NTS pools.
>=20
> I think you have to be very careful about what you mean by "pool".  In =
most=20
> NTP discussions, "the pool" usually means pool.ntp.org, a large =
collection of=20
> NTP servers run by volunteers.  Trust and secure don't make sense with =
that=20
> type of operation.  There is no point in using NTS.

I don=E2=80=99t think that=E2=80=99s true. Implemented right a client =
could know for sure who it=E2=80=99s talking to.

With short lived certificates, the client could know that the pool =
system had validated the monitoring data within X hours/days. It could =
be a solution to having a client know if the server had been removed =
from the pool system.

One suggestion for this that=E2=80=99d work, I think, with Christer=E2=80=99=
s SRV suggestion would be (as I suggested a few days ago) to configure =
the client with a certificate authority that=E2=80=99s managed by the =
pool system and only trust this CA for servers returned by that specific =
pool DNS name.  (Basically Christer=E2=80=99s TLSA suggestion, but for =
clients not doing DNSSEC they could configure the CA in their =
configuration).

The servers participating in the pool would (automatically) request/get =
an updated certificate every so many days.

This would be an improvement over the current system in that the client =
will know for sure who it=E2=80=99s talking to and that the server =
it=E2=80=99s talking to is part of the pool.

(DNSSEC would still be an improvement in that the client would know the =
particular DNS response was generated by the pool system and not =
=E2=80=9Cimprovised=E2=80=9D, but it wouldn=E2=80=99t be required for =
NTS to work).

(Another version, as per what Ragner Sundblad suggested last year in =
https://tools.ietf.org/html/draft-dansarie-nts-00#section-8 =
<https://tools.ietf.org/html/draft-dansarie-nts-00#section-8> would be =
to require the pool system to run the NTSKE servers and have another key =
exchange method with the servers. I think that proposal underestimated =
the number of distinct clients using the big public pool-like systems =
(NTP Pool Project and NIST, as two of them).  Christer=E2=80=99s =
proposal would support =E2=80=9Cload balancing=E2=80=9D the NTPKE work =
better).



Ask


--Apple-Mail=_3924A1B9-13AD-4666-9552-DAC88DE00E40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 21, 2019, at 3:15 PM, Hal Murray &lt;<a =
href=3D"mailto:hmurray@megapathdsl.net" =
class=3D"">hmurray@megapathdsl.net</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D"">Here's my naive =
suggestion on how to handle NTS pools.<br class=3D""></blockquote><br =
class=3D"">I think you have to be very careful about what you mean by =
"pool". &nbsp;In most <br class=3D"">NTP discussions, "the pool" usually =
means <a href=3D"http://pool.ntp.org" class=3D"">pool.ntp.org</a>, a =
large collection of <br class=3D"">NTP servers run by volunteers. =
&nbsp;Trust and secure don't make sense with that <br class=3D"">type of =
operation. &nbsp;There is no point in using NTS.<br =
class=3D""></div></div></blockquote><div class=3D""><div class=3D""><br =
class=3D""></div></div><div class=3D"">I don=E2=80=99t think that=E2=80=99=
s true. Implemented right a client could know for sure who it=E2=80=99s =
talking to.</div><div class=3D""><br class=3D""></div><div class=3D"">With=
 short lived certificates, the client could know that the pool system =
had validated the monitoring data within X hours/days. It could be a =
solution to having a client know if the server had been removed from the =
pool system.</div><div class=3D""><br class=3D""></div><div class=3D"">One=
 suggestion for this that=E2=80=99d work, I think, with Christer=E2=80=99s=
 SRV suggestion would be (as I suggested a few days ago) to configure =
the client with a certificate authority that=E2=80=99s managed by the =
pool system and only trust this CA for servers returned by that specific =
pool DNS name. &nbsp;(Basically Christer=E2=80=99s TLSA suggestion, but =
for clients not doing DNSSEC they could configure the CA in their =
configuration).</div><div class=3D""><br class=3D""></div><div =
class=3D"">The servers participating in the pool would (automatically) =
request/get an updated certificate every so many days.</div><div =
class=3D""><br class=3D""></div><div class=3D"">This would be an =
improvement over the current system in that the client will know for =
sure who it=E2=80=99s talking to and that the server it=E2=80=99s =
talking to is part of the pool.</div><div class=3D""><br =
class=3D""></div><div class=3D"">(DNSSEC would still be an improvement =
in that the client would know the particular DNS response was generated =
by the pool system and not =E2=80=9Cimprovised=E2=80=9D, but it =
wouldn=E2=80=99t be required for NTS to work).</div><div class=3D""><br =
class=3D""></div><div class=3D"">(Another version, as per what Ragner =
Sundblad suggested last year in&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-dansarie-nts-00#section-8" =
class=3D"">https://tools.ietf.org/html/draft-dansarie-nts-00#section-8</a>=
&nbsp;would be to require the pool system to run the NTSKE servers and =
have another key exchange method with the servers. I think that proposal =
underestimated the number of distinct clients using the big public =
pool-like systems (NTP Pool Project and NIST, as two of them). =
&nbsp;Christer=E2=80=99s proposal would support =E2=80=9Cload =
balancing=E2=80=9D the NTPKE work better).</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">Ask</div></div><br =
class=3D""></body></html>=

--Apple-Mail=_3924A1B9-13AD-4666-9552-DAC88DE00E40--


From nobody Sun Jul 21 23:58:57 2019
Return-Path: <paf@frobbit.se>
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 0F13212014B for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:58:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 I4BgvSzyPbGW for <ntp@ietfa.amsl.com>; Sun, 21 Jul 2019 23:58:52 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [85.30.129.185]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90AB612006A for <ntp@ietf.org>; Sun, 21 Jul 2019 23:58:52 -0700 (PDT)
Received: from [172.18.207.64] (w193-11-200-250.eduroam.sunet.se [193.11.200.250]) by mail.frobbit.se (Postfix) with ESMTPSA id 7DBD52352F; Mon, 22 Jul 2019 08:58:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1563778728; bh=G9ZOnyhu0zTsa4eixuFZq/5p2mR9vhee6F8TrKVScVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NVCB2QRvcKu2DGcp8D1X8KdPWWephBTGFX//zD+FWNOLk5up3loGcSBR6AGb5bKao Y4q+zHwDPw25Krbba8OHNgSEcxwn2dzTsQhrFp/nGFgJRf6KrJEnrN/SEdl6Z6zfge gUyotRg/q9C2fnWJD3Xs4QkDzW9XfunOB/c9qg8A=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Ask =?utf-8?q?Bj=C3=B8rn?= Hansen" <ask@develooper.com>
Cc: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf=40frobbit.se@dmarc.ietf.org>, "Christer Weinigel" <christer@weinigel.se>, ntp@ietf.org
Date: Mon, 22 Jul 2019 08:58:45 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <C1579956-E21A-455B-A154-DD145D7E20E8@frobbit.se>
In-Reply-To: <32C3B758-94D3-4530-83A1-5EBE5EF341CA@develooper.com>
References: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se> <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com> <D8DF9BEE-7AE0-48D2-9A7F-B98D4F19147B@frobbit.se> <32C3B758-94D3-4530-83A1-5EBE5EF341CA@develooper.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_106B2C4C-D9FE-400B-8C84-EE39E45048CF_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/FciSXrEKMFNz50URoFz5hvD8cxg>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 06:58:55 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_106B2C4C-D9FE-400B-8C84-EE39E45048CF_=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 22 Jul 2019, at 8:25, Ask Bj=C3=B8rn Hansen wrote:

> I know how DNSSEC works, but I failed at explaining my idea well!

:-)

>> You must trust whoever is doing the validation. You extrapolate that t=
o you having to do the validation, but that builds upon you not trusting =
(for example) the access provider that runs the recursive resolver for yo=
u also do the validation.
>
> Right. I don=E2=80=99t believe trusting the access provider (typically)=
 nearly comes close to the goal of NTS in terms of security.

Ok, if you do not trust DNS, then I think there are many more attack vect=
ors for NTS anyways, as you can do all different kind of tricks as any CA=
 can issue a certificate for any domain name.

> With =E2=80=9Cregular NTS=E2=80=9D you don=E2=80=99t trust NTS, but rat=
her the chosen TLS infrastructure.  Changing the trust model to rely on D=
NS doesn=E2=80=99t seem right.

Well, you must trust a combination of the cloud of CA's in the world wher=
e any CA can issue a certificate for any domain name out there (unless yo=
u tie it down by placing special resource records in the DNS), OR you use=
 DANE and place your cert in the DNS and trust it there.

So, we can split hairs what in your sentence is implied by "rely on". I c=
laim we already in NTS as in other things rely quite heavily on DNS to th=
e degree that DNSSEC should always be used. Just like for any use of the =
Internet.

> What I meant with the above was that if the client does DNSSEC validati=
on and the pool service does DNSSEC signing you (might?) get the same sec=
urity guarantees back.

It's hard to compare and claim "same security".

> There are a lot more TLS capable clients than DNSSEC validating ones, s=
o this doesn=E2=80=99t seem like a good trade-off to me.

Ehh...I can not do that comparison. It's for me a layer violation.

1. You must have DNSSEC signed data and do validation to get some securit=
y on *any* use of DNS, and given the broken CA mess in the world, the onl=
y way to tie that down (for example by informing what CA you use) you do =
that in DNS.

2. You must have TLS (or similar mechanisms) on the application layer to =
tie that down, with the help of all tools you can get in the lower layers=
 (for example by using DNSSEC and RPKI for the routing).

>>> or the CA used for the server need to be explicitly tied to the pool =
configuration. If not then your ISP can easily hi-jack the service in a w=
ay that=E2=80=99s not possible with =E2=80=9Cregular NTS=E2=80=9D. Or may=
be I am missing something. :-)
>>
>> I think Christers idea is good(*), as it collapses to "if you trust yo=
ur DNS, then you can use SRV". This irrespectively of whether DNSSEC is i=
n use or not.
>>
>> That trust can be built by either just trusting DNS, trust the validat=
ing recursive resolver run by a third party, or you run your own validati=
ng resolver on ::1.
>
> This doesn=E2=80=99t seem realistic for most clients, at least of the g=
eneral pool service.

Ok, there is something I do not understand here.

I have been both signing zones and validating them since around 2003. The=
 .SE TLD have been signed since 2007 I think, and >90% of DNS responses i=
n Sweden are validated.

This is not difficult. At all. And if you do not have your DNS infrastruc=
ture up to par with what have been around for >10 years in all mainstream=
 DNS software, then I do not think there is much we in NTS land can do.

> As Hal said, if your =E2=80=9Cpool=E2=80=9D is all run by one organizat=
ion it=E2=80=99s really just a cluster and you have reasonable deployment=
 options already.

Correct. As you know, we do that at Netnod although we have the cluster e=
ven more tightly bundled and use IP anycast for the servers.

>> Saying SRV can not be used because you do not trust DNS is not working=
, as we have other issues with NTS if we do not trust DNS.
>
> For most TLS-based security you don=E2=80=99t need to trust DNS (becaus=
e a DNS-hijacker won=E2=80=99t have the right TLS certificate); I don=E2=80=
=99t understand why NTS is different. If DNS is lying/hijacked/bad the NT=
SKE connection won=E2=80=99t work, right?

Yes you do have to trust DNS for TLS as DNS include various things that m=
akes TLS robust by including a CAA record in DNS and signing your zone. E=
lse any CA can issue a certificate for your domain. I.e. I disagree with =
your statement between the lines that is not possible.

What I agree with is that it is as possible to get a certificate for TLS =
used in NTS as for TLS used for HTTPS. And in both cases you today to get=
 a robust service must sign the zone, include CAA records and validation =
must happen.

There are too many MITM attacks going on against these kind of things to =
claim TLS alone is ok, because that (as you write) relies on the antagoni=
st not being able to issue/get a valid cert.

>> NTP Pools rely on us trusting the DNS as the pool is built in DNS as t=
he database.
>
> NTS is an opportunity to improve on that. :-)
>
> I=E2=80=99ll expand on my suggestion regarding the certificate authorit=
y above in a reply to Hal=E2=80=99s message.

Thanks!

I do not think we disagree much here. What we disagree on is I claim how =
much you must trust DNS anyways to get things working when using TLS.

   Patrik

--=_MailMate_106B2C4C-D9FE-400B-8C84-EE39E45048CF_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTVepg8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI183+zgCfefCPs2VSps1zyP7DAJJuOYM/GZoAnROKbjth
1IVj25WlOKLm8yxtd32G
=okbv
-----END PGP SIGNATURE-----

--=_MailMate_106B2C4C-D9FE-400B-8C84-EE39E45048CF_=--


From nobody Mon Jul 22 00:07:54 2019
Return-Path: <paf@frobbit.se>
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 4904B120106 for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 00:07:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 (1024-bit key) header.d=frobbit.se
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 JQ1_VcCWraiQ for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 00:07:50 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C8E81200E9 for <ntp@ietf.org>; Mon, 22 Jul 2019 00:07:49 -0700 (PDT)
Received: from [172.18.207.64] (w193-11-200-250.eduroam.sunet.se [193.11.200.250]) by mail.frobbit.se (Postfix) with ESMTPSA id 0753A27397; Mon, 22 Jul 2019 09:07:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1563779267; bh=owbO8yu4filau1zb2qxMFK3z7iAY/2HaLYDZj4l1hXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rpk6TAp627znpvJ42edJq5eA35hbqy/Ix4F4OcPjViRp88xRkAf1WwljmoIPWGXLx mTH4v517HrFsiFeNBnJULfo0dsmjc4grzS32nvt8+Ml3sSigTGoYig+t2YhBu5QjMF KxMwVzdkSDZ7D+2ig45OZwx087kX+sohUK+lvy8Q=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Ask =?utf-8?q?Bj=C3=B8rn?= Hansen" <ask@develooper.com>
Cc: "Hal Murray" <hmurray@megapathdsl.net>, "Christer Weinigel" <christer@weinigel.se>, ntp@ietf.org
Date: Mon, 22 Jul 2019 09:07:46 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <EE28DF78-8706-45EA-B5CD-955F7ED1F3E2@frobbit.se>
In-Reply-To: <C0905BA5-14F8-4F03-A1B7-499582E42C04@develooper.com>
References: <20190721221505.ECA5C40605C@ip-64-139-1-69.sjc.megapath.net> <C0905BA5-14F8-4F03-A1B7-499582E42C04@develooper.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_2CAD5C35-7F5B-494B-A44D-D6DED4F70B2F_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/OTF_PLr2T99wCty_-45WMGD57q0>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 07:07:52 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_2CAD5C35-7F5B-494B-A44D-D6DED4F70B2F_=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 22 Jul 2019, at 8:25, Ask Bj=C3=B8rn Hansen wrote:

>> On Jul 21, 2019, at 3:15 PM, Hal Murray <hmurray@megapathdsl.net> wrot=
e:
>>
>>> Here's my naive suggestion on how to handle NTS pools.
>>
>> I think you have to be very careful about what you mean by "pool".  In=
 most
>> NTP discussions, "the pool" usually means pool.ntp.org, a large collec=
tion of
>> NTP servers run by volunteers.  Trust and secure don't make sense with=
 that
>> type of operation.  There is no point in using NTS.
>
> I don=E2=80=99t think that=E2=80=99s true. Implemented right a client c=
ould know for sure who it=E2=80=99s talking to.

I must think quite a bit on this proposal, and I completely trust you guy=
s doing NTS right, BUT, my view is:

1. Keep the pool-mechanisms as separate from "NTS-server" mechanisms -- i=
=2Ee. I am always nervous of feature creep in protocols.

2. We must trust the DNS anyways, and whether one sign and/or validate DN=
S is a question orthogonal to this discussion. The use of DNSSEC is today=
 *strongly* encouraged, and if you choose to still not do it, you are to =
some degree toast. But that is a choice.

3. We can not design NTS to be robust if people have chosen other insecur=
e things regarding their environment. There must be a known context withi=
n which we design the NTS (and NTS-pool) related issues. We can for examp=
le not solve routing problems, and we can not solve DNS security issues, =
or issues with fake SSIDs (evil hot spots), fake bootp or neighbor discov=
ery messages, or other things.

4. What we *can* do is to make a robust protocol that to some degree for =
example withstand MITM attacks, but, to get complete protection one must =
do validation of DNSSEC signed responses, one must have RPKI "strict" for=
 the IP addresses, one must... etc, and that list which is "basic" for to=
days Internet start to be quite long :-) NTS should fit in that echo syst=
em so that other people say "you should use NTS (+roughtime for bootstrap=
) or else..." i.e. I do not want DNS or HTTP or BGP people start to expan=
d their protocols "just because people might only use NTP and not NTS bec=
ause NTS is so hard". ;-)

Given that context, on a quick read, I sort of like the below, but think =
we can do slightly better IF we rely on DNS a bit more. I.e. we can do so=
mething that is easy for everyone, and get a good pool structure, and the=
n we say "if the zone is signed, and validation takes place, THEN the who=
le thing is...".

But I must think a bit more.

   Patrik

> With short lived certificates, the client could know that the pool syst=
em had validated the monitoring data within X hours/days. It could be a s=
olution to having a client know if the server had been removed from the p=
ool system.
>
> One suggestion for this that=E2=80=99d work, I think, with Christer=E2=80=
=99s SRV suggestion would be (as I suggested a few days ago) to configure=
 the client with a certificate authority that=E2=80=99s managed by the po=
ol system and only trust this CA for servers returned by that specific po=
ol DNS name.  (Basically Christer=E2=80=99s TLSA suggestion, but for clie=
nts not doing DNSSEC they could configure the CA in their configuration).=

>
> The servers participating in the pool would (automatically) request/get=
 an updated certificate every so many days.
>
> This would be an improvement over the current system in that the client=
 will know for sure who it=E2=80=99s talking to and that the server it=E2=
=80=99s talking to is part of the pool.
>
> (DNSSEC would still be an improvement in that the client would know the=
 particular DNS response was generated by the pool system and not =E2=80=9C=
improvised=E2=80=9D, but it wouldn=E2=80=99t be required for NTS to work)=
=2E
>
> (Another version, as per what Ragner Sundblad suggested last year in ht=
tps://tools.ietf.org/html/draft-dansarie-nts-00#section-8 <https://tools.=
ietf.org/html/draft-dansarie-nts-00#section-8> would be to require the po=
ol system to run the NTSKE servers and have another key exchange method w=
ith the servers. I think that proposal underestimated the number of disti=
nct clients using the big public pool-like systems (NTP Pool Project and =
NIST, as two of them).  Christer=E2=80=99s proposal would support =E2=80=9C=
load balancing=E2=80=9D the NTPKE work better).
>
>
>
> Ask
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

--=_MailMate_2CAD5C35-7F5B-494B-A44D-D6DED4F70B2F_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTVgwg8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI182/KACgiZCNGf9OuQslTZIfJcX1VlB8TG0AoIU8yj3j
tkeCJTIqrye+XMNUW3CN
=ZXLd
-----END PGP SIGNATURE-----

--=_MailMate_2CAD5C35-7F5B-494B-A44D-D6DED4F70B2F_=--


From nobody Mon Jul 22 06:38:28 2019
Return-Path: <leifj@mnt.se>
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 1CD611202CC for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 06:38:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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=mnt-se.20150623.gappssmtp.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 hSxSkjchwkgm for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 06:38:02 -0700 (PDT)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 3CC6B120286 for <ntp@ietf.org>; Mon, 22 Jul 2019 06:38:02 -0700 (PDT)
Received: by mail-io1-xd34.google.com with SMTP id q22so73934298iog.4 for <ntp@ietf.org>; Mon, 22 Jul 2019 06:38:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnt-se.20150623.gappssmtp.com; s=20150623; h=to:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LvqxKYSSTiFvYGDmYcnuMdWLghxVkvfqyTyoIiEtu9U=; b=OCUrUq9DAu7egvASVeGGtbyrbGFnCdL4lRZbRSTojvfFj+4EQdfj0VYYzdiLtSqVPZ AatyuSlgguG2iHnJiYadpi2+/hPobotiH4fDtHl3Mwz/Qidtcf7SYCqv/UtOszuCrnXA wky/stdn9xYkGW6Z6SeDrD6WPuFMNLWQf4Q76xc2gC7+zAFhl15efDnzMRsp0hdbk5bR OrkG0Gdp0uFim06R5I+iNuqAHiGPBiOslBDtm9yrpBNiDv/5jK4erVoe1nk0/IuW080p WbziwmlXkpXhtclgb6zXWdvznsMR+tD/mPq5/y7br7gMv0D6s5bp4PRi46N5JrXh6+AK d/ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:references:from:openpgp:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=LvqxKYSSTiFvYGDmYcnuMdWLghxVkvfqyTyoIiEtu9U=; b=WsMDw2wsGgEsDq6o4O+UU5bhkOEub3rGwSnwfquvdvfN7Ho2FhCrkeCOn9HnYelN2g Iy8TbamCxYRg+0FdlYY34Gauen/XglRFQAtf6xrsNIj0TCc0Aazt+K6Z/HXGKArGb7wA IsQVwj2yFXwlnVY/k+nowKnh7IFQkQYC5jAwSp+v5WAi200PQ6RcdRSmXXQuyLyTiq16 dslnLTjyDiuACfeup6WkF2PwviVpAnhpJBykmmN3YLetirM11yH9kUtzT0xHqxy/of2n nJNPMXjD3RKI/0hNtfnVH3sBBOLp81O5I+wlMFRKVYs2CinFBZXN4ASkeZjgJrzDr7GR Vmdg==
X-Gm-Message-State: APjAAAXLkf+9jVXD/IsPcEQLrMV49XBVz42kjJYqbVVQIY/20pvuReQX to473z2LmBCkoq7hk7J1WwfwdHJ8p28=
X-Google-Smtp-Source: APXvYqxRGMFiV9lsf/ArZkHDifSLbDslMvNzdf8QDtta1/zzZM1govE5X/JM6fh/89hhaV0iQgyS6w==
X-Received: by 2002:a02:ce52:: with SMTP id y18mr70181776jar.78.1563802681022;  Mon, 22 Jul 2019 06:38:01 -0700 (PDT)
Received: from [172.16.154.42] ([207.115.96.130]) by smtp.gmail.com with ESMTPSA id k5sm44504036ioj.47.2019.07.22.06.37.59 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jul 2019 06:38:00 -0700 (PDT)
To: ntp@ietf.org
References: <3cd8c65b-a37c-863e-ea2c-2de0a5aeee96@weinigel.se> <17C0BC71-F9A8-4839-B593-0AF18967F5B6@develooper.com> <D8DF9BEE-7AE0-48D2-9A7F-B98D4F19147B@frobbit.se> <32C3B758-94D3-4530-83A1-5EBE5EF341CA@develooper.com> <C1579956-E21A-455B-A154-DD145D7E20E8@frobbit.se>
From: Leif Johansson <leifj@mnt.se>
Openpgp: preference=signencrypt
Autocrypt: addr=leifj@mnt.se; prefer-encrypt=mutual; keydata= mQGiBD7DfnwRBADpIpOw6bXfx2Yo3vac/j5WzVcWNZKuiYc4uuFnBYxH8zTA5cdwytuOYNte cX1yrPgmObfPVU0EFktdBMFgLE5TNRUMeJZTmAl3QYDm8N32SeSUEb6GPFsUTGgxsCW3GVAo q6DBopKqhR9HT0+crQakbc7XkS4FjeBWiXjuNf/IqwCgyoa2Qfq8UdjbcH+DRGzPnRTeqzEE ALIEsCzDp4HQqXqqNLCoExbgmCrEHvnqFmilCHJVnyuY8LXmcpq2uwJaiIdsTqLeQ8WrMxWg mZc6F9QSdLP6MVZT3v+5OqOZMUDsu4nGom3HH+tG238vMSEF+klGdrI0wdscrY+28Oshjhqj 4FZxCwdNU9RTU8xQ9IoObiEo1yOHBADK9a5GhkLT+d2cb48orETGtG7i//HOnstouw/TmEUX reZPtT6wpIdN9Jf3W80GA6A34VEGA/I+/5e+9nFvINpLvEF2ghJBH+sWwQ8EXpo0M/yir9oG eJI7gpOHRj5Mq9uqFG0wcamInuWgbMP1cefjXusHbHyDFKr7ydWSsZHqXrQdTGVpZiBKb2hh bnNzb24gPGxlaWZqQG1udC5zZT6IYAQTEQIAIAUCSnC8wwIbIwYLCQgHAwIEFQIIAwQWAgMB Ah4BAheAAAoJEPCcfBbWzGZ3x8MAnimIMTFOH4LLfp8bQnSPWm6BQyA6AKCk4S46++PpqtTM 0wIZ+kuYaBtky7kCDQQ+w36FEAgAr1zK1qIIXmoeEqFulgFi17FRpSibNwwge9bkG2+IO7MO m4Ih+f4CRkqaP5U5diiWb4nyQc/Yqzf3TTSE+CH0ghvDCwfZHrzUsVl9t57S2RFKaQhDUUw3 lz0TgKN66z1IRnQEARuz9PFd96pIhLaJBOn0e55Cu5qqJVwGpst3+I3jqT/cxjymRxPz2O6R 9k/ZOOiOGROZYAjNHKcdoeBr7OaIHcPRCi1R8MBKE4HOK1SwaVvs26Fd2enixIOBmyFTkrue 3VgaAd3zrJauD0qa/u5y2kGEyFFJwNsKnoX0aCmNNIG+aKvnSCWfba8bmYOAsbxS2lo4MKmu DM0rrVyLhwADBQf/VzM77aviZ3Ir7qXj0uV/62wyrg8/5flXl8XjuATewD+hTaux1lg5LgPU 9cokMHYHrTsnp79nhEB9qOpsQLX+npae7a27x3zyqLP0V7neyKy1ycuBI9KU9B3ivgSMRlKR 91GcmUpRnKiSnxPYNtq018mY72YYHCpfAh0OOUA88bxbYIuF5cv9dYyOBhNEkI8xB1VOWev1 CPkPb0DwDABHdOBq9e0hT3OUOaat2JPwCEHU2NTGsYFuZRysq8xnxFgHd00+h2OJZ50UYVpB jDxaCj5gvHHFFnmfCLD5VqjEJGi4k2znZHg67i2pw0f5BSq8fsfdUML35LzL/aaZPMzlg4hG BBgRAgAGBQI+w36FAAoJEPCcfBbWzGZ3djcAnAxF3084vKlsRNGcyj/rn5lA4Q+nAKCnjZYX snFG51wbu8OI88aj3LJE5w==
Message-ID: <1bcb33df-75b2-dcff-b813-3d256b182e20@mnt.se>
Date: Mon, 22 Jul 2019 15:37:59 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
MIME-Version: 1.0
In-Reply-To: <C1579956-E21A-455B-A154-DD145D7E20E8@frobbit.se>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/t2QWbZDOX4zwLnljpdWjsDm1p10>
Subject: Re: [Ntp] NTS pool support
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, 22 Jul 2019 13:38:11 -0000

On 2019-07-22 08:58, Patrik Fältström wrote:
> On 22 Jul 2019, at 8:25, Ask Bjørn Hansen wrote:
> 
>> I know how DNSSEC works, but I failed at explaining my idea well!
> 
> :-)
> 
>>> You must trust whoever is doing the validation. You extrapolate that to you having to do the validation, but that builds upon you not trusting (for example) the access provider that runs the recursive resolver for you also do the validation.
>>
>> Right. I don’t believe trusting the access provider (typically) nearly comes close to the goal of NTS in terms of security.
> 
> Ok, if you do not trust DNS, then I think there are many more attack vectors for NTS anyways, as you can do all different kind of tricks as any CA can issue a certificate for any domain name.
> 

I think this is why Ask proposed a private/"per-pool" CA.

The issue is not (imo) about weather you trust DNS, TLS or carrier
pidgeons. An operator of a pool probably wants to express multiple
properties using different technical representations:

- DNSSEC represents trust in domain ownership and control
- TLS certs issued by a private CA represents trust in certain
properties of the pool (which can be made *explicit* in CA policy)

These are not mutual exclusive nor do they even overlap that much.

	Cheers Leif


>> With “regular NTS” you don’t trust NTS, but rather the chosen TLS infrastructure.  Changing the trust model to rely on DNS doesn’t seem right.
> 
> Well, you must trust a combination of the cloud of CA's in the world where any CA can issue a certificate for any domain name out there (unless you tie it down by placing special resource records in the DNS), OR you use DANE and place your cert in the DNS and trust it there.
> 
> So, we can split hairs what in your sentence is implied by "rely on". I claim we already in NTS as in other things rely quite heavily on DNS to the degree that DNSSEC should always be used. Just like for any use of the Internet.
> 
>> What I meant with the above was that if the client does DNSSEC validation and the pool service does DNSSEC signing you (might?) get the same security guarantees back.
> 
> It's hard to compare and claim "same security".
> 
>> There are a lot more TLS capable clients than DNSSEC validating ones, so this doesn’t seem like a good trade-off to me.
> 
> Ehh...I can not do that comparison. It's for me a layer violation.
> 
> 1. You must have DNSSEC signed data and do validation to get some security on *any* use of DNS, and given the broken CA mess in the world, the only way to tie that down (for example by informing what CA you use) you do that in DNS.
> 
> 2. You must have TLS (or similar mechanisms) on the application layer to tie that down, with the help of all tools you can get in the lower layers (for example by using DNSSEC and RPKI for the routing).
> 
>>>> or the CA used for the server need to be explicitly tied to the pool configuration. If not then your ISP can easily hi-jack the service in a way that’s not possible with “regular NTS”. Or maybe I am missing something. :-)
>>>
>>> I think Christers idea is good(*), as it collapses to "if you trust your DNS, then you can use SRV". This irrespectively of whether DNSSEC is in use or not.
>>>
>>> That trust can be built by either just trusting DNS, trust the validating recursive resolver run by a third party, or you run your own validating resolver on ::1.
>>
>> This doesn’t seem realistic for most clients, at least of the general pool service.
> 
> Ok, there is something I do not understand here.
> 
> I have been both signing zones and validating them since around 2003. The .SE TLD have been signed since 2007 I think, and >90% of DNS responses in Sweden are validated.
> 
> This is not difficult. At all. And if you do not have your DNS infrastructure up to par with what have been around for >10 years in all mainstream DNS software, then I do not think there is much we in NTS land can do.
> 
>> As Hal said, if your “pool” is all run by one organization it’s really just a cluster and you have reasonable deployment options already.
> 
> Correct. As you know, we do that at Netnod although we have the cluster even more tightly bundled and use IP anycast for the servers.
> 
>>> Saying SRV can not be used because you do not trust DNS is not working, as we have other issues with NTS if we do not trust DNS.
>>
>> For most TLS-based security you don’t need to trust DNS (because a DNS-hijacker won’t have the right TLS certificate); I don’t understand why NTS is different. If DNS is lying/hijacked/bad the NTSKE connection won’t work, right?
> 
> Yes you do have to trust DNS for TLS as DNS include various things that makes TLS robust by including a CAA record in DNS and signing your zone. Else any CA can issue a certificate for your domain. I.e. I disagree with your statement between the lines that is not possible.
> 
> What I agree with is that it is as possible to get a certificate for TLS used in NTS as for TLS used for HTTPS. And in both cases you today to get a robust service must sign the zone, include CAA records and validation must happen.
> 
> There are too many MITM attacks going on against these kind of things to claim TLS alone is ok, because that (as you write) relies on the antagonist not being able to issue/get a valid cert.
> 
>>> NTP Pools rely on us trusting the DNS as the pool is built in DNS as the database.
>>
>> NTS is an opportunity to improve on that. :-)
>>
>> I’ll expand on my suggestion regarding the certificate authority above in a reply to Hal’s message.
> 
> Thanks!
> 
> I do not think we disagree much here. What we disagree on is I claim how much you must trust DNS anyways to get things working when using TLS.
> 
>    Patrik
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 


From nobody Mon Jul 22 12:28:10 2019
Return-Path: <fgont@si6networks.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 10F8812008C for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 12:28:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 7UKzZ0mE_17F for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 12:28:07 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A84A12004E for <ntp@ietf.org>; Mon, 22 Jul 2019 12:28:07 -0700 (PDT)
Received: from [192.168.1.18] (unknown [160.177.77.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 898F2850D0; Mon, 22 Jul 2019 21:28:03 +0200 (CEST)
To: Dieter Sibold <dsibold.ietf@gmail.com>
Cc: ntp@ietf.org, odonoghue@isoc.org
References: <156225909789.12042.16125322482082094709.idtracker@ietfa.amsl.com> <9d098ba6-3995-7ace-5543-a97ed8fc6564@si6networks.com> <E9B4D47E-6A6F-4CEE-90E0-4604CAE3B427@gmail.com>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= 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 wPI9brGzquUHy4qRrA==
Message-ID: <6cfaa553-3b8b-4a6d-6b65-b129a31f4ae7@si6networks.com>
Date: Mon, 22 Jul 2019 20:27:53 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <E9B4D47E-6A6F-4CEE-90E0-4604CAE3B427@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/pZgB3ZgQSzdonefvQy7sSozfB5A>
Subject: Re: [Ntp] New Version Notification for draft-gont-ntp-port-randomization-02.txt
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, 22 Jul 2019 19:28:09 -0000

Hello, Dieter,

Thanks for your email!


On 21/7/19 23:58, Dieter Sibold wrote:
> Hi Fernando,
> many thanks for the update of your draft. I have the following comments:
> 
> - Sec 1, third paragraph, first sentence. From my point of view the
> sentence is ambiguous. Do you want to express that BCP 156 is formally
> updating RFC 5905? I thought this is the intension of this draft. Maybe
> this could be formulated more precisely.

No. What I am saying that there is a BCP on this topic, and the NTP spec
goes against it. So our draft is meant to align the NTP spec with the
existing BCP on the topic. Will tweak the text to make it more clear.




> - Sec 3.2, third paragraph, second sentence: I suppose you mean: '...
> that the clock selection and ...' and not '... that the clock select and
> ...'.

Yes. Will fix this.



> - Sec 4. I would appreciate if this section would contain a comparison
> of the specification language between RFC 5905 and the proposed new
> language.  This would make it easier for the reader to see the changes
> you introduce.

Point taken. Will update such that it says "this: [..] is replaced with
this:".



> - Sec 3.2, second paragraph: that the synchronization of the two
> system's clocks may result in a different clock value is a priori not
> very surprising. It is worth mentioning if the two systems are in the
> same network. I suppose this is what you mean. If yes, please clarify.

Yes, that's what we meant. We will address this in the next rev.

Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Mon Jul 22 21:38:15 2019
Return-Path: <watsonbladd@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 9B60C120041 for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 21:38:13 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 OgaYR6QU9oce for <ntp@ietfa.amsl.com>; Mon, 22 Jul 2019 21:38:12 -0700 (PDT)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 B0A1F120033 for <ntp@ietf.org>; Mon, 22 Jul 2019 21:38:11 -0700 (PDT)
Received: by mail-lf1-x12f.google.com with SMTP id h28so28288919lfj.5 for <ntp@ietf.org>; Mon, 22 Jul 2019 21:38:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=h31LBe8eA7kyJOVzJnhjuh8UMF6egQ0vrG4afoJky2o=; b=X3lbf3CQwoxWeMuFKK2mL8pUqIfCyp7kU4a8ISl+G+mrMMTQYmkMTNib5lnNPjE/sP syhutTeqqnmkLBexnOFEWLtmbpGgTyxQ9OmD9m3W0t3hMMMOfxgppL8uYg8W8qkJgQ/g sx6J7w1RWxjq72g1uruqgSeGq3DBMYIgFFagCgRVF8a+x616pDxREf3NGAPFakFUFXe9 F3ujKPIS9d8OMuKW3yTqnkckvKXF81FUvub2f2+K7t0ekOtT2edavddAqX0VTgnmLeGw GzHCwSGRx4J+RKRWH0jhUnrZId9zZ51QfDnrMTX620avtdTIZk9knBEE/MNmGIWwW5nf 02GA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=h31LBe8eA7kyJOVzJnhjuh8UMF6egQ0vrG4afoJky2o=; b=NSzS+dtHIPfgTloqS7BTqCxheu3yGoTSoYiDJC8wtnBe9nP+ZQSRM8PXWO/U07fNZe plZLVY0o1Ykr/Xtv9j80gpdWfbYJhP/BksLYZ7H1DajptR7/6Cvc/LBfeEcwhWYRY+rx tmHR0NjBltdlNRzOUS3IFqu7YgKG75fvrSXLBCH5gPQfmKJF93Ss3u9HHHFNx64xBzC8 XxGqj9ADx6M5qtVqU6LC6k6palONIsApgYCYrghiobSax0JbbFXUXvxe4EQtJHPKkT+r l7KAnFQw0+Da667MIYHYrnWX++kkDafRaRZyh6Xr0kI28rs/TiA1rrV59MzpqgH5Zjtv BMBA==
X-Gm-Message-State: APjAAAUxJ6XqJhxhdsc4snqjfLA9e890kM/MolWXU0FDODjIvgjLjok6 NvAo2pwQIRJjOtXlmoxiu2KgBCKJhkBilhZ3WvVNK6e6QsM=
X-Google-Smtp-Source: APXvYqzNaJzplEhWdZhT1wSqTdZ2eKiafQdhMhiDumL2WhutnWJXgiVslLZ3qCP1fjoB41g1gpgsNbs0GRnDQ/4v3aE=
X-Received: by 2002:ac2:51ab:: with SMTP id f11mr20676198lfk.55.1563856689439;  Mon, 22 Jul 2019 21:38:09 -0700 (PDT)
MIME-Version: 1.0
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 22 Jul 2019 21:37:58 -0700
Message-ID: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com>
To: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/7g6cF-qmLPs1DTHDJBF5D_EG-Y8>
Subject: [Ntp] My thoughts on flags
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: Tue, 23 Jul 2019 04:38:14 -0000

Dear all,

One of the items on the agenda that didn't really discussed was a
number of drafts: draft-stenn-ntp-i-do-06,
draft-stenn-ntp-extension-fields-09,
draft-stenn-ntp-leap-smear-refid-00. All of them are masterworks of
repurposing fields, adding structure to hitherto unstructured
identifiers, and other tricks beloved of

And none of them are necessary. Autokey should be dispenced with now
that we have NTS. An NTS-KE exchange can easily be extended to include
information about server features, and in event of changes a rejection
of cookies can force a new NTS-KE exchange. This exchange can also
include smeared time, which wouldn't be necessary if we represented
timestamps in a format like MJD+seconds since midnight or somesuch
(even UTC if properly understood).

I would like to see us adopt the attitude of the web community where
new features are gated on TLS support to spur adoption.

Sincerely,
Watson


From nobody Tue Jul 23 08:37:25 2019
Return-Path: <dsibold.ietf@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 C9003120428 for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:37:15 -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 wMx4_dr3uEoN for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:37:13 -0700 (PDT)
Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 406061203D6 for <ntp@ietf.org>; Tue, 23 Jul 2019 08:37:13 -0700 (PDT)
Received: by mail-wr1-x434.google.com with SMTP id r1so43678496wrl.7 for <ntp@ietf.org>; Tue, 23 Jul 2019 08:37:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=Se3JAMNAVxzvTWbXxnx6gWFv/nHlIEvXy7xlSROMG/k=; b=pSh6lKqoD7Cxu/hedzSt8vddvK61haTzNJLFsLPz7KPFNZI/Lf7zOqhFzqm21X3x0G cF6vllruefzEOHYgg5Etw39zvh+erPhdp+5QvsSbzuHDe99mrzDHJ1GbH8kp6SX/ZS8b WQ4rlkNwajZzD4BoepKjVdzLO1YAmhKR7itMt4hcZk8ky0KTtotNC7IfUmc8pyHwnS8z CYq0oE7oppCF0a/2+BFW9RiMH0gGF+Fm7bEYhM14aJByoblQrNDPC9Vnd89FXrP18FcC FFa7ggggppR99Zho980fvPuigVYCgZDkdFe+fWu89fAapcwXXUWs6wTU4BiwUWYVNpQa HeaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=Se3JAMNAVxzvTWbXxnx6gWFv/nHlIEvXy7xlSROMG/k=; b=hK6pDc5W7GKllY/U+pe04tLeey+pJ6CtU1jkXT3joY5i/YTHe6jq7JPfzBCEhjmvaH PHlF7TlISdmVDfcB2ZE+1uUSGNcl8stj9EUIO76flowPvS1foTvWyxxaKrfXi1cr0Eic PfKQsk1Rq2iEsSmFP3CQLo+BSH9vn9lgCq8p4hmMf+DdwhzXoAbI+VCS0s9GUZl8E+yo zGYjgZYYVXopibrp/DSJ8QsmFmKDU0k+cwKCttVjsD6Z8Uxz4f7VE7FcF6+JTDwujCkm dZanX7KK+DK76obQbgoTdYeOIEeGFvt4l0zaO79IFzuVkdEVr6pPx8Pxi77fBev4CAcD ESfg==
X-Gm-Message-State: APjAAAUq0Va/IcA5x+foXolkRgR24cQ0PiWdHZwDaV2Ri4JpjDYLjjJY IyuF1Pxc5CDwjIfmPisZbjI=
X-Google-Smtp-Source: APXvYqxa8LY6F0l85GTeH3j/pLAD8hxkRjEgwb+tbMe+g4KVL2sWiF5X78aj7Syf9CBUKFYoaMfRRA==
X-Received: by 2002:a5d:53c2:: with SMTP id a2mr3838911wrw.8.1563896231735; Tue, 23 Jul 2019 08:37:11 -0700 (PDT)
Received: from [192.168.111.101] (p2E501817.dip0.t-ipconnect.de. [46.80.24.23]) by smtp.gmail.com with ESMTPSA id i12sm47790459wrx.61.2019.07.23.08.37.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2019 08:37:11 -0700 (PDT)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: "Watson Ladd" <watsonbladd@gmail.com>
Cc: "NTP WG" <ntp@ietf.org>
Date: Tue, 23 Jul 2019 11:37:08 -0400
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <2E1D324C-AEDC-477E-B92C-BF33E0988524@gmail.com>
In-Reply-To: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com>
References: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/-cD3BWaY3sy7-TY6ahvr_E0tleY>
Subject: Re: [Ntp] My thoughts on flags
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: Tue, 23 Jul 2019 15:37:24 -0000

Dieter Sibold
dsibold.ietf@gmail.com

On 23 Jul 2019, at 0:37, Watson Ladd wrote:

> Dear all,
>
> One of the items on the agenda that didn't really discussed was a
> number of drafts: draft-stenn-ntp-i-do-06,
> draft-stenn-ntp-extension-fields-09,
> draft-stenn-ntp-leap-smear-refid-00. All of them are masterworks of
> repurposing fields, adding structure to hitherto unstructured
> identifiers, and other tricks beloved of
>
> And none of them are necessary. Autokey should be dispenced with now
> that we have NTS. An NTS-KE exchange can easily be extended to include
> information about server features, and in event of changes a rejection
> of cookies can force a new NTS-KE exchange. This exchange can also
> include smeared time, which wouldn't be necessary if we represented
> timestamps in a format like MJD+seconds since midnight or somesuch
> (even UTC if properly understood).

I agree. Using NTS-KE is a great mean to provide information about the 
NTP server that cannot be transmitted via the basic NTP header, 
especially for static information. For information that change 
dynamically on the server side the use of extension fields seems more 
appropriate to me.

>
> I would like to see us adopt the attitude of the web community where
> new features are gated on TLS support to spur adoption.
>
> Sincerely,
> Watson
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


From nobody Tue Jul 23 08:40:41 2019
Return-Path: <rsalz@akamai.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 384071203E1 for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 NVI0lULoRlJc for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:40:30 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (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 7DEF3120347 for <ntp@ietf.org>; Tue, 23 Jul 2019 08:40:30 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.42/8.16.0.42) with SMTP id x6NFdxb7017975; Tue, 23 Jul 2019 16:40:29 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=xzDN+CYSu4ZblbuEAAnIOYRCneXYZi7fAy7Z3qUPT6k=; b=ifn0dxsjMQyq0y8KfHfBsksvGuYz710pPLXzjr6EUOED3APrCPwdQAjWHDyWEAVARAPy 4/EOSyha05D9nUlJ5F0/z7dXtge/J+6sO/hgnWXwl1krLqMyLS400UgEgCmO4Z/911Eu t7lV71N18Ed5gVcLpvhunFVP/TwBSIQ4KhuqwUZyjvfT2W9jeRAq5vu2My27C0xIxwMj YFqswz4F9SZ61AQrpg0XiU/hfRoIxlVAGS4oQ+qGHq5QWudVd9azbenqemfOA+G7NQRd FB5HeEsb+W5C95Obz2gSMxVtvwbLB8K421/JKyQcY3x5U7jf1u5KBVzegZ+9GFYzthLW XA== 
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2twkurks3r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jul 2019 16:40:29 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x6NFYsGZ004718; Tue, 23 Jul 2019 11:40:28 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2twkf14es6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Jul 2019 11:40:28 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 23 Jul 2019 11:40:27 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1473.005; Tue, 23 Jul 2019 11:40:27 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Dieter Sibold <dsibold.ietf@gmail.com>, Watson Ladd <watsonbladd@gmail.com>
CC: NTP WG <ntp@ietf.org>
Thread-Topic: [Ntp] My thoughts on flags
Thread-Index: AQHVQRB2KKmC3O+xd0+1BeoS7grRvqbYmeYA//+93gA=
Date: Tue, 23 Jul 2019 15:40:26 +0000
Message-ID: <D8FE7586-1A27-4B30-9614-57E6FF91A93C@akamai.com>
References: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com> <2E1D324C-AEDC-477E-B92C-BF33E0988524@gmail.com>
In-Reply-To: <2E1D324C-AEDC-477E-B92C-BF33E0988524@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.1b.0.190715
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.34.217]
Content-Type: text/plain; charset="utf-8"
Content-ID: <D7FEC9BA268EC14DA5F38810965FB9AA@akamai.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=687 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907230155
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-23_07:2019-07-23,2019-07-23 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 priorityscore=1501 suspectscore=0 clxscore=1011 mlxlogscore=667 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1904300001 definitions=main-1907230156
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/_CAQzhuKYMxaU2_yNug90DnA0Oc>
Subject: Re: [Ntp] My thoughts on flags
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: Tue, 23 Jul 2019 15:40:40 -0000

DQogICAgPiBJIHdvdWxkIGxpa2UgdG8gc2VlIHVzIGFkb3B0IHRoZSBhdHRpdHVkZSBvZiB0aGUg
d2ViIGNvbW11bml0eSB3aGVyZQ0KICAgID4gbmV3IGZlYXR1cmVzIGFyZSBnYXRlZCBvbiBUTFMg
c3VwcG9ydCB0byBzcHVyIGFkb3B0aW9uLg0KDQpTdHJvbmcgKzENCg0K


From nobody Tue Jul 23 08:52:52 2019
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 EBECA1202EC for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:52:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 6U7qTdQlO0aF for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 08:52:37 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7AE39120343 for <ntp@ietf.org>; Tue, 23 Jul 2019 08:52:37 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 383623DE1C; Tue, 23 Jul 2019 15:52:37 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 89A5D61352; Tue, 23 Jul 2019 15:52:36 +0000 (UTC)
Date: Tue, 23 Jul 2019 17:52:35 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Message-ID: <20190723155235.GA1301@localhost>
References: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0c=KTv8KncL43Y_K-M5fe8vpNYSOAfYU6FD2VTtjDKNg_g@mail.gmail.com>
User-Agent: Mutt/1.12.0 (2019-05-25)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 23 Jul 2019 15:52:37 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/fw2hRFUUhx-1nEcctGj7jUt-Tlc>
Subject: Re: [Ntp] My thoughts on flags
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: Tue, 23 Jul 2019 15:52:51 -0000

On Mon, Jul 22, 2019 at 09:37:58PM -0700, Watson Ladd wrote:
> One of the items on the agenda that didn't really discussed was a
> number of drafts: draft-stenn-ntp-i-do-06,
> draft-stenn-ntp-extension-fields-09,
> draft-stenn-ntp-leap-smear-refid-00. All of them are masterworks of
> repurposing fields, adding structure to hitherto unstructured
> identifiers, and other tricks beloved of
> 
> And none of them are necessary. Autokey should be dispenced with now
> that we have NTS. An NTS-KE exchange can easily be extended to include
> information about server features, and in event of changes a rejection
> of cookies can force a new NTS-KE exchange. This exchange can also
> include smeared time, which wouldn't be necessary if we represented
> timestamps in a format like MJD+seconds since midnight or somesuch
> (even UTC if properly understood).

What if someone wants to support a new extension field, but doesn't
want to support NTS(-KE)? Should TCP and TLS be requirements of
unrelated NTP extensions?

-- 
Miroslav Lichvar


From nobody Tue Jul 23 09:19:49 2019
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 D123412012C for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 09:19:47 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 NHVBdsYjcMlx for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 09:19:46 -0700 (PDT)
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 E193C1200BA for <ntp@ietf.org>; Tue, 23 Jul 2019 09:19:45 -0700 (PDT)
Received: by mail-io1-xd32.google.com with SMTP id j6so7936451ioa.5 for <ntp@ietf.org>; Tue, 23 Jul 2019 09:19:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=50086rHSw4ZwjJha1fsjWIXk/bPjDXxjKe6iPIJUmp8=; b=auz91wIO/SEUVMeWCedob/OXgt3Sr1xBbVzsnyn7FewGL+xSuc93eMq2vpYLkKyA8/ ImzE1M6zsC2/CcPLwcKgqGHzi7x70u3lVEzddB4tWrgk3vXmf6uEq0Jm0+tKiZtGu0mo igu5XvwJl/PwAr76NSE47NCwXDU/abcNGDKOa5QmFdAuyqreTkre16LIZ0/mipSTZG+l QnJr8xjKr86aAZrmjP8dE8bN5/MUw/RQdXQoaaBG1xuANRJShYfY9H8ioVQROZaYWbKp l1tER1LxcWxOWW0lPoduEBARx5+j6eBMNpFQuh7n9v32AdnDUgTEKDacoJof1Txj3D1O KwJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=50086rHSw4ZwjJha1fsjWIXk/bPjDXxjKe6iPIJUmp8=; b=mnVOxH+3WbjFwodWRqSz+/CaEC9yHF1ThKUkTfVeOhGv3d6ZHfKuXJ8PjD/RHss0CP IySNKh8TD8RCXziohliv7n7f9qF3YVNCHjp/ire9zufTmgpAm6VKRPgEIDpVWRz6o0O3 n+liIbBX4GBCWpzUcbwCHAgcvVRpqQDCgfVSKjt4A8pQmSJ+q3Q9bIlFkFu6J7hdMcH5 TAnuq6DNCqZZKfiiplTtCieBfVj/5svcn6d0ns0pBiVCVpAP/XV0C4clER6NJN7AdkTx A2TGx6emN+pxP0WyoyLctR1Ckwbq8xKfQrPptAy4SEuzZe6nk75MOJE/vL53lftcAbWn zeCw==
X-Gm-Message-State: APjAAAXBbpuTkq2rT99MxFi5vKoo5UZ0D5oIBYhSAKVAhYnT41E8YH3m 0rP4DjjKtJuubrwpzRuaAr33CNXW2/2L9fRoub3/lg==
X-Google-Smtp-Source: APXvYqx66FmtwpglaQukSRuStU/JibgTp7r2BQLhTsolWMALgcX8OzbUl7TiMZYhWbG2NRD1R+3ZFwuX74C/GL6bDXg=
X-Received: by 2002:a5e:c30f:: with SMTP id a15mr29368896iok.246.1563898785073;  Tue, 23 Jul 2019 09:19:45 -0700 (PDT)
MIME-Version: 1.0
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Tue, 23 Jul 2019 12:19:33 -0400
Message-ID: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
To: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/-6ODYAuz_Rwdz9wgA29NdY-oZZU>
Subject: [Ntp] Follow-up to yesterday's mic comment about PTP security
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: Tue, 23 Jul 2019 16:19:48 -0000

My comments yesterday about PTP security shifted context a few times
so it may have been hard to follow what I was claiming. My assertions
were:

1. If you need 50ms precision, pick some good public NTP servers and use NT=
S.

2. If you need 100=C2=B5s precision, colocate a time source in the same
datacenter as the client systems. Use NTP and NTS; you don't need PTP
for this.

3. If you need 1=C2=B5s precision, use PTP and physically secure the link
between the time source and the clients so that cryptographic
authentication is unnecessary.

4. If you need 1=C2=B5s precision over an adversarial network, good luck!
This is simply not achievable and no amount of cryptographic pixie
dust is ever going to save you.


From nobody Tue Jul 23 23:04:54 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 CA84812004E for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 23:04:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 WRlWYXZ1BNwn for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 23:04:49 -0700 (PDT)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e7a]) (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 76B8512003F for <ntp@ietf.org>; Tue, 23 Jul 2019 23:04:49 -0700 (PDT)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6C4A56000052 for <ntp@ietf.org>; Wed, 24 Jul 2019 08:04:46 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id 5BEFC600004E for <ntp@ietf.org>; Wed, 24 Jul 2019 08:04:46 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 24 Jul 2019 08:04:46 +0200
Message-Id: <5D37F4FC020000A1000325EE@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 24 Jul 2019 08:04:44 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "Daniel Franke" <dfoxfranke@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
In-Reply-To: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/seQCi_L-R9dvI9iN2NBPg_0SFO0>
Subject: [Ntp] Antw: Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 06:04:52 -0000

>>> Daniel Franke <dfoxfranke@gmail.com> schrieb am 23.07.2019 um 18:19 in
Nachricht
<CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>:
> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
> 
> 1. If you need 50ms precision, pick some good public NTP servers and use 
> NTS.

Interestingly I think most data centers would like to have 1a: 100µs to 5ms.
Are you saying NTS can't do better than a few ms?

> 
> 2. If you need 100µs precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
> 
> 3. If you need 1µs precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
> 
> 4. If you need 1µs precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Tue Jul 23 23:31:05 2019
Return-Path: <hmurray@megapathdsl.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 A9A0912011D for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 23:31:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 uzwnBZUHOe9a for <ntp@ietfa.amsl.com>; Tue, 23 Jul 2019 23:31:01 -0700 (PDT)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 7EC4412007C for <ntp@ietf.org>; Tue, 23 Jul 2019 23:31:00 -0700 (PDT)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 7B63040605C; Tue, 23 Jul 2019 23:30:59 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
cc: "Daniel Franke" <dfoxfranke@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> of "Wed, 24 Jul 2019 08:04:44 +0200." <5D37F4FC020000A1000325EE@gwsmtp.uni-regensburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Tue, 23 Jul 2019 23:30:59 -0700
Message-Id: <20190724063059.7B63040605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/V10Pm6efN_0xKvTCQFwuU-cr9rM>
Subject: Re: [Ntp] Antw: Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 06:31:04 -0000

Ulrich.Windl=40rz.uni-regensburg.de said:
> Interestingly I think most data centers would like to have 1a: 100=B5s =
to 5ms.
> Are you saying NTS can't do better than a few ms?=20

It depends on your network connection and the availability of nearby good=
=20
servers.  It's easy to do worse than 5ms.  It's hard to do 100 us over th=
e big=20
bad internet.


--=20
These are my opinions.  I hate spam.




From nobody Wed Jul 24 00:00:14 2019
Return-Path: <kristof.teichel@ptb.de>
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 A1C191202DF for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 00:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 5x1-E-ucsvMd for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 00:00:10 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 C0F31120332 for <ntp@ietf.org>; Wed, 24 Jul 2019 00:00:09 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id x6O707PN008752-x6O707PP008752 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jul 2019 09:00:07 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id 19DD58144E0; Wed, 24 Jul 2019 09:00:07 +0200 (CEST)
In-Reply-To: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
To: "Daniel Franke" <dfoxfranke@gmail.com>
Cc: "NTP WG" <ntp@ietf.org>
MIME-Version: 1.0
Message-ID: <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de>
From: kristof.teichel@ptb.de
Date: Wed, 24 Jul 2019 09:00:54 +0200
Content-Type: multipart/alternative; boundary="=_alternative 002675FCC1258441_="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/06Zn4W-oODBRjZpwV2NmrV3JJzI>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 07:00:13 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 002675FCC1258441_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey all,

first of all, I'm really glad if this whole thing (security of one-way=20
mechanisms and mechanism selection) is a discussion that we're going to=20
have in the WG.

To comment on your assertions, Daniel:

1.=20
It is established in general (and I have a proof lying around for a model=20
of NTS in particular) that a client performing a request-response exchange =

with NTS and using all relevant checks gets a strong guarantee that the=20
error in its measured offset is no larger than half the added flight times =

of the packets (plus some negligibly small delta accounting for frequency=20
instability of the clocks used on client and server side).=20
For anyone wondering why we bothered to prove this again: this guarantee=20
is 100%, and the new part is "no matter what a Man-in-the-Middle attacker=20
did in the process".
So I would be careful about naming a specific amount, because flight times =

do depend on the specific client's connection - but 50ms seems like a good =

rule of thumb, and I overall agree with your assertion.

2.-3.=20
If we're operating und the assumptions that=20
a) you can only use one time sync mechanism at a time and keep track of=20
one clock disciplined via data from that mechansim, and
b) end users always have exactly one requirement level for each of=20
security and precision/accuracy and need to use the least-effort path to=20
achieve them
... then I agree with your assertions whole-heartedly.

But I really think both assumptions deserve their own hard looks and=20
considerations.
For example, it might be reasonable for someone, specifically a financial=20
institute, to run NTP with NTS in their local network to obtain a 100%=20
security guarantee for a 100us level (demanded by MiFID II for example)=20
and also still use PTP / White Rabbit (unsecured for the time being) to=20
have the precision/accuracy levels they actually want - with no strong=20
guarantee, but still valid in the (most likely) case that their=20
infrastructures are not currently under attack.

4.
Again, I agree with the assertion for the most part and in the given=20
status quo.
But the underlying assumption that every relevant adversarial 2-way=20
network also suffers from long, unpredictable and asymmetric travel times=20
is mostly valid because the only candidate for such a network is the=20
internet.
If someone built, say, a GNSS network where two-way communication (with=20
satellites or between two ground stations) was readily available to=20
everyone, the whole situation would be different:
That would still potentially qualify as an adversarial network, but with=20
the proper crypto, your 100% security guarantees could be extended to much =

better precision/accuracy levels.
The same thing could be true for long-distance tree-topology fibre-based=20
networks exclusively for time synchronization - which are kind of in the=20
process of being built all over Europe.


Lengthy comments and caveats notwithstanding, I agree with and would=20
endorse your 1.-4. decision making sheet as an excellent starting point.


Best regards,
Kristof


"ntp" <ntp-bounces@ietf.org> schrieb am 23.07.2019 18:19:33:

> Von: "Daniel Franke" <dfoxfranke@gmail.com>
> An: "NTP WG" <ntp@ietf.org>
> Datum: 23.07.2019 18:20
> Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security
> Gesendet von: "ntp" <ntp-bounces@ietf.org>
>=20
> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
>=20
> 1. If you need 50ms precision, pick some good public NTP servers and use =

NTS.
>=20
> 2. If you need 100=B5s precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
>=20
> 3. If you need 1=B5s precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
>=20
> 4. If you need 1=B5s precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

--=_alternative 002675FCC1258441_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<font size=3D2 face=3D"sans-serif">Hey all,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">first of all, I'm really glad if this
whole thing (security of one-way mechanisms and mechanism selection) is
a discussion that we're going to have in the WG.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">To comment on your assertions, Danie=
l:</font>
<br>
<br><font size=3D2 face=3D"sans-serif">1. </font>
<br><font size=3D2 face=3D"sans-serif">It is established in general (and I
have a proof lying around for a model of NTS in particular) that a client
performing a request-response exchange with NTS and using all relevant
checks gets a strong guarantee that the error in its measured offset is
no larger than half the added flight times of the packets (plus some neglig=
ibly
small delta accounting for frequency instability of the clocks used on
client and server side). </font>
<br><font size=3D2 face=3D"sans-serif">For anyone wondering why we bothered
to prove this again: this guarantee is 100%, and the new part is &quot;no
matter what a Man-in-the-Middle attacker did in the process&quot;.</font>
<br><font size=3D2 face=3D"sans-serif">So I would be careful about naming a
specific amount, because flight times do depend on the specific client's
connection - but 50ms seems like a good rule of thumb, and I overall agree
with your assertion.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">2.-3. </font>
<br><font size=3D2 face=3D"sans-serif">If we're operating und the assumptio=
ns
that </font>
<br><font size=3D2 face=3D"sans-serif">a) you can only use one time sync me=
chanism
at a time and keep track of one clock disciplined via data from that mechan=
sim,
and</font>
<br><font size=3D2 face=3D"sans-serif">b) end users always have exactly one
requirement level for each of security and precision/accuracy and need
to use the least-effort path to achieve them</font>
<br><font size=3D2 face=3D"sans-serif">... then I agree with your assertions
whole-heartedly.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">But I really think both assumptions
deserve their own hard looks and considerations.</font>
<br><font size=3D2 face=3D"sans-serif">For example, it might be reasonable
for someone, specifically a financial institute, to run NTP with NTS in
their local network to obtain a 100% security guarantee for a 100us level
(demanded by MiFID II for example) and also still use PTP / White Rabbit
(unsecured for the time being) to have the precision/accuracy levels they
actually want - with no strong guarantee, but still valid in the (most
likely) case that their infrastructures are not currently under attack.</fo=
nt>
<br>
<br><font size=3D2 face=3D"sans-serif">4.</font>
<br><font size=3D2 face=3D"sans-serif">Again, I agree with the assertion for
the most part and in the given status quo.</font>
<br><font size=3D2 face=3D"sans-serif">But the underlying assumption that e=
very
relevant adversarial 2-way network also suffers from long, unpredictable
and asymmetric travel times is mostly valid because the only candidate
for such a network is the internet.</font>
<br><font size=3D2 face=3D"sans-serif">If someone built, say, a GNSS network
where two-way communication (with satellites or between two ground stations)
was readily available to everyone, the whole situation would be different:<=
/font>
<br><font size=3D2 face=3D"sans-serif">That would still potentially qualify
as an adversarial network, but with the proper crypto, your 100% security
guarantees could be extended to much better precision/accuracy levels.</fon=
t>
<br><font size=3D2 face=3D"sans-serif">The same thing could be true for lon=
g-distance
tree-topology fibre-based networks exclusively for time synchronization
- which are kind of in the process of being built all over Europe.</font>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">Lengthy comments and caveats notwith=
standing,
I agree with and would endorse your 1.-4. decision making sheet as an excel=
lent
starting point.</font>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">Best regards,</font>
<br><font size=3D2 face=3D"sans-serif">Kristof</font>
<br>
<br>
<br><tt><font size=3D2>&quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt; schrieb
am 23.07.2019 18:19:33:<br>
<br>
&gt; Von: &quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</font></tt>
<br><tt><font size=3D2>&gt; An: &quot;NTP WG&quot; &lt;ntp@ietf.org&gt;</fo=
nt></tt>
<br><tt><font size=3D2>&gt; Datum: 23.07.2019 18:20</font></tt>
<br><tt><font size=3D2>&gt; Betreff: [Ntp] Follow-up to yesterday's mic com=
ment
about PTP security</font></tt>
<br><tt><font size=3D2>&gt; Gesendet von: &quot;ntp&quot; &lt;ntp-bounces@i=
etf.org&gt;</font></tt>
<br><tt><font size=3D2>&gt; <br>
&gt; My comments yesterday about PTP security shifted context a few times<b=
r>
&gt; so it may have been hard to follow what I was claiming. My assertions<=
br>
&gt; were:<br>
&gt; <br>
&gt; 1. If you need 50ms precision, pick some good public NTP servers and
use NTS.<br>
&gt; <br>
&gt; 2. If you need 100=B5s precision, colocate a time source in the same<b=
r>
&gt; datacenter as the client systems. Use NTP and NTS; you don't need
PTP<br>
&gt; for this.<br>
&gt; <br>
&gt; 3. If you need 1=B5s precision, use PTP and physically secure the link=
<br>
&gt; between the time source and the clients so that cryptographic<br>
&gt; authentication is unnecessary.<br>
&gt; <br>
&gt; 4. If you need 1=B5s precision over an adversarial network, good luck!=
<br>
&gt; This is simply not achievable and no amount of cryptographic pixie<br>
&gt; dust is ever going to save you.<br>
&gt; <br>
&gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
&gt; ntp mailing list<br>
&gt; ntp@ietf.org<br>
&gt; </font></tt><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><tt><f=
ont size=3D2>https://www.ietf.org/mailman/listinfo/ntp</font></tt></a><tt><=
font size=3D2><br>
</font></tt>
--=_alternative 002675FCC1258441_=--


From nobody Wed Jul 24 00:04:17 2019
Return-Path: <kristof.teichel@ptb.de>
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 04F65120332; Wed, 24 Jul 2019 00:04:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 D1J-eBTwrIeW; Wed, 24 Jul 2019 00:04:14 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 DE0461202DF; Wed, 24 Jul 2019 00:04:13 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id x6O74BaT009346-x6O74BaV009346 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jul 2019 09:04:11 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id BD678814502; Wed, 24 Jul 2019 09:04:11 +0200 (CEST)
In-Reply-To: <5D37F4FC020000A1000325EE@gwsmtp.uni-regensburg.de>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <5D37F4FC020000A1000325EE@gwsmtp.uni-regensburg.de>
To: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
Cc: "Daniel Franke" <dfoxfranke@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>, "ntp" <ntp-bounces@ietf.org>
MIME-Version: 1.0
Message-ID: <OF90C7651E.DC859996-ONC1258441.002689EA-C1258441.0026D5AB@ptb.de>
From: kristof.teichel@ptb.de
Date: Wed, 24 Jul 2019 09:04:59 +0200
Content-Type: multipart/alternative; boundary="=_alternative 0026D5A9C1258441_="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/GJDcjfjvcDHLd26vQ01TYIR7_aA>
Subject: Re: [Ntp] Antw: Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 07:04:16 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0026D5A9C1258441_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

"ntp" <ntp-bounces@ietf.org> schrieb am 24.07.2019 08:04:44:

> Von: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
> An: "Daniel Franke" <dfoxfranke@gmail.com>, "ntp@ietf.org"=20
<ntp@ietf.org>
> Datum: 24.07.2019 08:05
> Betreff: [Ntp] Antw: Follow-up to yesterday's mic comment about PTP=20
security
> Gesendet von: "ntp" <ntp-bounces@ietf.org>
>=20
> >>> Daniel Franke <dfoxfranke@gmail.com> schrieb am 23.07.2019 um 18:19=20
in
> Nachricht
> <CAJm83bD89oPE+WouWUD=3DqVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>:
> > My comments yesterday about PTP security shifted context a few times
> > so it may have been hard to follow what I was claiming. My assertions
> > were:
> >=20
> > 1. If you need 50ms precision, pick some good public NTP servers and=20
use=20
> > NTS.
>=20
> Interestingly I think most data centers would like to have 1a: 100=B5s to=
=20
5ms.
> Are you saying NTS can't do better than a few ms?

Depends on what you need: with NTS, you get a 100% security and=20
correctness guarantee for the error in your measured offset being at most=20
half of the flight time (plus a negligible delta).
Now, it is very likely that your measured offset is much better than that=20
- but the more you're relying on the assumption of symmetric packet travel =

times, the less certainty you get - and the more susceptible you become=20
towards delay attacks.
=20
> >=20
> > 2. If you need 100=B5s precision, colocate a time source in the same
> > datacenter as the client systems. Use NTP and NTS; you don't need PTP
> > for this.
> >=20
> > 3. If you need 1=B5s precision, use PTP and physically secure the link
> > between the time source and the clients so that cryptographic
> > authentication is unnecessary.
> >=20
> > 4. If you need 1=B5s precision over an adversarial network, good luck!
> > This is simply not achievable and no amount of cryptographic pixie
> > dust is ever going to save you.
> >=20
> > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> > ntp mailing list
> > ntp@ietf.org=20
> > https://www.ietf.org/mailman/listinfo/ntp=20
>=20
>=20
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

--=_alternative 0026D5A9C1258441_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><tt><font size=3D2>&quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt; schrieb
am 24.07.2019 08:04:44:<br>
<br>
&gt; Von: &quot;Ulrich Windl&quot; &lt;Ulrich.Windl@rz.uni-regensburg.de&gt=
;</font></tt>
<br><tt><font size=3D2>&gt; An: &quot;Daniel Franke&quot; &lt;dfoxfranke@gm=
ail.com&gt;,
&quot;ntp@ietf.org&quot; &lt;ntp@ietf.org&gt;</font></tt>
<br><tt><font size=3D2>&gt; Datum: 24.07.2019 08:05</font></tt>
<br><tt><font size=3D2>&gt; Betreff: [Ntp] Antw: Follow-up to yesterday's
mic comment about PTP security</font></tt>
<br><tt><font size=3D2>&gt; Gesendet von: &quot;ntp&quot; &lt;ntp-bounces@i=
etf.org&gt;</font></tt>
<br><tt><font size=3D2>&gt; <br>
&gt; &gt;&gt;&gt; Daniel Franke &lt;dfoxfranke@gmail.com&gt; schrieb am
23.07.2019 um 18:19 in<br>
&gt; Nachricht<br>
&gt; &lt;CAJm83bD89oPE+WouWUD=3DqVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.c=
om&gt;:<br>
&gt; &gt; My comments yesterday about PTP security shifted context a few
times<br>
&gt; &gt; so it may have been hard to follow what I was claiming. My assert=
ions<br>
&gt; &gt; were:<br>
&gt; &gt; <br>
&gt; &gt; 1. If you need 50ms precision, pick some good public NTP servers
and use <br>
&gt; &gt; NTS.<br>
&gt; <br>
&gt; Interestingly I think most data centers would like to have 1a: 100=B5s
to 5ms.<br>
&gt; Are you saying NTS can't do better than a few ms?</font></tt>
<br>
<br><tt><font size=3D2>Depends on what you need: with NTS, you get a 100%
security and correctness guarantee for the error in your measured offset
being at most half of the flight time (plus a negligible delta).</font></tt>
<br><tt><font size=3D2>Now, it is very likely that your measured offset is
much better than that - but the more you're relying on the assumption of
symmetric packet travel times, the less certainty you get - and the more
susceptible you become towards delay attacks.<br>
 <br>
&gt; &gt; <br>
&gt; &gt; 2. If you need 100=B5s precision, colocate a time source in the
same<br>
&gt; &gt; datacenter as the client systems. Use NTP and NTS; you don't
need PTP<br>
&gt; &gt; for this.<br>
&gt; &gt; <br>
&gt; &gt; 3. If you need 1=B5s precision, use PTP and physically secure the
link<br>
&gt; &gt; between the time source and the clients so that cryptographic<br>
&gt; &gt; authentication is unnecessary.<br>
&gt; &gt; <br>
&gt; &gt; 4. If you need 1=B5s precision over an adversarial network, good
luck!<br>
&gt; &gt; This is simply not achievable and no amount of cryptographic
pixie<br>
&gt; &gt; dust is ever going to save you.<br>
&gt; &gt; <br>
&gt; &gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F<br>
&gt; &gt; ntp mailing list<br>
&gt; &gt; ntp@ietf.org <br>
&gt; &gt; </font></tt><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><=
tt><font size=3D2>https://www.ietf.org/mailman/listinfo/ntp</font></tt></a>=
<tt><font size=3D2>
<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
&gt; ntp mailing list<br>
&gt; ntp@ietf.org<br>
&gt; </font></tt><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><tt><f=
ont size=3D2>https://www.ietf.org/mailman/listinfo/ntp</font></tt></a><tt><=
font size=3D2><br>
</font></tt>
--=_alternative 0026D5A9C1258441_=--


From nobody Wed Jul 24 07:09:35 2019
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 4655F120240 for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 07:09:33 -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 ohJYaT19H6ol for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 07:09:31 -0700 (PDT)
Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (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 34E6912017D for <ntp@ietf.org>; Wed, 24 Jul 2019 07:09:31 -0700 (PDT)
Received: by mail-io1-xd44.google.com with SMTP id j6so14703136ioa.5 for <ntp@ietf.org>; Wed, 24 Jul 2019 07:09:31 -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:content-transfer-encoding; bh=1g2XG3qLLa9kskPf4ia/qwrQGxqst55s0u9QP8e/GAY=; b=X5NTbhXQUbjubQuOFVo7IeFTp2SMLtM0MpHiWUB2p9ZNT3ZEV8OUBRV6dETW0s3LYd KfHQd2y8BnZISzYGjcXTFOSsfSU+9xo3peBJ7Qv+ksXZkBapAPq/1B1H09vmVfjyphxU TRDLzuVEuU/cn8FXIYK2h3qITuxv0x2W65G/FQnSJnGtwQ3lnAXUTKXXe5E6GzYAl81H dRzRfWnTxYSERoUcce4ioqoR3hHOFxL5k5Q9Jy/GZLjOs0fJk69t6UDRAdBIs0wO/G9l oxy2ZZSOmJDcvf7NgdagcUGphhqzZXcNX9u31DOL9m+NEtNq35dSU5utPFc7uqV0ZVY8 S75g==
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:content-transfer-encoding; bh=1g2XG3qLLa9kskPf4ia/qwrQGxqst55s0u9QP8e/GAY=; b=hDM3CE86Z1VppYpIT9gFMLC8y2IxNzaEq/FoHEpDwQOyIxktaGMc/DGFahoAczmZLH FxEeDLbmRoY0mFkTp9DdzQBWXKXRQHb+So2TmBpLZ8va/TGQiZly2C5qadaHxZ/X9nuH jL7DKpF//5aLZeuqtb6AK2EJlMghofCx/I2zbHqWfSzg0F4tw4EyDC7G3bU/FpQO8qto 3YtgPbiS5pTvpRK3DFsJ0A5NWXHrBcYeA0tCVMKVTI6Z3S4VnNwXQ0sCohVmPvx+dt2y Mmm7E2R2JsJadXjfaXi1TysiHU5CnSLGgdMV1VmxH0E1QFRPn22xESTHtzvlhNCKsHET Qhsw==
X-Gm-Message-State: APjAAAW8BjiKMWHEWZNIStINgtP9A33dBi86Gu7lkjyesty0p1UgEpLy rEO1x9PHk2hGUjAEFDULGlpOrySLfvLAbjt0YPE=
X-Google-Smtp-Source: APXvYqy5y5Om1uaFkgMCIM7flYzQ4Qqn7oFyW+9a/Kv3Sfn5zHUzEuGG+itFazmB6yx3K1PpnznWjMYr6KLe6mnXibY=
X-Received: by 2002:a05:6638:303:: with SMTP id w3mr31187416jap.103.1563977370380;  Wed, 24 Jul 2019 07:09:30 -0700 (PDT)
MIME-Version: 1.0
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de>
In-Reply-To: <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Wed, 24 Jul 2019 10:09:19 -0400
Message-ID: <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com>
To: kristof.teichel@ptb.de
Cc: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/YGb5TKL4pROhL-E8fBqff04IHQE>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 14:09:33 -0000

On Wed, Jul 24, 2019 at 3:00 AM <kristof.teichel@ptb.de> wrote:
> 1.
> It is established in general (and I have a proof lying around for a model=
 of NTS in particular) that a client performing a request-response exchange=
 with NTS and using all relevant checks gets a strong guarantee that the er=
ror in its measured offset is no larger than half the added flight times of=
 the packets (plus some negligibly small delta accounting for frequency ins=
tability of the clocks used on client and server side).
> For anyone wondering why we bothered to prove this again: this guarantee =
is 100%, and the new part is "no matter what a Man-in-the-Middle attacker d=
id in the process".

The "half the RTT" error bound can be improved somewhat if you know
the physical distance between yourself and the server. In which case
the error bound is =C2=B1(RTT/2 - distance / speed_of_light), because it is
safe to assume that the network adversary does not have a wormhole
through which to route your packets. (If you do have one, Akamai wants
your resume).


From nobody Wed Jul 24 09:11:35 2019
Return-Path: <watsonbladd@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 0B9B712024D for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 09:11:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level: 
X-Spam-Status: No, score=-1.997 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_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 PEMcpRLtUkSb for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 09:11:28 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 7BC7512043C for <ntp@ietf.org>; Wed, 24 Jul 2019 09:11:27 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id z28so45135051ljn.4 for <ntp@ietf.org>; Wed, 24 Jul 2019 09:11:27 -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=CrlTCM6T/0QIhYZcnC/9DtCNIpQuUJzr8Rvb+FvhjJk=; b=HfhB2kbvzc9iwWaEaRp5hA/Vizz0zX6x4k0snihguKGIQuxcvTfZZITJYMte5LWIJ2 1gQyPBmJUxS4lbyKYlgw6inbz3PQDIbB1pF7iztZc955Z4TGN+0sF/5JHGRUgJ/dLzBZ 22Tq2AygpNjndDlL9biOH1Y7Y4cTnL5njEeXZJ8lDFNnnaS/DDenQ8ImgIVqGbq+SF0d v9qIQRaE5zsVyGPYpfYLNiWU1UBHNCRd/4jpVlp5aK3Z8RdY92XZ4DUh7ZR1RAYQ3XnN vOEP24cgMtYhF1JrefqyfOr94+82pZ8Gj2+fx/mM5xM72NltpoPNyK2uYOtYEVeIPmT1 wbvg==
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=CrlTCM6T/0QIhYZcnC/9DtCNIpQuUJzr8Rvb+FvhjJk=; b=BoaMnXd14Jf4GQKjvheGssKeqoG2/PggOOM/SAzRckL3QFWLF6pSqv5q8N5iNkeXhc wMI23AbZAx2SPOF7G/bW4OqUv8zQM6xUxikNH5bfC9l1irT6cDDGxPQCPVAB8n4pe8i3 2V5EF0kHpnffvc/n5mYllMSKn4KGB8h1qCqipn7zIgXmBQ8ebxzdIrWNVxznLqzQ9e/q T+HA8tmwRFr6LuKPw7lJvKmeJx0V7U8aeUqX3j8uAfKO3CX6PbeNcAaZOOIBojWlM75t 7fac1JoD8QBvL3K13zy/mkR2P+eCXGmjjNT26a00+wbuPFNll7O9VM/CayYWahMw9e4R gfxg==
X-Gm-Message-State: APjAAAWexqXMM9+P92VFwQ1jZSaMjp7GpNj7b7Cepm5y2+9yBp6PcuR0 L7JqCIqViMtrBZt/6yHUKMLtpUo2pe9Qn6Ss3ws=
X-Google-Smtp-Source: APXvYqwMkXdf6OkNldgzXZxucmclwqZdHemtVifbsB8KTsbkNcVuBAiF+kBo9haDAVh7s7hbKYV3t7aYERdM5ROkZsE=
X-Received: by 2002:a2e:824f:: with SMTP id j15mr44282219ljh.117.1563984685675;  Wed, 24 Jul 2019 09:11:25 -0700 (PDT)
MIME-Version: 1.0
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
In-Reply-To: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Wed, 24 Jul 2019 09:10:55 -0700
Message-ID: <CACsn0cmSm1tiAFBZ5_tyki5ZLWM-cKP1UeT5HxbBu7HEg2uYag@mail.gmail.com>
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009fb9ae058e6f8fe8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/q0R_oGJFqrGmn_Xn6oYZJIEn2HA>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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, 24 Jul 2019 16:11:34 -0000

--0000000000009fb9ae058e6f8fe8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 23, 2019, 9:20 AM Daniel Franke <dfoxfranke@gmail.com> wrote:

> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
>
> 1. If you need 50ms precision, pick some good public NTP servers and use
> NTS.
>
> 2. If you need 100=C2=B5s precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
>
> 3. If you need 1=C2=B5s precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
>
> 4. If you need 1=C2=B5s precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
>

Even if I use the wireless cards PLL, and align times with symbol
boundaries? That's probably beyond scope but NASA does it.


> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--0000000000009fb9ae058e6f8fe8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Tue, Jul 23, 2019, 9:20 AM Daniel Franke &lt;<a hre=
f=3D"mailto:dfoxfranke@gmail.com" target=3D"_blank" rel=3D"noreferrer">dfox=
franke@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My =
comments yesterday about PTP security shifted context a few times<br>
so it may have been hard to follow what I was claiming. My assertions<br>
were:<br>
<br>
1. If you need 50ms precision, pick some good public NTP servers and use NT=
S.<br>
<br>
2. If you need 100=C2=B5s precision, colocate a time source in the same<br>
datacenter as the client systems. Use NTP and NTS; you don&#39;t need PTP<b=
r>
for this.<br>
<br>
3. If you need 1=C2=B5s precision, use PTP and physically secure the link<b=
r>
between the time source and the clients so that cryptographic<br>
authentication is unnecessary.<br>
<br>
4. If you need 1=C2=B5s precision over an adversarial network, good luck!<b=
r>
This is simply not achievable and no amount of cryptographic pixie<br>
dust is ever going to save you.<br></blockquote></div></div><div dir=3D"aut=
o"><br></div><div dir=3D"auto">Even if I use the wireless cards PLL, and al=
ign times with symbol boundaries? That&#39;s probably beyond scope but NASA=
 does it.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"=
gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" rel=3D"noreferrer noreferrer" target=3D"_bl=
ank">ntp@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo=
/ntp</a><br>
</blockquote></div></div></div>

--0000000000009fb9ae058e6f8fe8--


From nobody Wed Jul 24 22:45:13 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 15D6B1204A3 for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 22:45:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 pdTUAaBr5lJg for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 22:45:02 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 3B20A12039C for <ntp@ietf.org>; Wed, 24 Jul 2019 22:45:02 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 87FAA6000051 for <ntp@ietf.org>; Thu, 25 Jul 2019 07:44:59 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 6C5CF6000050 for <ntp@ietf.org>; Thu, 25 Jul 2019 07:44:59 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Thu, 25 Jul 2019 07:44:59 +0200
Message-Id: <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Thu, 25 Jul 2019 07:44:58 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "Daniel Franke" <dfoxfranke@gmail.com>,<kristof.teichel@ptb.de>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com>
In-Reply-To: <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/wt1MqWX_XC_zcDB9oYJnulLQsNI>
Subject: [Ntp] Antw: Re: Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 05:45:11 -0000

>>> Daniel Franke <dfoxfranke@gmail.com> schrieb am 24.07.2019 um 16:09 in
Nachricht
<CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com>:
> On Wed, Jul 24, 2019 at 3:00 AM <kristof.teichel@ptb.de> wrote:
>> 1.
>> It is established in general (and I have a proof lying around for a model
of 
> NTS in particular) that a client performing a request-response exchange with

> NTS and using all relevant checks gets a strong guarantee that the error in

> its measured offset is no larger than half the added flight times of the 
> packets (plus some negligibly small delta accounting for frequency 
> instability of the clocks used on client and server side).
>> For anyone wondering why we bothered to prove this again: this guarantee is

> 100%, and the new part is "no matter what a Man-in-the-Middle attacker did
in 
> the process".
> 
> The "half the RTT" error bound can be improved somewhat if you know
> the physical distance between yourself and the server. In which case

The probem is the "distance" here, as it definitely refers to "cable length",
or more specifically "route length". Back in the time when the WWW started,
connections inside Germany were routed via USA sometimes (that was the time
whan a "good" transferrate was near 5kB/s). To make matters worse, you cannot
safely assume that the route (length) from A to B will be the same as from B to
A.

> the error bound is ±(RTT/2 - distance / speed_of_light), because it is
> safe to assume that the network adversary does not have a wormhole
> through which to route your packets. (If you do have one, Akamai wants
> your resume).
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Wed Jul 24 23:24:56 2019
Return-Path: <stenn@nwtime.org>
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 C6DBF120312 for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 23:24:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YvvG3TV_Dkc8 for <ntp@ietfa.amsl.com>; Wed, 24 Jul 2019 23:24:54 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (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 093D812032B for <ntp@ietf.org>; Wed, 24 Jul 2019 23:24:54 -0700 (PDT)
Received: from [10.208.75.152] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45vMdK5kvdzL84; Thu, 25 Jul 2019 06:24:53 +0000 (UTC)
To: ntp@ietf.org
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com> <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= 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
Message-ID: <b0672060-2d15-8339-22b2-c647480af9d6@nwtime.org>
Date: Wed, 24 Jul 2019 23:24:52 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/3BD2EXUkwmSDIz6SJaEYnraqjjI>
Subject: Re: [Ntp] Antw: Re: Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 06:24:56 -0000

On 7/24/2019 10:44 PM, Ulrich Windl wrote:
>>>> Daniel Franke <dfoxfranke@gmail.com> schrieb am 24.07.2019 um 16:09 in
> Nachricht
> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com>:
>> On Wed, Jul 24, 2019 at 3:00 AM <kristof.teichel@ptb.de> wrote:
>>> 1.
>>> It is established in general (and I have a proof lying around for a model
> of 
>> NTS in particular) that a client performing a request-response exchange with
> 
>> NTS and using all relevant checks gets a strong guarantee that the error in
> 
>> its measured offset is no larger than half the added flight times of the 
>> packets (plus some negligibly small delta accounting for frequency 
>> instability of the clocks used on client and server side).
>>> For anyone wondering why we bothered to prove this again: this guarantee is
> 
>> 100%, and the new part is "no matter what a Man-in-the-Middle attacker did
> in 
>> the process".
>>
>> The "half the RTT" error bound can be improved somewhat if you know
>> the physical distance between yourself and the server. In which case
> 
> The probem is the "distance" here, as it definitely refers to "cable length",
> or more specifically "route length". Back in the time when the WWW started,
> connections inside Germany were routed via USA sometimes (that was the time
> whan a "good" transferrate was near 5kB/s). To make matters worse, you cannot
> safely assume that the route (length) from A to B will be the same as from B to
> A.

A MITM can still do at least a delay attack.

>> the error bound is ±(RTT/2 - distance / speed_of_light), because it is
>> safe to assume that the network adversary does not have a wormhole
>> through which to route your packets. (If you do have one, Akamai wants
>> your resume).
>>
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org 
>> https://www.ietf.org/mailman/listinfo/ntp 
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!


From nobody Thu Jul 25 00:05:50 2019
Return-Path: <kristof.teichel@ptb.de>
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 7D469120317 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:05:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 71XZ8aMBPGw8 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:05:47 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 0442D1202C6 for <ntp@ietf.org>; Thu, 25 Jul 2019 00:05:46 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id x6P75iD2026822-x6P75iD4026822 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 25 Jul 2019 09:05:44 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id 3603D815926; Thu, 25 Jul 2019 09:05:43 +0200 (CEST)
In-Reply-To: <b0672060-2d15-8339-22b2-c647480af9d6@nwtime.org>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com> <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de> <b0672060-2d15-8339-22b2-c647480af9d6@nwtime.org>
To: "Harlan Stenn" <stenn@nwtime.org>, "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>, "Daniel Franke" <dfoxfranke@gmail.com>
Cc: ntp@ietf.org
MIME-Version: 1.0
Message-ID: <OF046B14CA.397A024F-ONC1258442.0026A9AB-C1258442.0026F91D@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 25 Jul 2019 09:06:30 +0200
Content-Type: multipart/alternative; boundary="=_alternative 0026F91AC1258442_="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/sJqNgDJXBi59arvZqBHYKMWUleI>
Subject: Re: [Ntp] Antw: Re: Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 07:05:50 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0026F91AC1258442_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

> >> The "half the RTT" error bound can be improved somewhat if you know
> >> the physical distance between yourself and the server. In which case
> >=20
> > The probem is the "distance" here, as it definitely refers to=20
> "cable length",
> > or more specifically "route length". Back in the time when the WWW=20
started,
> > connections inside Germany were routed via USA sometimes (that was the =

time
> > whan a "good" transferrate was near 5kB/s). To make matters worse,you=20
cannot
> > safely assume that the route (length) from A to B will be the same
> as from B to
> > A.
>=20
> A MITM can still do at least a delay attack.

None of that matters for what Daniel is saying.
A packet can still not have arrived *faster* than with lightspeed via the=20
shortest line between the two devices.
And that's all you need to derive that the situation is in fact marginally =

better than "half of RTT (plus oscillator-related delta)".

>=20
> >> the error bound is =B1(RTT/2 - distance / speed=5Fof=5Flight), because=
 it=20
is
> >> safe to assume that the network adversary does not have a wormhole
> >> through which to route your packets. (If you do have one, Akamai=20
wants
> >> your resume).

--=_alternative 0026F91AC1258442_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<tt><font size=3D2>&gt; &gt;&gt; The &quot;half the RTT&quot; error bound
can be improved somewhat if you know<br>
&gt; &gt;&gt; the physical distance between yourself and the server. In
which case<br>
&gt; &gt; <br>
&gt; &gt; The probem is the &quot;distance&quot; here, as it definitely
refers to <br>
&gt; &quot;cable length&quot;,<br>
&gt; &gt; or more specifically &quot;route length&quot;. Back in the time
when the WWW started,<br>
&gt; &gt; connections inside Germany were routed via USA sometimes (that
was the time<br>
&gt; &gt; whan a &quot;good&quot; transferrate was near 5kB/s). To make
matters worse,you cannot<br>
&gt; &gt; safely assume that the route (length) from A to B will be the
same<br>
&gt; as from B to<br>
&gt; &gt; A.<br>
&gt; <br>
&gt; A MITM can still do at least a delay attack.</font></tt>
<br>
<br><tt><font size=3D2>None of that matters for what Daniel is saying.</fon=
t></tt>
<br><tt><font size=3D2>A packet can still not have arrived *faster* than
with lightspeed via the shortest line between the two devices.</font></tt>
<br><tt><font size=3D2>And that's all you need to derive that the situation
is in fact marginally better than &quot;half of RTT (plus oscillator-related
delta)&quot;.</font></tt>
<br><tt><font size=3D2><br>
&gt; <br>
&gt; &gt;&gt; the error bound is =B1(RTT/2 - distance / speed=5Fof=5Flight),
because it is<br>
&gt; &gt;&gt; safe to assume that the network adversary does not have a
wormhole<br>
&gt; &gt;&gt; through which to route your packets. (If you do have one,
Akamai wants<br>
&gt; &gt;&gt; your resume).<br>
</font></tt>
--=_alternative 0026F91AC1258442_=--


From nobody Thu Jul 25 00:13:39 2019
Return-Path: <kristof.teichel@ptb.de>
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 CB0CA120275 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:13:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.801
X-Spam-Level: 
X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GUARANTEED_100_PERCENT=2.699, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 wcX6XhM8Lj_q for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:13:35 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 F140C12007C for <ntp@ietf.org>; Thu, 25 Jul 2019 00:13:34 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id x6P7DWIT027850-x6P7DWIV027850 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 25 Jul 2019 09:13:32 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id 1343181595F; Thu, 25 Jul 2019 09:13:32 +0200 (CEST)
In-Reply-To: <626997121-17255@srv-kerioconnect.py.meinberg.de>
References: <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <626997121-17255@srv-kerioconnect.py.meinberg.de>
To: "Doug Arnold" <doug.arnold@meinberg.de>
Cc: "Daniel Franke" <dfoxfranke@gmail.com>, "NTP WG" <ntp@ietf.org>
MIME-Version: 1.0
Message-ID: <OFA2356644.91C0B8AD-ONC1258442.00272352-C1258442.0027B093@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 25 Jul 2019 09:14:19 +0200
Content-Type: multipart/alternative; boundary="=_alternative 0027B093C1258442_="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/GKahdzOtSyQAuAdU1jdXjPd9dEg>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 07:13:38 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0027B093C1258442_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Good morning all,

what you will really need from these folks, Doug, is a clear statement of=20
whether they need their level of synchronicity (50ms, 100us, whatever)=20
only locally between all their machines or also in reference to a global=20
time scale such as UTC.
And maybe if they need different precision/accuracy levels for both, such=20
as needing/wanting sub-ns level locally and a 100% guaranteed 100us within =

UTC or something like that (I suspect something like this will turn out to =

be true for most of them).

Using PTP to make sure that all of their devices agree on the time to a=20
better-than-100us level is fine, but if they need actual guarantees with=20
regard to UTC, it might be short-sighted to just go "well, our server is=20
GPS-disciplined, so basically as good as UTC".


Best regards,
Kristof




Von:    "Doug Arnold" <doug.arnold@meinberg.de>
An:     "NTP WG" <ntp@ietf.org>
Kopie:  kristof.teichel@ptb.de, "Daniel Franke" <dfoxfranke@gmail.com>
Datum:  24.07.2019 21:17
Betreff:        Re: [Ntp] Follow-up to yesterday's mic comment about PTP=20
security



Hello Everyone,

Some financial companies only need 50 ms, and for them I recommend NTP. It =

is cheaper and easier to install than PTP, and the protocol is more mature =

and implementations are usually robust.  In general they prefer to have=20
their own NTP servers, inside their network, and behind the fire wall.  I=20
will be recommending NTS when available from their vendor.  That will be=20
an easy sell, since they generally want to turn on security options for=20
the protocols they use.

Some network operators tell me that achieving 100 us time synchronization=20
in their network is near the edge of what they currently get using NTP, so =

they want to switch to PTP for this spec and the coming tighter specs.=20
Most of them have switches and routers which have PTP on path support or=20
the operators expect them to in the near future.  This will be an issue=20
which needs discussion since that represents a security challenge.  If=20
every switch is shaping the information, then there is either a "secret"=20
every node knows, or many secrets, each of which must be kept.

Doug


From: <kristof.teichel@ptb.de>=20
To: Daniel Franke <dfoxfranke@gmail.com>=20
Cc: NTP WG <ntp@ietf.org>=20
Sent: 7/24/2019 9:00 AM=20
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security =



Hey all,=20

first of all, I'm really glad if this whole thing (security of one-way=20
mechanisms and mechanism selection) is a discussion that we're going to=20
have in the WG.=20

To comment on your assertions, Daniel:=20

1.=20
It is established in general (and I have a proof lying around for a model=20
of NTS in particular) that a client performing a request-response exchange =

with NTS and using all relevant checks gets a strong guarantee that the=20
error in its measured offset is no larger than half the added flight times =

of the packets (plus some negligibly small delta accounting for frequency=20
instability of the clocks used on client and server side).=20
For anyone wondering why we bothered to prove this again: this guarantee=20
is 100%, and the new part is "no matter what a Man-in-the-Middle attacker=20
did in the process".=20
So I would be careful about naming a specific amount, because flight times =

do depend on the specific client's connection - but 50ms seems like a good =

rule of thumb, and I overall agree with your assertion.=20

2.-3.=20
If we're operating und the assumptions that=20
a) you can only use one time sync mechanism at a time and keep track of=20
one clock disciplined via data from that mechansim, and=20
b) end users always have exactly one requirement level for each of=20
security and precision/accuracy and need to use the least-effort path to=20
achieve them=20
... then I agree with your assertions whole-heartedly.=20

But I really think both assumptions deserve their own hard looks and=20
considerations.=20
For example, it might be reasonable for someone, specifically a financial=20
institute, to run NTP with NTS in their local network to obtain a 100%=20
security guarantee for a 100us level (demanded by MiFID II for example)=20
and also still use PTP / White Rabbit (unsecured for the time being) to=20
have the precision/accuracy levels they actually want - with no strong=20
guarantee, but still valid in the (most likely) case that their=20
infrastructures are not currently under attack.=20

4.=20
Again, I agree with the assertion for the most part and in the given=20
status quo.=20
But the underlying assumption that every relevant adversarial 2-way=20
network also suffers from long, unpredictable and asymmetric travel times=20
is mostly valid because the only candidate for such a network is the=20
internet.=20
If someone built, say, a GNSS network where two-way communication (with=20
satellites or between two ground stations) was readily available to=20
everyone, the whole situation would be different:=20
That would still potentially qualify as an adversarial network, but with=20
the proper crypto, your 100% security guarantees could be extended to much =

better precision/accuracy levels.=20
The same thing could be true for long-distance tree-topology fibre-based=20
networks exclusively for time synchronization - which are kind of in the=20
process of being built all over Europe.=20


Lengthy comments and caveats notwithstanding, I agree with and would=20
endorse your 1.-4. decision making sheet as an excellent starting point.=20


Best regards,=20
Kristof=20


"ntp" <ntp-bounces@ietf.org> schrieb am 23.07.2019 18:19:33:

> Von: "Daniel Franke" <dfoxfranke@gmail.com>=20
> An: "NTP WG" <ntp@ietf.org>=20
> Datum: 23.07.2019 18:20=20
> Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security=20
> Gesendet von: "ntp" <ntp-bounces@ietf.org>=20
>=20
> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
>=20
> 1. If you need 50ms precision, pick some good public NTP servers and use =

NTS.
>=20
> 2. If you need 100=B5s precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
>=20
> 3. If you need 1=B5s precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
>=20
> 4. If you need 1=B5s precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20
ntp mailing list=20
ntp@ietf.org=20
https://www.ietf.org/mailman/listinfo/ntp=20


--=_alternative 0027B093C1258442_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<font size=3D2 face=3D"sans-serif">Good morning all,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">what you will really need from these
folks, Doug, is a clear statement of whether they need their level of synch=
ronicity
(50ms, 100us, whatever) only locally between all their machines or also
in reference to a global time scale such as UTC.</font>
<br><font size=3D2 face=3D"sans-serif">And maybe if they need different pre=
cision/accuracy
levels for both, such as needing/wanting sub-ns level locally and a 100%
guaranteed 100us within UTC or something like that (I suspect something
like this will turn out to be true for most of them).</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Using PTP to make sure that all of t=
heir
devices agree on the time to a better-than-100us level is fine, but if
they need actual guarantees with regard to UTC, it might be short-sighted
to just go &quot;well, our server is GPS-disciplined, so basically as good
as UTC&quot;.</font>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">Best regards,</font>
<br><font size=3D2 face=3D"sans-serif">Kristof</font>
<br>
<br>
<br>
<br>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Von: &nbsp; &nbsp; &=
nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;Doug Arnold&quot;
&lt;doug.arnold@meinberg.de&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">An: &nbsp; &nbsp; &n=
bsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;NTP WG&quot;
&lt;ntp@ietf.org&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Kopie: &nbsp; &nbsp;=
 &nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">kristof.teichel@ptb.de,
&quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Datum: &nbsp; &nbsp;=
 &nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">24.07.2019 21:17</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Betreff: &nbsp; &nbs=
p;
&nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">Re: [Ntp] Follow-up
to yesterday's mic comment about PTP security</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3D3>Hello Everyone,</font>
<br>
<br><font size=3D3>Some financial companies only need 50 ms, and for them
I recommend NTP. &nbsp;It is cheaper and easier to install than PTP, and
the protocol is more mature and implementations are usually robust. &nbsp;In
general they prefer to have their own NTP servers, inside their network,
and behind the fire wall. &nbsp;I will be recommending NTS when available
from their vendor. &nbsp;That will be an easy sell, since they generally
want to turn on security options for the protocols they use.</font>
<br>
<br><font size=3D3>Some network operators tell me that achieving 100 us time
synchronization in their network is near the edge of what they currently
get using NTP, so they want to switch to PTP for this spec and the coming
tighter specs. &nbsp;Most of them have switches and routers which have
PTP on path support or the operators expect them to in the near future.
&nbsp;This will be an issue which needs discussion since that represents
a security challenge. &nbsp;If every switch is shaping the information,
then there is either a &quot;secret&quot; every node knows, or many secrets,
each of which must be kept.</font>
<br>
<br><font size=3D3>Doug<br>
<br>
</font>
<br><font size=3D3><b>From: </b>&lt;kristof.teichel@ptb.de&gt; <b><br>
To: </b>Daniel Franke &lt;dfoxfranke@gmail.com&gt; <b><br>
Cc: </b>NTP WG &lt;ntp@ietf.org&gt; <b><br>
Sent: </b>7/24/2019 9:00 AM <b><br>
Subject: </b>Re: [Ntp] Follow-up to yesterday's mic comment about PTP secur=
ity
<br>
</font>
<br><font size=3D2 face=3D"sans-serif">Hey all,</font><font size=3D3> <br>
</font><font size=3D2 face=3D"sans-serif"><br>
first of all, I'm really glad if this whole thing (security of one-way
mechanisms and mechanism selection) is a discussion that we're going to
have in the WG.</font><font size=3D3> <br>
</font><font size=3D2 face=3D"sans-serif"><br>
To comment on your assertions, Daniel:</font><font size=3D3> <br>
</font><font size=3D2 face=3D"sans-serif"><br>
1. <br>
It is established in general (and I have a proof lying around for a model
of NTS in particular) that a client performing a request-response exchange
with NTS and using all relevant checks gets a strong guarantee that the
error in its measured offset is no larger than half the added flight times
of the packets (plus some negligibly small delta accounting for frequency
instability of the clocks used on client and server side). <br>
For anyone wondering why we bothered to prove this again: this guarantee
is 100%, and the new part is &quot;no matter what a Man-in-the-Middle attac=
ker
did in the process&quot;.</font><font size=3D3> </font><font size=3D2 face=
=3D"sans-serif"><br>
So I would be careful about naming a specific amount, because flight times
do depend on the specific client's connection - but 50ms seems like a good
rule of thumb, and I overall agree with your assertion.</font><font size=3D=
3>
<br>
</font><font size=3D2 face=3D"sans-serif"><br>
2.-3. <br>
If we're operating und the assumptions that <br>
a) you can only use one time sync mechanism at a time and keep track of
one clock disciplined via data from that mechansim, and</font><font size=3D=
3>
</font><font size=3D2 face=3D"sans-serif"><br>
b) end users always have exactly one requirement level for each of security
and precision/accuracy and need to use the least-effort path to achieve
them</font><font size=3D3> </font><font size=3D2 face=3D"sans-serif"><br>
... then I agree with your assertions whole-heartedly.</font><font size=3D3>
<br>
</font><font size=3D2 face=3D"sans-serif"><br>
But I really think both assumptions deserve their own hard looks and consid=
erations.</font><font size=3D3>
</font><font size=3D2 face=3D"sans-serif"><br>
For example, it might be reasonable for someone, specifically a financial
institute, to run NTP with NTS in their local network to obtain a 100%
security guarantee for a 100us level (demanded by MiFID II for example)
and also still use PTP / White Rabbit (unsecured for the time being) to
have the precision/accuracy levels they actually want - with no strong
guarantee, but still valid in the (most likely) case that their infrastruct=
ures
are not currently under attack.</font><font size=3D3> <br>
</font><font size=3D2 face=3D"sans-serif"><br>
4.</font><font size=3D3> </font><font size=3D2 face=3D"sans-serif"><br>
Again, I agree with the assertion for the most part and in the given status
quo.</font><font size=3D3> </font><font size=3D2 face=3D"sans-serif"><br>
But the underlying assumption that every relevant adversarial 2-way network
also suffers from long, unpredictable and asymmetric travel times is mostly
valid because the only candidate for such a network is the internet.</font>=
<font size=3D3>
</font><font size=3D2 face=3D"sans-serif"><br>
If someone built, say, a GNSS network where two-way communication (with
satellites or between two ground stations) was readily available to everyon=
e,
the whole situation would be different:</font><font size=3D3> </font><font =
size=3D2 face=3D"sans-serif"><br>
That would still potentially qualify as an adversarial network, but with
the proper crypto, your 100% security guarantees could be extended to much
better precision/accuracy levels.</font><font size=3D3> </font><font size=
=3D2 face=3D"sans-serif"><br>
The same thing could be true for long-distance tree-topology fibre-based
networks exclusively for time synchronization - which are kind of in the
process of being built all over Europe.</font><font size=3D3> <br>
<br>
</font><font size=3D2 face=3D"sans-serif"><br>
Lengthy comments and caveats notwithstanding, I agree with and would endorse
your 1.-4. decision making sheet as an excellent starting point.</font><fon=
t size=3D3>
<br>
<br>
</font><font size=3D2 face=3D"sans-serif"><br>
Best regards,</font><font size=3D3> </font><font size=3D2 face=3D"sans-seri=
f"><br>
Kristof</font><font size=3D3> <br>
<br>
</font><tt><font size=3D2><br>
&quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt; schrieb am 23.07.2019 18:19:33=
:<br>
<br>
&gt; Von: &quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</font></tt=
><font size=3D3>
</font><tt><font size=3D2><br>
&gt; An: &quot;NTP WG&quot; &lt;ntp@ietf.org&gt;</font></tt><font size=3D3>
</font><tt><font size=3D2><br>
&gt; Datum: 23.07.2019 18:20</font></tt><font size=3D3> </font><tt><font si=
ze=3D2><br>
&gt; Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security=
</font></tt><font size=3D3>
</font><tt><font size=3D2><br>
&gt; Gesendet von: &quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt;</font></tt>=
<font size=3D3>
</font><tt><font size=3D2><br>
&gt; <br>
&gt; My comments yesterday about PTP security shifted context a few times<b=
r>
&gt; so it may have been hard to follow what I was claiming. My assertions<=
br>
&gt; were:<br>
&gt; <br>
&gt; 1. If you need 50ms precision, pick some good public NTP servers and
use NTS.<br>
&gt; <br>
&gt; 2. If you need 100=B5s precision, colocate a time source in the same<b=
r>
&gt; datacenter as the client systems. Use NTP and NTS; you don't need
PTP<br>
&gt; for this.<br>
&gt; <br>
&gt; 3. If you need 1=B5s precision, use PTP and physically secure the link=
<br>
&gt; between the time source and the clients so that cryptographic<br>
&gt; authentication is unnecessary.<br>
&gt; <br>
&gt; 4. If you need 1=B5s precision over an adversarial network, good luck!=
<br>
&gt; This is simply not achievable and no amount of cryptographic pixie<br>
&gt; dust is ever going to save you.<br>
&gt; <br>
&gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
&gt; ntp mailing list<br>
&gt; ntp@ietf.org<br>
&gt; </font></tt><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp target=
=3D=5Fblank><tt><font size=3D2 color=3Dblue><u>https://www.ietf.org/mailman=
/listinfo/ntp</u></font></tt></a><font size=3D3><br>
<br>
<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F <br>
ntp mailing list <br>
ntp@ietf.org <br>
</font><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><font size=3D3>h=
ttps://www.ietf.org/mailman/listinfo/ntp</font></a><font size=3D3>
</font>
<br>
<br>
--=_alternative 0027B093C1258442_=--


From nobody Thu Jul 25 00:38:31 2019
Return-Path: <heiko.gerstung@meinberg.de>
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 60B3C1202C6 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:38:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.588
X-Spam-Level: 
X-Spam-Status: No, score=-1.588 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GUARANTEED_100_PERCENT=2.699, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 l-3PeHBNWMLH for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:38:26 -0700 (PDT)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7855C12004E for <ntp@ietf.org>; Thu, 25 Jul 2019 00:38:26 -0700 (PDT)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 24ED971C08C0; Thu, 25 Jul 2019 09:38:22 +0200 (CEST)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 24ED971C08C0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1564040305; bh=Qu5RfijcBS7947iKd5DHuTw6wLSOtYyI3SStYESeO9s=; h=Date:Subject:Message-ID:References:In-Reply-To:Mime-version:From: To:Cc:Content-Type; b=URKIxmyfhTcw+G672epBw6HvwomJGmejvt4uQhhteAyrjopmbOUzqAAkQBH/CLW6d c1hgiHNUITo+zLHih+XfgjlozRrm+NQjvrynWjz68P19w7Kjv5CMpy9a//HUxg9zgl d3jrvF9n3mj+Gqty+jPdu3R6dXfhuPSlge2RalmU=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1247, Stamp: 3], Multi: [Enabled, t: (0.000009,0.029583)], BW: [Enabled, t: (0.000020)], RTDA: [Enabled, t: (0.032699), Hit: No, Details: v2.7.46; Id: 15.1i6to19.1dgk1225f.24cl], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
User-Agent: Microsoft-MacOutlook/10.1b.0.190715
Date: Thu, 25 Jul 2019 09:38:19 +0200
Message-ID: <2CF584EA-17C5-4623-AA0A-FAB215DEF288@meinberg.de>
Thread-Topic: [Ntp] Follow-up to yesterday's mic comment about PTP security
References: <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <626997121-17255@srv-kerioconnect.py.meinberg.de> <OFA2356644.91C0B8AD-ONC1258442.00272352-C1258442.0027B093@ptb.de>
In-Reply-To: <OFA2356644.91C0B8AD-ONC1258442.00272352-C1258442.0027B093@ptb.de>
Mime-version: 1.0
Importance: Normal
X-Priority: 3
Thread-Index: AZ2x3tU+NTc2ODgzNDJhZjQ0M2FiOQ==
From: Heiko Gerstung <heiko.gerstung@meinberg.de>
To: "kristof.teichel@ptb.de" <kristof.teichel@ptb.de>, Doug Arnold <doug.arnold@meinberg.de>
Cc: NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="=-LQKlW5sEGkFyj0KZ9ljT"
X-Virus-Scanned: clamav-milter 0.100.3 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/4LBS1Gmf6eDwcLk_FlrC1bpgCQg>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 07:38:29 -0000

--=-LQKlW5sEGkFyj0KZ9ljT
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

I agree with Kristof that using GPS (or any other GNSS for that matter) doe=
s not automagically turns your PTP GM into a UTC traceable time source. The=
 folks of NPL have shown that you can use PTP (without GNSS) to transfer UT=
C traceable time with a high level of accuracy (<1us) over long distances. =
So "PTP !=3D UTC" is obviously as generalizing as "NTP/NTS =3D UTC". It doe=
sn't depend on the network protocol.=20

=20

I get the point of Kristof that using GPS in the setup Doug described will =
not guarantee UTC, but funny as it is, the European MiFID II regulation spe=
cifically accepts using GNSS to obtain time and be compliant with the UTC r=
equirements of ESMA.=20

=20

My goal is to work on using NTS-KE for PTP as well, if anyone is interested=
 in joining us to work out something please let me know.=20

=20

Regards,

=C2=A0=C2=A0 Heiko

=20

=20

--=20

Heiko Gerstung=20
Managing Director

MEINBERG=C2=AE Funkuhren GmbH & Co. KG
Lange Wand 9
D-31812 Bad Pyrmont, Germany
Phone:    +49 (0)5281 9309-404
Fax:        +49 (0)5281 9309-9404

Amtsgericht Hannover 17HRA 100322
Gesch=C3=A4ftsf=C3=BChrer/Management: G=C3=BCnter Meinberg, Werner Meinberg=
, Andre Hartmann, Heiko Gerstung

Email:
 heiko.gerstung@meinberg.de=20
Web:
 Deutsch   https://www.meinberg.de
 English    https://www.meinbergglobal.com

Do not miss our Time Synchronization Blog:
 https://blog.meinbergglobal.com=20

Connect via LinkedIn:=20
https://www.linkedin.com/in/heikogerstung

=20

=20

=20

Von: ntp <ntp-bounces@ietf.org> im Auftrag von <kristof.teichel@ptb.de>
Datum: Donnerstag, 25. Juli 2019 um 09:14
An: Doug Arnold <doug.arnold@meinberg.de>
Cc: NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
Betreff: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security

=20

Good morning all,=20

what you will really need from these folks, Doug, is a clear statement of w=
hether they need their level of synchronicity (50ms, 100us, whatever) only =
locally between all their machines or also in reference to a global time sc=
ale such as UTC.=20
And maybe if they need different precision/accuracy levels for both, such a=
s needing/wanting sub-ns level locally and a 100% guaranteed 100us within U=
TC or something like that (I suspect something like this will turn out to b=
e true for most of them).=20

Using PTP to make sure that all of their devices agree on the time to a bet=
ter-than-100us level is fine, but if they need actual guarantees with regar=
d to UTC, it might be short-sighted to just go "well, our server is GPS-dis=
ciplined, so basically as good as UTC".=20


Best regards,=20
Kristof=20




Von:        "Doug Arnold" <doug.arnold@meinberg.de>=20
An:        "NTP WG" <ntp@ietf.org>=20
Kopie:        kristof.teichel@ptb.de, "Daniel Franke" <dfoxfranke@gmail.com=
>=20
Datum:        24.07.2019 21:17=20
Betreff:        Re: [Ntp] Follow-up to yesterday's mic comment about PTP se=
curity=20




Hello Everyone,=20

Some financial companies only need 50 ms, and for them I recommend NTP.  It=
 is cheaper and easier to install than PTP, and the protocol is more mature=
 and implementations are usually robust.  In general they prefer to have th=
eir own NTP servers, inside their network, and behind the fire wall.  I wil=
l be recommending NTS when available from their vendor.  That will be an ea=
sy sell, since they generally want to turn on security options for the prot=
ocols they use.=20

Some network operators tell me that achieving 100 us time synchronization i=
n their network is near the edge of what they currently get using NTP, so t=
hey want to switch to PTP for this spec and the coming tighter specs.  Most=
 of them have switches and routers which have PTP on path support or the op=
erators expect them to in the near future.  This will be an issue which nee=
ds discussion since that represents a security challenge.  If every switch =
is shaping the information, then there is either a "secret" every node know=
s, or many secrets, each of which must be kept.=20

Doug


From: <kristof.teichel@ptb.de>=20
To: Daniel Franke <dfoxfranke@gmail.com>=20
Cc: NTP WG <ntp@ietf.org>=20
Sent: 7/24/2019 9:00 AM=20
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security=20

Hey all,=20

first of all, I'm really glad if this whole thing (security of one-way mech=
anisms and mechanism selection) is a discussion that we're going to have in=
 the WG.=20

To comment on your assertions, Daniel:=20

1.=20
It is established in general (and I have a proof lying around for a model o=
f NTS in particular) that a client performing a request-response exchange w=
ith NTS and using all relevant checks gets a strong guarantee that the erro=
r in its measured offset is no larger than half the added flight times of t=
he packets (plus some negligibly small delta accounting for frequency insta=
bility of the clocks used on client and server side).=20
For anyone wondering why we bothered to prove this again: this guarantee is=
 100%, and the new part is "no matter what a Man-in-the-Middle attacker did=
 in the process".=20
So I would be careful about naming a specific amount, because flight times =
do depend on the specific client's connection - but 50ms seems like a good =
rule of thumb, and I overall agree with your assertion.=20

2.-3.=20
If we're operating und the assumptions that=20
a) you can only use one time sync mechanism at a time and keep track of one=
 clock disciplined via data from that mechansim, and=20
b) end users always have exactly one requirement level for each of security=
 and precision/accuracy and need to use the least-effort path to achieve th=
em=20
.... then I agree with your assertions whole-heartedly.=20

But I really think both assumptions deserve their own hard looks and consid=
erations.=20
For example, it might be reasonable for someone, specifically a financial i=
nstitute, to run NTP with NTS in their local network to obtain a 100% secur=
ity guarantee for a 100us level (demanded by MiFID II for example) and also=
 still use PTP / White Rabbit (unsecured for the time being) to have the pr=
ecision/accuracy levels they actually want - with no strong guarantee, but =
still valid in the (most likely) case that their infrastructures are not cu=
rrently under attack.=20

4.=20
Again, I agree with the assertion for the most part and in the given status=
 quo.=20
But the underlying assumption that every relevant adversarial 2-way network=
 also suffers from long, unpredictable and asymmetric travel times is mostl=
y valid because the only candidate for such a network is the internet.=20
If someone built, say, a GNSS network where two-way communication (with sat=
ellites or between two ground stations) was readily available to everyone, =
the whole situation would be different:=20
That would still potentially qualify as an adversarial network, but with th=
e proper crypto, your 100% security guarantees could be extended to much be=
tter precision/accuracy levels.=20
The same thing could be true for long-distance tree-topology fibre-based ne=
tworks exclusively for time synchronization - which are kind of in the proc=
ess of being built all over Europe.=20


Lengthy comments and caveats notwithstanding, I agree with and would endors=
e your 1.-4. decision making sheet as an excellent starting point.=20


Best regards,=20
Kristof=20


"ntp" <ntp-bounces@ietf.org> schrieb am 23.07.2019 18:19:33:

> Von: "Daniel Franke" <dfoxfranke@gmail.com>=20
> An: "NTP WG" <ntp@ietf.org>=20
> Datum: 23.07.2019 18:20=20
> Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security=20
> Gesendet von: "ntp" <ntp-bounces@ietf.org>=20
>=20
> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
>=20
> 1. If you need 50ms precision, pick some good public NTP servers and use =
NTS.
>=20
> 2. If you need 100=C2=B5s precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
>=20
> 3. If you need 1=C2=B5s precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
>=20
> 4. If you need 1=C2=B5s precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
>=20
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


_______________________________________________=20
ntp mailing list=20
ntp@ietf.org=20
https://www.ietf.org/mailman/listinfo/ntp=20

_______________________________________________ ntp mailing list ntp@ietf.o=
rg https://www.ietf.org/mailman/listinfo/ntp=20

=

--=-LQKlW5sEGkFyj0KZ9ljT
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft=
 Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#defaul=
t#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
tt
	{mso-style-priority:99;
	font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue vlink=
=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US=
 style=3D'mso-fareast-language:EN-US'>I agree with Kristof that using GPS (=
or any other GNSS for that matter) does not automagically turns your PTP GM=
 into a UTC traceable time source. The folks of NPL have shown that you can=
 use PTP (without GNSS) to transfer UTC traceable time with a high level of=
 accuracy (&lt;1us) over long distances. So &quot;PTP !=3D UTC&quot; is obv=
iously as generalizing as &quot;NTP/NTS =3D UTC&quot;. It doesn't depend on=
 the network protocol. <o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN-US style=3D'mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN-US style=3D'mso-fareast-language:EN-US=
'>I get the point of Kristof that using GPS in the setup Doug described wil=
l not guarantee UTC, but funny as it is, the European MiFID II regulation s=
pecifically accepts using GNSS to obtain time and be compliant with the UTC=
 requirements of ESMA. <o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN-US style=3D'mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN-US style=3D'mso-fareast-language:EN-US=
'>My goal is to work on using NTS-KE for PTP as well, if anyone is interest=
ed in joining us to work out something please let me know. <o:p></o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'mso-fareast-language=
:EN-US'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US=
 style=3D'mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p clas=
s=3DMsoNormal><span lang=3DEN-US style=3D'mso-fareast-language:EN-US'>=C2=
=A0=C2=A0 Heiko<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-U=
S style=3D'mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN-US style=3D'mso-fareast-language:EN-US'><o:p>&=
nbsp;</o:p></span></p><div><p class=3DMsoNormal>--&nbsp;<o:p></o:p></p><div=
><p class=3DMsoNormal><span style=3D'mso-fareast-language:EN-US'>Heiko Gers=
tung&nbsp;<br>Managing Director<br><br><b>MEINBERG=C2=AE Funkuhren GmbH &am=
p; Co. KG</b><br>Lange Wand 9<br>D-31812 Bad Pyrmont, Germany<br>Phone:&nbs=
p;&nbsp;&nbsp; +49 (0)5281 9309-404<br>Fax:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&=
nbsp; +49 (0)5281 9309-9404<br><br>Amtsgericht Hannover 17HRA 100322<br>Ges=
ch=C3=A4ftsf=C3=BChrer/Management: G=C3=BCnter Meinberg, Werner Meinberg, A=
ndre Hartmann, Heiko Gerstung<br><br>Email:<br>&nbsp;<a href=3D"mailto:heik=
o.gerstung@meinberg.de"><span style=3D'color:#0563C1'>heiko.gerstung@meinbe=
rg.de</span></a>&nbsp;<br>Web:<br>&nbsp;Deutsch&nbsp;&nbsp;&nbsp;<a href=3D=
"https://www.meinberg.de"><span style=3D'color:#0563C1'>https://www.meinber=
g.de</span></a><br>&nbsp;English&nbsp;&nbsp;&nbsp;&nbsp;<a href=3D"https://=
www.meinbergglobal.com"><span style=3D'color:#0563C1'>https://www.meinbergg=
lobal.com</span></a><br><br>Do not miss our Time Synchronization Blog:<br>&=
nbsp;<a href=3D"https://blog.meinbergglobal.com"><span style=3D'color:#0563=
C1'>https://blog.meinbergglobal.com</span></a>&nbsp;<br><br>Connect via Lin=
kedIn:&nbsp;<br><a href=3D"https://www.linkedin.com/in/heikogerstung"><span=
 style=3D'color:#0563C1'>https://www.linkedin.com/in/heikogerstung</span></=
a><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'mso-fareast-lan=
guage:EN-US'><o:p>&nbsp;</o:p></span></p></div></div><p class=3DMsoNormal><=
span style=3D'mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'mso-fareast-language:EN-US'><o:p>&nbsp;</o:p=
></span></p><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;paddin=
g:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal style=3D'margin-left:35.4pt'><b><=
span style=3D'font-size:12.0pt;color:black'>Von: </span></b><span style=3D'=
font-size:12.0pt;color:black'>ntp &lt;ntp-bounces@ietf.org&gt; im Auftrag v=
on &lt;kristof.teichel@ptb.de&gt;<br><b>Datum: </b>Donnerstag, 25. Juli 201=
9 um 09:14<br><b>An: </b>Doug Arnold &lt;doug.arnold@meinberg.de&gt;<br><b>=
Cc: </b>NTP WG &lt;ntp@ietf.org&gt;, Daniel Franke &lt;dfoxfranke@gmail.com=
&gt;<br><b>Betreff: </b>Re: [Ntp] Follow-up to yesterday's mic comment abou=
t PTP security<o:p></o:p></span></p></div><div><p class=3DMsoNormal style=
=3D'margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal sty=
le=3D'margin-left:35.4pt'><span style=3D'font-size:10.0pt;font-family:"Aria=
l",sans-serif'>Good morning all,</span> <br><br><span style=3D'font-size:10=
.0pt;font-family:"Arial",sans-serif'>what you will really need from these f=
olks, Doug, is a clear statement of whether they need their level of synchr=
onicity (50ms, 100us, whatever) only locally between all their machines or =
also in reference to a global time scale such as UTC.</span> <br><span styl=
e=3D'font-size:10.0pt;font-family:"Arial",sans-serif'>And maybe if they nee=
d different precision/accuracy levels for both, such as needing/wanting sub=
-ns level locally and a 100% guaranteed 100us within UTC or something like =
that (I suspect something like this will turn out to be true for most of th=
em).</span> <br><br><span style=3D'font-size:10.0pt;font-family:"Arial",san=
s-serif'>Using PTP to make sure that all of their devices agree on the time=
 to a better-than-100us level is fine, but if they need actual guarantees w=
ith regard to UTC, it might be short-sighted to just go &quot;well, our ser=
ver is GPS-disciplined, so basically as good as UTC&quot;.</span> <br><br><=
br><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif'>Best reg=
ards,</span> <br><span style=3D'font-size:10.0pt;font-family:"Arial",sans-s=
erif'>Kristof</span> <br><br><br><br><br><span style=3D'font-size:7.5pt;fon=
t-family:"Arial",sans-serif;color:#5F5F5F'>Von: &nbsp; &nbsp; &nbsp; &nbsp;=
</span><span style=3D'font-size:7.5pt;font-family:"Arial",sans-serif'>&quot=
;Doug Arnold&quot; &lt;doug.arnold@meinberg.de&gt;</span> <br><span style=
=3D'font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F'>An: &nbsp=
; &nbsp; &nbsp; &nbsp;</span><span style=3D'font-size:7.5pt;font-family:"Ar=
ial",sans-serif'>&quot;NTP WG&quot; &lt;ntp@ietf.org&gt;</span> <br><span s=
tyle=3D'font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F'>Kopie=
: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style=3D'font-size:7.5pt;font-fam=
ily:"Arial",sans-serif'>kristof.teichel@ptb.de, &quot;Daniel Franke&quot; &=
lt;dfoxfranke@gmail.com&gt;</span> <br><span style=3D'font-size:7.5pt;font-=
family:"Arial",sans-serif;color:#5F5F5F'>Datum: &nbsp; &nbsp; &nbsp; &nbsp;=
</span><span style=3D'font-size:7.5pt;font-family:"Arial",sans-serif'>24.07=
.2019 21:17</span> <br><span style=3D'font-size:7.5pt;font-family:"Arial",s=
ans-serif;color:#5F5F5F'>Betreff: &nbsp; &nbsp; &nbsp; &nbsp;</span><span s=
tyle=3D'font-size:7.5pt;font-family:"Arial",sans-serif'>Re: [Ntp] Follow-up=
 to yesterday's mic comment about PTP security</span> <o:p></o:p></p><div c=
lass=3DMsoNormal align=3Dcenter style=3D'margin-left:35.4pt;text-align:cent=
er'><hr size=3D0 width=3D"100%" noshade style=3D'color:#A0A0A0' align=3Dcen=
ter></div><p class=3DMsoNormal style=3D'margin-left:35.4pt'><br><br><br><sp=
an style=3D'font-size:12.0pt'>Hello Everyone,</span> <br><br><span style=3D=
'font-size:12.0pt'>Some financial companies only need 50 ms, and for them I=
 recommend NTP. &nbsp;It is cheaper and easier to install than PTP, and the=
 protocol is more mature and implementations are usually robust. &nbsp;In g=
eneral they prefer to have their own NTP servers, inside their network, and=
 behind the fire wall. &nbsp;I will be recommending NTS when available from=
 their vendor. &nbsp;That will be an easy sell, since they generally want t=
o turn on security options for the protocols they use.</span> <br><br><span=
 style=3D'font-size:12.0pt'>Some network operators tell me that achieving 1=
00 us time synchronization in their network is near the edge of what they c=
urrently get using NTP, so they want to switch to PTP for this spec and the=
 coming tighter specs. &nbsp;Most of them have switches and routers which h=
ave PTP on path support or the operators expect them to in the near future.=
 &nbsp;This will be an issue which needs discussion since that represents a=
 security challenge. &nbsp;If every switch is shaping the information, then=
 there is either a &quot;secret&quot; every node knows, or many secrets, ea=
ch of which must be kept.</span> <br><br><span style=3D'font-size:12.0pt'>D=
oug<br><br></span><br><b><span style=3D'font-size:12.0pt'>From: </span></b>=
<span style=3D'font-size:12.0pt'>&lt;kristof.teichel@ptb.de&gt; <b><br>To: =
</b>Daniel Franke &lt;dfoxfranke@gmail.com&gt; <b><br>Cc: </b>NTP WG &lt;nt=
p@ietf.org&gt; <b><br>Sent: </b>7/24/2019 9:00 AM <b><br>Subject: </b>Re: [=
Ntp] Follow-up to yesterday's mic comment about PTP security <br></span><br=
><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif'>Hey all,</=
span><span style=3D'font-size:12.0pt'> <br></span><span style=3D'font-size:=
10.0pt;font-family:"Arial",sans-serif'><br>first of all, I'm really glad if=
 this whole thing (security of one-way mechanisms and mechanism selection) =
is a discussion that we're going to have in the WG.</span><span style=3D'fo=
nt-size:12.0pt'> <br></span><span style=3D'font-size:10.0pt;font-family:"Ar=
ial",sans-serif'><br>To comment on your assertions, Daniel:</span><span sty=
le=3D'font-size:12.0pt'> <br></span><span style=3D'font-size:10.0pt;font-fa=
mily:"Arial",sans-serif'><br>1. <br>It is established in general (and I hav=
e a proof lying around for a model of NTS in particular) that a client perf=
orming a request-response exchange with NTS and using all relevant checks g=
ets a strong guarantee that the error in its measured offset is no larger t=
han half the added flight times of the packets (plus some negligibly small =
delta accounting for frequency instability of the clocks used on client and=
 server side). <br>For anyone wondering why we bothered to prove this again=
: this guarantee is 100%, and the new part is &quot;no matter what a Man-in=
-the-Middle attacker did in the process&quot;.</span><span style=3D'font-si=
ze:12.0pt'> </span><span style=3D'font-size:10.0pt;font-family:"Arial",sans=
-serif'><br>So I would be careful about naming a specific amount, because f=
light times do depend on the specific client's connection - but 50ms seems =
like a good rule of thumb, and I overall agree with your assertion.</span><=
span style=3D'font-size:12.0pt'> <br></span><span style=3D'font-size:10.0pt=
;font-family:"Arial",sans-serif'><br>2.-3. <br>If we're operating und the a=
ssumptions that <br>a) you can only use one time sync mechanism at a time a=
nd keep track of one clock disciplined via data from that mechansim, and</s=
pan><span style=3D'font-size:12.0pt'> </span><span style=3D'font-size:10.0p=
t;font-family:"Arial",sans-serif'><br>b) end users always have exactly one =
requirement level for each of security and precision/accuracy and need to u=
se the least-effort path to achieve them</span><span style=3D'font-size:12.=
0pt'> </span><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif=
'><br>.... then I agree with your assertions whole-heartedly.</span><span s=
tyle=3D'font-size:12.0pt'> <br></span><span style=3D'font-size:10.0pt;font-=
family:"Arial",sans-serif'><br>But I really think both assumptions deserve =
their own hard looks and considerations.</span><span style=3D'font-size:12.=
0pt'> </span><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif=
'><br>For example, it might be reasonable for someone, specifically a finan=
cial institute, to run NTP with NTS in their local network to obtain a 100%=
 security guarantee for a 100us level (demanded by MiFID II for example) an=
d also still use PTP / White Rabbit (unsecured for the time being) to have =
the precision/accuracy levels they actually want - with no strong guarantee=
, but still valid in the (most likely) case that their infrastructures are =
not currently under attack.</span><span style=3D'font-size:12.0pt'> <br></s=
pan><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif'><br>4.<=
/span><span style=3D'font-size:12.0pt'> </span><span style=3D'font-size:10.=
0pt;font-family:"Arial",sans-serif'><br>Again, I agree with the assertion f=
or the most part and in the given status quo.</span><span style=3D'font-siz=
e:12.0pt'> </span><span style=3D'font-size:10.0pt;font-family:"Arial",sans-=
serif'><br>But the underlying assumption that every relevant adversarial 2-=
way network also suffers from long, unpredictable and asymmetric travel tim=
es is mostly valid because the only candidate for such a network is the int=
ernet.</span><span style=3D'font-size:12.0pt'> </span><span style=3D'font-s=
ize:10.0pt;font-family:"Arial",sans-serif'><br>If someone built, say, a GNS=
S network where two-way communication (with satellites or between two groun=
d stations) was readily available to everyone, the whole situation would be=
 different:</span><span style=3D'font-size:12.0pt'> </span><span style=3D'f=
ont-size:10.0pt;font-family:"Arial",sans-serif'><br>That would still potent=
ially qualify as an adversarial network, but with the proper crypto, your 1=
00% security guarantees could be extended to much better precision/accuracy=
 levels.</span><span style=3D'font-size:12.0pt'> </span><span style=3D'font=
-size:10.0pt;font-family:"Arial",sans-serif'><br>The same thing could be tr=
ue for long-distance tree-topology fibre-based networks exclusively for tim=
e synchronization - which are kind of in the process of being built all ove=
r Europe.</span><span style=3D'font-size:12.0pt'> <br><br></span><span styl=
e=3D'font-size:10.0pt;font-family:"Arial",sans-serif'><br>Lengthy comments =
and caveats notwithstanding, I agree with and would endorse your 1.-4. deci=
sion making sheet as an excellent starting point.</span><span style=3D'font=
-size:12.0pt'> <br><br></span><span style=3D'font-size:10.0pt;font-family:"=
Arial",sans-serif'><br>Best regards,</span><span style=3D'font-size:12.0pt'=
> </span><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif'><b=
r>Kristof</span><span style=3D'font-size:12.0pt'> <br><br></span><span styl=
e=3D'font-size:10.0pt;font-family:"Courier New"'><br><tt>&quot;ntp&quot; &l=
t;ntp-bounces@ietf.org&gt; schrieb am 23.07.2019 18:19:33:</tt><br><br><tt>=
&gt; Von: &quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</tt></span=
><span style=3D'font-size:12.0pt'> </span><span style=3D'font-size:10.0pt;f=
ont-family:"Courier New"'><br><tt>&gt; An: &quot;NTP WG&quot; &lt;ntp@ietf.=
org&gt;</tt></span><span style=3D'font-size:12.0pt'> </span><span style=3D'=
font-size:10.0pt;font-family:"Courier New"'><br><tt>&gt; Datum: 23.07.2019 =
18:20</tt></span><span style=3D'font-size:12.0pt'> </span><span style=3D'fo=
nt-size:10.0pt;font-family:"Courier New"'><br><tt>&gt; Betreff: [Ntp] Follo=
w-up to yesterday's mic comment about PTP security</tt></span><span style=
=3D'font-size:12.0pt'> </span><span style=3D'font-size:10.0pt;font-family:"=
Courier New"'><br><tt>&gt; Gesendet von: &quot;ntp&quot; &lt;ntp-bounces@ie=
tf.org&gt;</tt></span><span style=3D'font-size:12.0pt'> </span><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'><br><tt>&gt; </tt><br><tt>&=
gt; My comments yesterday about PTP security shifted context a few times</t=
t><br><tt>&gt; so it may have been hard to follow what I was claiming. My a=
ssertions</tt><br><tt>&gt; were:</tt><br><tt>&gt; </tt><br><tt>&gt; 1. If y=
ou need 50ms precision, pick some good public NTP servers and use NTS.</tt>=
<br><tt>&gt; </tt><br><tt>&gt; 2. If you need 100=C2=B5s precision, colocat=
e a time source in the same</tt><br><tt>&gt; datacenter as the client syste=
ms. Use NTP and NTS; you don't need PTP</tt><br><tt>&gt; for this.</tt><br>=
<tt>&gt; </tt><br><tt>&gt; 3. If you need 1=C2=B5s precision, use PTP and p=
hysically secure the link</tt><br><tt>&gt; between the time source and the =
clients so that cryptographic</tt><br><tt>&gt; authentication is unnecessar=
y.</tt><br><tt>&gt; </tt><br><tt>&gt; 4. If you need 1=C2=B5s precision ove=
r an adversarial network, good luck!</tt><br><tt>&gt; This is simply not ac=
hievable and no amount of cryptographic pixie</tt><br><tt>&gt; dust is ever=
 going to save you.</tt><br><tt>&gt; </tt><br><tt>&gt; ____________________=
___________________________</tt><br><tt>&gt; ntp mailing list</tt><br><tt>&=
gt; ntp@ietf.org</tt><br><tt>&gt; </tt></span><a href=3D"https://www.ietf.o=
rg/mailman/listinfo/ntp" target=3D"_blank"><tt><span style=3D'font-size:10.=
0pt'>https://www.ietf.org/mailman/listinfo/ntp</span></tt></a><span style=
=3D'font-size:12.0pt'><br><br><br>_________________________________________=
______ <br>ntp mailing list <br>ntp@ietf.org <br></span><a href=3D"https://=
www.ietf.org/mailman/listinfo/ntp"><span style=3D'font-size:12.0pt'>https:/=
/www.ietf.org/mailman/listinfo/ntp</span></a><span style=3D'font-size:12.0p=
t'> </span><br><br>_______________________________________________ ntp mail=
ing list ntp@ietf.org https://www.ietf.org/mailman/listinfo/ntp <o:p></o:p>=
</p></div></body></html>
=

--=-LQKlW5sEGkFyj0KZ9ljT--


From nobody Thu Jul 25 00:46:43 2019
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 91C8B120326 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:46:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 AMH-QnhRumay for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 00:46:39 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E147412030C for <ntp@ietf.org>; Thu, 25 Jul 2019 00:46:38 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7D72130860BD; Thu, 25 Jul 2019 07:46:37 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0431460BEC; Thu, 25 Jul 2019 07:46:35 +0000 (UTC)
Date: Thu, 25 Jul 2019 09:46:34 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: kristof.teichel@ptb.de
Cc: Harlan Stenn <stenn@nwtime.org>, Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, Daniel Franke <dfoxfranke@gmail.com>, ntp@ietf.org
Message-ID: <20190725074634.GA7477@localhost>
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com> <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de> <b0672060-2d15-8339-22b2-c647480af9d6@nwtime.org> <OF046B14CA.397A024F-ONC1258442.0026A9AB-C1258442.0026F91D@ptb.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OF046B14CA.397A024F-ONC1258442.0026A9AB-C1258442.0026F91D@ptb.de>
User-Agent: Mutt/1.12.0 (2019-05-25)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 25 Jul 2019 07:46:38 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/J2Iz8NFUNj3I-7gt4Qi85Of1Q24>
Subject: Re: [Ntp] Antw: Re: Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 07:46:42 -0000

On Thu, Jul 25, 2019 at 09:06:30AM +0200, kristof.teichel@ptb.de wrote:
> None of that matters for what Daniel is saying.
> A packet can still not have arrived *faster* than with lightspeed via the 
> shortest line between the two devices.
> And that's all you need to derive that the situation is in fact marginally 
> better than "half of RTT (plus oscillator-related delta)".

There is a variant that can be used in local networks with known
HW/topology. Instead of physical distance, which is negligible in
local networks, the metric is the number of network devices between
the stratum 1 server and client. If the minimum forwarding delay of
all devices is x (under all conditions) and packets between the server
and client always have to go over at least n devices, the root
delay reported by the client can be reduced by 2*n*x. The maximum
error of the client's clock (root distance) then may be shown to be
smaller than the required accuracy (e.g. 100 microseconds in the case
of MiFID).

With PTP (which assumes a constant network delay and doesn't have a
concept of root delay/dispersion) it's more difficult to determine the
maximum error.

-- 
Miroslav Lichvar


From nobody Thu Jul 25 01:21:28 2019
Return-Path: <kristof.teichel@ptb.de>
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 9EBF2120096; Thu, 25 Jul 2019 01:21:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.811
X-Spam-Level: 
X-Spam-Status: No, score=0.811 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GUARANTEED_100_PERCENT=2.699, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 0w6qQ7M8M_kU; Thu, 25 Jul 2019 01:21:24 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 1264A120045; Thu, 25 Jul 2019 01:21:23 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id x6P8LLmK004469-x6P8LLmM004469 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 25 Jul 2019 10:21:21 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id F036C815B04; Thu, 25 Jul 2019 10:21:18 +0200 (CEST)
In-Reply-To: <2CF584EA-17C5-4623-AA0A-FAB215DEF288@meinberg.de>
References: <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <626997121-17255@srv-kerioconnect.py.meinberg.de> <OFA2356644.91C0B8AD-ONC1258442.00272352-C1258442.0027B093@ptb.de> <2CF584EA-17C5-4623-AA0A-FAB215DEF288@meinberg.de>
To: "Heiko Gerstung" <heiko.gerstung@meinberg.de>
Cc: "Daniel Franke" <dfoxfranke@gmail.com>, "Doug Arnold" <doug.arnold@meinberg.de>, "NTP WG" <ntp@ietf.org>, "ntp" <ntp-bounces@ietf.org>
MIME-Version: 1.0
Message-ID: <OF38BC0986.F976A33A-ONC1258442.002A3C5D-C1258442.002DE4E1@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 25 Jul 2019 10:22:05 +0200
Content-Type: multipart/alternative; boundary="=_alternative 002DE4DFC1258442_="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qdMIXVMU2NBVUhP9xZoJ7qSf0pw>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 08:21:27 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 002DE4DFC1258442_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

To be clear: I'm not trying to say that using NTP/NTS rather than PTP on=20
campus (locally) helps you out in any significant way.
But using NTP/NTS rather than GNSS to *get UTC to your campus* (globally)=20
helps you out on one critical aspect: guaranteed traceability - the other=20
being precision/accuracy levels, (where NTP/NTS performs much worse than=20
GNSS).
If you're able to use PTP (hopefully secured PTP soon) over a=20
long-distance landline to synchronize to a master that is NMI-levels close =

to UTC, then that seems pretty close to ideal - but it does require the=20
appropriate landline, which is not trivial and rules this option out for=20
many users.

Regarding generalizations of protocol properties: some things do depend on =

the transmission protocol, specifically on whether it allows messages in=20
both directions or just one.
We have proof that "NTP/NTS =3D (Time of NTP/NTS Server) +- (roughly half o=
f=20
RTT)" is actually valid. This holds because you get a crypto-secured 2-way =

exchange.
And it works if your NTP server in this case is the NTP server of your=20
appropriate NMI, and they might be able to give you the additional=20
uncertainty for how close to their utc(NMI) the NTP server is - and that=20
gets you very close to actual, full on 100%-guaranteed (if you assume the=20
worst-cases conservatively enough) traceability, proven by the properties=20
of the transmission protocol.
That is something that you *cannot* get with any purely 1-way based=20
transmission method, specifically with a GNSS receiver - no matter what=20
crypto people throw onto the GNSS signal, because delay attacks exist and=20
are not just unpreventable but unbounded in pure 1-way connections.

I know that MiFID II in particular does not acknowledge this and=20
specifically accepts GNSS (I think even explicitly GPS) as satisfactory -=20
but I think that this should be changed in the next guideline, and also=20
carefully suspect that it actually might be.


Best regards,
Kristof





=20


Von:    "Heiko Gerstung" <heiko.gerstung@meinberg.de>
An:     "kristof.teichel@ptb.de" <kristof.teichel@ptb.de>, "Doug Arnold"=20
<doug.arnold@meinberg.de>
Kopie:  "NTP WG" <ntp@ietf.org>, "Daniel Franke" <dfoxfranke@gmail.com>
Datum:  25.07.2019 09:39
Betreff:        Re: [Ntp] Follow-up to yesterday's mic comment about PTP=20
security
Gesendet von:   "ntp" <ntp-bounces@ietf.org>



I agree with Kristof that using GPS (or any other GNSS for that matter)=20
does not automagically turns your PTP GM into a UTC traceable time source. =

The folks of NPL have shown that you can use PTP (without GNSS) to=20
transfer UTC traceable time with a high level of accuracy (<1us) over long =

distances. So "PTP !=3D UTC" is obviously as generalizing as "NTP/NTS =3D=20
UTC". It doesn't depend on the network protocol.=20
=20
I get the point of Kristof that using GPS in the setup Doug described will =

not guarantee UTC, but funny as it is, the European MiFID II regulation=20
specifically accepts using GNSS to obtain time and be compliant with the=20
UTC requirements of ESMA.=20
=20
My goal is to work on using NTS-KE for PTP as well, if anyone is=20
interested in joining us to work out something please let me know.=20
=20
Regards,
   Heiko
=20
=20
--=20
Heiko Gerstung=20
Managing Director

MEINBERG=AE Funkuhren GmbH & Co. KG
Lange Wand 9
D-31812 Bad Pyrmont, Germany
Phone:    +49 (0)5281 9309-404
Fax:        +49 (0)5281 9309-9404

Amtsgericht Hannover 17HRA 100322
Gesch=E4ftsf=FChrer/Management: G=FCnter Meinberg, Werner Meinberg, Andre=20
Hartmann, Heiko Gerstung

Email:
 heiko.gerstung@meinberg.de=20
Web:
 Deutsch   https://www.meinberg.de
 English    https://www.meinbergglobal.com

Do not miss our Time Synchronization Blog:
 https://blog.meinbergglobal.com=20

Connect via LinkedIn:=20
https://www.linkedin.com/in/heikogerstung
=20
=20
=20
Von: ntp <ntp-bounces@ietf.org> im Auftrag von <kristof.teichel@ptb.de>
Datum: Donnerstag, 25. Juli 2019 um 09:14
An: Doug Arnold <doug.arnold@meinberg.de>
Cc: NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
Betreff: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
=20
Good morning all,=20

what you will really need from these folks, Doug, is a clear statement of=20
whether they need their level of synchronicity (50ms, 100us, whatever)=20
only locally between all their machines or also in reference to a global=20
time scale such as UTC.=20
And maybe if they need different precision/accuracy levels for both, such=20
as needing/wanting sub-ns level locally and a 100% guaranteed 100us within =

UTC or something like that (I suspect something like this will turn out to =

be true for most of them).=20

Using PTP to make sure that all of their devices agree on the time to a=20
better-than-100us level is fine, but if they need actual guarantees with=20
regard to UTC, it might be short-sighted to just go "well, our server is=20
GPS-disciplined, so basically as good as UTC".=20


Best regards,=20
Kristof=20




Von:        "Doug Arnold" <doug.arnold@meinberg.de>=20
An:        "NTP WG" <ntp@ietf.org>=20
Kopie:        kristof.teichel@ptb.de, "Daniel Franke"=20
<dfoxfranke@gmail.com>=20
Datum:        24.07..2019 21:17=20
Betreff:        Re: [Ntp] Follow-up to yesterday's mic comment about PTP=20
security=20




Hello Everyone,=20

Some financial companies only need 50 ms, and for them I recommend NTP. It =

is cheaper and easier to install than PTP, and the protocol is more mature =

and implementations are usually robust.  In general they prefer to have=20
their own NTP servers, inside their network, and behind the fire wall.  I=20
will be recommending NTS when available from their vendor.  That will be=20
an easy sell, since they generally want to turn on security options for=20
the protocols they use.=20

Some network operators tell me that achieving 100 us time synchronization=20
in their network is near the edge of what they currently get using NTP, so =

they want to switch to PTP for this spec and the coming tighter specs.=20
Most of them have switches and routers which have PTP on path support or=20
the operators expect them to in the near future.  This will be an issue=20
which needs discussion since that represents a security challenge.  If=20
every switch is shaping the information, then there is either a "secret"=20
every node knows, or many secrets, each of which must be kept.=20

Doug


From: <kristof.teichel@ptb.de>=20
To: Daniel Franke <dfoxfranke@gmail.com>=20
Cc: NTP WG <ntp@ietf.org>=20
Sent: 7/24/2019 9:00 AM=20
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security =



Hey all,=20

first of all, I'm really glad if this whole thing (security of one-way=20
mechanisms and mechanism selection) is a discussion that we're going to=20
have in the WG.=20

To comment on your assertions, Daniel:=20

1.=20
It is established in general (and I have a proof lying around for a model=20
of NTS in particular) that a client performing a request-response exchange =

with NTS and using all relevant checks gets a strong guarantee that the=20
error in its measured offset is no larger than half the added flight times =

of the packets (plus some negligibly small delta accounting for frequency=20
instability of the clocks used on client and server side).=20
For anyone wondering why we bothered to prove this again: this guarantee=20
is 100%, and the new part is "no matter what a Man-in-the-Middle attacker=20
did in the process".=20
So I would be careful about naming a specific amount, because flight times =

do depend on the specific client's connection - but 50ms seems like a good =

rule of thumb, and I overall agree with your assertion.=20

2.-3.=20
If we're operating und the assumptions that=20
a) you can only use one time sync mechanism at a time and keep track of=20
one clock disciplined via data from that mechansim, and=20
b) end users always have exactly one requirement level for each of=20
security and precision/accuracy and need to use the least-effort path to=20
achieve them=20
.... then I agree with your assertions whole-heartedly.=20

But I really think both assumptions deserve their own hard looks and=20
considerations.=20
For example, it might be reasonable for someone, specifically a financial=20
institute, to run NTP with NTS in their local network to obtain a 100%=20
security guarantee for a 100us level (demanded by MiFID II for example)=20
and also still use PTP / White Rabbit (unsecured for the time being) to=20
have the precision/accuracy levels they actually want - with no strong=20
guarantee, but still valid in the (most likely) case that their=20
infrastructures are not currently under attack.=20

4.=20
Again, I agree with the assertion for the most part and in the given=20
status quo.=20
But the underlying assumption that every relevant adversarial 2-way=20
network also suffers from long, unpredictable and asymmetric travel times=20
is mostly valid because the only candidate for such a network is the=20
internet.=20
If someone built, say, a GNSS network where two-way communication (with=20
satellites or between two ground stations) was readily available to=20
everyone, the whole situation would be different:=20
That would still potentially qualify as an adversarial network, but with=20
the proper crypto, your 100% security guarantees could be extended to much =

better precision/accuracy levels.=20
The same thing could be true for long-distance tree-topology fibre-based=20
networks exclusively for time synchronization - which are kind of in the=20
process of being built all over Europe.=20


Lengthy comments and caveats notwithstanding, I agree with and would=20
endorse your 1.-4. decision making sheet as an excellent starting point.=20


Best regards,=20
Kristof=20


"ntp" <ntp-bounces@ietf.org> schrieb am 23.07.2019 18:19:33:

> Von: "Daniel Franke" <dfoxfranke@gmail.com>=20
> An: "NTP WG" <ntp@ietf.org>=20
> Datum: 23.07.2019 18:20=20
> Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security=20
> Gesendet von: "ntp" <ntp-bounces@ietf.org>=20
>=20
> My comments yesterday about PTP security shifted context a few times
> so it may have been hard to follow what I was claiming. My assertions
> were:
>=20
> 1. If you need 50ms precision, pick some good public NTP servers and use =

NTS.
>=20
> 2. If you need 100=B5s precision, colocate a time source in the same
> datacenter as the client systems. Use NTP and NTS; you don't need PTP
> for this.
>=20
> 3. If you need 1=B5s precision, use PTP and physically secure the link
> between the time source and the clients so that cryptographic
> authentication is unnecessary.
>=20
> 4. If you need 1=B5s precision over an adversarial network, good luck!
> This is simply not achievable and no amount of cryptographic pixie
> dust is ever going to save you.
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20
ntp mailing list=20
ntp@ietf.org=20
https://www.ietf.org/mailman/listinfo/ntp=20

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F ntp mail=
ing list=20
ntp@ietf.org https://www.ietf.org/mailman/listinfo/ntp=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
ntp mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp



--=_alternative 002DE4DFC1258442_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<font size=3D2 face=3D"sans-serif">To be clear: I'm not trying to say that
using NTP/NTS rather than PTP on campus (locally) helps you out in any
significant way.</font>
<br><font size=3D2 face=3D"sans-serif">But using NTP/NTS rather than GNSS to
*get UTC to your campus* (globally) helps you out on one critical aspect:
guaranteed traceability - the other being precision/accuracy levels, (where
NTP/NTS performs much worse than GNSS).</font>
<br><font size=3D2 face=3D"sans-serif">If you're able to use PTP (hopefully
secured PTP soon) over a long-distance landline to synchronize to a master
that is NMI-levels close to UTC, then that seems pretty close to ideal
- but it does require the appropriate landline, which is not trivial and
rules this option out for many users.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Regarding generalizations of protocol
properties: some things do depend on the transmission protocol, specifically
on whether it allows messages in both directions or just one.</font>
<br><font size=3D2 face=3D"sans-serif">We have proof that &quot;NTP/NTS =3D=
 (Time
of NTP/NTS Server) +- (roughly half of RTT)&quot; is actually valid. This
holds because you get a crypto-secured 2-way exchange.</font>
<br><font size=3D2 face=3D"sans-serif">And it works if your NTP server in t=
his
case is the NTP server of your appropriate NMI, and they might be able
to give you the additional uncertainty for how close to their utc(NMI)
the NTP server is - and that gets you very close to actual, full on 100%-gu=
aranteed
(if you assume the worst-cases conservatively enough) traceability, proven
by the properties of the transmission protocol.</font>
<br><font size=3D2 face=3D"sans-serif">That is something that you *cannot*
get with any purely 1-way based transmission method, specifically with
a GNSS receiver - no matter what crypto people throw onto the GNSS signal,
because delay attacks exist and are not just unpreventable but unbounded
in pure 1-way connections.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">I know that MiFID II in particular d=
oes
not acknowledge this and specifically accepts GNSS (I think even explicitly
GPS) as satisfactory - but I think that this should be changed in the next
guideline, and also carefully suspect that it actually might be.</font>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">Best regards,</font>
<br><font size=3D2 face=3D"sans-serif">Kristof</font>
<br>
<br>
<br>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">&nbsp;</font>
<br>
<br>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Von: &nbsp; &nbsp; &=
nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;Heiko Gerstung&quot;
&lt;heiko.gerstung@meinberg.de&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">An: &nbsp; &nbsp; &n=
bsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;kristof.teichel@ptb.d=
e&quot;
&lt;kristof.teichel@ptb.de&gt;, &quot;Doug Arnold&quot; &lt;doug.arnold@mei=
nberg.de&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Kopie: &nbsp; &nbsp;=
 &nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;NTP WG&quot;
&lt;ntp@ietf.org&gt;, &quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt=
;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Datum: &nbsp; &nbsp;=
 &nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">25.07.2019 09:39</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Betreff: &nbsp; &nbs=
p;
&nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">Re: [Ntp] Follow-up
to yesterday's mic comment about PTP security</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Gesendet von: &nbsp;=
 &nbsp;
&nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">&quot;ntp&quot;
&lt;ntp-bounces@ietf.org&gt;</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3D3 face=3D"Calibri">I agree with Kristof that using GPS (or
any other GNSS for that matter) does not automagically turns your PTP GM
into a UTC traceable time source. The folks of NPL have shown that you
can use PTP (without GNSS) to transfer UTC traceable time with a high level
of accuracy (&lt;1us) over long distances. So &quot;PTP !=3D UTC&quot; is
obviously as generalizing as &quot;NTP/NTS =3D UTC&quot;. It doesn't depend
on the network protocol. </font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">I get the point of Kristof that using G=
PS
in the setup Doug described will not guarantee UTC, but funny as it is,
the European MiFID II regulation specifically accepts using GNSS to obtain
time and be compliant with the UTC requirements of ESMA. </font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">My goal is to work on using NTS-KE for
PTP as well, if anyone is interested in joining us to work out something
please let me know. </font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">Regards,</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;&nbsp; Heiko</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">-- </font>
<br><font size=3D3 face=3D"Calibri">Heiko Gerstung <br>
Managing Director<br>
<b><br>
MEINBERG=AE Funkuhren GmbH &amp; Co. KG</b><br>
Lange Wand 9<br>
D-31812 Bad Pyrmont, Germany<br>
Phone: &nbsp; &nbsp;+49 (0)5281 9309-404<br>
Fax: &nbsp; &nbsp; &nbsp; &nbsp;+49 (0)5281 9309-9404<br>
<br>
Amtsgericht Hannover 17HRA 100322<br>
Gesch=E4ftsf=FChrer/Management: G=FCnter Meinberg, Werner Meinberg, Andre H=
artmann,
Heiko Gerstung<br>
<br>
Email:<br>
 </font><a href=3Dmailto:heiko.gerstung@meinberg.de><font size=3D3 color=3D=
#0082bf face=3D"Calibri"><u>heiko.gerstung@meinberg.de</u></font></a><font =
size=3D3 face=3D"Calibri">
<br>
Web:<br>
 Deutsch &nbsp; </font><a href=3Dhttps://www.meinberg.de/><font size=3D3 co=
lor=3D#0082bf face=3D"Calibri"><u>https://www.meinberg.de</u></font></a><fo=
nt size=3D3 face=3D"Calibri"><br>
 English &nbsp; &nbsp;</font><a href=3Dhttps://www.meinbergglobal.com/><fon=
t size=3D3 color=3D#0082bf face=3D"Calibri"><u>https://www.meinbergglobal.c=
om</u></font></a><font size=3D3 face=3D"Calibri"><br>
<br>
Do not miss our Time Synchronization Blog:<br>
 </font><a href=3Dhttps://blog.meinbergglobal.com/><font size=3D3 color=3D#=
0082bf face=3D"Calibri"><u>https://blog.meinbergglobal.com</u></font></a><f=
ont size=3D3 face=3D"Calibri">
<br>
<br>
Connect via LinkedIn: </font><font size=3D3 color=3Dblue face=3D"Calibri"><=
u><br>
</u></font><a href=3Dhttps://www.linkedin.com/in/heikogerstung><font size=
=3D3 color=3D#0082bf face=3D"Calibri"><u>https://www.linkedin.com/in/heikog=
erstung</u></font></a>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Calibri"><b>Von: </b>ntp &lt;ntp-bounces@ietf.or=
g&gt;
im Auftrag von &lt;kristof.teichel@ptb.de&gt;<b><br>
Datum: </b>Donnerstag, 25. Juli 2019 um 09:14<b><br>
An: </b>Doug Arnold &lt;doug.arnold@meinberg.de&gt;<b><br>
Cc: </b>NTP WG &lt;ntp@ietf.org&gt;, Daniel Franke &lt;dfoxfranke@gmail.com=
&gt;<b><br>
Betreff: </b>Re: [Ntp] Follow-up to yesterday's mic comment about PTP secur=
ity</font>
<br><font size=3D3 face=3D"Calibri">&nbsp;</font>
<br><font size=3D3 face=3D"Arial">Good morning all,</font><font size=3D3 fa=
ce=3D"Calibri">
<br>
</font><font size=3D3 face=3D"Arial"><br>
what you will really need from these folks, Doug, is a clear statement
of whether they need their level of synchronicity (50ms, 100us, whatever)
only locally between all their machines or also in reference to a global
time scale such as UTC.</font><font size=3D3 face=3D"Calibri"> </font><font=
 size=3D3 face=3D"Arial"><br>
And maybe if they need different precision/accuracy levels for both, such
as needing/wanting sub-ns level locally and a 100% guaranteed 100us within
UTC or something like that (I suspect something like this will turn out
to be true for most of them).</font><font size=3D3 face=3D"Calibri"> <br>
</font><font size=3D3 face=3D"Arial"><br>
Using PTP to make sure that all of their devices agree on the time to a
better-than-100us level is fine, but if they need actual guarantees with
regard to UTC, it might be short-sighted to just go &quot;well, our server
is GPS-disciplined, so basically as good as UTC&quot;.</font><font size=3D3=
 face=3D"Calibri">
<br>
<br>
</font><font size=3D3 face=3D"Arial"><br>
Best regards,</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 =
face=3D"Arial"><br>
Kristof</font><font size=3D3 face=3D"Calibri"> <br>
<br>
<br>
<br>
</font><font size=3D3 color=3D#5f5f5f face=3D"Arial"><br>
Von: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D3 face=3D"Arial">&quot;=
Doug
Arnold&quot; &lt;doug.arnold@meinberg.de&gt;</font><font size=3D3 face=3D"C=
alibri">
</font><font size=3D3 color=3D#5f5f5f face=3D"Arial"><br>
An: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D3 face=3D"Arial">&quot;N=
TP
WG&quot; &lt;ntp@ietf.org&gt;</font><font size=3D3 face=3D"Calibri"> </font=
><font size=3D3 color=3D#5f5f5f face=3D"Arial"><br>
Kopie: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D3 face=3D"Arial">kris=
tof.teichel@ptb.de,
&quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</font><font size=3D3=
 face=3D"Calibri">
</font><font size=3D3 color=3D#5f5f5f face=3D"Arial"><br>
Datum: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D3 face=3D"Arial">24.0=
7..2019
21:17</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 color=3D=
#5f5f5f face=3D"Arial"><br>
Betreff: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D3 face=3D"Arial">Re:
[Ntp] Follow-up to yesterday's mic comment about PTP security</font><font s=
ize=3D3 face=3D"Calibri">
</font>
<div align=3Dcenter>
<hr noshade></div>
<br><font size=3D3 face=3D"Calibri"><br>
<br>
<br>
Hello Everyone, <br>
<br>
Some financial companies only need 50 ms, and for them I recommend NTP.
&nbsp;It is cheaper and easier to install than PTP, and the protocol is
more mature and implementations are usually robust. &nbsp;In general they
prefer to have their own NTP servers, inside their network, and behind
the fire wall. &nbsp;I will be recommending NTS when available from their
vendor. &nbsp;That will be an easy sell, since they generally want to turn
on security options for the protocols they use. <br>
<br>
Some network operators tell me that achieving 100 us time synchronization
in their network is near the edge of what they currently get using NTP,
so they want to switch to PTP for this spec and the coming tighter specs.
&nbsp;Most of them have switches and routers which have PTP on path support
or the operators expect them to in the near future. &nbsp;This will be
an issue which needs discussion since that represents a security challenge.
&nbsp;If every switch is shaping the information, then there is either
a &quot;secret&quot; every node knows, or many secrets, each of which must
be kept. <br>
<br>
Doug<br>
<br>
<b><br>
From: </b>&lt;kristof.teichel@ptb.de&gt; <b><br>
To: </b>Daniel Franke &lt;dfoxfranke@gmail.com&gt; <b><br>
Cc: </b>NTP WG &lt;ntp@ietf.org&gt; <b><br>
Sent: </b>7/24/2019 9:00 AM <b><br>
Subject: </b>Re: [Ntp] Follow-up to yesterday's mic comment about PTP secur=
ity
<br>
</font><font size=3D3 face=3D"Arial"><br>
Hey all,</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 face=
=3D"Arial"><br>
<br>
first of all, I'm really glad if this whole thing (security of one-way
mechanisms and mechanism selection) is a discussion that we're going to
have in the WG.</font><font size=3D3 face=3D"Calibri"> </font><font size=3D=
3 face=3D"Arial"><br>
<br>
To comment on your assertions, Daniel:</font><font size=3D3 face=3D"Calibri=
">
</font><font size=3D3 face=3D"Arial"><br>
<br>
1. <br>
It is established in general (and I have a proof lying around for a model
of NTS in particular) that a client performing a request-response exchange
with NTS and using all relevant checks gets a strong guarantee that the
error in its measured offset is no larger than half the added flight times
of the packets (plus some negligibly small delta accounting for frequency
instability of the clocks used on client and server side). <br>
For anyone wondering why we bothered to prove this again: this guarantee
is 100%, and the new part is &quot;no matter what a Man-in-the-Middle attac=
ker
did in the process&quot;.</font><font size=3D3 face=3D"Calibri"> </font><fo=
nt size=3D3 face=3D"Arial"><br>
So I would be careful about naming a specific amount, because flight times
do depend on the specific client's connection - but 50ms seems like a good
rule of thumb, and I overall agree with your assertion.</font><font size=3D=
3 face=3D"Calibri">
</font><font size=3D3 face=3D"Arial"><br>
<br>
2.-3. <br>
If we're operating und the assumptions that <br>
a) you can only use one time sync mechanism at a time and keep track of
one clock disciplined via data from that mechansim, and</font><font size=3D=
3 face=3D"Calibri">
</font><font size=3D3 face=3D"Arial"><br>
b) end users always have exactly one requirement level for each of security
and precision/accuracy and need to use the least-effort path to achieve
them</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 face=3D"A=
rial"><br>
.... then I agree with your assertions whole-heartedly.</font><font size=3D=
3 face=3D"Calibri">
</font><font size=3D3 face=3D"Arial"><br>
<br>
But I really think both assumptions deserve their own hard looks and consid=
erations.</font><font size=3D3 face=3D"Calibri">
</font><font size=3D3 face=3D"Arial"><br>
For example, it might be reasonable for someone, specifically a financial
institute, to run NTP with NTS in their local network to obtain a 100%
security guarantee for a 100us level (demanded by MiFID II for example)
and also still use PTP / White Rabbit (unsecured for the time being) to
have the precision/accuracy levels they actually want - with no strong
guarantee, but still valid in the (most likely) case that their infrastruct=
ures
are not currently under attack.</font><font size=3D3 face=3D"Calibri"> </fo=
nt><font size=3D3 face=3D"Arial"><br>
<br>
4.</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 face=3D"Ari=
al"><br>
Again, I agree with the assertion for the most part and in the given status
quo.</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 face=3D"A=
rial"><br>
But the underlying assumption that every relevant adversarial 2-way network
also suffers from long, unpredictable and asymmetric travel times is mostly
valid because the only candidate for such a network is the internet.</font>=
<font size=3D3 face=3D"Calibri">
</font><font size=3D3 face=3D"Arial"><br>
If someone built, say, a GNSS network where two-way communication (with
satellites or between two ground stations) was readily available to everyon=
e,
the whole situation would be different:</font><font size=3D3 face=3D"Calibr=
i">
</font><font size=3D3 face=3D"Arial"><br>
That would still potentially qualify as an adversarial network, but with
the proper crypto, your 100% security guarantees could be extended to much
better precision/accuracy levels.</font><font size=3D3 face=3D"Calibri"> </=
font><font size=3D3 face=3D"Arial"><br>
The same thing could be true for long-distance tree-topology fibre-based
networks exclusively for time synchronization - which are kind of in the
process of being built all over Europe.</font><font size=3D3 face=3D"Calibr=
i">
<br>
</font><font size=3D3 face=3D"Arial"><br>
<br>
Lengthy comments and caveats notwithstanding, I agree with and would endorse
your 1.-4. decision making sheet as an excellent starting point.</font><fon=
t size=3D3 face=3D"Calibri">
<br>
</font><font size=3D3 face=3D"Arial"><br>
<br>
Best regards,</font><font size=3D3 face=3D"Calibri"> </font><font size=3D3 =
face=3D"Arial"><br>
Kristof</font><font size=3D3 face=3D"Calibri"> <br>
</font><font size=3D3 face=3D"Courier New"><br>
<br>
&quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt; schrieb am 23.07.2019 18:19:33=
:<br>
<br>
&gt; Von: &quot;Daniel Franke&quot; &lt;dfoxfranke@gmail.com&gt;</font><fon=
t size=3D3 face=3D"Calibri">
</font><font size=3D3 face=3D"Courier New"><br>
&gt; An: &quot;NTP WG&quot; &lt;ntp@ietf.org&gt;</font><font size=3D3 face=
=3D"Calibri">
</font><font size=3D3 face=3D"Courier New"><br>
&gt; Datum: 23.07.2019 18:20</font><font size=3D3 face=3D"Calibri"> </font>=
<font size=3D3 face=3D"Courier New"><br>
&gt; Betreff: [Ntp] Follow-up to yesterday's mic comment about PTP security=
</font><font size=3D3 face=3D"Calibri">
</font><font size=3D3 face=3D"Courier New"><br>
&gt; Gesendet von: &quot;ntp&quot; &lt;ntp-bounces@ietf.org&gt;</font><font=
 size=3D3 face=3D"Calibri">
</font><font size=3D3 face=3D"Courier New"><br>
&gt; <br>
&gt; My comments yesterday about PTP security shifted context a few times<b=
r>
&gt; so it may have been hard to follow what I was claiming. My assertions<=
br>
&gt; were:<br>
&gt; <br>
&gt; 1. If you need 50ms precision, pick some good public NTP servers and
use NTS.<br>
&gt; <br>
&gt; 2. If you need 100=B5s precision, colocate a time source in the same<b=
r>
&gt; datacenter as the client systems. Use NTP and NTS; you don't need
PTP<br>
&gt; for this.<br>
&gt; <br>
&gt; 3. If you need 1=B5s precision, use PTP and physically secure the link=
<br>
&gt; between the time source and the clients so that cryptographic<br>
&gt; authentication is unnecessary.<br>
&gt; <br>
&gt; 4. If you need 1=B5s precision over an adversarial network, good luck!=
<br>
&gt; This is simply not achievable and no amount of cryptographic pixie<br>
&gt; dust is ever going to save you.<br>
&gt; <br>
&gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
&gt; ntp mailing list<br>
&gt; ntp@ietf.org<br>
&gt; </font><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp target=3D=
=5Fblank><font size=3D3 color=3Dblue face=3D"Courier New"><u>https://www.ie=
tf.org/mailman/listinfo/ntp</u></font></a><font size=3D3 face=3D"Calibri"><=
br>
<br>
<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F <br>
ntp mailing list <br>
ntp@ietf.org </font><font size=3D3 color=3Dblue face=3D"Calibri"><u><br>
</u></font><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><font size=
=3D3 color=3Dblue face=3D"Calibri"><u>https://www.ietf.org/mailman/listinfo=
/ntp</u></font></a><font size=3D3 face=3D"Calibri">
<br>
<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F ntp mail=
ing list ntp@ietf.org
</font><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><font size=3D3 f=
ace=3D"Calibri">https://www.ietf.org/mailman/listinfo/ntp</font></a><font s=
ize=3D3 face=3D"Calibri">
</font><tt><font size=3D2>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F<br>
ntp mailing list<br>
ntp@ietf.org<br>
</font></tt><a href=3Dhttps://www.ietf.org/mailman/listinfo/ntp><tt><font s=
ize=3D2>https://www.ietf.org/mailman/listinfo/ntp</font></tt></a><tt><font =
size=3D2><br>
</font></tt>
<br>
<br>
--=_alternative 002DE4DFC1258442_=--


From nobody Thu Jul 25 02:46:00 2019
Return-Path: <mc@hack.org>
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 42ACD1205B4 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 02:45:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 6YNPaYFGkfZ4 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 02:45:57 -0700 (PDT)
Received: from mail.hack.org (mail.hack.org [IPv6:2a03:1b20:1:f203::2:3]) (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 F40A21203DD for <ntp@ietf.org>; Thu, 25 Jul 2019 02:45:56 -0700 (PDT)
Received: from [194.218.17.20] (helo=tp1.hack.org) by mail.hack.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1hqaJu-000DZ7-Bu for ntp@ietf.org; Thu, 25 Jul 2019 09:45:54 +0000
From: Michael Cardell Widerkrantz <mc@hack.org>
To: ntp@ietf.org
Date: Thu, 25 Jul 2019 11:45:52 +0200
Message-ID: <877e86qwfj.fsf@tp1.hack.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/tXL1qJ-EsKSxC-SbF5eiyor11nY>
Subject: [Ntp] NTS in Go
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: Thu, 25 Jul 2019 09:45:59 -0000

Martin Samuelsson, Daniel Lublin and I participated remotely during the
recent IETF hackathon. Our friend omni participated for a while as well.
Some results:

- A friendly fork of beevik/ntp with NTS support:

  https://github.com/mchackorg/ntp

  Use it like this:

    options := ntp.QueryOptions{ NTS: true, C2s: c2sKey, S2c: s2cKey }
    resp, err := ntp.QueryWithOptions(server, opt)

  Authenticated time now available in resp.Time.
  
- An NTS-KE library:

  https://gitlab.com/hacklunch/ntske

- A small NTS client using the above libraries:

  https://gitlab.com/hacklunch/ntsclient/

This is still a work in progress but seems to work fine against for
example time.cloudflare.com:1234 and zoo.weinigel.se:4446.

The remote hackathon was sponsored by Netnod and held in its Malmö
office but most of the participants have no current relation to Netnod
and none of us work on this full time. Thanks to Netnod for sponsoring
our mini hackathon!

-- 
MC, https://hack.org/mc/
XMPP OTR: f4c09b50 e6d7b04f 7afd37c1 bd3a077e 5ea94a64


From nobody Thu Jul 25 04:48:40 2019
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 A30B1120020 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 04:48:37 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 nt6PxbmBmhT1 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 04:48:36 -0700 (PDT)
Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (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 12D12120019 for <ntp@ietf.org>; Thu, 25 Jul 2019 04:48:36 -0700 (PDT)
Received: by mail-io1-xd44.google.com with SMTP id s7so96441000iob.11 for <ntp@ietf.org>; Thu, 25 Jul 2019 04:48:36 -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=2Vb6YOCsSvzWkmXn1uSv2SPFxCvI8uL1HCD9E8Mb63A=; b=c3vPyI2biU21hDZxWf4xOt8fWQnkuqf5Ijl39zahgOHEr5ARX1z+dDaxENKhEB02g3 F2ofB3AwjHNZBZ19Yq57TyCe+zr/uLOvwv3mfX5w5jXnfDXhGFvZqgASCTtELlhvsFtM aKT+1jcRHGjQAwpvDPrvc2ZBj/bB5hd6vVACb2mFyxErMjVuB7KTc5MvA739SoDp7bNc dYkiFxzEyXxlsvGqCAc2wjZEnpvtZnD04wA7Bx5Hf7nZg1qnxg+8SZvi7Bw4S/j/sjYd puJdHXHUH6RBPQPCaZ6n5UIHo6qC5jvQH6Dn7sjSn1bldkn/KD791XaHnj3DaySGMUt4 pKeg==
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=2Vb6YOCsSvzWkmXn1uSv2SPFxCvI8uL1HCD9E8Mb63A=; b=IpcSpWJ8uKnv1fg0P8MEFXaDF7sM/Rbd2eY9DkICMRU6jIBC/2Jj5zTtoAfYLVS04g F1Gy6uJ8hUHDryLoTWBJNMk1uPzTRMLGtO+FHsaEW6hcBpkvLHlIhUb6PzU8hr5l5Lj3 vvSuz1oyDmIKpyc9sOfJzWz/dPekKS8zKcDcYek98g1E28HHeLeSKicnvNoHQTPxya1R 3iGBJB5697NAszJ2FW5gLgZgwiz7ynlJYGI/u8XcOpY2dKJN/SKM9aqkNs0vJrrV1JxF qy2remnyl7P3q8lZpUBmrniEDDgLrgMrCH3LemLP+jq6KAbBZlbD24oXS3P1/pIJOCAY +NXg==
X-Gm-Message-State: APjAAAXTaRXpiCRbVQjgWIbKGpuG1sD09uZqBkDyPxcDjtm8RmIuPvnQ yI3uQwzWrHxoYe+7Bb90HdVgedwQBsSOF7F2R0o=
X-Google-Smtp-Source: APXvYqyszxhc2rIkwroH/QsXV/+kCHDkK8mlShsvRqYnCj36xeEqyumrGMlni2O8F17c26WOMiRo0Qx1WQbCtWQbXlo=
X-Received: by 2002:a5e:c30f:: with SMTP id a15mr38798639iok.246.1564055315352;  Thu, 25 Jul 2019 04:48:35 -0700 (PDT)
MIME-Version: 1.0
References: <CAJm83bD89oPE+WouWUD=qVqFzZ5-vw6E3RVsdVRteH0cEXyYjg@mail.gmail.com> <OFBC3F40BE.7ED6BF0D-ONC1258441.0023FF5E-C1258441.002675FE@ptb.de> <CAJm83bA74UiYbVbfYOHk4Vsw=go0d5P70uwbJ7CDvFrkdtcbfw@mail.gmail.com> <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de>
In-Reply-To: <5D3941DA020000A100032624@gwsmtp.uni-regensburg.de>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Thu, 25 Jul 2019 07:48:23 -0400
Message-ID: <CAJm83bBYMOEagHTzHqU=1oZshe8XwUjPMULNjRh+rqtQ=GmM4w@mail.gmail.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: kristof.teichel@ptb.de, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/VvG1eVPAODLHJswFpo0RzIRbIyE>
Subject: Re: [Ntp] Follow-up to yesterday's mic comment about PTP security
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: Thu, 25 Jul 2019 11:48:38 -0000

> The probem is the "distance" here, as it definitely refers to "cable length",
> or more specifically "route length". Back in the time when the WWW started,
> connections inside Germany were routed via USA sometimes (that was the time
> whan a "good" transferrate was near 5kB/s). To make matters worse, you cannot
> safely assume that the route (length) from A to B will be the same as from B to
> A.

For the purposes of determining an error bound using the formula I
gave, assuming a distance that is too short will give you a more
conservative bound. So the safest assumption is that you are
communicating in a straight line in both directions, through a vacuum
medium. Making more "realistic" assumptions will give you a tighter
bound, but then an adversary who can violate those assumptions can
violate your error bound.


From nobody Thu Jul 25 13:09:40 2019
Return-Path: <dsibold.ietf@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 75C641201F8 for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 13:09:38 -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 EJG1kmhP9xVM for <ntp@ietfa.amsl.com>; Thu, 25 Jul 2019 13:09:35 -0700 (PDT)
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 6C028120280 for <ntp@ietf.org>; Thu, 25 Jul 2019 13:09:35 -0700 (PDT)
Received: by mail-wr1-x433.google.com with SMTP id 31so52092790wrm.1 for <ntp@ietf.org>; Thu, 25 Jul 2019 13:09:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:thread-topic:thread-index:date:message-id :accept-language:content-language:content-transfer-encoding :mime-version; bh=rpp3JlBLcgBAaScMI/Ngf5BZWPf6TFTu/bulKO2Vkvo=; b=fhdoEG8gotkYnGlJxk0SmTJ3q35vX/viIyQ3MoxQ64eVwCUOfxKT5BaXfCwHs+/EKf yIiYDzBp7MlFkAPU6fFfgfVEyKsSr4I867MDOssKZviino6ovIO+OUQQD40/OZDkofwb u2b0hAXUS7XE4qvWx7beTwImRaZjve4VACOIWfzMx5PBOkHlU75yuCHSMXlfTVISquPS +yNgMWhoWTZcux3p5RSdNUFM1jqaLtO+wcZ2RyW4GXSMcur1fRnYNZwK+yCuT+zne7bk 58SYA7uuDMirpgPtZDPImeoGJff1ARR9V/IQDxB0YuQjOl19Tyde9EgTo3K2LsD9FfIW ljJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:thread-topic:thread-index:date :message-id:accept-language:content-language :content-transfer-encoding:mime-version; bh=rpp3JlBLcgBAaScMI/Ngf5BZWPf6TFTu/bulKO2Vkvo=; b=GmrBYtIQDoHHk9ekOjbUp5oG5lvApNc/gGtOy7+4cKxX+A+ah2L/1C1QbRwuvd3lU6 LRswdGTLWJwyUOiT52uOOXyxkJONJLM6GeiLhlbX9vIaqdXaNr2A784/A9SWIhzXUO8A Ii+fZFIK0MPQn5NKOFHve6EcelKAtGYEfKrCNoRh2CuyFBT19NpeKjJfrJNcsFGOwZxP Un/6IAKu1IieFmrQHJh8k+hvmRKE4vQz/TmcEfX5fu64mu3jxBp2qY4IQWHAqgNiLy6V +8lYlSYkCRrMVC55pswFtrrJ2/EGMhFkAL8TSfZx/bb6L21CN41sz7VYDobGGlPhF3uE oZjg==
X-Gm-Message-State: APjAAAWwLaMG1xtbxLOCUic6PD8SM+9E/YOgzGjSt+DwXfTZobvg8+gw XZ9UEh5VFbITHNPOMEP0BioA8qh9Wt4=
X-Google-Smtp-Source: APXvYqxWtp/xtotB7KPMm/j/KvWRvOEWOaqwAMPqFsVq02cY/8YvLy28lm1V+iJHsfXpSR6IPU7JSw==
X-Received: by 2002:a5d:54c7:: with SMTP id x7mr67122061wrv.39.1564085373431;  Thu, 25 Jul 2019 13:09:33 -0700 (PDT)
Received: from AM0PR08MB4546.eurprd08.prod.outlook.com ([2603:1026:207:143::5]) by smtp.gmail.com with ESMTPSA id w14sm40009019wrk.44.2019.07.25.13.09.32 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2019 13:09:33 -0700 (PDT)
From: Dieter Sibold <dsibold.ietf@gmail.com>
To: NTP WG <ntp@ietf.org>
Thread-Topic: [IETF 105] Minutes from the NTP/TICTOC session
Thread-Index: AQHVQyTf3ZYQ8QXsEEmDdo8xxAnQaQ==
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Thu, 25 Jul 2019 20:09:31 +0000
Message-ID: <AM0PR08MB4546FD35ACDF4A04031C48EFF8C10@AM0PR08MB4546.eurprd08.prod.outlook.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: 
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/GP7oNn5BZrXL1K9UFsKGIurrAP0>
Subject: [Ntp] [IETF 105] Minutes from the NTP/TICTOC session
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: Thu, 25 Jul 2019 20:09:39 -0000

Dear all,
below, please find the minutes from the last NTP/TICTOC session. You also w=
ill them find on the datatracker:
https://datatracker.ietf.org/doc/minutes-105-ntp/

Many thanks to Tal for taking the minutes.

Dieter


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
NTP Session
IETF 105 - Montreal
Monday, July 22, 2019
15:50-17:50 (UTC-04:00)
Meeting Minutes
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

WG chairs: Karen O'Donoghue, Dieter Sibold
Meeting minutes: Tal Mizrahi
Jabber: Rich Salz


Chair Slides
------------
Presenter: Karen O'Donoghue
Slides:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-ntp-wg-ch=
air-slides-00

Summary:
- Note well was presented.
- The agenda for the current session was presented.
- Agenda bashing: nothing proposed.
- We will start with TICTOC related issues.
- After that we will go to the NTP session.
- NTP status:
  - The NTP BCP was finally published ! Thanks to Denis, Dieter and Harlan.
  - Three documents that are ready to proceed to the IESG: NTS, Guidlines f=
or defining
    packet timestamps, and Interleaved Mode. These documents will be submit=
ted to the IESG
    for publication in the next few days.
- There was a virtual hackathon this weekend. Further details to follow.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
TICTOC Session
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Summary:
- The IEEE 1588 Enterprise profile draft is ready to go the IESG.
- Working group will conclude soon.
- The following presentation is related to TICTOC.


Secure Enterprise Data Center Profile for IEEE 1588 Precision Time Protocol=
 (PTP)
---------------------------------------------------------------------------=
------
Presenter: Doug Arnold

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-secure-en=
terprise-data-center-profile-for-ieee-1588-precision-time-protocol-ptp-00

Draft: no draft

Summary:
- A short update about the IEEE 1588 standard revision, which is near publi=
cation.
- A secure profile of IEEE 1588 for enterprise and data center networks.
- Mainly for the financial industry.
- Synchronization requirements are not very stringent.
- One of the goals is to reuse key exchange mechanisms that are already dep=
loyed in data
  centers.

Discussion:
- Tal Mizrahi: interesting work, relevant to this working group. Have you c=
onsidered other
  applications than financial, and other accuracy requirements?
- Doug: not at this point. The main target customer we have been hearing fr=
om is the
  financial industry.
- Stu Card: anything related to White Rabbit?
- Doug: White Rabbit is very interesting to high frequency trading. In this=
 context we are
  talking about the regulatory compliance in financial networks, which is o=
n the order of
  100 microseconds, and white rabbit is less interesting.
- Watson Ladd: you mentioned key exchange. Have you considered the NTS key =
exchange?
- Doug: we have not got to the point of choosing a specific key exchange. T=
hese networks
  will also run NTP, so a common key exchange may be useful.
- Stu Card: anything related to PTP over unstable links, such as wireless?
- Doug: not in this context. There is some work in 802.1 to support WiFi, b=
ut not relevant
  to this work.
- Daniel Franke: an accuracy of 100 microseconds can be achieved in NTP in =
a LAN. Why not
  use NTP?
- Doug: right, you can get this accuracy with NTP. Customer are asking for =
PTP because
  they are anticipating the future, expecting these requirements to become =
more strict.
- Daniel: you need a trusted path between the source and client. That is th=
e main issue.
- Doug: hardware timestamping in NTP can get a very accurate time transfer.=
 On the other
  hand customers are expecting secure PTP.
- Daniel: if it does not solve a technical problem then it may not be inter=
esting to solve
  in the IETF.
- Doug: PTP is popular in a lot of industries because transparent clocks an=
d boundary
  clocks are more available than edges with hardware timestamping.
- Karen: I am not sure we will resolve this.
- Kristof Teichel: I agree with Daniel that one way communication will alwa=
ys be subject
  to delay attacks regardless of cryptography. We are working on combining =
one-way and
  two-way approaches. Using a two-way approach in PTP will be useful.
- Doug: PTP usually uses a two-way approach. You have a point that the refe=
rence delay may
  be calibrated for a link, and then this information can be used as a refe=
rence for
  detecting attacks.
- Karen: the revision of IEEE 1588 called version 2.1 that will be publishe=
d soon will
  include a security TLV, but this is just the beginning of the work on sec=
urity. The more
  we work together on this the better.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
NTP Session
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


NTP Hackathon Summary
---------------------
- There was a remote hackathon on the weekend on NTS.
- The relevant people are not available to give an update.
- A summary of the test results will be available on the meeting materials =
page:
  https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-hackath=
on-results-01
- We will set up a separate mailing list for implementation aspects, and an=
nounce it on
  the NTP mailing list.


A YANG Data Model for NTP
-------------------------
Presenter: Dhruv Dhody

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-a-yang-da=
ta-model-for-ntp-00

Summary:
- The draft was updated based on comments.
- More comments will be addressed soon.
- NTS is currently not part of the YANG model. The authors suggest to conti=
nue this in a
  future document.

Discussion:
- Suresh Krishnan: I believe the NTS should be in the current YANG model. T=
he YANG model
  does not have to wait for NTS to be published.
- Dhruv: this may hold back the document. But we need to do the right thing=
.
- Karen: we may want to separate the NTP server from the NTS implementation=
. Logically
  these are different modules.
- Suresh: but there is some commonality. We need to do the right thing.
- Dhruv: I want to know how the working group feels.
- Harlan: is there a reference implementation of the YANG model? Is it poss=
ible to use any
  of the existing authentication methods with this YANG model?
- Dhruv: reference impelmentation: we have something very basic, but not pr=
oduction
  quality. Regarding the authentication - the private key part is there. Au=
tokey - does
  not exist. NTS - does not exist.
- Suresh: it is possible to send the draft out like this, but make sure we =
do not have to
  do a bis version of this work.
- Dhruv: it will definitely not need a bis version. It is always possible t=
o add more
  content by augmentation.


Port Randomization in the Network Time Protocol Version 4
---------------------------------------------------------
Presenter: Fernando Gont (remote)

Draft:
https://www.ietf.org/archive/id/draft-gont-ntp-port-randomization-03.txt

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-port-rand=
omization-in-
the-network-time-protocol-version-4-00

Summary:
- We want to ask whether there is interest to adopt this draft in the WG.

Discussion:
- Karen: can you summarize the traffic on the mailing list?
- Fernando: regarding port randomization on a per-transaction basis - packe=
ts may go
  through different paths, and affect synchronization. Therefore the docume=
nt chose to
  randomize on a per association basis. Another comment from Danny is that =
this does not
  address blind attacks. We argue that it addresses blind attacks in the tr=
ansport layer,
  but it is independent of other layers, where blind attacks may be perform=
ed.
- Karen: any further comments about adoption?
- No answers.
- Karen: does anyone oppose?
- No answers.
- Watson: I would be willing to read it and send comments.
- Harlan: willing to review.


On Implementing Time
--------------------
Presenter: Aanchal Malhotra

Summary:
- No major changes.
- One editorial change.
- Karen: Any comments about adopting the document?
- No comments.
- Karen: we will look at adopting it.


Roughtime
---------
Presenter: Aanchal Malhotra

Summary:
- Two major changes: 1. Timestamp section: we have updated to the Julian da=
te format, and
  2. how Roughtime addresses delay attacks (thanks Tal).
- Some clarifications from Marcus related to implementation.
- Karen: any questions or comments?
- No comments.
- Watson: I am a co-author. We are working on adjusting the PLL based on ti=
me estimates.
  Please let me know if people think this is necessary.
- Karen: we will consider adoption.


A Secure Selection and Filtering Mechanism for NTP
--------------------------------------------------
Presenter: Neta Schiff

Draft:
https://datatracker.ietf.org/doc/draft-schiff-ntp-chronos

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-a-secure-=
selection-and-
filtering-mechanism-for-the-network-time-protocol-version-4-00

Summary:
- A short reminder about Chronos.
- A summary of the comments received, and how they were addressed.

Discussion:
- Harlan: is this appropriate for authenticated, or for un-authenticated ti=
me?
- Neta: we believe both.
- Harlan: how does this work with un-authenticated time?
- Neta: we assume an attacker that has powerful access to servers or to pat=
hs.
- Harlan: that is a stringent assumption.
- Neta: right, also delay attacks are in scope.
- Harlan: it is a pretty big assumption over a large number of servers.
- Neta: right, we are considering stringent assumption.
- Suresh: one thing I like is that the threat model is such that we usually=
 assume that
  endpoints are not compromised, but this draft does not assume that. I lik=
e this draft.
- Danny: might be useful if tied together with an NTP server.
- Neta: Chronos is intended for the client side, allowing easier deployment=
 without
  affecting existing servers. How servers can be improved is for further re=
search.
- Karen: any other questions?
- Karen: Neta will be presenting this work tomorrow in IRTF open, as she is=
 the winner of
  the ANRP prize this IETF meeting.

AOB
---
- We have some pending call-for-adoptions.
- The ref ID document may be ready for working group last call.
- Harlan: should be ready to go.
- Extension field drafts will also be ready for working group adoption soon=
.
- Aanchal: what about the data minimization draft?
- Karen: it went through WG last call. Waiting for some comments. We need t=
o check again,
  and  but I believe it will be ready to be sent to the IESG.
- Harlan: I did not receive any responses to the comments for the data mini=
mization.
- Karen: we need to review the mailing list. I thought we were waiting for =
information
  from Harlan.
- Harlan: did not know any information is missing.
- Karen: we will hold virtual interims. We may hold virtual hackathons for =
NTS.
- Karen: adjourned early. See you next IETF meeting.


Adjourned at 16:58.


From nobody Fri Jul 26 15:04:37 2019
Return-Path: <dsibold.ietf@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 E33F7120173 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 15:04:34 -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 x7IxMOLxfSBq for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 15:04:31 -0700 (PDT)
Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 90035120181 for <ntp@ietf.org>; Fri, 26 Jul 2019 15:04:31 -0700 (PDT)
Received: by mail-qk1-x72a.google.com with SMTP id v22so40185277qkj.8 for <ntp@ietf.org>; Fri, 26 Jul 2019 15:04:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=qOMkNdRnRr1z/wUhV5tTLVwzMutIK3UVI+aNZG6OOVs=; b=JI0L1+Ixjym7lJMAmm6jv05iYG5rwS9fBYfQ3b78oQeT9afovPMsDvkshDa8NhcB7e MxlvSc51KBSDrnUdn9lg5J+TtpDwLtk+3RI6lsaDixDmrguAD7WhdARIqExs5/PRYcIJ HNFOFTsTfLOS91PQohjQ/8RFXpOhyHmFHBYOopTFYUz0DlCL14hdIdkt+zRZhGFA14Bv I6g2vLmuSS2NFTglw7WxrqExw4lqSi3c/kEuvL/xPbs6e1zD4e2sr9zWL/nv0jp2ICn3 wAkQz0+r1XjYQGmpw6eRYMBt0iB5ieDZ6yOEri38UKsQnnsSef9xcH1NYhIlzoQG8VE3 6VHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=qOMkNdRnRr1z/wUhV5tTLVwzMutIK3UVI+aNZG6OOVs=; b=hoy3jENCZSiimr/TTwQ62t6hBlEew9wGWzPVEe4LuUtnmZYIpk6OnzLUPZMWTvmZpp WOpW7q8ofyr1tsDV0bX2u8mBo83skQX3np7SiqMOXHfs2n37LVQl/DynyhENsU7ppPYK L9qoFWj+uiHIT2lx8mtsB6WvTJ0kwmZl0SfMS7E09RrocSWtuj49ge9PKtc3EYeHRr50 cGloB6i6RWfoowJifNz1402mt1pL9/f1b581VroF9fHIWhtZ/CkK5e1mjOR35P1vB7oz 8EeybVI51XFQmSyLF9Uo9ZcaEkX665i5bU+QKhREWFw/c8oi2mnyp+zt3eHTU/isLTMN Z4+Q==
X-Gm-Message-State: APjAAAW5DBCFxpsZKfHYkKrkDixYsY9/ZmgGGAC7N3oexCzJJ3wCOEUa 9whuUl38MQh7rNq+w096SdpVzGH5p4g=
X-Google-Smtp-Source: APXvYqw9IPlu4nIJBLBrzpiD502UigV1ZQFul8ga7h8kS4+hOPUcY+mOC7J6w/m9JQUl5MIrdYeDRA==
X-Received: by 2002:a05:620a:166a:: with SMTP id d10mr61236871qko.195.1564178670247;  Fri, 26 Jul 2019 15:04:30 -0700 (PDT)
Received: from [192.168.75.97] ([207.164.201.138]) by smtp.gmail.com with ESMTPSA id t67sm23651428qkf.34.2019.07.26.15.04.27 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 15:04:29 -0700 (PDT)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: "NTP WG" <ntp@ietf.org>
Date: Fri, 26 Jul 2019 18:04:24 -0400
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <FA6F8EFE-D6AF-4EE5-A7B5-5F26E112BB7B@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IM_-9DjtimFTy2gVnll1XLaXsdA>
Subject: [Ntp] Minutes from the NTP/TICTOC session at IETF 105
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: Fri, 26 Jul 2019 22:04:35 -0000

Dear all,
below, please find the minutes from the last NTP/TICTOC session. They =

are also on the datatracker:
https://datatracker.ietf.org/doc/minutes-105-ntp/

Many thanks to Tal for taking the minutes.

Dieter


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
NTP Session
IETF 105 - Montreal
Monday, July 22, 2019
15:50-17:50 (UTC-04:00)
Meeting Minutes
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

WG chairs: Karen O'Donoghue, Dieter Sibold
Meeting minutes: Tal Mizrahi
Jabber: Rich Salz


Chair Slides
------------
Presenter: Karen O'Donoghue
Slides:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-ntp-wg-=
chair-slides-00

Summary:
- Note well was presented.
- The agenda for the current session was presented.
- Agenda bashing: nothing proposed.
- We will start with TICTOC related issues.
- After that we will go to the NTP session.
- NTP status:
   - The NTP BCP was finally published ! Thanks to Denis, Dieter and =

Harlan.
   - Three documents that are ready to proceed to the IESG: NTS, =

Guidlines for defining
     packet timestamps, and Interleaved Mode. These documents will be =

submitted to the IESG
     for publication in the next few days.
- There was a virtual hackathon this weekend. Further details to follow.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
TICTOC Session
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Summary:
- The IEEE 1588 Enterprise profile draft is ready to go the IESG.
- Working group will conclude soon.
- The following presentation is related to TICTOC.


Secure Enterprise Data Center Profile for IEEE 1588 Precision Time =

Protocol (PTP)
-------------------------------------------------------------------------=
--------
Presenter: Doug Arnold

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-secure-=
enterprise-data-center-profile-for-ieee-1588-precision-time-protocol-ptp-=
00

Draft: no draft

Summary:
- A short update about the IEEE 1588 standard revision, which is near =

publication.
- A secure profile of IEEE 1588 for enterprise and data center networks.
- Mainly for the financial industry.
- Synchronization requirements are not very stringent.
- One of the goals is to reuse key exchange mechanisms that are already =

deployed in data
   centers.

Discussion:
- Tal Mizrahi: interesting work, relevant to this working group. Have =

you considered other
   applications than financial, and other accuracy requirements?
- Doug: not at this point. The main target customer we have been hearing =

from is the
   financial industry.
- Stu Card: anything related to White Rabbit?
- Doug: White Rabbit is very interesting to high frequency trading. In =

this context we are
   talking about the regulatory compliance in financial networks, which =

is on the order of
   100 microseconds, and white rabbit is less interesting.
- Watson Ladd: you mentioned key exchange. Have you considered the NTS =

key exchange?
- Doug: we have not got to the point of choosing a specific key =

exchange. These networks
   will also run NTP, so a common key exchange may be useful.
- Stu Card: anything related to PTP over unstable links, such as =

wireless?
- Doug: not in this context. There is some work in 802.1 to support =

WiFi, but not relevant
   to this work.
- Daniel Franke: an accuracy of 100 microseconds can be achieved in NTP =

in a LAN. Why not
   use NTP?
- Doug: right, you can get this accuracy with NTP. Customer are asking =

for PTP because
   they are anticipating the future, expecting these requirements to =

become more strict.
- Daniel: you need a trusted path between the source and client. That is =

the main issue.
- Doug: hardware timestamping in NTP can get a very accurate time =

transfer. On the other
   hand customers are expecting secure PTP.
- Daniel: if it does not solve a technical problem then it may not be =

interesting to solve
   in the IETF.
- Doug: PTP is popular in a lot of industries because transparent clocks =

and boundary
   clocks are more available than edges with hardware timestamping.
- Karen: I am not sure we will resolve this.
- Kristof Teichel: I agree with Daniel that one way communication will =

always be subject
   to delay attacks regardless of cryptography. We are working on =

combining one-way and
   two-way approaches. Using a two-way approach in PTP will be useful.
- Doug: PTP usually uses a two-way approach. You have a point that the =

reference delay may
   be calibrated for a link, and then this information can be used as a =

reference for
   detecting attacks.
- Karen: the revision of IEEE 1588 called version 2.1 that will be =

published soon will
   include a security TLV, but this is just the beginning of the work on =

security. The more
   we work together on this the better.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
NTP Session
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


NTP Hackathon Summary
---------------------
- There was a remote hackathon on the weekend on NTS.
- The relevant people are not available to give an update.
- A summary of the test results will be available on the meeting =

materials page:
   https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-hack=
athon-results-01
- We will set up a separate mailing list for implementation aspects, and =

announce it on
   the NTP mailing list.


A YANG Data Model for NTP
-------------------------
Presenter: Dhruv Dhody

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-a-yang-=
data-model-for-ntp-00

Summary:
- The draft was updated based on comments.
- More comments will be addressed soon.
- NTS is currently not part of the YANG model. The authors suggest to =

continue this in a
   future document.

Discussion:
- Suresh Krishnan: I believe the NTS should be in the current YANG =

model. The YANG model
   does not have to wait for NTS to be published.
- Dhruv: this may hold back the document. But we need to do the right =

thing.
- Karen: we may want to separate the NTP server from the NTS =

implementation. Logically
   these are different modules.
- Suresh: but there is some commonality. We need to do the right thing.
- Dhruv: I want to know how the working group feels.
- Harlan: is there a reference implementation of the YANG model? Is it =

possible to use any
   of the existing authentication methods with this YANG model?
- Dhruv: reference impelmentation: we have something very basic, but not =

production
   quality. Regarding the authentication - the private key part is =

there. Autokey - does
   not exist. NTS - does not exist.
- Suresh: it is possible to send the draft out like this, but make sure =

we do not have to
   do a bis version of this work.
- Dhruv: it will definitely not need a bis version. It is always =

possible to add more
   content by augmentation.


Port Randomization in the Network Time Protocol Version 4
---------------------------------------------------------
Presenter: Fernando Gont (remote)

Draft:
https://www.ietf.org/archive/id/draft-gont-ntp-port-randomization-03.txt

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-port-ra=
ndomization-in-
the-network-time-protocol-version-4-00

Summary:
- We want to ask whether there is interest to adopt this draft in the =

WG.

Discussion:
- Karen: can you summarize the traffic on the mailing list?
- Fernando: regarding port randomization on a per-transaction basis - =

packets may go
   through different paths, and affect synchronization. Therefore the =

document chose to
   randomize on a per association basis. Another comment from Danny is =

that this does not
   address blind attacks. We argue that it addresses blind attacks in =

the transport layer,
   but it is independent of other layers, where blind attacks may be =

performed.
- Karen: any further comments about adoption?
- No answers.
- Karen: does anyone oppose?
- No answers.
- Watson: I would be willing to read it and send comments.
- Harlan: willing to review.


On Implementing Time
--------------------
Presenter: Aanchal Malhotra

Summary:
- No major changes.
- One editorial change.
- Karen: Any comments about adopting the document?
- No comments.
- Karen: we will look at adopting it.


Roughtime
---------
Presenter: Aanchal Malhotra

Summary:
- Two major changes: 1. Timestamp section: we have updated to the Julian =

date format, and
   2. how Roughtime addresses delay attacks (thanks Tal).
- Some clarifications from Marcus related to implementation.
- Karen: any questions or comments?
- No comments.
- Watson: I am a co-author. We are working on adjusting the PLL based on =

time estimates.
   Please let me know if people think this is necessary.
- Karen: we will consider adoption.


A Secure Selection and Filtering Mechanism for NTP
--------------------------------------------------
Presenter: Neta Schiff

Draft:
https://datatracker.ietf.org/doc/draft-schiff-ntp-chronos

Presentation:
https://datatracker.ietf.org/meeting/105/materials/slides-105-ntp-a-secur=
e-selection-and-
filtering-mechanism-for-the-network-time-protocol-version-4-00

Summary:
- A short reminder about Chronos.
- A summary of the comments received, and how they were addressed.

Discussion:
- Harlan: is this appropriate for authenticated, or for un-authenticated =

time?
- Neta: we believe both.
- Harlan: how does this work with un-authenticated time?
- Neta: we assume an attacker that has powerful access to servers or to =

paths.
- Harlan: that is a stringent assumption.
- Neta: right, also delay attacks are in scope.
- Harlan: it is a pretty big assumption over a large number of servers.
- Neta: right, we are considering stringent assumption.
- Suresh: one thing I like is that the threat model is such that we =

usually assume that
   endpoints are not compromised, but this draft does not assume that. I =

like this draft.
- Danny: might be useful if tied together with an NTP server.
- Neta: Chronos is intended for the client side, allowing easier =

deployment without
   affecting existing servers. How servers can be improved is for =

further research.
- Karen: any other questions?
- Karen: Neta will be presenting this work tomorrow in IRTF open, as she =

is the winner of
   the ANRP prize this IETF meeting.

AOB
---
- We have some pending call-for-adoptions.
- The ref ID document may be ready for working group last call.
- Harlan: should be ready to go.
- Extension field drafts will also be ready for working group adoption =

soon.
- Aanchal: what about the data minimization draft?
- Karen: it went through WG last call. Waiting for some comments. We =

need to check again,
   and  but I believe it will be ready to be sent to the IESG.
- Harlan: I did not receive any responses to the comments for the data =

minimization.
- Karen: we need to review the mailing list. I thought we were waiting =

for information
   from Harlan.
- Harlan: did not know any information is missing.
- Karen: we will hold virtual interims. We may hold virtual hackathons =

for NTS.
- Karen: adjourned early. See you next IETF meeting.


Adjourned at 16:58.


From nobody Fri Jul 26 18:04:28 2019
Return-Path: <nosretep.samoht@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 9FC5E1201E8 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 18:04:26 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 OK5WKh3mT2DG for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 18:04:24 -0700 (PDT)
Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 8E5251201E6 for <ntp@ietf.org>; Fri, 26 Jul 2019 18:04:24 -0700 (PDT)
Received: by mail-io1-xd2e.google.com with SMTP id z3so108497277iog.0 for <ntp@ietf.org>; Fri, 26 Jul 2019 18:04:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=oSJPkklN8oiIHiOoIYAGSIj6K02gqXNFfg+uXPNLbLA=; b=cNk6j6JlgnQt2VHdM3PBZr45UmIrnw6Y5gyjJ6BVMkBDNU//cFpOo4jh/Grxsmtavn BrjW8coBLKOBhSfj6n+43wfrQFYvfJcB00fSH/aMdp39XO1mf5AjuF13jdsmUkWzdJT9 LYQWOsw+4HO8S94VXi+X2oxCJDgpQa4X0YrCooj/WKeO3vwEwssNSI3SFLFUwE8eWFux fv6p9f8eJ3xcgQmfsJVb1opwyaLirBXViyzJQcFD94CWTB5QWLIXlvA8bzH3al8ymMuT GhxMW191YwlXcXpbFZ2Y2CvBTRUiXVr9Fn9M6wteeEZ4Eil5/2NZfCHa15QgQXsQ84dr LPRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=oSJPkklN8oiIHiOoIYAGSIj6K02gqXNFfg+uXPNLbLA=; b=uOxlfx0/5uf0l8y1C+NALjMY1I/MhJaKG1dxyLjL/q9bbepw7uwXtD3Lht6M0cezys ITx0X5USBvMd2id5/i9dfb5DrCKDMq2yYgPyRVVjSuhhxthzov9TuuFUsT+lhJ2kvI/8 Id/h/R7wqYRhfOaYa80/4wfluvNdRBV7+rfjszX5crrt1KVFS1g/e6PSOt6XDnIiu91e ATnl7b0Po/ccgK1zQ37EliRnzpB7+q7WL4/MesUSbPruX+X8aRfaPSVjfy2FRCwl1kGp uG3+E0ptTMYmSIRrHfVwQzho6mo6G5RUL1HYLIHw2qTJii//sVxBS5pJYT7q/e0SRL2r Svaw==
X-Gm-Message-State: APjAAAV6Evf62iRv+NQpxwmPSkUyySoiSnqKMt2FLP+1NY73pW1BYlgD QwMOZL6I9mcnEVMqITd9VSjrFeQAdf0=
X-Google-Smtp-Source: APXvYqyt9JvC8Jy7KEKypbG9NNLHXo7oca2uL5f0nrs1AsRjPm1/hZMm5GRB6T1jTx5UHt4FX+w4pg==
X-Received: by 2002:a6b:bf87:: with SMTP id p129mr3791817iof.253.1564189463722;  Fri, 26 Jul 2019 18:04:23 -0700 (PDT)
Received: from ROADKILL.local ([207.164.22.10]) by smtp.gmail.com with ESMTPSA id y20sm44408080ion.77.2019.07.26.18.04.22 for <ntp@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 18:04:23 -0700 (PDT)
To: "ntp@ietf.org" <ntp@ietf.org>
From: Thomas Peterson <nosretep.samoht@gmail.com>
Message-ID: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com>
Date: Sat, 27 Jul 2019 02:04:21 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/kS539CqbcEVgBhshk3OI-ExKIPo>
Subject: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 01:04:27 -0000

In discussions with many folk at IETF 105 (thank you for your time), two 
topics have come up in the design of Roughtime:

1. How does a Roughtime client attest the certificate presented matches 
the host that was contacted?
2. Ed25519 may not be secure forever. How do we ensure more robust 
options are made available?

To answer the first point, one suggestion by Erik Klein[0] is to create 
a new DNS RR type that includes the long term certificate of the 
Roughtime server. Should this mismatch the host that is being contacted 
for Roughtime information, clients should consider tampering. It's not 
clear what clients should do if this record was absent. This is perhaps 
a simpler approach that using existing public CA infrastructure that 
supports TLS and S/MIME, but comes with trade-offs.

Q. Do people have thoughts on creating a new DNS RR Type to support 
this, or given the threat and operation model believe we should take a 
different approach?

On the second point regarding algorithm agility, one possible thought 
would be the creation of an IANA registry for Roughtime supported 
schemes. This would more ideal than attempting to piggy-back other 
existing registries (e.g. TLS, which includes legacy such as RSA).

Q. Does the list have a view on this and it's impact to client and 
server negotiation?

Regards

0: 
https://groups.google.com/a/chromium.org/d/msg/proto-roughtime/RVlx6hGeO1U/Dn3zER5JCQAJ


From nobody Fri Jul 26 18:20:18 2019
Return-Path: <rsalz@akamai.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 676B61201EC for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 18:20:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 tGscoB3NX8IM for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 18:20:14 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 AC1BB1201E8 for <ntp@ietf.org>; Fri, 26 Jul 2019 18:20:14 -0700 (PDT)
Received: from pps.filterd (m0122332.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6R1H9kl001913; Sat, 27 Jul 2019 02:20:14 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=sKy9d2aK0WATrqWc/Ph6hcGlVlUicy3wizqCqtygmRE=; b=NtSyEU4yFhbanppJ0E0d2cM470KnzYoXK/AnH2qzC0AGSRRiNieKXOtFKjzk6bhqxAK/ 2AY9HWHMIYrPnDWMlHFRY8WBfenVJfMgJXWQBKPCFBK8xu4ChNcz/pweyWaKohGDE2XN /EqF1FLhW6thyYDNtQA/wskCegLYVi+61mLwAz74eBGNe3vlPdlsK7MvTLeU1AX/HjVP gtJgI1LMTf0SqKlXVrwEor1K9u3U4YoZNQYqmD4JYR7q4//wTFwkMvjkXk6SiNXWAQPU wK5B6yNojb3wVhWlupohWzRiLXkshXAWlASzmGiVoYtDtC/rktGdyFMxVxs6iyQ84Tyr WQ== 
Received: from prod-mail-ppoint1 (prod-mail-ppoint1.akamai.com [184.51.33.18] (may be forged)) by mx0a-00190b01.pphosted.com with ESMTP id 2tx60s69t4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jul 2019 02:20:13 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x6R1HiV2023702; Fri, 26 Jul 2019 21:20:12 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint1.akamai.com with ESMTP id 2tx62yamm4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 26 Jul 2019 21:20:12 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Jul 2019 21:20:11 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1473.005; Fri, 26 Jul 2019 21:20:11 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Thomas Peterson <nosretep.samoht@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] Of Roughtime's algorithm agility, and host attestation
Thread-Index: AQHVRBdDjur74jY8R0mBRvzPetCr9KbdqrCA
Date: Sat, 27 Jul 2019 01:20:11 +0000
Message-ID: <8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com>
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com>
In-Reply-To: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.1b.0.190715
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.40.101]
Content-Type: text/plain; charset="utf-8"
Content-ID: <301C5B129163F740AA0BD6606ED90317@akamai.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-27_01:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907270015
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-27_01:2019-07-26,2019-07-27 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 clxscore=1011 spamscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1906280000 definitions=main-1907270015
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NJM6BMytRpPziBbbwQJlc8PjMUk>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 01:20:17 -0000

PiAgICBUbyBhbnN3ZXIgdGhlIGZpcnN0IHBvaW50LCBvbmUgc3VnZ2VzdGlvbiBieSBFcmlrIEts
ZWluWzBdIGlzIHRvIGNyZWF0ZSANCiAgICBhIG5ldyBETlMgUlIgdHlwZSB0aGF0IGluY2x1ZGVz
IHRoZSBsb25nIHRlcm0gY2VydGlmaWNhdGUgb2YgdGhlIA0KICAgIFJvdWdodGltZSBzZXJ2ZXIu
DQoNCkxvb2sgYXQgaHR0cHM6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LW55Z3Jlbi1odHRw
YmlzLWh0dHBzc3ZjLTAwIHdoaWNoIGF0dGVtcHRzIHRvIHByb3ZpZGUgdmFyaW91cyB1c2VmdWwg
aW5mb3JtYXRpb24uIE9uZSBwb3NzaWJpbGl0eSBpcyBhICJjZXJ0IGRpZ2VzdCIgZmllbGQuICBD
ZXJ0cyBhcmUgZ2VuZXJhbGx5IHRvbyBiaWcgZm9yIEROUywgb25seSBrZXlzIGFwcGVhci4NCg0K
Rm9yIGNyeXB0byB0eXBlcywgcmUtdXNlIGFuIGV4aXN0aW5nIHJlZ2lzdHJ5IGFuZCBwcm9maWxl
IGl0IHRvIG1ha2UgdGhpbmdzIE1VU1QgTk9ULiAgVGhlcmUgYXJlIHZhcmlvdXMgb3B0aW9ucywg
aW5jbHVkaW5nIFRMUywgSk9TRSwgZXRjLiANCg0K


From nobody Fri Jul 26 20:05:41 2019
Return-Path: <rob@deepdivenetworking.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 ADD88120229 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 20:05:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.119
X-Spam-Level: 
X-Spam-Status: No, score=-1.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779] autolearn=no autolearn_force=no
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 vXFKfnuCZsMM for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 20:05:38 -0700 (PDT)
Received: from sender4-op-o19.zoho.com (sender4-op-o19.zoho.com [136.143.188.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39B6E12021B for <ntp@ietf.org>; Fri, 26 Jul 2019 20:05:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1564196734; cv=none; d=zoho.com; s=zohoarc;  b=jdRKYmXIQ8Ptl4D9A8U7fLr4o4pBftTh6T7o6pgUhPa2MQQgNHPDZQDtdDCKdAgSDR/n40Js0dgDt0Au7Um8om5AfIcBjeEcxAoYvfOBK4D6UxtSai0/dO0fhAobzoL+HEj1o6DY0WPnTYReEIjQdSfjSepOrhF2v2y93HJJ0Os=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564196734; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=Vz1ImAnwCd39n6UG2h7sxwxv+pMl7Whj567A0mhL8co=;  b=FfAos1IEzqrwNd/45kDGyXDiZ8LuKPcGFjP8HAbYWOWw+VkLHRyv2JAEB39lxaAHr/mKYaYTZqqA2RQDww5tfTaBjtFnImSCiPzIn0N5VtNu/K/Aqmp2QaC68SSJnjCytDOvIbIn6othGn3/S/si61O+frS5J9ZKNx0E3vKgNaI=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=deepdivenetworking.com; spf=pass  smtp.mailfrom=rob@deepdivenetworking.com; dmarc=pass header.from=<rob@deepdivenetworking.com> header.from=<rob@deepdivenetworking.com>
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1564196732319541.922780130925; Fri, 26 Jul 2019 20:05:32 -0700 (PDT)
Content-Type: multipart/alternative; boundary=Apple-Mail-5F39718A-3986-4361-B0D0-8D825AB61E8B
Content-Transfer-Encoding: 7bit
From: Robert Nagy <rob@deepdivenetworking.com>
Mime-Version: 1.0
Message-Id: <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com>
Date: Fri, 26 Jul 2019 22:05:31 -0500
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com> <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com>
To: "Salz, Rich" <rsalz@akamai.com>
In-Reply-To: <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com>
Cc: Thomas Peterson <nosretep.samoht@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/8xH99kaJh3TJN44jCMmG348u4R0>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 03:05:40 -0000

--Apple-Mail-5F39718A-3986-4361-B0D0-8D825AB61E8B
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

This seems within the use case of the already existing TLSA records in DNS. U=
nless I missed something.=20

Robert Nagy
CEO/ Senior Dive Master
DeepDive Networking, Inc
C: 408.480.5133
www.deepdivenetworking.com


Sent from my iPhone

> On Jul 26, 2019, at 8:20 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
>=20
>>   To answer the first point, one suggestion by Erik Klein[0] is to create=
=20
>    a new DNS RR type that includes the long term certificate of the=20
>    Roughtime server.
>=20
> Look at https://tools.ietf.org/html/draft-nygren-httpbis-httpssvc-00 which=
 attempts to provide various useful information. One possibility is a "cert d=
igest" field.  Certs are generally too big for DNS, only keys appear.
>=20
> For crypto types, re-use an existing registry and profile it to make thing=
s MUST NOT.  There are various options, including TLS, JOSE, etc.=20
>=20
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

--Apple-Mail-5F39718A-3986-4361-B0D0-8D825AB61E8B
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0
L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPjwvaGVhZD48Ym9keSBkaXI9ImF1dG8iPlRoaXMgc2VlbXMg
d2l0aGluIHRoZSB1c2UgY2FzZSBvZiB0aGUgYWxyZWFkeSBleGlzdGluZyBUTFNBIHJlY29yZHMg
aW4gRE5TLiBVbmxlc3MgSSBtaXNzZWQgc29tZXRoaW5nLiZuYnNwOzxicj48YnI+PGRpdiBpZD0i
QXBwbGVNYWlsU2lnbmF0dXJlIiBkaXI9Imx0ciI+Um9iZXJ0IE5hZ3k8ZGl2PkNFTy8gU2VuaW9y
IERpdmUgTWFzdGVyPC9kaXY+PGRpdj5EZWVwRGl2ZSBOZXR3b3JraW5nLCBJbmM8L2Rpdj48ZGl2
PkM6IDQwOC40ODAuNTEzMzwvZGl2PjxkaXY+PGEgaHJlZj0iaHR0cDovL3d3dy5kZWVwZGl2ZW5l
dHdvcmtpbmcuY29tIj53d3cuZGVlcGRpdmVuZXR3b3JraW5nLmNvbTwvYT48L2Rpdj48ZGl2Pjxi
cj48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PjxzcGFuIHN0eWxlPSJmb250LXNpemU6IDEzcHQ7
Ij5TZW50IGZyb20gbXkgaVBob25lPC9zcGFuPjwvZGl2PjwvZGl2PjxkaXYgZGlyPSJsdHIiPjxi
cj5PbiBKdWwgMjYsIDIwMTksIGF0IDg6MjAgUE0sIFNhbHosIFJpY2ggJmx0OzxhIGhyZWY9Im1h
aWx0bzpyc2FsekBha2FtYWkuY29tIj5yc2FsekBha2FtYWkuY29tPC9hPiZndDsgd3JvdGU6PGJy
Pjxicj48L2Rpdj48YmxvY2txdW90ZSB0eXBlPSJjaXRlIj48ZGl2IGRpcj0ibHRyIj48c3Bhbj48
L3NwYW4+PGJyPjxibG9ja3F1b3RlIHR5cGU9ImNpdGUiPjxzcGFuPiAmbmJzcDsmbmJzcDtUbyBh
bnN3ZXIgdGhlIGZpcnN0IHBvaW50LCBvbmUgc3VnZ2VzdGlvbiBieSBFcmlrIEtsZWluWzBdIGlz
IHRvIGNyZWF0ZSA8L3NwYW4+PGJyPjwvYmxvY2txdW90ZT48c3Bhbj4gJm5ic3A7Jm5ic3A7Jm5i
c3A7YSBuZXcgRE5TIFJSIHR5cGUgdGhhdCBpbmNsdWRlcyB0aGUgbG9uZyB0ZXJtIGNlcnRpZmlj
YXRlIG9mIHRoZSA8L3NwYW4+PGJyPjxzcGFuPiAmbmJzcDsmbmJzcDsmbmJzcDtSb3VnaHRpbWUg
c2VydmVyLjwvc3Bhbj48YnI+PHNwYW4+PC9zcGFuPjxicj48c3Bhbj5Mb29rIGF0IDxhIGhyZWY9
Imh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1ueWdyZW4taHR0cGJpcy1odHRwc3N2
Yy0wMCI+aHR0cHM6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LW55Z3Jlbi1odHRwYmlzLWh0
dHBzc3ZjLTAwPC9hPiB3aGljaCBhdHRlbXB0cyB0byBwcm92aWRlIHZhcmlvdXMgdXNlZnVsIGlu
Zm9ybWF0aW9uLiBPbmUgcG9zc2liaWxpdHkgaXMgYSAiY2VydCBkaWdlc3QiIGZpZWxkLiAmbmJz
cDtDZXJ0cyBhcmUgZ2VuZXJhbGx5IHRvbyBiaWcgZm9yIEROUywgb25seSBrZXlzIGFwcGVhci48
L3NwYW4+PGJyPjxzcGFuPjwvc3Bhbj48YnI+PHNwYW4+Rm9yIGNyeXB0byB0eXBlcywgcmUtdXNl
IGFuIGV4aXN0aW5nIHJlZ2lzdHJ5IGFuZCBwcm9maWxlIGl0IHRvIG1ha2UgdGhpbmdzIE1VU1Qg
Tk9ULiAmbmJzcDtUaGVyZSBhcmUgdmFyaW91cyBvcHRpb25zLCBpbmNsdWRpbmcgVExTLCBKT1NF
LCBldGMuIDwvc3Bhbj48YnI+PHNwYW4+PC9zcGFuPjxicj48c3Bhbj5fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXzwvc3Bhbj48YnI+PHNwYW4+bnRwIG1haWxp
bmcgbGlzdDwvc3Bhbj48YnI+PHNwYW4+PGEgaHJlZj0ibWFpbHRvOm50cEBpZXRmLm9yZyI+bnRw
QGlldGYub3JnPC9hPjwvc3Bhbj48YnI+PHNwYW4+PGEgaHJlZj0iaHR0cHM6Ly93d3cuaWV0Zi5v
cmcvbWFpbG1hbi9saXN0aW5mby9udHAiPmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlz
dGluZm8vbnRwPC9hPjwvc3Bhbj48YnI+PC9kaXY+PC9ibG9ja3F1b3RlPjwvYm9keT48L2h0bWw+

--Apple-Mail-5F39718A-3986-4361-B0D0-8D825AB61E8B--



From nobody Fri Jul 26 22:48:18 2019
Return-Path: <watsonbladd@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 43545120140 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:48:16 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 RlMz0OdOxl8m for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:48:14 -0700 (PDT)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 E4E7312014B for <ntp@ietf.org>; Fri, 26 Jul 2019 22:48:13 -0700 (PDT)
Received: by mail-lj1-x231.google.com with SMTP id m23so53416527lje.12 for <ntp@ietf.org>; Fri, 26 Jul 2019 22:48:13 -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=90HsPJjvdPm3JtISjqEjrm2payrQIrxiitHZ8HjC3kk=; b=YI1HkTn2vSz/6tUHrntU5P05LgsPG4hT+NPk7kDaNvBTWwdnowraxSGxDxy0j5KMJd GgMeqByoLe5X3io4Yd3K0WYgVRY3rIg+oOuCe356GSLavjU2kCG6opg/S3S6UOrMWxvy 9n/inYgsGwzdhgeP0he3J9l2LZbBC6GcbAyHnqENcC7dJmY/ei0SKDzOlsAY3u37/iMg VIU0Db207khRzInhF2+9IxwrYXygHnBE8Izzpyx2+1S/94zfyFDmdxc4kjEBEullZBJ4 pE2NNEk3gjHd+ce8avQvBhY52X0v1FbMwdc54v3lpxCHVjFD3osd3XZOxLfKILv3vg7d 57RQ==
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=90HsPJjvdPm3JtISjqEjrm2payrQIrxiitHZ8HjC3kk=; b=hzTUFN+3RMYb0XCEzl+CSEcDkpkIrpoilXFxGQNYffSj81+66EI6WYsSz8L38gyGno ma9P6cSdNSAiXOKD2bXM3y9z+lKMeQrz01TXBQX+ic1xYCbQG0RJNLRcpdPVe9dtRadJ 5iD4k97LlwgGUEsWEln4NKtC2mjQQm+tx0HKlDdo3fNCy47k6SnFbshMnIdfZSqEaOCO Z4er3Uce61wRY2mT1smFjoGI9ioZHhJvSCqU2OlF+xaxYKEBWJSr799OjCumjCMAEU2C i4+0VgDByzDO5NOwkMgKMu96s9ruG3ly1/GP2yyQDAsi95zf/bo/aG3TOmaL5K2DyF5I ir0w==
X-Gm-Message-State: APjAAAVky7DoBfv3JbLFhk/FBV7cDH7mv5b7GJ0HC2MV7HDJwzswEWqY HXo8hKuGjSoluo3fPVVml0yKBjnG6UM3oOXR720=
X-Google-Smtp-Source: APXvYqw0OUK75GjFrvqIRC5aj1gaB/pr8xRoUjrf56TaX8aHcEw5I1lyn28/u9j8hCPervqFWfijiFWGqKJAXBq/0TY=
X-Received: by 2002:a2e:b0e6:: with SMTP id h6mr474900ljl.18.1564206492041; Fri, 26 Jul 2019 22:48:12 -0700 (PDT)
MIME-Version: 1.0
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com>
In-Reply-To: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 26 Jul 2019 22:48:00 -0700
Message-ID: <CACsn0cnFfqw-7Jtwd_fPszwdXnMcp4FayKeM-_EfzmfhF5+ntQ@mail.gmail.com>
To: Thomas Peterson <nosretep.samoht@gmail.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/GWyVAmfv9tSFENdjkBp-uSk8nNc>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 05:48:16 -0000

On Fri, Jul 26, 2019 at 6:04 PM Thomas Peterson
<nosretep.samoht@gmail.com> wrote:
>
> In discussions with many folk at IETF 105 (thank you for your time), two
> topics have come up in the design of Roughtime:
>
> 1. How does a Roughtime client attest the certificate presented matches
> the host that was contacted?

You hardcode the key.

> 2. Ed25519 may not be secure forever. How do we ensure more robust
> options are made available?

When and if a post-quantum signature scheme becomes available, we can
cross that bridge.

It's likely the protocol will require significant work (perhaps even
switching to TCP) in that case.

>
> To answer the first point, one suggestion by Erik Klein[0] is to create
> a new DNS RR type that includes the long term certificate of the
> Roughtime server. Should this mismatch the host that is being contacted
> for Roughtime information, clients should consider tampering. It's not
> clear what clients should do if this record was absent. This is perhaps
> a simpler approach that using existing public CA infrastructure that
> supports TLS and S/MIME, but comes with trade-offs.
>
> Q. Do people have thoughts on creating a new DNS RR Type to support
> this, or given the threat and operation model believe we should take a
> different approach?
>
> On the second point regarding algorithm agility, one possible thought
> would be the creation of an IANA registry for Roughtime supported
> schemes. This would more ideal than attempting to piggy-back other
> existing registries (e.g. TLS, which includes legacy such as RSA).
>
> Q. Does the list have a view on this and it's impact to client and
> server negotiation?
>
> Regards
>
> 0:
> https://groups.google.com/a/chromium.org/d/msg/proto-roughtime/RVlx6hGeO1U/Dn3zER5JCQAJ
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Fri Jul 26 22:51:34 2019
Return-Path: <paf@frobbit.se>
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 4510612014B for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:51:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 NNUK_kyCskCt for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:51:23 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5FE17120140 for <ntp@ietf.org>; Fri, 26 Jul 2019 22:51:23 -0700 (PDT)
Received: from [192.165.72.241] (unknown [IPv6:2a02:80:3ffc:0:7057:2d3:6ff3:9349]) by mail.frobbit.se (Postfix) with ESMTPSA id F30F42A1B4; Sat, 27 Jul 2019 07:51:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1564206681; bh=SCFcK2HVeEB7l+KJtDiIAOk279jHh0lw+zP/CPTsRps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m4j3CmRLpmU0qIzXIvR1A+PhvptcvIZke5qrFFJL7IRKuIOLXixriFuisBZC55yDz FKiCBaXjcC7tiWtF/4TBJzmqh6mtwkAtc/ZNL4giqxan8qsTJS1z9SZ9ILVKQYOD9D CHemCQRqDj6QExeA6tKHkA3+vd5CohGx+hMJG1Cg=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Robert Nagy" <rob@deepdivenetworking.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, "Thomas Peterson" <nosretep.samoht@gmail.com>, ntp@ietf.org
Date: Sat, 27 Jul 2019 07:51:18 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <12978B33-9014-4DF4-A372-88DBCE4BB167@frobbit.se>
In-Reply-To: <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com>
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com> <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com> <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_C36F200E-0928-4533-AE9A-9D6BE3B6E99E_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/hCiEskmBznn5p2vOgsXe9MIY_KE>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 05:51:28 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_C36F200E-0928-4533-AE9A-9D6BE3B6E99E_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 27 Jul 2019, at 5:05, Robert Nagy wrote:

> This seems within the use case of the already existing TLSA records in =
DNS. Unless I missed something.

+1

Don't create anything new.

  Patrik

> Robert Nagy
> CEO/ Senior Dive Master
> DeepDive Networking, Inc
> C: 408.480.5133
> www.deepdivenetworking.com
>
>
> Sent from my iPhone
>
>> On Jul 26, 2019, at 8:20 PM, Salz, Rich <rsalz@akamai.com> wrote:
>>
>>
>>>   To answer the first point, one suggestion by Erik Klein[0] is to cr=
eate
>>    a new DNS RR type that includes the long term certificate of the
>>    Roughtime server.
>>
>> Look at https://tools.ietf.org/html/draft-nygren-httpbis-httpssvc-00 w=
hich attempts to provide various useful information. One possibility is a=
 "cert digest" field.  Certs are generally too big for DNS, only keys app=
ear.
>>
>> For crypto types, re-use an existing registry and profile it to make t=
hings MUST NOT.  There are various options, including TLS, JOSE, etc.
>>
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org
>> https://www.ietf.org/mailman/listinfo/ntp
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

--=_MailMate_C36F200E-0928-4533-AE9A-9D6BE3B6E99E_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTvmVg8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI180TsACfadlPDOl/lSDAfnlNJF+rFkiH2ukAnjU1kP75
o+Kcif9E4hCiBJ6XBqx7
=oF7w
-----END PGP SIGNATURE-----

--=_MailMate_C36F200E-0928-4533-AE9A-9D6BE3B6E99E_=--


From nobody Fri Jul 26 22:58:41 2019
Return-Path: <watsonbladd@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 09E1F1201D5 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:58:38 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 B7i0_gtWC7SO for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 22:58:35 -0700 (PDT)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 4A445120140 for <ntp@ietf.org>; Fri, 26 Jul 2019 22:58:35 -0700 (PDT)
Received: by mail-lj1-x232.google.com with SMTP id v18so53460928ljh.6 for <ntp@ietf.org>; Fri, 26 Jul 2019 22:58:35 -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:content-transfer-encoding; bh=sCFzhZub7F/yhIdUbqB4tCWgG1z/C86vSg8aqhvFNwo=; b=FiR5443tv3J9Z4pKMq9n0RRLKQDFlAq6SMghEUzWVKmCbK7rJ5Xi0dL7OZnT+Ud6r2 EpVEkeGzkVp575oqwblUwBn3l/Dr7lTH5XPZu+yCp6O5zwFRX6UWsnTtrg+Wps1Wv33V nZTl5aG8GZ3ukMeeMcFtZ9Cw4/bFT+VOWbKE4GQMbboFWNfFbjv+lgwBpgQMh3u/uPEE 44/Oky28w2GRP+QFk/YcIgTJUSbJN6zJIhPtE6+/u7rRAuc99q6WZBRSfgYxqHSaV/mh YCmOvWaElQWN/5qpXqgP1F4EWZ40pJ05/a74p70xOezu4Ih9e/6fayB7Y2ZB4S/TjheC MNwQ==
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:content-transfer-encoding; bh=sCFzhZub7F/yhIdUbqB4tCWgG1z/C86vSg8aqhvFNwo=; b=kk0rsnxHGhM2/Mte3sOuMa0NFXP4mQs8892wY0/eAnG+CW+mlBCgYLEn2t+8rFUiNh VCF/j41k9ObpRwOVYj5Hen8Ch6DLHMwp4m2gWr8t1bAI67QWLiC/1S3gfrRZX3zNxq7N 71te4hx+pXayZELcR9hNE6Bi1mKIuX7aC7u5UNNZKXt1wp+GTDpR/5egTO331WSbK+Ki M65NcIWAnCV32/5LYg0zp9mimQr//VBzy4XPdAenKgBap+L3wsHdH2TObX9rLyU+fJuM 0HsP1aCzlVTfgvbd7x2Y5FKgC9TOYp6+Q8ENY7wG23S8rnXschiz7QWxwhp0Fv8PWXsT 7tyA==
X-Gm-Message-State: APjAAAXGIqUNPuSYAuAlMR2I0e/PR6Ch3jVXxpeFYS+XmoaTicyXvc0S KI1HF88fccX9EOf9QulNkA13IfqoE1zUBuk9QEY=
X-Google-Smtp-Source: APXvYqz1FFu/ekIJJ5rhIZiuHeWV8EEcrKwWUt7xmK/+oeP5rrRzmzoDcvTa/gNMRbPZJjgoL3jLuFisWzc+xLMpmTE=
X-Received: by 2002:a2e:890a:: with SMTP id d10mr52106075lji.145.1564207113493;  Fri, 26 Jul 2019 22:58:33 -0700 (PDT)
MIME-Version: 1.0
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com> <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com> <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com> <12978B33-9014-4DF4-A372-88DBCE4BB167@frobbit.se>
In-Reply-To: <12978B33-9014-4DF4-A372-88DBCE4BB167@frobbit.se>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 26 Jul 2019 22:58:22 -0700
Message-ID: <CACsn0cnwUe=dDuyA3QC7ODfYUdHnPZuzuAmNp7S5yG-rmq8Lng@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf=40frobbit.se@dmarc.ietf.org>
Cc: Robert Nagy <rob@deepdivenetworking.com>, "Salz, Rich" <rsalz@akamai.com>,  Thomas Peterson <nosretep.samoht@gmail.com>, NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/SVtaYNn4bGy42_fnV0IniH0yt0A>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 05:58:38 -0000

On Fri, Jul 26, 2019 at 10:51 PM Patrik F=C3=A4ltstr=C3=B6m
<paf=3D40frobbit.se@dmarc.ietf.org> wrote:
>
> On 27 Jul 2019, at 5:05, Robert Nagy wrote:
>
> > This seems within the use case of the already existing TLSA records in =
DNS. Unless I missed something.
>
> +1
>
> Don't create anything new.

It seems people are misunderstanding the trust relationship here. The
goal is to have publically observable, auditable performance and
identities tied to that. So it makes very little sense to link these
identities to another naming system, but maybe this is a better idea
then it seems. In particular public keys really shouldn't change: that
could permit the laundering of errors, which we very much don't want.

>
>   Patrik
>
> > Robert Nagy
> > CEO/ Senior Dive Master
> > DeepDive Networking, Inc
> > C: 408.480.5133
> > www.deepdivenetworking.com
> >
> >
> > Sent from my iPhone
> >
> >> On Jul 26, 2019, at 8:20 PM, Salz, Rich <rsalz@akamai.com> wrote:
> >>
> >>
> >>>   To answer the first point, one suggestion by Erik Klein[0] is to cr=
eate
> >>    a new DNS RR type that includes the long term certificate of the
> >>    Roughtime server.
> >>
> >> Look at https://tools.ietf.org/html/draft-nygren-httpbis-httpssvc-00 w=
hich attempts to provide various useful information. One possibility is a "=
cert digest" field.  Certs are generally too big for DNS, only keys appear.
> >>
> >> For crypto types, re-use an existing registry and profile it to make t=
hings MUST NOT.  There are various options, including TLS, JOSE, etc.
> >>
> >> _______________________________________________
> >> ntp mailing list
> >> ntp@ietf.org
> >> https://www.ietf.org/mailman/listinfo/ntp
> >
> > _______________________________________________
> > ntp mailing list
> > ntp@ietf.org
> > https://www.ietf.org/mailman/listinfo/ntp
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Fri Jul 26 23:33:00 2019
Return-Path: <paf@frobbit.se>
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 2E1ED120020 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 23:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 QHhU9ttwk27r for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 23:32:56 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [85.30.129.185]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5506120106 for <ntp@ietf.org>; Fri, 26 Jul 2019 23:32:56 -0700 (PDT)
Received: from [192.165.72.241] (unknown [IPv6:2a02:80:3ffc:0:9935:eb62:5781:e78b]) by mail.frobbit.se (Postfix) with ESMTPSA id 42F1F2A111; Sat, 27 Jul 2019 08:32:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1564209174; bh=N7dmBYyXFKUrV/Q9cCAB1HPqy3KroQ5nRu9oCep5a5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ABLI2gtPB6UAORbE08PE6aM3PRiZpRPopXplaSDRxgx0gckqGSy4IUjCGj4M6lVvb aJF7d49reLfLWlfwVfjCRdrLI8sNZXGjDHJNflGaqI+CjFbq39yFhRVu4aR8jJuB4o KwMw+Lk4ex+CZ9GXlbFzLRNgoJTBoNx+hoEQjd+k=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Watson Ladd" <watsonbladd@gmail.com>
Cc: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf=40frobbit.se@dmarc.ietf.org>, "Salz, Rich" <rsalz@akamai.com>, "Robert Nagy" <rob@deepdivenetworking.com>, "NTP WG" <ntp@ietf.org>, "Thomas Peterson" <nosretep.samoht@gmail.com>
Date: Sat, 27 Jul 2019 08:32:52 +0200
X-Mailer: MailMate (1.12.5r5635)
Message-ID: <BA8BDFC0-E3C3-4E68-BCCD-C06BE19ED65E@frobbit.se>
In-Reply-To: <CACsn0cnwUe=dDuyA3QC7ODfYUdHnPZuzuAmNp7S5yG-rmq8Lng@mail.gmail.com>
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com> <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com> <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com> <12978B33-9014-4DF4-A372-88DBCE4BB167@frobbit.se> <CACsn0cnwUe=dDuyA3QC7ODfYUdHnPZuzuAmNp7S5yG-rmq8Lng@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_AC99D5CE-F149-4BE2-85CA-72889BF8A16A_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/m5c3O4Bl546xeecqO8vjDkdeYI8>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 06:32:59 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_AC99D5CE-F149-4BE2-85CA-72889BF8A16A_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 27 Jul 2019, at 7:58, Watson Ladd wrote:

> It seems people are misunderstanding the trust relationship here. The g=
oal is to have publically observable, auditable performance and identitie=
s tied to that. So it makes very little sense to link these identities to=
 another naming system, but maybe this is a better idea then it seems. In=
 particular public keys really shouldn't change: that could permit the la=
undering of errors, which we very much don't want.

Ahhh...ok, sorry. I did not write enough words.

I agree with the base idea in what you write here. One should be careful =
on what one trust. But, one also need to base the trust on something, som=
e root.

This can of course as some have suggested a cert for some time service on=
e trust. Or the root CA of something else. Like root in some other naming=
 system.

My answer was "just" responding to the question whether we should in the =
case some cert is stored in DNS create a new RRType, which is something I=
 find not necessary as TLSA exists.

   Patrik

--=_MailMate_AC99D5CE-F149-4BE2-85CA-72889BF8A16A_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXTvwFA8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI182pnACfXyBqZpherNBRtvhMPKpOhwgmJvwAn1BQGzDO
2DKSHKIu67Khf1Rb4VYB
=eKxF
-----END PGP SIGNATURE-----

--=_MailMate_AC99D5CE-F149-4BE2-85CA-72889BF8A16A_=--


From nobody Fri Jul 26 23:54:33 2019
Return-Path: <watsonbladd@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 915A3120220 for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 23:54:31 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable 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 AwQeEIs1qKTl for <ntp@ietfa.amsl.com>; Fri, 26 Jul 2019 23:54:28 -0700 (PDT)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 6D5EB1201F3 for <ntp@ietf.org>; Fri, 26 Jul 2019 23:54:28 -0700 (PDT)
Received: by mail-lf1-x133.google.com with SMTP id c9so38547319lfh.4 for <ntp@ietf.org>; Fri, 26 Jul 2019 23:54:28 -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:content-transfer-encoding; bh=q76wyUFgBqNZ2wK/IXe89YprOnoaG2zIbYJLmtv/img=; b=W+nCYVpILiLO23zrGHdTRWc5rUH7D4w/rgCPwaAYVeZMg17jOp3f41OsEc/RQJD5Ks S84tanOAgTj2l2Q4LZGUDR1E6zz5cJXuXOGOb5ViVKG0IZN5f6APZ28mY8zRQeKVttBt /eWSyApE/Ie+GvHmJ5bDLUiiGUKbqXrRuE3VTSMSVfhqpcJF/nnaQQbAIi7fpLk7cGQT IlMsPFa8ZnZFWdc/3TZ3gx1/VGvr13aMfosgb4GH/RK1fcdHzkOiSH85lCj/vNH0i1ay pHJ9Kysy+a04EfQcO+Hho8r/Ojlx23oSywrLZfIWIP9304itGojMHoHLbgevTbrizPo5 h8tw==
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:content-transfer-encoding; bh=q76wyUFgBqNZ2wK/IXe89YprOnoaG2zIbYJLmtv/img=; b=WmQ5VzADP2UF4jUZjuv2mn/ckxWTJuVjyAtBQo3lFiS7VXodR62q5IXY4LQg0Z7pYw mXIH1OIDWpKEY3dz6mqQAVbOwziQSK6ONYEpmZj9rkVd8KyOrpcaivcR0eKFf9pMzVGU Q431W2yQlsWHHbus67gc+oiqEMs0r8qK+QgqqUDLtvQrlxWXsddWtNoVwV/zE2cHjJae vzjXNC77xVuLq+DxdtWi8uGPm2imaXXu2KCM+M/Vl6Y5UKZCbGipOJHnzdkSVK9m3sG3 ZkuoBNuRGTI8EmO8a2LKRnIGa+3HkGJHUHzjBM60eLCnIL8p0jX3AXo9EK4jrH4YZwkp enLQ==
X-Gm-Message-State: APjAAAUncw6Xzr4NieE6eT/B+jnW9YxLavDx5+usjt8zki3KZE7se9uc GI3wHjbsdnAHro8BCbr4LpG5tsfGApkbnZv20As=
X-Google-Smtp-Source: APXvYqx73g9RxefBLUsuo5ILnvi1z/2/YsVoB3Cr6wXwtlpMvJpfFyz/hUKM5LbFqmZPShpuhLlTe4TxjCdeybiozkQ=
X-Received: by 2002:a19:6904:: with SMTP id e4mr27639090lfc.156.1564210466476;  Fri, 26 Jul 2019 23:54:26 -0700 (PDT)
MIME-Version: 1.0
References: <07725d0b-74ec-ec92-70fe-e27f0c4eee8c@gmail.com> <1564190434519110001_8FF0F819-5F81-41B3-A7F1-B4E97E22E0F7@akamai.com> <3C2EBBE8-3970-4B8C-BFE4-BB7F247EF7C3@deepdivenetworking.com> <12978B33-9014-4DF4-A372-88DBCE4BB167@frobbit.se> <CACsn0cnwUe=dDuyA3QC7ODfYUdHnPZuzuAmNp7S5yG-rmq8Lng@mail.gmail.com> <BA8BDFC0-E3C3-4E68-BCCD-C06BE19ED65E@frobbit.se>
In-Reply-To: <BA8BDFC0-E3C3-4E68-BCCD-C06BE19ED65E@frobbit.se>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 26 Jul 2019 23:54:14 -0700
Message-ID: <CACsn0c=-FO2g9mQ=mW4Lv0T7F7DsAHFiUpOsy6Ug3mr6RAQdvg@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf@frobbit.se>
Cc: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf=40frobbit.se@dmarc.ietf.org>,  "Salz, Rich" <rsalz@akamai.com>, Robert Nagy <rob@deepdivenetworking.com>, NTP WG <ntp@ietf.org>, Thomas Peterson <nosretep.samoht@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/vokKqcts_OsjdzE6Ac-O0ogajKI>
Subject: Re: [Ntp] Of Roughtime's algorithm agility, and host attestation
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: Sat, 27 Jul 2019 06:54:32 -0000

On Fri, Jul 26, 2019 at 11:32 PM Patrik F=C3=A4ltstr=C3=B6m <paf@frobbit.se=
> wrote:
>
> On 27 Jul 2019, at 7:58, Watson Ladd wrote:
>
> > It seems people are misunderstanding the trust relationship here. The g=
oal is to have publically observable, auditable performance and identities =
tied to that. So it makes very little sense to link these identities to ano=
ther naming system, but maybe this is a better idea then it seems. In parti=
cular public keys really shouldn't change: that could permit the laundering=
 of errors, which we very much don't want.
>
> Ahhh...ok, sorry. I did not write enough words.
>
> I agree with the base idea in what you write here. One should be careful =
on what one trust. But, one also need to base the trust on something, some =
root.
>
> This can of course as some have suggested a cert for some time service on=
e trust. Or the root CA of something else. Like root in some other naming s=
ystem.

I consider roughtime analogous to certificate transparency: the point
is not that Nimbus or Behind the Sofa are necessarily run by good
people or that the certs are logged by them, but that for the past X
they have dutifully logged each one, and if they were to fail to,
there would be incontestable proof of malfeasance. Nothing is really
rooted in the assertion of identity which is sort of irrelevant here.

>
> My answer was "just" responding to the question whether we should in the =
case some cert is stored in DNS create a new RRType, which is something I f=
ind not necessary as TLSA exists.
>
>    Patrik



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From aharrison@gmail.com  Wed Jul 31 12:19:31 2019
Return-Path: <aharrison@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 DE47312004F for <ntp@ietfa.amsl.com>; Wed, 31 Jul 2019 12:19:31 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 A7F2240JZAfC for <ntp@ietfa.amsl.com>; Wed, 31 Jul 2019 12:19:30 -0700 (PDT)
Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 E8901120018 for <ntp@ietf.org>; Wed, 31 Jul 2019 12:19:29 -0700 (PDT)
Received: by mail-io1-xd30.google.com with SMTP id g20so138766093ioc.12 for <ntp@ietf.org>; Wed, 31 Jul 2019 12:19:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=1IcseQjkF4koDGYI5gDqhlPxquiCJPOLPKrV+2CVQYk=; b=Hiakn11ZLMN1dBkvi/3Ov5DZ4TtD7Kybc7ObGP2pxnNQO5GzNzQW/Quk3mNFCI7FVS vhSdY8rtK9w1gKQLdgEO9VYpi1WNVOO0RR+a6ngIPB0otN56ZbM0JvQcDrzms7to50Zu fKC6XDeHF+gUi33EFy667r287rFwyvU7l7r2yXyGTGoLBHurHhlVQ1FslujIq1rWFIzm 0RcecMj7CpUjmWN24QLjVysyPKC8GovN0BAUocaPJJmpPfxtDmrj9vkLfD2Btn2MZxwl INnE0EYE26RXdGNet530sIsLGPJnpl3QwPSRqcja9lFR9+f7FWHeaBWTY0QR8V9BoudO CP8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1IcseQjkF4koDGYI5gDqhlPxquiCJPOLPKrV+2CVQYk=; b=BM5WlWgaVpLfj0xSXyhPL66dAedchQ6j8XICQeidYlfBKMoK2gSjnKq3lTQpcCh8HW RwJQKxH4wULH1Dck6J8gXdJBTPMind6i3dJWXugnMkm2QUUTfl7bfuBezSDb5CQdNPvC 9YADZU75hOnNC16iTOQwNaRdmjOnGLD7ml241G9sszqweklCRsCH0ukX8xDxF0jxS36m 1F6+QUVWxV9AKWw4Wp6q2XWSPMXGrIzA7wxlrYAfFUFE9rQHGZq+doXcTrOr7VSyN4nD /rjTZAsVAHpSZvf2dQ1GLO6mk0ah+G1Jwm+2gFfYpqE0pjwG4O55hgSljdG52u5Gt0AG NtzQ==
X-Gm-Message-State: APjAAAXC30AhhtjVK4DL3LOx5UYvGDxNWp2zW+DMbudBnjXTZ4Fbe+TK qLjWiXgpsy0Mh15u4j7RzoDcoscwroKOM2YRnjgQ+Cu34g==
X-Google-Smtp-Source: APXvYqysdVglwwXy6ZelTH5dRzJTq49HVto/AbNbmHBtNqwu/xyfeqdYmqblg2HGQ4DRuSMCfCmteXiGwHE0HwmNyJs=
X-Received: by 2002:a5e:9304:: with SMTP id k4mr28731430iom.206.1564600768851;  Wed, 31 Jul 2019 12:19:28 -0700 (PDT)
MIME-Version: 1.0
From: Andy Harrison <aharrison+ntp@gmail.com>
Date: Wed, 31 Jul 2019 15:19:18 -0400
Message-ID: <CACJmLABdDsvzwv-xsXhLWmkYmuwp=4A+xirmbRy=AeCSsi0Jag@mail.gmail.com>
To: ntp@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000af792058eff012d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/HtbFcHlJjPRWuRwoO8KPFzIz1Ww>
Subject: [Ntp] symmetricom tp1100 stratum and leap indicator behavior
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, 31 Jul 2019 20:19:54 -0000

--0000000000000af792058eff012d
Content-Type: text/plain; charset="UTF-8"

The backstory...  I've been tasked with deploying a pair of Symmetricom
TP1100 Time Providers with GPS antennae as the official time source for the
company (replacing an ancient server with a Meinberg card in it).  My
company actually purchased the Symmetricoms a few years ago, but they never
got around to putting them in production.  No one was able or willing to
put in the time to get them going.  I started working at the company
recently and they gave the project to me.

I've got them up and running and my test ntp client (my Linux workstation
running ntp 4.2.8p12) can pull time from them just fine.

Now for the hard part.  What we want to happen is that if the GPS of the
primary Symmetricom goes offline, we want the clients to start getting time
from the backup unit.

Ideally what would happen is the GPS goes offline, the Symmetricom would
set itself to a higher stratum level and the clients abandon it for the
device that has the better stratum, but this is not what happens.

I had to use Wireshark to see that instead, when the GPS goes offline, the
Symmetricom stops advertising a stratum level (Wireshark shows "unspecified
or invalid") while the leap indicator shows "clock unsynchronized" (3 I
think it was).  (When I enable the GPS again, Wireshark shows the stratum
level coming through as 1 and leap indicator shows 0 "no warning".)

On my workstation test client, ntp apparently doesn't know what to do when
a time source stops indicating its stratum level so it keeps right on
showing stratum 1 in ntpq output even though Wireshark clearly shows the
packets coming through with stratum level "unspecified or invalid".

So, my question is, can I configure ntp in such a way that it responds to
either a lack of advertised stratum or a leap warning indicator greater
than 0?


Thanks!


-- 
Andrew

--0000000000000af792058eff012d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">The backstory...=C2=A0 I&#39;ve been tasked with deploy=
ing a pair of Symmetricom TP1100 Time Providers with GPS antennae as the of=
ficial time source for the company (replacing an ancient server with a Mein=
berg card in it).=C2=A0 My company actually purchased the Symmetricoms a fe=
w years ago, but they never got around to putting them in production.=C2=A0=
 No one was able or willing to put in the time to get them going.=C2=A0 I s=
tarted working at the company recently and they gave the project to me. <br=
><br>I&#39;ve got them up and running and my test ntp client (my Linux work=
station running ntp 4.2.8p12) can pull time from them just fine. <br><br>No=
w for the hard part.=C2=A0 What we want to happen is that if the GPS of the=
 primary Symmetricom goes offline, we want the clients to start getting tim=
e from the backup unit. <br><br>Ideally what would happen is the GPS goes o=
ffline, the Symmetricom would set itself to a higher stratum level and the =
clients abandon it for the device that has the better stratum, but this is =
not what happens. <br><br>I had to use Wireshark to see that instead, when =
the GPS goes offline, the Symmetricom stops advertising a stratum level (Wi=
reshark shows &quot;unspecified or invalid&quot;) while the leap indicator =
shows &quot;clock unsynchronized&quot; (3 I think it was). =C2=A0(When I en=
able the GPS again, Wireshark shows the stratum level coming through as 1 a=
nd leap indicator shows 0 &quot;no warning&quot;.) <br><br>On my workstatio=
n test client, ntp apparently doesn&#39;t know what to do when a time sourc=
e stops indicating its stratum level so it keeps right on showing stratum 1=
 in ntpq output even though Wireshark clearly shows the packets coming thro=
ugh with stratum level &quot;unspecified or invalid&quot;. <br><br>So, my q=
uestion is, can I configure ntp in such a way that it responds to either a =
lack of advertised stratum or a leap warning indicator greater than 0? <br>=
<br><br>Thanks! <br><br><br>-- <br>Andrew=C2=A0<br></div></div>

--0000000000000af792058eff012d--


From nobody Wed Jul 31 15:18:27 2019
Return-Path: <stenn@nwtime.org>
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 6FADC120046 for <ntp@ietfa.amsl.com>; Wed, 31 Jul 2019 15:18:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 3koMC6cDuNYe for <ntp@ietfa.amsl.com>; Wed, 31 Jul 2019 15:18:23 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (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 B31AA12001E for <ntp@ietf.org>; Wed, 31 Jul 2019 15:18:23 -0700 (PDT)
Received: from [10.208.75.152] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45zSVk4xnXzL87; Wed, 31 Jul 2019 22:18:22 +0000 (UTC)
To: Andy Harrison <aharrison+ntp@gmail.com>, ntp@ietf.org
References: <CACJmLABdDsvzwv-xsXhLWmkYmuwp=4A+xirmbRy=AeCSsi0Jag@mail.gmail.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= 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
Message-ID: <e9ed3a4d-5228-4a51-49bc-b832e07bc78a@nwtime.org>
Date: Wed, 31 Jul 2019 15:18:20 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CACJmLABdDsvzwv-xsXhLWmkYmuwp=4A+xirmbRy=AeCSsi0Jag@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/REJ30LiCd55NhU-Yr0Q21CT8AeA>
Subject: Re: [Ntp] symmetricom tp1100 stratum and leap indicator behavior
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, 31 Jul 2019 22:18:25 -0000

Hi Andy,

I don't think this is relevant to the IETF Working Group on NTP.

This is a topic for questions@ntp.org or a support ticket at
bugs.ntp.org.  I'm happy to chat with you about this, too.

H

On 7/31/2019 12:19 PM, Andy Harrison wrote:
> The backstory...  I've been tasked with deploying a pair of Symmetricom
> TP1100 Time Providers with GPS antennae as the official time source for the
> company (replacing an ancient server with a Meinberg card in it).  My
> company actually purchased the Symmetricoms a few years ago, but they never
> got around to putting them in production.  No one was able or willing to
> put in the time to get them going.  I started working at the company
> recently and they gave the project to me.
> 
> I've got them up and running and my test ntp client (my Linux workstation
> running ntp 4.2.8p12) can pull time from them just fine.
> 
> Now for the hard part.  What we want to happen is that if the GPS of the
> primary Symmetricom goes offline, we want the clients to start getting time
> from the backup unit.
> 
> Ideally what would happen is the GPS goes offline, the Symmetricom would
> set itself to a higher stratum level and the clients abandon it for the
> device that has the better stratum, but this is not what happens.
> 
> I had to use Wireshark to see that instead, when the GPS goes offline, the
> Symmetricom stops advertising a stratum level (Wireshark shows "unspecified
> or invalid") while the leap indicator shows "clock unsynchronized" (3 I
> think it was).  (When I enable the GPS again, Wireshark shows the stratum
> level coming through as 1 and leap indicator shows 0 "no warning".)
> 
> On my workstation test client, ntp apparently doesn't know what to do when
> a time source stops indicating its stratum level so it keeps right on
> showing stratum 1 in ntpq output even though Wireshark clearly shows the
> packets coming through with stratum level "unspecified or invalid".
> 
> So, my question is, can I configure ntp in such a way that it responds to
> either a lack of advertised stratum or a leap warning indicator greater
> than 0?
> 
> 
> Thanks!
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

