Re: [Ntp] Symmetric mode

Hal Murray <halmurray@sonic.net> Fri, 30 September 2022 01:52 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 F2FBBC152561 for <ntp@ietfa.amsl.com>; Thu, 29 Sep 2022 18:52:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 MEgw9RkfPJQM for <ntp@ietfa.amsl.com>; Thu, 29 Sep 2022 18:52:31 -0700 (PDT)
Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (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 79771C152560 for <ntp@ietf.org>; Thu, 29 Sep 2022 18:52:31 -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 d.mail.sonic.net (8.16.1/8.16.1) with ESMTPSA id 28U1qTua018626 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 29 Sep 2022 18:52:30 -0700
Received: from hgm (localhost [IPv6:::1]) by 107-137-68-211.lightspeed.sntcca.sbcglobal.net (Postfix) with ESMTP id B235628C1D8; Thu, 29 Sep 2022 18:52:29 -0700 (PDT)
X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1
To: Miroslav Lichvar <mlichvar@redhat.com>
cc: Hal Murray <halmurray@sonic.net>, "ntp@ietf.org" <ntp@ietf.org>
From: Hal Murray <halmurray@sonic.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Thu, 29 Sep 2022 16:41:32 +0200." <YzWunE8uQwTh8suS@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 29 Sep 2022 18:52:29 -0700
Message-Id: <20220930015229.B235628C1D8@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
X-Sonic-CAuth: UmFuZG9tSVYevI1NjFWS4/moxx2PPrKnGAul6XlzfyAIv/Ocv7KIBVkBFmQmWxbuHvg9tcRCtXQvXvil0LPjB8AemnnT1cODqNdRh8qbk14=
X-Sonic-ID: C;SLHfimJA7RG5OpArP63e0g== M;7iALi2JA7RG5OpArP63e0g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qVwTOuqPoBcsg9HHStlozvlx2Jk>
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: Fri, 30 Sep 2022 01:52:32 -0000

mlichvar@redhat.com said:
> You need to either add "disable auth" to ntp.conf, or configure a symmetric
> key on both hosts and add it to the peer directive. 

Thanks.  That worked.  I now see the active/passive pair where the passive is 
not a direct response to the active.  I assume the timing difference is the 
skew in the polling clocks.


> ntpq -p (or ntpq -c peers) prints emphemeral symmetric associations, but only
> if there was a valid response (reachable). 

That "only if reachable" is important.  That takes another polling interval.  
Or something like that.  I got confused by not seeing it but while 
investigating it appeared.


-- 
These are my opinions.  I hate spam.