Re: Predictable Internet Time

"Patrik Fältström " <paf@frobbit.se> Wed, 19 April 2017 05:18 UTC

Return-Path: <paf@frobbit.se>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA04B126C83 for <ietf@ietfa.amsl.com>; Tue, 18 Apr 2017 22:18:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level:
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 0RfFJcMAN3FV for <ietf@ietfa.amsl.com>; Tue, 18 Apr 2017 22:18:32 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3BF49120724 for <ietf@ietf.org>; Tue, 18 Apr 2017 22:18:32 -0700 (PDT)
Received: from [192.168.55.213] (unknown [31.15.50.66]) by mail.frobbit.se (Postfix) with ESMTPSA id 35E4721D98; Wed, 19 Apr 2017 07:18:30 +0200 (CEST)
From: Patrik Fältström <paf@frobbit.se>
To: Toerless Eckert <tte@cs.fau.de>
Cc: Nico Williams <nico@cryptonector.com>, Phillip Hallam-Baker <phill@hallambaker.com>, IETF Discussion Mailing List <ietf@ietf.org>, Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: Predictable Internet Time
Date: Wed, 19 Apr 2017 07:18:29 +0200
Message-ID: <E030FF20-4EA4-4475-9304-B6F7ADA0B8C2@frobbit.se>
In-Reply-To: <20170418232126.GD5937@faui40p.informatik.uni-erlangen.de>
References: <504e2cea0d1668c31486b05fec0a967a4446aefe@webmail.weijax.net> <CAMm+Lwi_jU6gjdtdM6a2n_9_89tUvWBNXxnMtSjTEA++h1D4Ew@mail.gmail.com> <e0a43370-751f-808c-3719-9716f9cd57d1@isi.edu> <B990A5A4-D62B-4E10-9FF7-7BA4377C0958@frobbit.se> <7bc1a350-549c-c649-81c6-bcd19cff36d7@cisco.com> <B2E6846E-F25B-4792-8E13-B5D898B67223@frobbit.se> <9f719b6a-f3c0-ef98-1636-86e84106e366@cisco.com> <16db07fe-acc5-d178-b56c-755c3cf70680@cs.ucla.edu> <CAMm+LwjQ_kaSBzcJhem5CbPLvMCAJRFnRpqJgu8SFTTQpt4bzQ@mail.gmail.com> <20170418222004.GB2856@localhost> <20170418232126.GD5937@faui40p.informatik.uni-erlangen.de>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_2CD5272D-254C-4CD3-81A3-52CF5DD099DD_="; micalg="pgp-sha1"; protocol="application/pgp-signature"
X-Mailer: MailMate (2.0BETAr6082)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/p5eeSwN1wyzOEdX8IDZBdRP4118>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Apr 2017 05:18:34 -0000

On 19 Apr 2017, at 1:21, Toerless Eckert wrote:

> Nice!
>
> Why not start to tackle the problem pragmatically before asking for standards when its clearly a political issue.
>
> a) RFC describing the problems developers and system deployments can face  because of leap seconds.
> b) And best current practices to get around those issues. Eg: Expect clock  smear on Jan 1 == reduced accuracy of ~1. Unless OS or other trusted  info source gives explicit indication: NO leap, no smear.
> c) And finally a description of the worst open issues when b) is applied.
>    Anything worse than labels on products "reduced functionality on Jan 1   after a leap second" ?

I want as potential fixes which I think are doable:

- an updated POSIX definition where the variable which holds the number of seconds since the epoch when converting back and forth to date actually will hold the number of seconds since the epoch.

- a slot in the NTP protocol not used today include the number of leap seconds so people get to know that.

FWIW I am a person that is against smear. I think a clock must be able to give the correct time and that timestamps should be correct. Either in seconds (and fractions of seconds) since the epoch or in correct date and time UTC. Both are increasing all the time. And because of that smear should not have to happen.

That said, I am not against a BCP explaining the issues due to for example the broken POSIX specification (which makes it hard to "do the right thing" in software).

   Patrik