Re: [Ntp] SNTP, Old crufty software

Hal Murray <halmurray@sonic.net> Sat, 13 August 2022 08:07 UTC

Return-Path: <halmurray@sonic.net>
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 C0D31C13CCDF for <ntp@ietfa.amsl.com>; Sat, 13 Aug 2022 01:07:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, 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 cagziLQEO-NF for <ntp@ietfa.amsl.com>; Sat, 13 Aug 2022 01:07:32 -0700 (PDT)
Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (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 42372C13CCDE for <ntp@ietf.org>; Sat, 13 Aug 2022 01:07:32 -0700 (PDT)
Received: from 107-137-68-211.lightspeed.sntcca.sbcglobal.net (107-137-68-211.lightspeed.sntcca.sbcglobal.net [107.137.68.211]) (authenticated bits=0) by c.mail.sonic.net (8.16.1/8.16.1) with ESMTPSA id 27D87UN4020219 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 13 Aug 2022 01:07:30 -0700
Received: from hgm (localhost [IPv6:::1]) by 107-137-68-211.lightspeed.sntcca.sbcglobal.net (Postfix) with ESMTP id 3FAC728C1CA; Sat, 13 Aug 2022 01:07:30 -0700 (PDT)
X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1
To: Martin Burnicki <martin.burnicki@meinberg.de>
cc: Hal Murray <halmurray@sonic.net>, ntp@ietf.org
From: Hal Murray <halmurray@sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 13 Aug 2022 01:07:30 -0700
Message-Id: <20220813080730.3FAC728C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
X-Sonic-CAuth: UmFuZG9tSVYghFs6/1dzQc1YNpCjJvYTWG0DBRR3tQVxOUUpggtcmgNpAIbjA/+LcKOHXkh6EkMaRnERf+BKLkxhkWaQyR7SXVkAgR0KsJw=
X-Sonic-ID: C;fnBq+t4a7RGU+SdyR+6Zsg== M;4FqW+t4a7RGU+SdyR+6Zsg==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/cUAlnvQKiUICX4AOW7F53_2E6Qs>
Subject: Re: [Ntp] SNTP, Old crufty software
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: Sat, 13 Aug 2022 08:07:32 -0000

martin.burnicki@meinberg.de said:
> I remember some years ago when Windows XP/Server 2003 was current, the dumb
> SNTP client (w32time) shipped with that Windows versions sent "peer" requests
> to the NTP server by default, 

Thanks.  Pool servers are still seeing that.  That's the tiny bump on the tail 
that I mentioned.  It's ballpark of 1/2% of the NTPv1 requests.

Do you know what that version of w32time requires for the Mode in a response?  
Will it accept Server?

If nothing else, we need to make a list of the types of v1 requests that are 
being sent and the responses they need.

> Since SNTP basically uses the same packet format as NTP, in my opinion the
> real S(imple) attribute refers to the way the packet exchange is evaluated at
> the client side.

> I've seen implementations where the client didn't even try to compensate the
> network delay, and just used the server's transmission time stamp to adjust
> the client time. Probably because the programmers though that the resulting
> accuracy id "good enough". 

Right.  If all you need is within a second or two, it may not be worthwhile to 
do that admittedly tiny extra calculation.  It's just a couple more lines of 
code to maintain.

I was thinking that we need a section on clocks and networks so people can 
decide how complicated they need to make their "simple" client and/or how 
often they need to poll.

------

Speaking of cruft...  :)

I'm seeing a few v3 and v4 packets with Broadcast Mode.  Anybody know who 
who/what is doing that?  Some of it looks like real traffic: 64 second 
polling, LOCL in the RefID, mostly 0s, looks like a time in the transmit slot.



-- 
These are my opinions.  I hate spam.