Re: [Ntp] Modular NTP

Doug Arnold <doug.arnold@meinberg-usa.com> Mon, 27 April 2020 15:24 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 B5F9A3A0D25 for <ntp@ietfa.amsl.com>; Mon, 27 Apr 2020 08:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.053
X-Spam-Level:
X-Spam-Status: No, score=-2.053 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.82, 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 XdbM_3HOkkuv for <ntp@ietfa.amsl.com>; Mon, 27 Apr 2020 08:24:30 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60060.outbound.protection.outlook.com [40.107.6.60]) (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 7B4B23A0D0E for <ntp@ietf.org>; Mon, 27 Apr 2020 08:24:25 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eFPQhfCUcyUMMZrCsvYz0rQq8zRiDqSrlZ0rg31OaRUv/hlwiS3Xa6EW6PyaU2eiiyIuXMzw/h3kZ2E0WqF6Sk9mqkw9NtJLJCU9VBNwU/jk4UvUk90lCNDvuTVAWL7pY52UJZuMKuozlr40MB+uSvjDbbaXjpQgcowoz81DLPc1zH/4r0hGL8E2NP/40PnDcxOdzwqs/gI8vW60pwgwkvj4hv0yR9E0exU+09mizMC/hi8BZEhkLCa6Xp7UnTTwTsDA6D+s6EIHeu8XLUWPt1I9JHvCha4H6CVwVsJDvtEmgMM4x8J8WFMe1aBAARz9EQLDpE5ujhomBtcVql1LIg==
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=qF+sZfoKoiIi/d4b7+q3c3IOKJg2yPcEk1WPOgi8q/4=; b=AHYXzz7gyK7mVp9PcaZxkFtiWJqO2q139VJaM02okzQWGcdMBTS5l7lLa67wiGoJRu3cx1PNMd/8sSZbpQ1V+9v5nX5x81ZV6ZzjYrYIMzgy9nPR7eiUdxXUG+LKH2zo4Rk5YLad5eVXl3ka76J9ZBeJdQxB6u3WLlVxZSF9WZsI8+5rkdr6ww4LbzyFg3Qs3wisVu2GRxrO4ZWTqAXrop08o5V1T4fsoF7G7yHbEHxt+lRmVMX9Cto/f4mtm8x9AKvQ6PLVhwFkfMaJetlWtwTLOSBuw/ToLo2K5xcQGzK/cSGQb4GvBawZGJXXYwEoAMqanGNxEsOTx36ZLcGdlQ==
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=qF+sZfoKoiIi/d4b7+q3c3IOKJg2yPcEk1WPOgi8q/4=; b=IUYOURV96py3cgbwFAFJ7A45gzcrP2ighdiJjjyHRi5HpS5JHcjMZ9uym8adjXzYcmNmjeT5rGQ6CD8SnPI3TSPd33dyX2UU1Hsihikv19ZxH9zOajmFYJyOYZRRdr+qA8jZtMzPkKhz/PRWKVtPGj+XM71HT4mMbB3etdCC30M=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5916.eurprd02.prod.outlook.com (2603:10a6:10:11a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Mon, 27 Apr 2020 15:24:24 +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.2937.020; Mon, 27 Apr 2020 15:24:24 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Miroslav Lichvar <mlichvar@redhat.com>, Daniel Franke <dfoxfranke@gmail.com>
CC: NTP WG <ntp@ietf.org>, Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Thread-Topic: [Ntp] Modular NTP
Thread-Index: AQHWGlr4NaqQ3eOhgUaAisdfX6u+JaiIg2J5gADS3oCAAH3Ln4AAA6SAgALFjQCAAHy4fA==
Date: Mon, 27 Apr 2020 15:24:23 +0000
Message-ID: <DB8PR02MB5611483E7B4E0E0151BD1A1CCFAF0@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <729A897B-2825-4E41-A844-286BB9500C5D@akamai.com> <DB8PR02MB561107661708391F34D09768CFD00@DB8PR02MB5611.eurprd02.prod.outlook.com> <CABUE3XmEZrMqNsxBBcnRFOg65CDExnnU96boBf4i_WiPjQ5Pcg@mail.gmail.com> <DB8PR02MB56113C71A7B304F010F94592CFD10@DB8PR02MB5611.eurprd02.prod.outlook.com> <CAJm83bAP9uY6ujTBVsSroOaQFWboM-B9q9Y9B=j5uE7O0z_DYQ@mail.gmail.com>, <20200427075344.GO4396@localhost>
In-Reply-To: <20200427075344.GO4396@localhost>
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: 63055762-eab1-4eda-e9d0-08d7eabf10f1
x-ms-traffictypediagnostic: DB8PR02MB5916:
x-microsoft-antispam-prvs: <DB8PR02MB5916859F2C37B9EB6A4F7E6BCFAF0@DB8PR02MB5916.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 0386B406AA
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:(396003)(346002)(136003)(376002)(366004)(39830400003)(86362001)(44832011)(6506007)(7696005)(26005)(2906002)(53546011)(8936002)(8676002)(4326008)(52536014)(33656002)(66556008)(54906003)(66446008)(9686003)(91956017)(76116006)(316002)(186003)(64756008)(55016002)(66946007)(508600001)(81156014)(66476007)(5660300002)(110136005)(71200400001)(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: xWh9/6AqLQ/GIGuwKtmnfe5WHTzdKi16FEH+8sScqC6kEF14M8Khs8aAcgrDuvKZHvUpK7p/Ssg6QEZo1jFiq440NCk8tJuaLJg/hSZCcAkbnSUPZ5pWZlu0UkyZ0TNsbYAytXCKxslKewJJovxk08aBl7lM2GeRjZfxJsq0f4MBAQ+afbQn95f3Uf+QiiodtgeHujKqtq4ahgRlxcDxnXhFrdMhG45KEDkbntOI3FdAb3jT7DL2H+u8Haqmgor7KWUTmgUDW0448eGqC9o11Ifu+COPxJ9nvVJ6bHt0PkKuHM+UkwwcysHhZ51FCJACuzdfYurkKSWZevt3FHjEP5xbmduXI46WvkhSf7A7rUa0bSsaG7nTJbppwyZhIYEgIqudCwfmjMqmoeaCdPMk3Eo3DqUQNfMTFK5+dYFdH7XFotXyrDxposzJsWRbLoTA
x-ms-exchange-antispam-messagedata: 51v4eTt7m6gPGfIkqdfG3s0g2xYRYjDjMMld+hS9qAcjmM+vhcsvSEeeZmF6FYdNTJcNsHTYb6lToBhRT7pQP/8ucctLlM9CydeglSrWSL7CZ6h17w9wlzHWkHW7U4+xmfNMNFA5iivZ/zcTRq2apOmRm9hCzTJ4F08d24CjNPOneptbnIWyEZ07tZNw6yQJQ9yl9HWa642klh2fLcg6/sOYG1SEc9WX1KAoPm9RtmockmN3QNMQ7bWyJFgOYyvd/vS0XM/aso/Q9l2pUUM0HymaSOfZSOwFx6K/SXyOxyGzvsNsS7ZBa4awIqpOtUrF/nhhzDKx05z5K/T9lqsxdNWAnEJeH3Weza6HatIl+DOHi9J84hCvedbASyXfjnQSW+TPKsoPEOFbB62hAxyJOYvwavZwf0FbY+lN3D9tclgsF2dPftjOfcwRVzytW48F68A2E2dTy0HfCV+TgjAg/xAIyqmvn/M1sz5hi2MEOOXzhCe9XlFov3K+0qXdYQVOL31AkfWFQxdNM817XPBVO1Re9i4O1YqVabMZlurju/tJCr94eJt//6PXukESQGZHJvaunosTapLkElrMujhh27piiBjFbwD05cYN0tu2qTa8pt3MZbJGdnrcCJP9VhytNsQQyOevYnfcFEDc2gX3arU4z4icWBbl3gB0LOYQU1c4ra+Deff3PXaWYvPcgE+iVu6gXqbUIKMYym6naErYu9xVKmiwex/uglJHJCGkp0AyZsGwbInsr91OLm5FF/wEcGzhQ/LcXQqZ5uaf5kzSNbha/Jk4v9G3JDVm2KPdEQ0=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB5611483E7B4E0E0151BD1A1CCFAF0DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 63055762-eab1-4eda-e9d0-08d7eabf10f1
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2020 15:24:23.6569 (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: ZS15jOwsTFW2qs/Zni9mDyJ+PPCf51m6UwyqCW/W4KuKTHQWn9JKUW6qQ9SRW/npUGWKNhuKeJtSX880GFLohfsXWTUcUEj3uwpCP07YVwo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5916
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/jlkknOw3k0CmDDJxRdh7h5Mf8Ks>
Subject: Re: [Ntp] Modular NTP
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, 27 Apr 2020 15:24:33 -0000

Good question. I was thinking that any decision from received data intended to increase time accuracy at the client, would be part of clock contol, and the protocol engine just handles the mechanics of sending and receiving messages.  So source selection and filtering would be part of clock control.

However, it would also be possible to make another subsystem in between clock control and the protocol engine, which would be focused on source selection.  What do you think?

Doug

________________________________
From: Miroslav Lichvar <mlichvar@redhat.com>
Sent: Monday, April 27, 2020 12:53 AM
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: Doug Arnold <doug.arnold@meinberg-usa.com>; NTP WG <ntp@ietf.org>; Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Subject: Re: [Ntp] Modular NTP

On Sat, Apr 25, 2020 at 09:34:09AM -0400, Daniel Franke wrote:
> This interface is very straightforward and I think its description belongs
> in the algorithm document. On the client side, the protocol engine feeds
> the clock control algorithm a stream of decrypted responses annotated with
> their origin and destination timestamps. On the server side, the clock
> control algorithm feeds the protocol engine the clock values that it should
> be responding with.

I presume an RFC 5905 implementation should be easily split in this
scheme. Where is the clock filter and source selection? Are they all
in the "clock control"? The clock filter needs to be compatible with
the control loop. Source selection is between them.

--
Miroslav Lichvar