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

"Langer, Martin" <mart.langer@ostfalia.de> Mon, 08 March 2021 12:25 UTC

Return-Path: <mart.langer@ostfalia.de>
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 47E463A0D71 for <ntp@ietfa.amsl.com>; Mon, 8 Mar 2021 04:25:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 V7O5vJg1xJW5 for <ntp@ietfa.amsl.com>; Mon, 8 Mar 2021 04:24:56 -0800 (PST)
Received: from mx1.sonia.de (mx1.sonia.de [141.41.1.237]) (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 82DC53A0D6B for <ntp@ietf.org>; Mon, 8 Mar 2021 04:24:54 -0800 (PST)
Received: from mx1.sonia.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C1A041C800CF for <ntp@ietf.org>; Mon, 8 Mar 2021 13:24:52 +0100 (CET)
Received: from exchange08.resource.sonia.de (exchange08.resource.sonia.de [141.41.8.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.sonia.de (Postfix) with ESMTPS id A09A31C800CE for <ntp@ietf.org>; Mon, 8 Mar 2021 13:24:52 +0100 (CET)
From: "Langer, Martin" <mart.langer@ostfalia.de>
To: NTP WG <ntp@ietf.org>
Thread-Topic: [Ntp] Comments on draft-langer-ntp-nts-for-ptp
Thread-Index: AQHXEfmMSKND+BsUuke89/+0bAqpHap4wuQ/gAEYJYCAAAi0AIAAEEoAgAAS/jc=
Date: Mon, 8 Mar 2021 12:24:51 +0000
Message-ID: <6a65d57dffe5416c99a151f0da101af1@ostfalia.de>
References: <CACsn0cnz1GfKUKn6q61qmAbs=VPgTGFZnP=kEeQHk9CUxLACXg@mail.gmail.com> <f51dfb1db7c843ecaf58efac526d30ef@ostfalia.de> <6C614D22-A00E-432E-A65E-9A21F8B4476E@meinberg.de> <YEYHHhIrYv4ZhTkl@localhost>, <675BBD71-AEE4-4DA5-A64F-40C86BB9755C@gmail.com>
In-Reply-To: <675BBD71-AEE4-4DA5-A64F-40C86BB9755C@gmail.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [141.41.8.54]
Content-Type: multipart/mixed; boundary="_004_6a65d57dffe5416c99a151f0da101af1ostfaliade_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yY8iZ-CtVqKEDwGNr3gOUMpi0e0>
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 12:25:03 -0000

Hello everyone,

attached is an intermediate version (draft-langer-ntp-nts-for-ptp-01) as PDF version.
The XML version is not uploaded to the IETF yet. The PDF contains the missing chapters.

many greetings,
Martin



-------------------
Martin Langer, M.Eng.
Ostfalia Hochschule für angewandte Wissenschaften
- Hochschule Braunschweig/Wolfenbüttel
University of Applied Sciences

Labor Datentechnik, Labor Design Digitaler Systeme
Fakultät Elektrotechnik
Salzdahlumer Straße 46/48
38302 Wolfenbüttel
Germany

Tel.: +49 5331 939 43370
Web: https://www.ostfalia.de/cms/de/pws/bermbach/mitarbeiter/martin-langer



________________________________
Von: Dieter Sibold <dsibold.ietf@gmail.com>
Gesendet: Montag, 8. März 2021 13:12
An: Miroslav Lichvar
Cc: Heiko Gerstung; Watson Ladd; NTP WG; Langer, Martin
Betreff: Re: [Ntp] Comments on draft-langer-ntp-nts-for-ptp



On 8 Mar 2021, at 12:14, Miroslav Lichvar wrote:

> On Mon, Mar 08, 2021 at 11:43:29AM +0100, Heiko Gerstung wrote:
>> As far as I can see, up until this point the mechanism can be very
>> similar to NTS4NTP. We most probably need a different cookie format,
>> but the rest should be OK. Once we did 1 + 2, the unicast master will
>> start the PTP packet transmission to the authenticated (via the
>> cookie) PTP client. The client will also start sending Delay Req
>> packets and requires the GM to respond with unicast delay responses.
>>
>> During this packet transmission phase I propose to use the S2C to
>> secure the packets from the GM to the client (ANNOUNCE, SYNC,
>> DELAY_RESP) and the C2S key to secure the packets from the NTS/PTP
>> client to the GM (i.e. DELAY_REQ).
>
> I don't think it makes sense to use NTS cookies in PTP, even if you
> limit the NTS support to the unicast mode. The main point of the
> cookies is to avoid having client-specific state on the server. That's
> not possible in PTP as announce and sync messages are not responses to
> requests. They are sent at their own interval, which can be different
> from the delay request interval.
>
> In PTP there has to be some client-specific state and the clients need
> to be authenticated. Very different from NTS-for-NTP.

I agree with Miroslav. There is already state information defined in the
IEEE 1588-2019 version in the context of the Authentication TLV. It
should be possible to use them also for this purpose. This would make
things easier compared to offload state information via cookies to the
slaves and would minimize computational for the master.



>
> --
> Miroslav Lichvar
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp