Re: [Ntp] Symmetric mode

Miroslav Lichvar <mlichvar@redhat.com> Mon, 03 October 2022 07:55 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 9AF46C14CF0F for <ntp@ietfa.amsl.com>; Mon, 3 Oct 2022 00:55:30 -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 s17aQHNMtlv6 for <ntp@ietfa.amsl.com>; Mon, 3 Oct 2022 00:55:24 -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 BC35EC14F74A for <ntp@ietf.org>; Mon, 3 Oct 2022 00:55:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664783723; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eUCx5xm8Dk1lqgh/HJRp8CMKw3bbBMQWDXVq/fTllM4=; b=aXiARXXTykl2Z1H5ZyPsFqDJvgJdRwSVrL29UuRIqU2E9zbH+MMZo4a7mpTXIQyn2wBgrT vCCP69f9Taid7Gc83mxrjYF6eI++kfi3Gsuf0aP0OOVwklASnfygKgNNba3sFcD7nSlQKP Oyj0jiSxtSfOvjILqnn0zxJYDVISPGk=
Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-29-51k2Dh0FPdaSWJskjTgOfA-1; Mon, 03 Oct 2022 03:55:22 -0400
X-MC-Unique: 51k2Dh0FPdaSWJskjTgOfA-1
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AD51286EB20; Mon, 3 Oct 2022 07:55:21 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1D7B340C206B; Mon, 3 Oct 2022 07:55:20 +0000 (UTC)
Date: Mon, 03 Oct 2022 09:55:20 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Doug Arnold <doug.arnold@meinberg-usa.com>
Cc: Hal Murray <halmurray@sonic.net>, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <YzqVaP8rbNFer+SG@localhost>
References: <mlichvar@redhat.com> <YzWunE8uQwTh8suS@localhost> <20220930015229.B235628C1D8@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <AM7PR02MB5765D115CABA9E9B5A148711CF569@AM7PR02MB5765.eurprd02.prod.outlook.com>
MIME-Version: 1.0
In-Reply-To: <AM7PR02MB5765D115CABA9E9B5A148711CF569@AM7PR02MB5765.eurprd02.prod.outlook.com>
X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/w9OE_EUSBjXUwbsdAqaM-dMtvA0>
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, 03 Oct 2022 07:55:30 -0000

On Fri, Sep 30, 2022 at 02:23:22PM +0000, Doug Arnold wrote:
> Please enlighten me. I’ve been reading the discussion on symmetric ntp, and I don’t understand the purpose. An ntp server can ask other servers for time using client server ntp, and use that information to examine its own time and that of the peer it is looking at.  Why is a different over-the-wire version of the protocol needed?

You can push time to the server using the symmetric mode, without the
server having to know your IP address in advance. This has a major
impact on security. When NTP started, I guess very few people cared
about that, but now I don't think it's acceptable.

-- 
Miroslav Lichvar