Re: [Ntp] Symmetric mode

Miroslav Lichvar <mlichvar@redhat.com> Mon, 26 September 2022 09:25 UTC

Return-Path: <mlichvar@redhat.com>
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 9CCE4C152575 for <ntp@ietfa.amsl.com>; Mon, 26 Sep 2022 02:25:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.378
X-Spam-Level:
X-Spam-Status: No, score=-3.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
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 sNrOYm6e8WOB for <ntp@ietfa.amsl.com>; Mon, 26 Sep 2022 02:25:20 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 C5E12C152572 for <ntp@ietf.org>; Mon, 26 Sep 2022 02:25:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664184318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yGqxSvCSHEubh0u+A5WZh9lBpV+7WUr9a0zVY0HWZhE=; b=QdGYVYijvNaGxFXT9bJUh5n0Ejnxs8NkW377rJuSK/DDUYJQLenNqqafyZI7I3AlGjk4E9 b6SdxhYpYqN2PjEGMtaRCN27Ab73jPflH987mr2hYFeOTCQQhtLhv0U+B29X2dQsAedHJp GLD4Ybppr+hItcahr6v5tOTUGCWIqkg=
Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-373-fJKKxN0XP-yhawm8CCXHQw-1; Mon, 26 Sep 2022 05:25:07 -0400
X-MC-Unique: fJKKxN0XP-yhawm8CCXHQw-1
Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 641621C1B113; Mon, 26 Sep 2022 09:25:07 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C8A6C140EBF4; Mon, 26 Sep 2022 09:25:05 +0000 (UTC)
Date: Mon, 26 Sep 2022 11:25:04 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Danny Mayer <mayer@pdmconsulting.net>
Cc: Hal Murray <halmurray@sonic.net>, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <YzFv8MSmSIIXewpp@localhost>
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>
MIME-Version: 1.0
In-Reply-To: <d873ef9f-6d91-e45a-0ad8-25e43682173a@pdmconsulting.net>
X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ntmSG-cOq7LsKybGCLW5B_iRv3Y>
Subject: Re: [Ntp] 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 09:25:21 -0000

On Sat, Sep 24, 2022 at 06:01:58PM -0400, Danny Mayer wrote:
> On 9/21/22 4:31 AM, Miroslav Lichvar wrote:
> > 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.

As I asked you multiple times, you need to point to an exact location
in the documentation, or source code. You claim there is a feature
specific to the symmetric mode. I don't know what it is and you don't
want to reveal it, so I cannot find it.

> I have provided you with examples of why it's useful.

No, you have not. You said it's extremely useful in some cases, but
didn't explain why.

> 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.

The claim was the opposite, that it uses half of the traffic of the
two corresponding client/server associations. Yes, it can be easily
verified with tcpdump.

> > 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.

I don't know where that distinction is. You claim it is in the source
code, but you don't want tell us where.

-- 
Miroslav Lichvar