Re: [Ntp] Antwort: Re: The bump, or why NTP v5 must specify impulse response

Doug Arnold <doug.arnold@meinberg-usa.com> Fri, 17 April 2020 14:29 UTC

Return-Path: <doug.arnold@meinberg-usa.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 D5D253A09D6 for <ntp@ietfa.amsl.com>; Fri, 17 Apr 2020 07:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.233
X-Spam-Level:
X-Spam-Status: No, score=-1.233 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinbergfunkuhren.onmicrosoft.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 evaIDF3lhovT for <ntp@ietfa.amsl.com>; Fri, 17 Apr 2020 07:29:19 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130073.outbound.protection.outlook.com [40.107.13.73]) (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 43CBD3A09C7 for <ntp@ietf.org>; Fri, 17 Apr 2020 07:29:19 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DYmUKex2UlmKRhJp73lHb2ncSRTk249e8jGo+gdnbjooG8QXqufgG1f14AO9OhL3FUCfL0qB9FhUJIr/x7OhzqNARxBVg9Tw6FQmugucDm+1lLuqLMHXZK8Mwfli4zRsFR4IDvGiUj1+gwkJz4k6aDNk+rqf4JMsPtzntPTJvb8a57LnfDsPQXo5dogpGYFs/P/kOObKJSyT3sZCLy8IKqxKPhF3fc0wne+HpMkeAOlJKUGUsaiXXXu7DowqepJlFMbm0Nofe2zyjL4ZUsZETJ6BxNM1vYNUDo+h2yEZSzEOa6zYm9+5+hEZcGZ1E5Zu7EfdpxqiYesClcRvaCxfrw==
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=Qs01Uk87+pM3yNWAT0SfBFoIqW3NzREyLCB+Idel2ec=; b=c7u2I/TsyIgRaJuMk7BiovZZ1RDInmOZMbpB1Fl5uJUN89UQxyHZ5BWLyQA8WYGecc6LXbkHsaeeRvdaBULh7qyozu8X6eZwicZbwIm1wCn08+xOgktWKOiNZjCWk5OQWrNmc8X/cZEmHK+KiHY6TG1/FRJPY+HXZ5sODtRj6R3SvTLqxCb6BpuHA/hXiujqy446L+yy4ZoPsVs1KIe+oRSFkL0CtgI2oZg+7Wz3t+2aw8q88tBxGSgpbS3nlLUQnASeu7l90gRXkOG6wK+HMqlvZm370u3/CgUYZou2CoHh02lPrR4c+N/6w8VnJf5yXDA4/BT/lqUQX9loDQPrNQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meinberg-usa.com; dmarc=pass action=none header.from=meinberg-usa.com; dkim=pass header.d=meinberg-usa.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinbergfunkuhren.onmicrosoft.com; s=selector1-meinbergfunkuhren-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qs01Uk87+pM3yNWAT0SfBFoIqW3NzREyLCB+Idel2ec=; b=ES5i2LLCpW26l2VdkDINNVl3lMV9JpKJyRYYfGiRvnSohmso0FuHNxG6/oKqa64QSVeJU3LCV5Q1Lx4PeXECk6zvPeamH+QhCiuesW5QunD0sXPAt02kG0wx6CAJREh/VliecJUleSc2Umh2BChyIIZiJBrJpFPPA3T8Ep/z+ig=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5417.eurprd02.prod.outlook.com (2603:10a6:10:ed::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Fri, 17 Apr 2020 14:29:16 +0000
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::9525:30ab:defe:44a6]) by DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::9525:30ab:defe:44a6%7]) with mapi id 15.20.2900.030; Fri, 17 Apr 2020 14:29:16 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: "kristof.teichel@ptb.de" <kristof.teichel@ptb.de>, NTP WG <ntp@ietf.org>
Thread-Topic: [Ntp] Antwort: Re: The bump, or why NTP v5 must specify impulse response
Thread-Index: AQHWFKHtDqmNbDK3dkWIBwptnc4uOKh9X7lV
Date: Fri, 17 Apr 2020 14:29:16 +0000
Message-ID: <DB8PR02MB561109910EE4EE2BC979E764CFD90@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <E591F38A-A303-4077-BC4C-A61AB7867F83@gmail.com>, <CACsn0c=zzDKP6iBjPJWGF0rkqSaY3AY738ynGwDZO14sdBJ-Bg@mail.gmail.com> <CAJm83bB2A3VUxXX47Y0ubmS9Xne7PRSyV_xHY_D9YvHjqE-vFA@mail.gmail.com> <CACsn0cm3jpKZTUQ=novTgVaFhc1xCJgmUF3oOgdrzQa-HgOCUQ@mail.gmail.com> <CAJm83bAqbMMs2W3SyH+3c17wcC85paY4-_jk2SxczgsxBLyYyA@mail.gmail.com> <CAJm83bAQeR_6U3jgmbWzdus3pu+OO2_KP+M9RtbCFYOfDQy4dw@mail.gmail.com> <DB8PR02MB56111CCA23CDCF97A3C9F3E8CFDD0@DB8PR02MB5611.eurprd02.prod.outlook.com> <F7E5836A-4C7A-4A1A-B769-65EADE2C8F5C@gmail.com> <7d909ae3-a830-1270-6920-fa088a56525e@nwtime.org> <6C9832A9-E18B-4DE2-934F-9E471FC22F7B@akamai.com> <bc7920e2-dc81-ba7f-ec24-7926cda8589d@nwtime.org>, <OFF6FE7A91.279129DD-ONC125854D.00379455-C125854D.0038D979@ptb.de>
In-Reply-To: <OFF6FE7A91.279129DD-ONC125854D.00379455-C125854D.0038D979@ptb.de>
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=doug.arnold@meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 97c46f20-ede4-455d-53d2-08d7e2dbb53d
x-ms-traffictypediagnostic: DB8PR02MB5417:
x-microsoft-antispam-prvs: <DB8PR02MB54176EF9A1D3049EE1DC15ABCFD90@DB8PR02MB5417.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0376ECF4DD
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR02MB5611.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(366004)(396003)(346002)(39830400003)(376002)(136003)(316002)(66556008)(66946007)(66476007)(76116006)(66446008)(64756008)(508600001)(26005)(91956017)(52536014)(186003)(966005)(6506007)(53546011)(7696005)(44832011)(110136005)(2906002)(33656002)(8676002)(81156014)(8936002)(71200400001)(9686003)(55016002)(5660300002)(86362001)(19627405001); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: meinberg-usa.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: b+14vBLQ5O5K5GwIToEtLdBOHe0P7fVzAsj0yjkF+luYhYyHL10TEW+Y8L8EzVCDP5CRyZhKhK7ZB+1zEhMg1IDld1Zwe4ABbqFkDMUaBxbA++TZhhj+oAH3+XXne/5Ol5RQEzCQn2J3Jr4G/kq/B/N4a7uY9vMIlcz+/bqu0X4A3oTxIk54WbtHrrM7T+mpjBh8gx/KTkgS6HBWVVkkUtpiJjFzuyIT+jwnMX8Q4CYM3/qwbvMun93ZdXX7mTHDjuKRjUvvEaDNYclqlrtbEE1gAdqkL34gX2VGjZtUYGGMtGa7Djk+yD6L1Uq/FFwvFadyVH0950Pgrz1VlCYO7Fi5sbHn8WUNuGZJoKdegTX/FZLByss2tmkIdLSYUM2/hvH02KpNaEKWRAdKkk61QS7y8R6Yqnhs/JM/1bglBOrw6HjrSelXXNueYAheM1YJjU9b1+pO8F0B2eUrzHVQY4KlIF6kGp8oUQEbyivXpUbh6ktiiwJzGllSTw3rwoK/vosc0mO23xy4vk4NFtfxpQ==
x-ms-exchange-antispam-messagedata: /MDSl0IEO3gYjSL0g/ozzkrXbwF+LCV2xvT4ju9Aeo7bQ2sU1JD+BvPDDcN5O6ero0y1jr+zTvOmKW2zLGRNjX7TlCqBRUUYYBcRJ7m02wT0NtbEyHaA7OgljaCToHDUgclMFQQKggOU/RJDGgOt+w==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB561109910EE4EE2BC979E764CFD90DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 97c46f20-ede4-455d-53d2-08d7e2dbb53d
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 14:29:16.0925 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d59904cd-769f-4368-8bd0-f5f435893a38
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: eRM/LAKl8KPQV/c/fMMKvT0UnEKh2xF0WiP3FekxBb85KBfGiduKarZfeZ+OARGILxUJ+NEgNp2PXULcEAlPHtKDjzVDcmh6XpcB6j0eFfs=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5417
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IVYLJCuqY3lT7RDa7Mt4eWaXvek>
Subject: Re: [Ntp] Antwort: Re: The bump, or why NTP v5 must specify impulse response
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, 17 Apr 2020 14:29:23 -0000

I support this proposed top level architecure, and would be happy to help.

Doug

________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of kristof.teichel@ptb.de <kristof.teichel@ptb.de>
Sent: Friday, April 17, 2020 3:20 AM
To: NTP WG <ntp@ietf.org>
Subject: [Ntp] Antwort: Re: The bump, or why NTP v5 must specify impulse response

Hey all,

I wanted to offer my point of view on the question of modularity for NTPv5 as discussed here.
As many of you may know, the place that I'm coming from is not decades of practical experience in NTP implementation and/or maintenance, but instead years of close academic and theoretic scrutiny concerning guarantees for time synchronization methods.

For me personally, the separation of NTP would ideally not only be made into protocol on the one hand and algorithmic and response behavior on the other hand, but go one step further.
I would prefer separation into three layers, specifically:

1) Network protocol (what kinds of messages can one send, and how does one have to respond to incoming messages); this should be specified on a per-association basis and security should be handled mostly here.
2) Algorithmic offset calculations to the desired "true" time scale (how does one calculate time offset, frequency offset, perhaps offset of higher-order derivatives); this can involve multiple associations; security of the individual associations should be known so it can be taken into account if desired; this is the module that needs to be aware of the use of different time scales such as TAI vs. UTC, the handling of leap seconds etc.; this module should also be aware of how clock steering is handled (see below) and account for it.
3) Clock steering (how is the participant's clock manipulated in order to accomodate the measured offset(s) and make the clock read something close to the "true" time, e.g. hard-setting the counter vs. manipulating the frequency via counter increment vs. manipulating the clock in other ways such as via the oscillator's voltage vs. handling all of that via virtual clocks); this can differ between machines, specifically between OS and hardware and should be treated appropriately.

With this separation, we need well-defined interfaces between 1) and 2) and between 2) and 3).
Not dealing with 3) in a specification and leaving it to implementations should be seen as a real option, keeping in mind that knowledge of 3) can increase accuracy of 2).

Regarding the nomenclature, I would strongly suggest getting consensus first on which of the many ways forward is going to be taken in order to arrive at something that can be called "NTPv5".
Specifically, it should be decided early which of 1), 2) and 3) that document should treat, the options as I see them being 1) only, or 1) and 2), or all three.

What do you all think?


Best regards,
Kristof


-----"ntp" <ntp-bounces@ietf.org<mailto:ntp-bounces@ietf.org>> schrieb: -----
An: "Harlan Stenn" <stenn@nwtime.org<mailto:stenn@nwtime.org>>
Von: "Dieter Sibold"
Gesendet von: "ntp"
Datum: 16.04.2020 19:29
Kopie: "Watson Ladd" <watsonbladd@gmail.com<mailto:watsonbladd@gmail.com>>, "NTP WG" <ntp@ietf.org<mailto:ntp@ietf.org>>, "Doug Arnold" <doug.arnold@meinberg-usa.com<mailto:doug.arnold@meinberg-usa.com>>, "Daniel Franke" <dfoxfranke@gmail.com<mailto:dfoxfranke@gmail.com>>, "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org<mailto:rsalz=40akamai.com@dmarc.ietf.org>>
Betreff: Re: [Ntp] The bump, or why NTP v5 must specify impulse response

The problem with this combination is that we currently have no
implementation that conforms to RFC5905 completely.
There are different use cases for potential clients. Some of them are
not well served with the current algorithm other are. A modular approach
would allow both: to apply an algorithm most suitable to the application
and to be compliant with the protocol spec.

Dieter


On 16 Apr 2020, at 11:58, Harlan Stenn wrote:

> On 4/15/2020 6:38 AM, Salz, Rich wrote:
>>>    We had the same discussion at the transition from ntpv3 to ntpv4.
>>>    If you do this, please do not call it NTP.
>>
>> Can you explain why 3->4 could still be called NTP but 4->5 should
>> not?
>
> You didn't quote enough context.
>
> NTP is a combination of two parts:
>
> - the protocol/packet structure
> - algorithmic and response behavior
>
> If you are only specifying the protocol in this new thing then it is
> dangerous/misleading/irresponsible to call this v5 document "NTP".
>
> It is only slightly less dangerous/misleading/irresponsible to call it
> "NTPv5 Protocol", regardless of whether or not there is also an "NTPv5
> Algorithms and Response Behavior".
>
> --
> Harlan Stenn <stenn@nwtime.org<mailto:stenn@nwtime.org>>
> http://networktimefoundation.org - be a member!

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