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

Harlan Stenn <stenn@nwtime.org> Mon, 26 September 2022 07:18 UTC

Return-Path: <stenn@nwtime.org>
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 DD02AC1524C2 for <ntp@ietfa.amsl.com>; Mon, 26 Sep 2022 00:18:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, 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 SyaySGMqpD0g for <ntp@ietfa.amsl.com>; Mon, 26 Sep 2022 00:18:42 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EF82C1522CA for <ntp@ietf.org>; Mon, 26 Sep 2022 00:18:39 -0700 (PDT)
Received: from [10.208.75.149] (071-084-168-128.res.spectrum.com [71.84.168.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 4MbYyQ0ZG2zMNkx; Mon, 26 Sep 2022 07:18:38 +0000 (UTC)
Message-ID: <8a65dd0d-9afb-a6b6-b74c-6874c0a6ebb7@nwtime.org>
Date: Mon, 26 Sep 2022 00:18:37 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0
Content-Language: en-US
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, 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> <63314611020000A10004E273@gwsmtp.uni-regensburg.de>
From: Harlan Stenn <stenn@nwtime.org>
In-Reply-To: <63314611020000A10004E273@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Hk2m8wH14k8lCTMUMUMz0goAqag>
Subject: Re: [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 07:18:46 -0000

On 9/25/2022 11:26 PM, Ulrich Windl wrote:
> Hi!
> 
> I'd wish those who are so heavily defending symmetric mode would have invested
> the same energy to include it in NTS.

Shenanigans.

The original NTS implementation supported all modes.

Daniel proposed a replacement to the original NTS that only worked for 
client/server, and *as I recall*, after being repeatedly pressed said 
several other modes would not be difficult to add.  Several of us pushed 
for that to happen sooner rather than later.  We were overruled.  I, for 
one, did not believe that it would be easy to do this - if it would have 
been easy, it would have already been done.

And to be very clear, I am holding WAY back on my response to you.

> Maybe now people are arguing that symmetric mode should be dropped as it won't
> be supported with NTS anyway.

If that is true, I have a much better solution.

H
--
> 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
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!