Re: [Ntp] NTPv5 modular architecture update

Dieter Sibold <dsibold.ietf@gmail.com> Thu, 23 July 2020 21:02 UTC

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 2C9AC3A0DB7 for <ntp@ietfa.amsl.com>; Thu, 23 Jul 2020 14:02:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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 oWFD-nSCFyb8 for <ntp@ietfa.amsl.com>; Thu, 23 Jul 2020 14:02:16 -0700 (PDT)
Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 381483A0DB6 for <ntp@ietf.org>; Thu, 23 Jul 2020 14:02:16 -0700 (PDT)
Received: by mail-ej1-x62c.google.com with SMTP id n26so7880316ejx.0 for <ntp@ietf.org>; Thu, 23 Jul 2020 14:02:16 -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:content-transfer-encoding; bh=4L6LrF4mu/rqUMA9Vt3AL7O1sSRloyKXnyxCNZMVVHM=; b=CLnuHs+i/BoFWiwUDHZkYw93EWoVwmQaMhK5N2LN9SLuip3RZTZ1Gi4Qp5mFsvppOO ejfPfC6yma/HYoYI8mFrhgXC8kavwt7cv+ng3Mc9MBfjlFc+prJPl9CkUS67PlkZ9Xxz W4dnnRFQbjdsTgLYNTeBIUf0VZgiLeKd+0XDELOlSjG/DOMUhqc8GvDg+YY/Ud4TXdxC 0Kdl4zX2wlU5eXVnGATywflqYYrZaaweLzu4HDEjm2F84QSfhcvjf0opNuFXYryJC9GF UgjLODRSAOAZF2HPkVH5J5ka5h1whkwIqVO8+UMlbdsA/A1P1DEE56ELoOJxFdrHyiXI Njfw==
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:content-transfer-encoding; bh=4L6LrF4mu/rqUMA9Vt3AL7O1sSRloyKXnyxCNZMVVHM=; b=JmzynazRmDWzI7z8beipiOugenv6V3ApF9A3km7YH9NTynkqaOaD1aizy1SXFyAewT Ln8kI8FDk/xs3jJP6hUHk2v81m20myFJFm3kfFQHAE8AQieetZOKM5cwiwrlk86h7G12 tNRvGXZMk4v3WmjzfmOERkUX8SQeEh4trovmF+lRq2yBoRLu5g+XNmVu0amBbhF5XikU BggKQ/Gufr77aseR2jGJ6gM7qFA/svXVzQZmdQYoO8hXQ9cYo+/gVRVHo0x9hwHPERRJ cY0wu3mPG/B3mR1mswuCxkjR5djzViYXrA1JOw5/MEDl0fjXA8Ec4rvQYEwgNDBzytgQ ujuA==
X-Gm-Message-State: AOAM530QYdBRbjV+CB7dWhMH617D3uNLDJyAinEpRPurbpui37S1vUEq LYv0ty63Zr4MyIa8mhuh2UJUR6zn
X-Google-Smtp-Source: ABdhPJyzfAfac/QUSfr/Gd6W9MlTFD2Ka7T5uDBgOf10nMplS2s1eQ9I+NKQKSCixcmLYGxy7wu3JQ==
X-Received: by 2002:a17:906:3152:: with SMTP id e18mr6398688eje.137.1595538134762; Thu, 23 Jul 2020 14:02:14 -0700 (PDT)
Received: from [192.168.111.35] (p200300d17f140b00dcd6c6d05902b749.dip0.t-ipconnect.de. [2003:d1:7f14:b00:dcd6:c6d0:5902:b749]) by smtp.gmail.com with ESMTPSA id y21sm2762249ejo.4.2020.07.23.14.02.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2020 14:02:14 -0700 (PDT)
From: Dieter Sibold <dsibold.ietf@gmail.com>
To: Doug Arnold <doug.arnold@meinberg-usa.com>
Cc: ntp@ietf.org
Date: Thu, 23 Jul 2020 23:02:12 +0200
X-Mailer: MailMate Trial (1.13.1r5671)
Message-ID: <64189FBD-C5F7-496E-9373-8ACE0EB8969E@gmail.com>
In-Reply-To: <DB8PR02MB5481C1EBE9C74F1EFD2E5372CF760@DB8PR02MB5481.eurprd02.prod.outlook.com>
References: <DB8PR02MB5481C1EBE9C74F1EFD2E5372CF760@DB8PR02MB5481.eurprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/XJhPkuZAaIddJ3bVbhTewJEgDJw>
Subject: Re: [Ntp] NTPv5 modular architecture update
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, 23 Jul 2020 21:02:19 -0000

Hi Doug,

thanks for the proposed architecture.  From the first reading I have 
following comments:

1. As far as I remember Kristof and Daniel proposed to separate NTP into 
three parts:

(i) the on-wire protocol
(ii) selection and filter engine
(iii) steering engine

This would allow to apply different clock control mechanism independent 
of what selection and filter mechanism are applied.


2. The received packet information are basically NTPv4. I see following 
issues:

(i) all 4 packet timestamps are not needed. See data minimization draft. 
Especially, the client must not send t_1 anymore.
(ii) root delay and root dispersion are accumulated values. If 
traceability is an strict requirement, data per hop would be more 
valuable. Also, the computation of these values are done with respect to 
NTPv4’s clock steering mechanism. If different clock steering 
mechanisms are possible in NTPv5 root dispersion and delay may not be 
good estimators for the desired numbers.


3. Security

Security should be the default. I would even propose to encrypt the 
timing packets per default.


Regards
Dieter






On 23 Jul 2020, at 21:34, Doug Arnold wrote:

> Here are some, hopefully, improved slides based on feedback.  More 
> feedback welcome.
>
> Doug
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp