Re: [Ntp] Finding leap-seconds.list

Thomas Peterson <hidinginthebbc@gmail.com> Thu, 08 November 2018 03:13 UTC

Return-Path: <hidinginthebbc@gmail.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 9F6D3130E5C for <ntp@ietfa.amsl.com>; Wed, 7 Nov 2018 19:13:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90GEfHeRNvF9 for <ntp@ietfa.amsl.com>; Wed, 7 Nov 2018 19:13:31 -0800 (PST)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 02302130EEB for <ntp@ietf.org>; Wed, 7 Nov 2018 19:13:28 -0800 (PST)
Received: by mail-pf1-x42d.google.com with SMTP id x2-v6so4553873pfm.7 for <ntp@ietf.org>; Wed, 07 Nov 2018 19:13:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=ly9Vlrzng5pBWsMlbXjdZnWjUkoCxr7Klm8CSzl/4pE=; b=oG5VVHOVqzO/moHC//HOYnyowcSsQ01QgBrHsCpqYwmfEUJTr21AGypyN02B/DvTrn bT5+hvcHFuxxW+x1C0pRnwqPoUMBmKAPC7wvk9w24QC7C7LTeVXZz1oo74loc5qr81oP uDaKNskCXqeDY2oHM31VOEyTtAyjAw37emoYE+RBB68ICWfsv67XyqtIKHZyEJu52r3N SNakiAjW1CndhOduLnVBtTSFcvaFc4/b/3P5cwUNz7RG6jjUO7Y8Z5Y5En60v09ddJKJ l/7vhPR3FpVRFXQyPpH7BUJaxKI65/k9jDEirLHsDomEiw3k2twLa9jSY3mtwr3pmE3I arow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ly9Vlrzng5pBWsMlbXjdZnWjUkoCxr7Klm8CSzl/4pE=; b=CpkRN7UwRPqGy9pO41cTpn3EONGwivkCkYIxDUK7jQQF5tYcVE7tYT7Qqs5uTUROVn IvN92CK6YbTGI3KAmLmXx93annu17SxoiGn2aq6qtpnTdlvxLJfd0rC+7BS6VBAzOHfy SzF0uk14qeTps9YHQpPlzlyUp/0NB3AGpG6TGAp/Aq/RuykiZgmSp4U0Yl+zNH3SkW5/ Z3WkqUVh6dQ3VPPzNSLQGaGrXdDdRNO3UdUfuwHL9DsKUFDTT4nLbFJClClnwizN8TDn AT6SlZGbOaf6NOQoPCLwsE728NZGVXiopsxENMG1HMjUGnzQXaNI4IasCbpojKMb83oL LKvg==
X-Gm-Message-State: AGRZ1gKmbXS1X5KReZd0u5DC8OAxEKVRO0CA87fyPxiNHJD/MCfAmxYw hqxgML3PN01JVWTaVNO9czU=
X-Google-Smtp-Source: AJdET5chXXpBqT1GnrRbk5FKm8/g3xemCo4H4EJjbBP8zLkYXFLtvnM4Hmhtc064nxth9uk8V4/fEA==
X-Received: by 2002:a63:5907:: with SMTP id n7mr2397345pgb.435.1541646808451; Wed, 07 Nov 2018 19:13:28 -0800 (PST)
Received: from dhcp-885e.meeting.ietf.org ([2001:67c:370:128:40ab:594c:3781:da12]) by smtp.gmail.com with ESMTPSA id r81-v6sm3289007pfa.110.2018.11.07.19.13.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 19:13:28 -0800 (PST)
To: Warner Losh <imp@bsdimp.com>
Cc: ntp@ietf.org, eggert@cs.ucla.edu
References: <5884DA3A-B95B-4D6B-9A31-E964CE4F02EF@gmail.com> <53bc1310-c198-557a-54ca-57b5b0af9bcb@meinberg.de> <AM6PR0602MB3733A11C62B7A0ED49F318B5FFC40@AM6PR0602MB3733.eurprd06.prod.outlook.com> <9A89609A-9A4E-41EB-A857-91252E5F6D04@gmail.com> <43c65279-12fa-4510-1d8f-b6e1b03caf7e@gmail.com> <CANCZdfpJZLEORhak2QWDuHgjrQ_UZzBNv4_RR9prDKU7qtZVHQ@mail.gmail.com>
From: Thomas Peterson <hidinginthebbc@gmail.com>
Message-ID: <1a897dcc-b89d-9365-104f-633798831331@gmail.com>
Date: Thu, 08 Nov 2018 03:13:25 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <CANCZdfpJZLEORhak2QWDuHgjrQ_UZzBNv4_RR9prDKU7qtZVHQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Zo1WaXHLTxLEGcw3jLkDy_-zjgA>
Subject: Re: [Ntp] Finding leap-seconds.list
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Thu, 08 Nov 2018 03:13:40 -0000

As I have said in my starting email to this thread [0], this file is 
hosted in many places to which the IETF is not an authoritive source and 
from my end. I have experienced issues reaching the NIST host, however 
USNO's FTP server [1] appears to work for me.

Furthermore, leap-seconds.list is also packaged inside of FreeBSD itself 
[1] surely it would be more appropriate to reference this file instead 
of having the ntp service attempt to download it from a non-authoritive 
source on the internet, where it can fall under the same vendor software 
updates as all other critical files?


Regards


[0] https://mailarchive.ietf.org/arch/msg/ntp/COKDJAEBD5rsy5uOvHyO6QdXvN8

[1] ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.list

[2] 
https://svnweb.freebsd.org/base/head/contrib/tzdata/leap-seconds.list?view=log


On 08/11/2018 02:56, Warner Losh wrote:
>
>
> On Wed, Nov 7, 2018 at 7:49 PM Thomas Peterson 
> <hidinginthebbc@gmail.com <mailto:hidinginthebbc@gmail.com>> wrote:
>
>     I propose the following occurs if the working group agrees:
>
>     * draft-ietf-ntp-bcp is updated to remove reference to the IETF
>     hosted leap second file (as has already been suggested)
>     * The IETF ceases to host unpacked versions of tzdb
>     * Updates sent to various other mailing lists that may be affected
>     by this change (off the top of my head, tz@iana.org
>     <mailto:tz@iana.org>, pool@lists.ntp.org
>     <mailto:pool@lists.ntp.org>, freebsd-ports@lists.freebsd.org
>     <mailto:freebsd-ports@lists.freebsd.org>) as a matter of courtesy
>     before its hosting is removed.
>
>
> So what's the new place to get it if the IEFT stops hosting it? All 
> the 'much better places' don't earlier in the thread do not resolve 
> for me at all (or resolved to web pages that aren't suitable for 
> automatic downloading). The ntp leapsecond file has a format that's 
> been fixed for at least two decades. So what's the real 'next step' 
> for people that download it outside of the TZ stuff?
>
> This is a very disruptive change to the FreeBSD community, at least. 
> It's not clear what it accomplishes.
>
> Warner
>
>
>     Regards
>
>
>     On 08/11/2018 01:28, Dieter Sibold wrote:
>>
>>
>>     On 8 Nov 2018, at 2:17, Denis Reilly wrote:
>>
>>>     Thomas and Martin,
>>>
>>>     On doing my own research into this for the BCP, I found that the
>>>     Time Zone database maintenance procedures are documented in BCP
>>>     175 / RFC 6557.
>>>
>>>     However, after the discussion during the WG meeting, I think
>>>     it's better to remove the mention of the leap second file hosted
>>>     by the IETF in the BCP. As Martin notes, there are better places
>>>     to get it.
>>     I agree with Denis.
>>
>>>
>>>     -- 
>>>     Denis Reilly  |  Technical Lead  | denis.reilly@orolia.com
>>>     <mailto:denis.reilly@orolia.com> (585)321-5837
>>>
>>>     -----Original Message-----
>>>     From: ntp <ntp-bounces@ietf.org> <mailto:ntp-bounces@ietf.org>
>>>     On Behalf Of Martin Burnicki
>>>     Sent: Wednesday, November 07, 2018 1:00 PM
>>>     To: Thomas Peterson <hidinginthebbc@gmail.com>
>>>     <mailto:hidinginthebbc@gmail.com>; ntp@ietf.org
>>>     <mailto:ntp@ietf.org>
>>>     Cc: Paul Eggert <eggert@cs.ucla.edu> <mailto:eggert@cs.ucla.edu>
>>>     Subject: Re: [Ntp] Finding leap-seconds.list
>>>
>>>     Thomas Peterson wrote:
>>>>     As was discussed at the working group meeting at IETF 103 [0],
>>>>     I have decided to do some research on the leap-seconds.list
>>>>     file that the IETF appears to be hosting at
>>>>     https://www.ietf.org/timezones/data/leap-seconds.list, but for
>>>>     some participants of this working group appear unclear about.
>>>
>>>     During the IETF NTP WG session I posted a link in the chat which
>>>     points to a PDF I wrote some time ago:
>>>     https://www.meinbergglobal.com/download/burnicki/the_ntp_leap_second_file.pdf
>>>
>>>
>>>     There are several "original" versions of that file published by
>>>     the IERS, NIST, and USNO.
>>>
>>>     One of those original files (usually the version from NIST) is
>>>     used to update the TZDB records, and the original file is also
>>>     included in the TZDB distribution/tar ball, which is then
>>>     unpacked and made available at the IETF web site.
>>>
>>>     The problem here is that first an update of the original leap
>>>     second file appears, and only whenever the next TZDB version is
>>>     released after that the file appears on the IETF web site.
>>>
>>>     So for most users it's better to pick up a file from one of the
>>>     original sites.
>>>
>>>>     Where is this referenced in an RFC or other IETF document?
>>>>     I ran a search of “leap-seconds.list” across the spread of
>>>>     draft and RFC documents. No RFC that I have found makes direct
>>>>     reference. However, the current NTP BCP draft Section 4.6 [1]
>>>>     contains:
>>>>
>>>>     ... SNIP ...
>>>>
>>>>     The IETF maintains a leap second list [[7]] for NTP users who
>>>>     are not
>>>>        receiving leap second information through an automatic source.
>>>>
>>>>        Files are also available from other sources:
>>>>
>>>>     ... SNIP ...
>>>>
>>>>     With [[7]] holding reference to the file hosted at, and a list
>>>>     of links to sources.
>>>>
>>>>     What else is www.ietf.org <http://www.ietf.org> hosting of a
>>>>     similar nature?
>>>>     This file alone is not the only thing hosted under www.ietf.org
>>>>     <http://www.ietf.org>, in fact https://www.ietf.org/timezones/
>>>>     directory listings show that all recent versions of the tzdb
>>>>     (including 2018g the most recent) which suggests a human
>>>>     maintaining the hosting of it, or automated process. Versions
>>>>     only go back to 2016. These files are also available over FTP [2].
>>>>
>>>
>>>     Yes, and since the leap seconds file is part of the TZDB, it
>>>     also becomes available via the IETF web site.
>>>
>>>>     How long have these files been hosted on www.ietf.org
>>>>     <http://www.ietf.org>?
>>>>     Internet archive's Wayback Machine [3] shows it appearing back
>>>>     in 2015.
>>>>
>>>>     Who is using the file?
>>>>     ntpd does depend on it as was discussed at the WG meeting, [4].
>>>>     FreeBSD [5] holds reference to it and users have reported
>>>>     issues when being unable to access it in the past. In addition,
>>>>     at least one library [6] make use of it outside of ntpd,
>>>>     however I don't believe this is heavily used or cause
>>>>     non-developers or system administrators any pain if it went
>>>>     missing.
>>>
>>>     I'm sure the file *is* heavily used, but maybe not directly from
>>>     the IETF web site.
>>>
>>>     It's a good source to become aware of an upcoming leap second,
>>>     and it's a good source to be able to determine the current
>>>     UTC/TAI offset, as e.g. required when using PTP which uses TAI
>>>     timestamps by default.
>>>
>>>     Anyway, I think the file is mostly used by NTP or PTP servers
>>>     since for most applications the information interesting for
>>>     clients can be passed via the individual protocols.
>>>
>>>
>>>     Regards,
>>>
>>>     Martin
>>>     -- 
>>>     Martin Burnicki
>>>
>>>     Senior Software Engineer
>>>
>>>     MEINBERG Funkuhren GmbH & Co. KG
>>>     Email: martin.burnicki@meinberg.de
>>>     <mailto:martin.burnicki@meinberg.de>
>>>     Phone: +49 5281 9309-414
>>>     Linkedin: https://www.linkedin.com/in/martinburnicki/
>>>
>>>     Lange Wand 9, 31812 Bad Pyrmont, Germany Amtsgericht Hannover
>>>     17HRA 100322 Geschäftsführer/Managing Directors: Günter
>>>     Meinberg, Werner Meinberg, Andre Hartmann, Heiko Gerstung
>>>     Websites: https://www.meinberg.de https://www.meinbergglobal.com
>>>     Training: https://www.meinberg.academy
>>>
>>>     _______________________________________________
>>>     ntp mailing list
>>>     ntp@ietf.org <mailto:ntp@ietf.org>
>>>     https://www.ietf.org/mailman/listinfo/ntp
>>>     ATTENTION: This email came from an external source.
>>>     Do not open attachments or click on links from unknown senders
>>>     or unexpected emails.
>>>     _______________________________________________
>>>     ntp mailing list
>>>     ntp@ietf.org <mailto:ntp@ietf.org>
>>>     https://www.ietf.org/mailman/listinfo/ntp
>     _______________________________________________
>     ntp mailing list
>     ntp@ietf.org <mailto:ntp@ietf.org>
>     https://www.ietf.org/mailman/listinfo/ntp
>