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

doug.arnold@meinberg-usa.com Fri, 17 April 2020 14:51 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 C18813A0C5A for <ntp@ietfa.amsl.com>; Fri, 17 Apr 2020 07:51:56 -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 k7wNiDMHCQAq for <ntp@ietfa.amsl.com>; Fri, 17 Apr 2020 07:51:54 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70089.outbound.protection.outlook.com [40.107.7.89]) (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 EE9963A0C53 for <ntp@ietf.org>; Fri, 17 Apr 2020 07:51:53 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lVBN9R23c96RoyoKhAp6x9SX/U/5LYMfoNvkV8xiIZab5xRIqsMFV8JdgmXrPt7fo9QL7REs/cgvYyUCRveE4O4WahBry0JrG5bif5CJFhguPQ02GeIHZ6UpQvmmBrS2kFvnq4mRReZu5hv21HHiNfCttWQB2NBBwsTH7mjt11agDfAmvVNmRTJ3jKXHRNdxOds1iE6kWTWshV8WrJ2hk9EKE/nUr72RtGF0uNtutUmZJrAr5/w6Z/lACQe3WtKdJNYvUxokDjNAfxhni7pJznMSjJowGTvcUQ7ymsPEZsv0+V/Iu8qNhDwZ+2Jd5ZnqQbHG2RwpLV4//spYCjgxgg==
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=SENwT6YvTkVESWNEK8iFKGqQ5oIsbYUJOLzlU/P0XRw=; b=fuWAJpRUKikSKWIjGZfFm3HxO29i/88UfhJNmKL6lPNv/5WTgDBaiupZLc7gwlB8r7XLb6LNtGRa55RnpwvlLgeDLTN8rmUh8/WXhLBO+BEFrlJdErZdtwA45c52D3oapvpkiwPhUFVj6N7I8keL3CB3t0fon4F9vG8fFv5+Ixf0yA3Fw9rThxYqmB7QERkY4hbTqw44lIcZ2zzxSQCXxvr2QlbOKBLqL2ZILpbrfwS5J1zESPe+eQB9yQyAYAsYCU4MoE5/MOScbLSw6N5L3Mu9ONaYLkZHDtZKtNZrE//LoHcqndjEmALpO/vmailsuMdl8LSwT7Kw2SmFbrxo4g==
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=SENwT6YvTkVESWNEK8iFKGqQ5oIsbYUJOLzlU/P0XRw=; b=SEj6PUvpNLrVdej4MWBIp2nekqapa8g92npG8/oDweDpjifLYRJxsnwpi8zycrOJo+ZWwly7W/q1AHooCoFs9nz2jinB1+bRVJfGHX7Dz0Qm/pXZEx6V0cZ47joY2+OvBKuo5l6n+PMUArwklhLEoHqDHhuPMke72GeahVj+9GA=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5644.eurprd02.prod.outlook.com (2603:10a6:10:e0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.20; Fri, 17 Apr 2020 14:51:50 +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:51:50 +0000
From: doug.arnold@meinberg-usa.com
To: Harlan Stenn <stenn@nwtime.org>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] The bump, or why NTP v5 must specify impulse response
Thread-Index: AQHWERdg/8i/rvFkyUOx/r80OrpRSqh3G4MAgABSFYCAAAKRAIAADJ2AgAAM+D+AAPEegIABe/OAgAA9WACAAVTegIAAO6oAgAADBQCAAAOSgIAAeiEAgAAIswCAANtNAIAAPrXz
Date: Fri, 17 Apr 2020 14:51:50 +0000
Message-ID: <DB8PR02MB56110E5A5BB289AE5A38CEE1CFD90@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <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> <alpine.DEB.2.20.2004161430210.5561@grey.csi.cam.ac.uk> <93795d4a-25e7-c918-47d4-44aa6d92ee5e@nwtime.org> <20200416135547.GF412294@roeckx.be> <2d483354-a707-fbca-e914-cbe1479a4c25@nwtime.org> <CAJm83bAMxGrx_PSPQUjERzT2TT_0Tiutx=R0LRF2m9bY4QTj4w@mail.gmail.com>, <39a14fe5-845d-aa3a-f236-5e767b6cce95@nwtime.org>
In-Reply-To: <39a14fe5-845d-aa3a-f236-5e767b6cce95@nwtime.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=doug.arnold@meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: af1aaf2b-7cb5-4970-6fe8-08d7e2dedca0
x-ms-traffictypediagnostic: DB8PR02MB5644:
x-microsoft-antispam-prvs: <DB8PR02MB564427DDE541F950BB492563CFD90@DB8PR02MB5644.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
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)(39830400003)(346002)(136003)(376002)(7696005)(316002)(52536014)(66574012)(86362001)(26005)(53546011)(19627405001)(81156014)(6506007)(186003)(110136005)(9686003)(33656002)(966005)(55016002)(2906002)(76116006)(8676002)(8936002)(66446008)(64756008)(66946007)(91956017)(508600001)(66476007)(71200400001)(5660300002)(44832011)(66556008); 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: QpVCQRLUM1DIAa1qQAsADGoeDL6vRgrGMB7MK63Q3qxYacInXjrBgbUKlQo6ZnL6gJn40dr38axGOzBNc40H0VTZhgcSMb0slM8OyMxUKxeElyzJPu7uHPLHgNW9azwnZFwBE/oJNR6/zLFbVFqzJTK4N7VriZ8Y9A8MHaMbVbjKAPdl6vov3ct+h/0iowuGTJ/oHl2/hSaD6mhOTkWTG427UPkfN5+GaTn4iq3rRvaX9fWY9pa+XVQDjP/P8eCw0Rutn8VxuEgwYbSdV7acFWWdvlwZRwPK0TUDdEUyFZb/1jr8kyUKUqyx7fzoYKvofynjvyRo8n7L8x83m2vVIXBGy0OyC6B2Qcul5CraoUf0vSgUjPg2uKjG91RwrjuQJGbXwdjdXz8cMzh5YvehWgt1/sDhv1PcOEJn2m/rmxYsGCNH/GvLGJ/mf5KKkDpj4KIf2mqvIjgDwhL6uyWBMsxMbKxDChqMdq4GFZBFtzHhwIPwCYQKbuy4C8rXb9lWetjNoVLe6i9QLDHTe68DIA==
x-ms-exchange-antispam-messagedata: XqEYYJTrOHTtyP/QWTJ9tiT8bijOF/hG4UtJHckB6LIrn8BF4AgVFmAX8VH/5B+ndhjsgsz+bi4YVmanefGFYsb06bGjVmE3RBtHa4io2+119/J7UluOmx8OMiCuLlgjQ4jV49f8TQdsPdgIf7qyEg==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB56110E5A5BB289AE5A38CEE1CFD90DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: af1aaf2b-7cb5-4970-6fe8-08d7e2dedca0
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 14:51:50.6614 (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: AAue6C+vpl37XVZ7zqEA4UFbFnTQJ4b8+WzgENey/CzARcQM4s1HYkCva+fsf8VdUg1X+SQdR5yIldl79ehXoXW4Mg5kAKIikwxTnZmGv8M=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5644
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NjmxtfKVCEWvvsyvocbFrFmxOf0>
Subject: Re: [Ntp] 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:51:57 -0000

I recommend starting by identifying the top level subsystems and defining the interfaces among them, as Kristoff has suggested.

I would propose as a next step to define implementations of each subsystem which meet the needs of the most common NTP applications, for example, synchronizing server and router clocks for log file entry timestamps.  This default implementation needs to be simple to configure, robust, and work over the public internet and typical enterprise networks.  It does not need to be super accurate or work over some specialized network, like a high frequency trading system.

Specialized use cases can have different implementations for one or more of the subsystems, although I would expect that we want to keep a few things consistent, such the over the wire packet format, and message sequence to collect 4 timestamps at a client or a higher stratum number server.

Doug


________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of Harlan Stenn <stenn@nwtime.org>
Sent: Friday, April 17, 2020 3:48 AM
To: ntp@ietf.org <ntp@ietf.org>
Subject: Re: [Ntp] The bump, or why NTP v5 must specify impulse response

On 4/16/2020 2:44 PM, Daniel Franke wrote:
> On Thu, Apr 16, 2020 at 5:13 PM Harlan Stenn <stenn@nwtime.org> wrote:
>> There are cases with regulatory requirements here.
>
> What regulations govern NTP's clock synchronization algorithm?

Who said the regulations govern NTP's clock synchronization algorithm?

>> There are liability risks.
>
> Who risks being liable to whom for what?

If there is a requirement that time be disciplined by NTP and the
governing NTP spec describes algorithms and behavior and you are running
something that behaves differently, then you are non-compliant, and liable.

If you KNOWINGLY run something that is non-compliant, this may escalate
the violation to the level of fraud.  This may trigger treble damages.

But that's not quite the point here.

More to the point, NTPv4 and all of its predecessors specified:

- the packet format
- the algorithms
- a set of behavioral limits and specifications

This means others were allowed to write specifications (regulations)
assuming and/or relying on "NTP" - the packet format, algorithms, and
behavior.

Removing or separating the algorithmic and behavioral specifications
from the NTP specification at best cost-shifts that discussion
elsewhere, and I submit it does this to groups that are likely
completely unaware that they can no longer rely on behavior that they
had no idea they previously relied on.

Are you planning to just do a protocol spec and "do the algorithms and
behavior spec later", or worse yet, let others do that if they think
it's important?

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

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