[Ntp] Antw: [EXT] Re: Symmetric mode

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Mon, 26 September 2022 06:26 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 C9176C1524B6 for <ntp@ietfa.amsl.com>; Sun, 25 Sep 2022 23:26:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] 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 lH-QE2FYEakA for <ntp@ietfa.amsl.com>; Sun, 25 Sep 2022 23:26:35 -0700 (PDT)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [194.94.157.149]) (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 86E33C1524B5 for <ntp@ietf.org>; Sun, 25 Sep 2022 23:26:34 -0700 (PDT)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E89FD600004F for <ntp@ietf.org>; Mon, 26 Sep 2022 08:26:31 +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 C15E66000048 for <ntp@ietf.org>; Mon, 26 Sep 2022 08:26:27 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 26 Sep 2022 08:26:28 +0200
Message-Id: <63314611020000A10004E273@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.4.1
Date: Mon, 26 Sep 2022 08:26:25 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: mayer@pdmconsulting.net
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <mayer@pdmconsulting.net> <796c33e6-02dc-0665-c8a2-a143f9100bdd@pdmconsulting.net> <20220919024614.4AB8328C1E2@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <YygwAeTMeSHXXk6t@localhost> <880b8ec4-e112-e2e2-f48c-c940064bc749@pdmconsulting.net> <YyrL1izKeIZWhkIA@localhost> <d873ef9f-6d91-e45a-0ad8-25e43682173a@pdmconsulting.net> <72A957130200000B5AEBDC6A@gwsmtp.uni-regensburg.de> <60E0A8800200001A6A6A8CFC@gwsmtp.uni-regensburg.de> <64395FC0020000E55AEBDC6A@gwsmtp.uni-regensburg.de> <E2CB9EB502000031FDA5B133@gwsmtp.uni-regensburg.de> <114E6FEE020000C76A6A8CFC@gwsmtp.uni-regensburg.de> <7E0316BF020000985AEBDC6A@gwsmtp.uni-regensburg.de> <7B756BBE020000766A6A8CFC@gwsmtp.uni-regensburg.de> <3B5BF697020000A05AEBDC6A@gwsmtp.uni-regensburg.de>
In-Reply-To: <3B5BF697020000A05AEBDC6A@gwsmtp.uni-regensburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/OveRue7wP8yBEbZrJKm_OWz9ruY>
Subject: [Ntp] Antw: [EXT] Re: Symmetric mode
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: Mon, 26 Sep 2022 06:26:39 -0000

Hi!

I'd wish those who are so heavily defending symmetric mode would have invested
the same energy to include it in NTS.
Maybe now people are arguing that symmetric mode should be dropped as it won't
be supported with NTS anyway.

Regards,
Ulrich

>>> Danny Mayer <mayer@pdmconsulting.net> schrieb am 25.09.2022 um 00:01 in
Nachricht <d873ef9f-6d91-e45a-0ad8-25e43682173a@pdmconsulting.net>:

> On 9/21/22 4:31 AM, Miroslav Lichvar wrote:
>> On Tue, Sep 20, 2022 at 09:41:38AM ‑0400, Danny Mayer wrote:
>>> On 9/19/22 5:01 AM, Miroslav Lichvar wrote:
>>>> It's not very useful. I think the most interesting thing about it is
>>>> that sources using the symmetric mode are marked differently in tools
>>>> like ntpq, so it's more obvious to the admin that synchronization can
>>>> work in both directions.
>>> It's extremely useful, particularly when you end up in orphan mode or
just
>>> need to make sure that all systems in the local network are synchronized.
>> You said that before. If there is doubt, you need to provide some
>> evidence. This is not a debate on TV where repeating something over in
>> an authoritative voice would change someone's mind.
> This is not a TV show. Please stop.
>>
>> You claim that something exists, that there is something special about
>> symmetric mode with respect to orphan mode or source selection in
>> general. That's easy for you to prove that. You just need to point to
>> an exact location in the source code or RFC and we can easily confirm
>> if that is true.
> 
> I have pointed you to papers and documents by Dave Mills. You have 
> access to the source code and you can run it in a debugger and examine 
> the logs. If you say that the source code is opaque, I won't disagree 
> with you, at times it takes me a while to understand what it's doing.
> 
> Symmetric Mode has it's uses and while that use is most useful on a LAN 
> you can use it on the wider WAN. I know of someone using symmetric peer 
> mode in exactly this way across the internet. I cannot provide a name as 
> I am not authorized to do so, not that it is important here.
> 
> I have provided you with examples of why it's useful. You can agree or 
> disagree with it and say why but the NTP Reference implementation code 
> has been running that mode for over 20 years.
> 
> Someone made a claim that it uses more packets than client/server modes, 
> but that's not true either, something that can be easily verified by 
> running the code and looking at the packet traffic.
> 
>>
>> I claim that there is no such thing, that there is no difference
>> between selection of sources using the client/server mode and
>> symmetric mode.
> Right because it's just one more component of the data being analyzed by 
> the algorithms. If another server provides better data than the 
> symmetric mode then that's what becomes the chosen server. Symmetric 
> mode doesn't replace client/server modes, it's just another mode and all 
> modes are considered in the selection algorithms, including broadcast 
> and multicast.
>> It's much more difficult for me to prove that
>> something doesn't exist. I can point to the source code where I'd
>> expect it to be, like this location in the clock_select() function
>>
>> 
>
https://fossies.org/linux/misc/ntp‑4.2.8p15.tar.gz/ntp‑4.2.8p15/ntpd/ntp_proto.
> c#l_3531
>>
>> where I don't see anything checking the mode (MODE_SERVER vs
>> MODE_ACTIVE/MODE_PASSIVE), but that doesn't mean this distinction
>> couldn't be hidden somewhere else.
>>
>> It's up to you to prove that it exists.
>>
> No, I've already done that. See the running code. I have no idea what 
> you mean by exists since it's in the reference implementation code.
> 
> Danny
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp