Re: [Ntp] Leap second draft

Tony Finch <dot@dotat.at> Mon, 01 April 2019 11:54 UTC

Return-Path: <dot@dotat.at>
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 21AC71200FE for <ntp@ietfa.amsl.com>; Mon, 1 Apr 2019 04:54:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 IJ4BnEsSCxTM for <ntp@ietfa.amsl.com>; Mon, 1 Apr 2019 04:54:33 -0700 (PDT)
Received: from ppsw-43.csi.cam.ac.uk (ppsw-43.csi.cam.ac.uk [131.111.8.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6259C1200E3 for <ntp@ietf.org>; Mon, 1 Apr 2019 04:54:28 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:60818) by ppsw-43.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1hAvW7-0001IW-nr (Exim 4.91) (return-path <dot@dotat.at>); Mon, 01 Apr 2019 12:54:19 +0100
Date: Mon, 01 Apr 2019 12:54:19 +0100
From: Tony Finch <dot@dotat.at>
To: Warner Losh <imp@bsdimp.com>
cc: Kurt Roeckx <kurt@roeckx.be>, Steve Allen <sla@ucolick.org>, NTP WG <ntp@ietf.org>
In-Reply-To: <CANCZdfo57thjq_r41vL_XyczLyW18YFineOptfTbhES4Q4Xpyw@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1904011242140.13313@grey.csi.cam.ac.uk>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CAJm83bCbVzO3NNCbjTy+O_16T7DBeA7O6018WWGu_-GyuN-8UA@mail.gmail.com> <20190330045928.GA31550@ucolick.org> <20190330133348.GA20646@ucolick.org> <20190330152948.GI7706@roeckx.be> <CANCZdfo57thjq_r41vL_XyczLyW18YFineOptfTbhES4Q4Xpyw@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/mw6BPDiGKdMOiKeoXbRdpPipEvk>
Subject: Re: [Ntp] Leap second draft
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: Mon, 01 Apr 2019 11:54:36 -0000

Warner Losh <imp@bsdimp.com> wrote:
>
> And it's less obscure than the crazy notion that leap seconds could happen
> any time other than June and December as a practical matter.

RFC 5905 allows for monthly leap seconds. There's a chance we will need
more than two leap seconds in a year before the end of this century.

Some of the problems with leap second signalling are because NTP clients
only get a two bit warning signal, which isn't enough especially if the
server is setting the bits using assumptions about how leap seconds are
currently administered (at most every 6 months), and the client is
interpreting it according to RFC 5905 and TF.460 (at most every month) and
the server incorrectly provides more than one month warning.

I think if the server explicitly tells the client when the leap second(s)
occur, then there's less scope for problems caused by unwarranted
chumminess with the IERS's bulletin C schedule.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Lyme Regis to Lands End including the Isles of Scilly: East becoming variable,
3 or 4, then becoming northwest 5 or 6 later. Slight or moderate, becoming
smooth to slight for a time east of the Lizard. Rain for a time then showers.
Moderate or good.