[Ntp] Antw: Re: Antw: Re: Antw: [EXT] NTPv5 Loop Detection without Stratum

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Tue, 06 September 2022 06:14 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.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 63808C1524CB for <ntp@ietfa.amsl.com>; Mon, 5 Sep 2022 23:14:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o9VuDssd2CIF for <ntp@ietfa.amsl.com>; Mon, 5 Sep 2022 23:14:30 -0700 (PDT)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e7a]) (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 E08E0C1524D2 for <ntp@ietf.org>; Mon, 5 Sep 2022 23:14:28 -0700 (PDT)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8BEA8600004F for <ntp@ietf.org>; Tue, 6 Sep 2022 08:14:24 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id 69E98600004E for <ntp@ietf.org>; Tue, 6 Sep 2022 08:14:23 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Tue, 06 Sep 2022 08:14:23 +0200
Message-Id: <6316E53E020000A10004D6C6@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.4.1
Date: Tue, 06 Sep 2022 08:14:22 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: mayer@pdmconsulting.net, mlichvar@redhat.com, halmurray@sonic.net
Cc: "ntp@ietf.org" <ntp@ietf.org>, Heiko Gerstung <heiko.gerstung@meinberg.de>, david@venhoek.nl
References: <david@venhoek.nl> <CAPz_-SVPE-Fd1vFWnbu+GAPc=y2bkJMW4pyu98bBwDfcm+R2rg@mail.gmail.com> <20220830205143.DFDC328C1D8@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <Yw8NBX6ATjRr0/A4@localhost> <b52ceff2-28a4-ef4e-2d63-ce2a0f519adb@pdmconsulting.net> <F347640002000095FDA5B133@gwsmtp.uni-regensburg.de> <8F7E1DA8020000866A6A8CFC@gwsmtp.uni-regensburg.de> <3510EFC5020000235AEBDC6A@gwsmtp.uni-regensburg.de>
In-Reply-To: <3510EFC5020000235AEBDC6A@gwsmtp.uni-regensburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/R0tI038SBa6jU36-FLMxNY-hqEE>
Subject: [Ntp] Antw: Re: Antw: Re: Antw: [EXT] NTPv5 Loop Detection without Stratum
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Network Time Protocol <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, 06 Sep 2022 06:14:34 -0000

>>> Danny Mayer <mayer@pdmconsulting.net> schrieb am 05.09.2022 um 21:56 in
Nachricht <b52ceff2-28a4-ef4e-2d63-ce2a0f519adb@pdmconsulting.net>:

> On 8/31/22 3:25 AM, Miroslav Lichvar wrote:
>> On Tue, Aug 30, 2022 at 01:51:43PM -0700, Hal Murray wrote:
>> Or maybe even 2 separate RFCs. The idea being that SNTP will be much 
>> easier
>>> to understand and we can target it for a longer lifetime.  In particular, it
>>> wouldn't have to say anything about loop detection.
>> I don't like duplicating text or code. We just need to make sure the
>> document is clear on what parts are not required for client-only
>> implementations.
>>
>> I think SNTP vs NTP is more about algorithms, not the protocol.
>> Without the symmetric mode, NTPv5 will be very easy to implement.
>>
> SNTP is defined in RFC5905 Section 14. You don't need anything more than 
> that.

Amazingly it talks about using SNTP in the server:
"SNTP is intended for primary servers equipped
with a single reference clock, as well as for clients with a single
upstream server and no dependent clients."

It also says: "(...), NTP and SNTP servers and clients are
completely interoperable and can be intermixed in NTP subnets."

In addition Figure 31 says: "x.digest <-- md5 digest" (probably fixed via errata (is MD5 really required?), but I'm using the original here).

I thinnk for NTPv5 we should specify an example SNTP request packet; what is written in section 14 leaves a lot of interpretation unanswered (e.g. are unused fields all set to zero?)

Regards,
Ulrich


> 
> Danny