Re: [Ntp] Comments on draft-langer-ntp-nts-for-ptp

Miroslav Lichvar <mlichvar@redhat.com> Mon, 08 March 2021 10:37 UTC

Return-Path: <mlichvar@redhat.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 445913A003F for <ntp@ietfa.amsl.com>; Mon, 8 Mar 2021 02:37:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.368
X-Spam-Level:
X-Spam-Status: No, score=-2.368 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.248, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.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 XuwdhRt--c2L for <ntp@ietfa.amsl.com>; Mon, 8 Mar 2021 02:36:59 -0800 (PST)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B07E43A003D for <ntp@ietf.org>; Mon, 8 Mar 2021 02:36:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615199818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZKX/QD/hltRvvb2Xl+ZcDvxa3XiQruhkzQslxxW9YNs=; b=HdhLOwjceAC8sRfU3wt0i9sJZIesv3wgqLHFGayr5/JQUsfLWE8ZWFHk3LhqvbCsdAgY13 IYqQfVPOfcYHhXa4d6ferdShNDnY3SnhX9STvRKI0FpvyDzjEKi1ey5iGul2BKyILNHUTw imN7qgZdvsoGNkvC5EPnXEjcT0IzXB4=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-151-7DL72O3tO_SQgxjY-D-sig-1; Mon, 08 Mar 2021 05:36:56 -0500
X-MC-Unique: 7DL72O3tO_SQgxjY-D-sig-1
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B11451005D4A; Mon, 8 Mar 2021 10:36:55 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0B86D5D9D0; Mon, 8 Mar 2021 10:36:54 +0000 (UTC)
Date: Mon, 08 Mar 2021 11:36:53 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Message-ID: <YEX+RYP1vXLgt5f8@localhost>
References: <CACsn0cnz1GfKUKn6q61qmAbs=VPgTGFZnP=kEeQHk9CUxLACXg@mail.gmail.com>
MIME-Version: 1.0
In-Reply-To: <CACsn0cnz1GfKUKn6q61qmAbs=VPgTGFZnP=kEeQHk9CUxLACXg@mail.gmail.com>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/w3-vGomOGAK6U2NpJrIS4_Nsuns>
Subject: Re: [Ntp] Comments on draft-langer-ntp-nts-for-ptp
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, 08 Mar 2021 10:37:01 -0000

On Fri, Mar 05, 2021 at 11:55:22AM -0800, Watson Ladd wrote:
> I think this is an important draft that covers a real usecase, but
> should try to break the flow of NTS a bit less. I hope these comments
> are useful.

There might be a more general question that needs to be answered
first. What exactly it means for "NTS" to be applied to a time
synchronization protocol? IIRC we originally had a general NTS
draft and a separate NTS-for-NTP draft.

PTP, like the NTP broadcast mode, cannot be secured to the same extent
as the NTP client-server mode. We had some attempts and they failed.

If I understand it correctly, this draft is not trying to apply the
NTS-NTP principles to PTP. That's not possible. It just reuses the
NTS-KE protocol for its own security protocol. I think that's
perfectly fine as long as there is no confusion about the NTS part.

-- 
Miroslav Lichvar