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

Danny Mayer <mayer@pdmconsulting.net> Sun, 31 July 2022 22:28 UTC

Return-Path: <mayer@pdmconsulting.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 04FA0C1BED0C for <ntp@ietfa.amsl.com>; Sun, 31 Jul 2022 15:28:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.098
X-Spam-Level:
X-Spam-Status: No, score=-6.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RDNS_NONE=0.793, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, T_SPF_TEMPERROR=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 x2xGOR67lJLQ for <ntp@ietfa.amsl.com>; Sun, 31 Jul 2022 15:27:58 -0700 (PDT)
Received: from chessie.everett.org (unknown [IPv6:2001:470:1:205::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 748A0C15AD3B for <ntp@ietf.org>; Sun, 31 Jul 2022 15:27:46 -0700 (PDT)
Received: from [192.168.1.156] (pool-108-26-202-2.bstnma.fios.verizon.net [108.26.202.2]) (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 chessie.everett.org (Postfix) with ESMTPSA id 4Lwwqc1t5xzMP11; Sun, 31 Jul 2022 22:27:40 +0000 (UTC)
Message-ID: <a61f270a-837f-b1be-15e4-835cd50899cf@pdmconsulting.net>
Date: Sun, 31 Jul 2022 18:27:36 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: Hal Murray <halmurray@sonic.net>, Miroslav Lichvar <mlichvar@redhat.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <20220729162741.6E52D28C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
From: Danny Mayer <mayer@pdmconsulting.net>
In-Reply-To: <20220729162741.6E52D28C1CA@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/5IJ79meQ4kjrDGcqjzwv1VcBSJA>
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: Sun, 31 Jul 2022 22:28:11 -0000

On 7/29/22 12:27 PM, Hal Murray wrote:
> 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's irrelevant. NTP knows nothing about time zones.
> 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.)

DHCP supports NTP server provisioning. I worked with the DHCP WG on it a 
number of years ago. I don't know the RFC number.


> 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?
>
Read the DHCP RFCs. I don't know if there is provisioning for time zones.

Danny