[Ntp] Antw: Re: draft-ietf-ntp-mode-6-cmds : Issue 1

"Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> Tue, 19 September 2017 07:39 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 E772713208E for <ntp@ietfa.amsl.com>; Tue, 19 Sep 2017 00:39:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 qjg2HTolcy3k for <ntp@ietfa.amsl.com>; Tue, 19 Sep 2017 00:39:47 -0700 (PDT)
Received: from rrzmta1.uni-regensburg.de (rrzmta1.uni-regensburg.de [194.94.155.51]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 130FD126DFE for <ntp@ietf.org>; Tue, 19 Sep 2017 00:39:47 -0700 (PDT)
Received: from rrzmta1.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 9BF0C5DCC6 for <ntp@ietf.org>; Tue, 19 Sep 2017 09:39:45 +0200 (CEST)
Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta1.uni-regensburg.de (Postfix) with ESMTP id 385A55DD05 for <ntp@ietf.org>; Tue, 19 Sep 2017 09:39:44 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Tue, 19 Sep 2017 09:39:44 +0200
Message-Id: <59C0C9BD020000A100027F3D@gwsmtp1.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 14.2.2
Date: Tue, 19 Sep 2017 09:39:41 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>, stenn@nwtime.org
References: <d5a5ba98-65f2-f2e0-a0ec-40114213fc03@innovationslab.net> <ad816de0-b31e-2b06-a628-28fc32d9a2f1@nwtime.org>
In-Reply-To: <ad816de0-b31e-2b06-a628-28fc32d9a2f1@nwtime.org>
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/c6xeJMW3k993G-8W1ZV1YQliZuA>
Subject: [Ntp] Antw: Re: draft-ietf-ntp-mode-6-cmds : Issue 1
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 19 Sep 2017 07:39:49 -0000

>>> Harlan Stenn <stenn@nwtime.org> schrieb am 19.09.2017 um 01:36 in Nachricht
<ad816de0-b31e-2b06-a628-28fc32d9a2f1@nwtime.org>:

> 
> On 9/18/2017 10:10 AM, Brian Haberman wrote:
>> Ulrich noted that this document does not specify a version number for
>> the mode 6 commands. I had suggested specifying it as "version 4 (or
>> earlier)" given that the introduction of mode 6 commands has occurred at
>> various versions of the protocol starting at RFC 1305. Ulrich pointed
>> out that the version number drives the interpretation of the status words.
>> 
>> For people who have implemented or use mode 6 commands, what makes sense
>> here? Do we need to specify a version number per mode 6 command?
> 
> I've long wanted a way to identify more information about information
> about what information is available via mode6 commands, and the format
> of that information.
> 
> While some of this information is part of the "core", a lot of it is
> implementation-specific, and can easily change from one code version to
> the next.

Hi!

"It can", but should it? If you are writing software for yourself, you are free to change it all the time. But if you implement some standard, either stick to the standard, or define a new standard. Arguing that this part is not in the standard does not help anyone. As a matter of fact NTPv3 and NTPv4 return different information for the exactly same command. Obviously that was an oversight when changing things, but that should not repeat, and, if possible, also clean up the past (i.e.: provide a mechanism to get well-specified responses).

> 
> I don't think we want to cast any of this into concrete.

This kind of flexibility on your side causes confusion on the other side.
Let me quote some of my Perl code again (trying to get version independent NTP performance gauges):

        if (!$NTPv4) {
            $vars->set_variable('frequency', $vars->variable('freq') / 1000);
            $vars->set_variable('offset', $vars->variable('phase'));
            $vars->set_variable('noise', $vars->variable('error'));
            $vars->set_variable('jitter', 0);
            $vars->set_variable('stability', '0');
        } else {            # ntpd 4.2.6p2 "introduces" "new" variables
            $vars->copy_variable('rootdispersion', 'rootdisp');
            $vars->copy_variable('noise', 'clk_jitter');
            $vars->copy_variable('jitter', 'sys_jitter');
            $vars->copy_variable('stability', 'clk_wander');
            $vars->copy_variable('poll', 'tc');
            # ntpd 4.2.8 also has new variables
            # "clk_jitter" (CS_ERROR),
            # "ctr_frequency" (Windows: Performance Counter Drift)
        }

So it's hard to get one set of well-defined variables. Don't make it worse!

> 
> On the other hand, we do need a way to figure out what's available
> (which may changed based on authorization levels) and the format in
> which it's presented.

Absolutely!

Regards,
Ulrich

> 
> -- 
> Harlan Stenn, Network Time Foundation
> http://nwtime.org - be a Member!
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp