Re: [Ntp] Antw: Re: Antw: [EXT] Local time in NTPv5?

Hal Murray <halmurray@sonic.net> Fri, 29 July 2022 16:27 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 EC6F7C157903 for <ntp@ietfa.amsl.com>; Fri, 29 Jul 2022 09:27:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 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] 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 Cco_ie4Dhbbj for <ntp@ietfa.amsl.com>; Fri, 29 Jul 2022 09:27:47 -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 416F6C14CF1D for <ntp@ietf.org>; Fri, 29 Jul 2022 09:27:43 -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 26TGRfXU029904 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 29 Jul 2022 09:27:41 -0700
Received: from hgm (localhost [IPv6:::1]) by 107-137-68-211.lightspeed.sntcca.sbcglobal.net (Postfix) with ESMTP id 6E52D28C1CA; Fri, 29 Jul 2022 09:27:41 -0700 (PDT)
X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1
To: Miroslav Lichvar <mlichvar@redhat.com>
cc: "ntp@ietf.org" <ntp@ietf.org>, Hal Murray <halmurray@sonic.net>
From: Hal Murray <halmurray@sonic.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Fri, 29 Jul 2022 09:51:32 +0200." <YuORhPxzU1RIH5DL@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 29 Jul 2022 09:27:41 -0700
Message-Id: <20220729162741.6E52D28C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
X-Sonic-CAuth: UmFuZG9tSVacJtk3Ki1aY+4eDheM0v71NSDH1l5yfCeqrZ1eIe/36JU+7rk7yZZZmmNJw3l1VhpIaYTVDeH9MfhObHhAHRHo8S/CL13uFx4=
X-Sonic-ID: C;SKxEXlsP7RG0D7BQfcNRkQ== M;RjFxXlsP7RG0D7BQfcNRkQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/OpNnK8-x7B-b3Zcz9GBDaJ94k-4>
Subject: Re: [Ntp] Antw: Re: Antw: [EXT] Local time in NTPv5?
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, 29 Jul 2022 16:27:52 -0000

mlichvar@redhat.com said:
> You mean the TZ POSIX string (option 100) from RFC4833? That looks like it
> could work, even for announcing the DST change.

> So, I guess the question is now are there any use cases for the local time in
> NTP without DHCP?

That only works if the DHCP servers in use actually support it.

Is there a tool for poking at DHCP servers to see what they provide?  I poked 
around a bit but diddn't find one.

I scanned the man page for the ISC DHCP server and didn't find any mention of 
NTP or time zones.  (ntp was mentioned as a logging option.)

If a client gets its IP Address from a server, does it latch on to that server 
and ignore others?  Or will it try broadcasting to find other servers before 
giving up?  Can we setup a DHCP server that only provides time zone info?



-- 
These are my opinions.  I hate spam.