Re: [Ntp] NTPv5: big picture

Doug Arnold <doug.arnold@meinberg-usa.com> Tue, 05 January 2021 22: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 41ED53A09E9 for <ntp@ietfa.amsl.com>; Tue, 5 Jan 2021 14:24:51 -0800 (PST)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-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=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 C_UsmGHKhc6T for <ntp@ietfa.amsl.com>; Tue, 5 Jan 2021 14:24:48 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20060.outbound.protection.outlook.com [40.107.2.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 B3E903A09E8 for <ntp@ietf.org>; Tue, 5 Jan 2021 14:24:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hk4tlJ9Ql8tLRwU62DTxxQxiKTQWq3bMfveiFs6sXqZwAv+6S9545KpkRR0vDwr3t/fLKbZhyr5sas1Q7LrulL9oYGJBeoBiGONfuqqkLxuyGPbBjoi+RVtuznpY1BbH6MovGh8wJCak0xejqRZsc3vfZx1s2+g0c+DsHtLnTp9+cqVavZn+Isce6iVOM3a4r36IJwTsaAlwaoofxoc4Vz5tne7/DOBUgez9H8AyC33S+eDmQFSTiFtYdYWPPOe5rpAe7cWoMsWDle+5yr6fXduzLkAVU8FQorjoRB889llSC582vKE4dFWNVhX5pWp8l5U9HD/H2vdS4PTHkV9kxw==
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=B8RbhgHYOg1gb2L/OMIAA346vfpIXwaWxZ56sXUM/X8=; b=Ms+NBT0d6IK1W28N/ViKZXkcfRBtZ+IjHJzdIo7hhTVtwUb60Jk2GHwBFs3tJV46V79RqHQ/rkgrgc4tWWfavF0iB7t0c2xo8M2RFtQIlYtdNu6jk0yXkD1gK9Di1Ssl/gHeMDXu5E59nC5ExJsvgBA/UzsFukFnOZqJZTCLwFAJYg8FwdvGVUigc4l+N7boFluv93f2aMphlG0wKRpQf7K87KKMAHzeN1O44TySO/SmSbZxrMuhEhpPTMzUeVNXv5rh39sio1dQLEYQbmCtd8eKWMFhrfoEUxfJ3jBpbiq6K2hoUHz+n7GYYhNj6Jykq2wBIq5tFn3Rem+Y1F+U+g==
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=B8RbhgHYOg1gb2L/OMIAA346vfpIXwaWxZ56sXUM/X8=; b=sBX9x/5azRlh1C70l6vVAywa/4r0gplMWFK4l82aVSsN1bym/2F1VMyrMkwqM5PeZUNJITUHXdCV+41OvKa8BtE/L2/cyDO5aJlQuVNTKSRZ980HCvhqLlGZwQLF+y+TSjbDMnoGvK2/2OVC4r3/6oyA6UDcUC5v0AZ+6sLabQ8=
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com (2603:10a6:20b:102::15) by AM6PR02MB4327.eurprd02.prod.outlook.com (2603:10a6:20b:4e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23; Tue, 5 Jan 2021 22:24:37 +0000
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::2801:6f88:321e:8e3b]) by AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::2801:6f88:321e:8e3b%4]) with mapi id 15.20.3742.006; Tue, 5 Jan 2021 22:24:37 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Magnus Danielson <magnus@rubidium.se>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] NTPv5: big picture
Thread-Index: AQHW4IkL6LjYqLIbHU2ZkEkCm9jAIaoXUgmAgABfNYCAAZz3AA==
Date: Tue, 05 Jan 2021 22:24:37 +0000
Message-ID: <B66A5E59-3DFA-4919-8AEA-270A900E9153@meinberg-usa.com>
References: <doug.arnold@meinberg-usa.com> <0DF4D79B-29BA-4DB0-A3D6-EE3B6AE807DF@meinberg-usa.com> <20210101215657.BF9E240605C@ip-64-139-1-69.sjc.megapath.net> <6B78E22D-8712-4723-8F59-118044D0934F@meinberg-usa.com> <c35e1247-002b-7559-3638-c86c1312ade3@rubidium.se>
In-Reply-To: <c35e1247-002b-7559-3638-c86c1312ade3@rubidium.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.44.20121301
authentication-results: rubidium.se; dkim=none (message not signed) header.d=none;rubidium.se; dmarc=none action=none header.from=meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dcc95781-b5af-473f-451a-08d8b1c8afbf
x-ms-traffictypediagnostic: AM6PR02MB4327:
x-microsoft-antispam-prvs: <AM6PR02MB4327C04306F41B115B07250ECFD10@AM6PR02MB4327.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: KFCHqIPGqAES/Vb8mL3rVWDVmOjc9zxwkRYkEuP2PzzATpe9WMcohe+uMprkT1liGckdR+Ha1ou7JR/Uq/HQcZGgiobRM1TfXC+K+rHLHRskF+Z5GTMf3dJlwJcho4sK+o5u14ScZnlMfERHNcRr6ATyLZUFE5mbfhLYwI/r+UeBi0SxqqzSpgOWdf/0cK2NbSsVbfILVvOGBErYWrXT6fRzkL4thj4TE83eKmJMmNlMZkI/KGN41ec1OKn4oI+Si0UehDGVQ62Kv8vLa/TkNjQ+yk5fMygtMS2vHb3X75nu/2P+BtmfK91Z27yEOSbBWE5xfQQbdDy9PBRJwzmFrqouZijGuyASyFjvRsiFPXMh66fHIFXBm2YWdW1kGY49i3N/dGe0ZfgEpI/L4mEfGyEwmG1eaRHYovn7oCwBjIHGNxDA1AfaI9+w7Xnggxf2FOLsqIeHmICBECsJDL+lmyTwK00s1/AeJmIH2Er79s7jjMojFFOHVnYql/5wMLbot19KmKY5SFGpdeFy8ST1fw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR02MB5765.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(136003)(39830400003)(346002)(376002)(5660300002)(91956017)(2906002)(66476007)(6486002)(6506007)(2616005)(66946007)(86362001)(36756003)(64756008)(110136005)(316002)(83380400001)(66556008)(26005)(66446008)(76116006)(8936002)(966005)(33656002)(478600001)(8676002)(186003)(53546011)(44832011)(71200400001)(6512007)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 40hOtc8Yq7+JrzufdgN88nBGi+bPxCMIXTPfRk0lmn6pDFVjjYDENmayvvFFLMOYRP2g/vKX6fkXt/rhg07wPGHjki6hR150zJ8bIpasv+LC0q0reN/9jZchEDQJOq1FC3865fasau1mVtHNxWW43EtChtoA3yVzTcY0mX8CqQBBl6Qc7gTDj+tM6A1t8GrcvKVp01m9id28AcrTI/1mujdSDKVVHtfh149Q/WfTZE6maTbwZwkF3G2oGIaC7LyYHBBQiVcAZj9Ni+sDt48YVSXcvjEwowiDPR9fpba0v2tlnaOAzS+VS6KmyhroXEkEsg1icErgy5WVsRCsGpqc0DP2zWNFKnK5isgnmp7Zin2Kgrk4MuPGaiUFJ6T3v/8xE4h/pnYHAdNj3Yze6NWl6blD5ebutrIICU7y51FesYs0ABpZACBJu7RIkRsqrFnPReWYVUJh8fmayTd2skckDaFTpSA7RXDxX7LWlV76pwUGKsktOZ0635z5wsjhRbKZ7wGkS7jD14W+V1AMSXFxd68Y7wlX6mX87Ja+jeIZP+ZhUL8r8jmFui0KK5AP0BNUPsnxI/fnGIKZ71mdu/RJJW4ZqMXKT72867YpHlb25jPQVDK4lKfv5sMAwGKl++YN+x6sgu1afHrbAU2Bd3NZrUExaZqRJQiwjCDz9cEQ0LSNIv/AuJvzs66CNaZTBNbQQiBnUUPw/axE/2/XQU+v1vBeIWc7X3jiSkRajWo1AuyCW1eYPYYt3A5XpJJRtNmms5J5WtQOpgt1KJn9bBaW1sJeb8jpVv0YDnKXcT8cIbfdJ+L9cjuXChnphbT5JD/QQUpmBwou9IvXgqQUV5fwGV0w6CARO+JzhRvXtR2fPAjEMTCQVYWCXuqVkvUG0pfuaoVC6VCn+hoVMEdGbZBaKGvWdS0ES190e1fzi6GIc4J1QsBam7cHUxCVLAUSw8YoZWDb/LM45wElJhT3bbB0NgoDp/PLE93/u//mLQ2pyrjZpvu75pettbvBG3Qg9DFx
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <51BD0F7A1E54994DBA5637A08F5FE46F@eurprd02.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR02MB5765.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dcc95781-b5af-473f-451a-08d8b1c8afbf
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2021 22:24:37.2331 (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: XnvP+4a9PQqqZGc0v8utbKBBi6jqg0ZEGRd66I2ju1yqxi2RF7kxhwxNYzs1SoVnUNx0WABELoIlCr6Paq6CVvbWzzPFc66yqYJB7VhAhjE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR02MB4327
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/k_KkyDo1stM8yJiF21bfOChZ9wM>
Subject: Re: [Ntp] NTPv5: big picture
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, 05 Jan 2021 22:24:51 -0000

Perhaps an informative document on implementation for security and robustness?

Doug

On 1/4/21, 11:46 AM, "ntp on behalf of Magnus Danielson" <ntp-bounces@ietf.org on behalf of magnus@rubidium.se> wrote:

    Doug and Hal,

    Indeed. You can do much much better in fact. Many times it's not the
    protocol format that is the main limit, but other protocol features.

    I know of designs which while not using NTPv4 use a propriate format, it
    could very well have been NTPv4 format packets.

    So, it's more than how NTP packets look, it's how typical
    implementations are done with the implementation constraints that NTP
    comes with. Release constraints and think differently, and you can get
    far better quality.

    While future NTP may not need to go into all the available design space,
    as some is already taken by for instance PTP or proprietary protocols,
    there is still good reasons to leave room for future enhancements.

    Cheers,
    Magnus

    On 2021-01-04 17:05, Doug Arnold wrote:
    > Separating the algorithms from the message formats, and sequence allows for more flexibility for niche applications.  I know of a company that successfully sells a proprietary non-standard variant of ntpv4 for just this purpose.  More accuracy can be achieved with on path support, higher message rates and different servo filters.  
    >
    > Doug
    >
    > On 1/1/21, 4:57 PM, "Hal Murray" <hmurray@megapathdsl.net> wrote:
    >
    >
    >     doug.arnold@meinberg-usa.com said:
    >     > I would say that the unifying themes for ntpv5 are greater flexibility, and
    >     > higher accuracy, compared to ntpv4.   
    >
    >     Do you have any ideas on how to improve accuracy?
    >
    >     What are you thinking of for flexibility?  There has been a lot of pressure to 
    >     require feature X.  Examples are TAI-UTC offset and authentication.  That 
    >     seems like reducing flexibility.
    >
    >     -- 
    >     These are my opinions.  I hate spam.
    >
    >
    >
    >
    > _______________________________________________
    > 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