
From nobody Mon Jan 13 17:57:26 2020
Return-Path: <ek.ietf@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 E86F412001B for <ntp@ietfa.amsl.com>; Mon, 13 Jan 2020 17:57:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level: 
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 rnubUAnIWa4d for <ntp@ietfa.amsl.com>; Mon, 13 Jan 2020 17:57:18 -0800 (PST)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 7924612006F for <ntp@ietf.org>; Mon, 13 Jan 2020 17:57:18 -0800 (PST)
Received: by mail-ed1-x52c.google.com with SMTP id l8so10425303edw.1 for <ntp@ietf.org>; Mon, 13 Jan 2020 17:57:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lla7m2o1opuyo8qMiX9130Z3BTlHbOd0DFDytki2AIg=; b=PLqhTnNYd9Ahyh+gTouLixXFZr6FhT1DT17bVc1Am/1CeltP9U3uRhGkgaS1B2SN1Q 6Sy5Wf3jPu7LJfXxr3qeywUciap/oVfk0WJt96EdLDhSTvTaN/AIlgsRkd58jXeD4TMK 02vJHRSfjJFWT3J7hN85BcvW80PANu9B8NISlaeN8gU7TDvI0tgKUMlTuF3S0f7ivw2s Uy/e2yCasxorSm86MrC/XOCzZb3YmaHTHKjFs2bJLVJeu1VpTBu25JBK4AxL4AF+Dx82 8L8t73jtmuV95LS6/vMdPbRPg+jAcHB2YPqWUIVWg9zf7v4cwgm04NjPVWp4cC3DmUc0 Ht9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lla7m2o1opuyo8qMiX9130Z3BTlHbOd0DFDytki2AIg=; b=OGwYWj0GCK6pLu7A5tVThLwfk8gIFw+OsrkXf70c+yakQT53cRZ6e64XxNZijqU1WI d3SV8QYL3zTnGlPwablkclzCYrFaJoTXRys6EFN5g0N9xbUCH5aFNnRcXmIk95hImVP3 rJuKHXMSnm+mQza6XUre8vOhhvbd/n/Q6GTN0nYFHMxmUhDp6AXaX7BE5jbGNIYyB7G+ rzX8+qcyyFds1sj3iHIUBCu7AyQmhXDezqPXXqwYpsx1rsH1UGoJZPpH13eURmHc9WYN yFndeJt5AvAWOxFbkGZniy2L1rDOCw9BZANy2oJTPhj25gWOnBVGVSIsxXU8NORB31PO WaQA==
X-Gm-Message-State: APjAAAXua7ij56S7c0aO5I5oWdSANJemdOLkEMDuz57byJOYB9rw0/t/ 2cM482aVkIOtL+jU2W//4bLkwIsNgI/SDrzsC1g=
X-Google-Smtp-Source: APXvYqx37oJVFkjqOXuzBYhgY/B6krZbCNAucQWmE0ZOqWnowS/8PcMnGuERxBqFNWNoiuz0+LCIXs9rZycyP+eJKcI=
X-Received: by 2002:a05:6402:282:: with SMTP id l2mr21173270edv.187.1578967036857;  Mon, 13 Jan 2020 17:57:16 -0800 (PST)
MIME-Version: 1.0
References: <AM0PR08MB4546CB091DFA4C3F8A055968F8490@AM0PR08MB4546.eurprd08.prod.outlook.com>
In-Reply-To: <AM0PR08MB4546CB091DFA4C3F8A055968F8490@AM0PR08MB4546.eurprd08.prod.outlook.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Mon, 13 Jan 2020 17:57:05 -0800
Message-ID: <CAMGpriW2uAmPLEjYHv6aJF+=RCs1dX0tbZB2tpVC8EceOD3Mmw@mail.gmail.com>
To: Dieter Sibold <dsibold.ietf@gmail.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000581222059c0fe9a9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/SqcVWNQrLY1leXji7cY5STeNtSs>
Subject: Re: [Ntp] NTP v5 feature requests
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: Tue, 14 Jan 2020 01:57:21 -0000

--000000000000581222059c0fe9a9
Content-Type: text/plain; charset="UTF-8"

N00b question: are MTU issues relevant at all?  Should, for example, NTPv5
be more RFC 8085#section-3.2 friendly?

On Fri, Nov 22, 2019 at 12:41 AM Dieter Sibold <dsibold.ietf@gmail.com>
wrote:

> Dear all,
>
> thanks to Miroslav we have a page at the NTP Wiki where we can compile
> issues of NTPv4 which should be fixed in a new version of NTP. The link to
> this side is: https://trac.ietf.org/trac/ntp/wiki/NtpVersionFourIssues
>
> I added a second page which is meant to collect features that from your
> point of view are missing in NTPv4 and should be added to a new version of
> NTP. The link to this side is:
> https://trac.ietf.org/trac/ntp/wiki/NtpV5FeatureRequests
> The first entries are from Kristof. Thanks for that.
>
> Both of these lists shall serve to formulate requirements for NTPv5.
> Thanks for contributing.
>
> - Dieter
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--000000000000581222059c0fe9a9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">N00b question: are MTU issues relevant at all?=C2=A0 Shoul=
d, for example, NTPv5 be more=C2=A0RFC 8085#section-3.2 friendly?</div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, No=
v 22, 2019 at 12:41 AM Dieter Sibold &lt;<a href=3D"mailto:dsibold.ietf@gma=
il.com">dsibold.ietf@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">Dear all,<br>
<br>
thanks to Miroslav we have a page at the NTP Wiki where we can compile issu=
es of NTPv4 which should be fixed in a new version of NTP. The link to this=
 side is: <a href=3D"https://trac.ietf.org/trac/ntp/wiki/NtpVersionFourIssu=
es" rel=3D"noreferrer" target=3D"_blank">https://trac.ietf.org/trac/ntp/wik=
i/NtpVersionFourIssues</a><br>
<br>
I added a second page which is meant to collect features that from your poi=
nt of view are missing in NTPv4 and should be added to a new version of NTP=
. The link to this side is: <a href=3D"https://trac.ietf.org/trac/ntp/wiki/=
NtpV5FeatureRequests" rel=3D"noreferrer" target=3D"_blank">https://trac.iet=
f.org/trac/ntp/wiki/NtpV5FeatureRequests</a><br>
The first entries are from Kristof. Thanks for that.<br>
<br>
Both of these lists shall serve to formulate requirements for NTPv5. Thanks=
 for contributing.<br>
<br>
- Dieter<br>
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank">ntp@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br>
</blockquote></div>

--000000000000581222059c0fe9a9--


From nobody Thu Jan 16 14:05:38 2020
Return-Path: <odonoghue@isoc.org>
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 801A212008A for <ntp@ietfa.amsl.com>; Thu, 16 Jan 2020 14:05:36 -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, LOTS_OF_MONEY=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 (1024-bit key) header.d=isoc.org
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 nhdotTy4HMKx for <ntp@ietfa.amsl.com>; Thu, 16 Jan 2020 14:05:31 -0800 (PST)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2075.outbound.protection.outlook.com [40.107.94.75]) (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 2E96912004A for <ntp@ietf.org>; Thu, 16 Jan 2020 14:05:31 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l1ieW0Blf2xxfrieG9/SHSvLPSpHRyMaK3Kk1a4cKbxLcAJzekWw4FilbBLyrfS1qJ0JvYii2ITWM57yK+FyCwiEGnn8mgLVrLmWVQ0BOZsWqjYwNa7ewI2wMGBp07Ux2FeOPJ6+2rvyWyQ9ITDh0rr52Ct+gRyu/oo9VFhMv27oBtv9ofGyLWW2rnqdRyUrkcSrebZ8RXOIANs7T5ZDxFHI3wf+1W4LoRUagccNOvRn6dNvBp46GvYPMD7VbqjySToDD+rthntXVhCExrSH94zyS00QIPGhk6pu6rLOytoADpPsxayVCtFAK4Oy7dLIZUzdVqH7tzeYfIgGbFdPIw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W/maHUydE3iluWVavzPsOEPJxMoudv5vQszLfM1pOEQ=; b=nFxxXcQjlOgevvhpmetZLCjxX2L6cNQdvnpPPQ30ygbVOwZ5f8u9mWoGA2KPEPpZaVq863A7vxuX6O1KiJPivDKfYf4vdjKNVnY3DiHxOpp19a3APOdd5zMhoPURyhVqUNYuwQdtqwp6qIGHEbSWwnxEUnetgWoLyWI0ZW5SzkZlDv3lZbHNejUgJnAgZqcEBvO/t6Hhk4zNr/TcVafNt60tSfBrhSnzzgwx5mvQsQZtR1ArykvJOLFLapK9lScA4umBeDuKHL6+tjZHnPmrtmTIMi8bDXDi8QyI5JToVDLsKQSIUDLhCK7Q05WQIVluDBgcBxezzfqycHvEralxjA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=isoc.org; dmarc=pass action=none header.from=isoc.org; dkim=pass header.d=isoc.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W/maHUydE3iluWVavzPsOEPJxMoudv5vQszLfM1pOEQ=; b=PsiB9MwjpOhvUcHShtYd73MOWCFNAHoM5JfMH6XAZUV7xzpqOQdVIB7/0hvakKQi6laSTeCPw4medLHoyFyx+dDQV/kvbgtFZxefKe39hZD9nAfGRllusJXib1n36NPL90ibNClE534wFESjR7Vl5v5yDseKwWF9gH93d8J624I=
Received: from BN7PR06MB6372.namprd06.prod.outlook.com (20.176.30.205) by BN7PR06MB5124.namprd06.prod.outlook.com (20.176.28.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19; Thu, 16 Jan 2020 22:05:29 +0000
Received: from BN7PR06MB6372.namprd06.prod.outlook.com ([fe80::1448:dc45:35ee:a944]) by BN7PR06MB6372.namprd06.prod.outlook.com ([fe80::1448:dc45:35ee:a944%6]) with mapi id 15.20.2644.015; Thu, 16 Jan 2020 22:05:29 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: NTP WG virtual interim meeting -- Thursday, 30 January, 1600-1730 UTC
Thread-Index: AQHVzLkQjHreDbPLUkG8F/ki8L6Uuw==
Date: Thu, 16 Jan 2020 22:05:29 +0000
Message-ID: <348F757E-31DD-4683-A2AC-B7C3E9A8EF5A@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [173.44.72.18]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 274c37d7-9adf-4b31-dd25-08d79ad03304
x-ms-traffictypediagnostic: BN7PR06MB5124:
x-microsoft-antispam-prvs: <BN7PR06MB51240706C80462BF77083327C2360@BN7PR06MB5124.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3968;
x-forefront-prvs: 02843AA9E0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(396003)(346002)(136003)(39840400004)(189003)(199004)(478600001)(66476007)(8936002)(66446008)(66946007)(966005)(5660300002)(66556008)(4744005)(6486002)(71200400001)(76116006)(8676002)(2616005)(316002)(91956017)(81156014)(81166006)(33656002)(6506007)(64756008)(2906002)(86362001)(26005)(6916009)(6512007)(36756003)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR06MB5124; H:BN7PR06MB6372.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: vss+I54seZEZPRtCMywoujHQL1JEvvss8WvXluCwo1Rw5ABRdUVOwCzHPQNHC5UUu2AhqvisvPMjSnYkTWK2oWMDDRhtZR6I20P7l3kr81FOQUZNTYSgK0eHrfuyrcOfSDfiYZgLR+VcssXpvthyu9Ai4cSNZZf4ToJRRf07I3Bo4bGe9H5K3ATmy82wOpQaiwM5i8zY8ZDQtA9elihmEjLSXgC/MiUudJ9rqgXoKawmdhIzLyKeoleQD9oMW7GeiuaHXrzfRb+lbPYvqbRp16jf8F2E0C/Hw/yO4RcZZXAMvMcu81+8VlDDJBIcrL3PO3koUGS6KXtlNXOKOH1gHSWjBBCFM+w3Xphg5rkj76vZeGeVEa/KmnJsKPwKBf4PjsXHr7hEfFQVG1sN00iSRIGKAGpDo5vOHrFbRfTqvEyQVF+KY5fRAnFDKTMmXEu1bcGdrzITYmjQx7MvaMUGdgMSybjg5AnLs7px5vBVtM0=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-ID: <C245C2EF34BAFF4A8A43864CC52F99B4@namprd06.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 274c37d7-9adf-4b31-dd25-08d79ad03304
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 22:05:29.5316 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: t2rkq2USxbwHqMzlxhJ+uey4VOSvCmdYviD9VdW2xx80wRTmehvbT3yKnYqHnGYXQAJuW6vXf3IcoydT8Ol+PQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR06MB5124
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/RpYzPG11WbT91oHrHQEsLgsrV-A>
Subject: [Ntp] NTP WG virtual interim meeting -- Thursday, 30 January, 1600-1730 UTC
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, 16 Jan 2020 22:05:37 -0000

Folks,

The NTP working group will have a virtual interim meeting on Thursday, 20 J=
anuary, 1600 - 1730 UTC.=20

The (very) drafty agenda is as follows:=20
1) Progress on current working group documents
2) Resolution of recent NTP WGLC
3) Any other business (AOB)

An updated draft agenda will be sent to the ntp mailing list in the next we=
ek or so.=20

Regards,
Karen and Dieter

Topic: NTP WG Virtual Interim - January 2020
Time: Jan 30, 2020 04:00 PM GMT

Join Zoom Meeting
https://isoc.zoom.us/j/579101098

Meeting ID: 579 101 098

One tap mobile
+16465588656,,579101098# US (New York)
+16699006833,,579101098# US (San Jose)

Dial by your location
        +1 646 558 8656 US (New York)
        +1 669 900 6833 US (San Jose)
Meeting ID: 579 101 098
Find your local number: https://isoc.zoom.us/u/acFGQPnJDK



From nobody Thu Jan 16 14:12:07 2020
Return-Path: <odonoghue@isoc.org>
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 92D7D1200B4 for <ntp@ietfa.amsl.com>; Thu, 16 Jan 2020 14:12:05 -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, LOTS_OF_MONEY=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 39k-IGXO4iaC for <ntp@ietfa.amsl.com>; Thu, 16 Jan 2020 14:12:03 -0800 (PST)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on20609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::609]) (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 9B14312004A for <ntp@ietf.org>; Thu, 16 Jan 2020 14:12:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jm+xJF+OLgHty8IBoAKqi3jjcYtUEc0xWAJ91KLsi91W/9w/72ns0aohq6/vWXr3jbUiOhPJ3yC6ntWIgQ2sTcThTvR6Kl9Ts5Ea11gK0JXzW3CZWU18buAoW3APGp7BpZQayBPUE74dstRs0WGTWTkS2jqATaVAon43k4oiHlADZhU3R95zYGIUPaHDH8MqRiHCIO+90xbE6PwIO8i8B97aQgUeVTbES6iEQCW+ZqaRQw9xg9sc6CWETngbkW+gb7amaRQd7PfuVB/ck+WaGa7VRMUW40AQKF9N4d4i/XKjhRzlM0lolPxN+iXJN+fmE+EP7GIioe/l6xymadqLrw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+XHxsH7r9JBkCYSkdzjiOTYzB2hSruiF5u2UTbw9Ovs=; b=Q9x/NHkG/kqc6b+z4bDTei2OHsn0sCCF8QAGggA8y2i8vz73GmLN2I7b75/R1T/T/CNmkqpy3nRKj/scagmRxD5gm/09bHLZ93gx4cQSpCdCzOA3faPA06SFKamVpep9hFsuiGLGMIm0llXj0Hq4ucn9F4q8/qLtXhZUqsr1krDwhob+pS4fADH1QUIu10RZc42fwsXAw6ReK69ypbFj8iLULKAD9EnvPuYv/jaqM9A6MwR9/hYB4c+WW/i1Vxzo73xYI/FL9GIDgpHLYEFC8Rg55GDMEoCwQXo/XoK/kjR8HHBwBzN9Tp0LVJKHo2/BmxVmF/GmZtLOEJoZdIl99g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=isoc.org; dmarc=pass action=none header.from=isoc.org; dkim=pass header.d=isoc.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+XHxsH7r9JBkCYSkdzjiOTYzB2hSruiF5u2UTbw9Ovs=; b=3+I37SypF7xewmPRKmJP32bQ8aA3Pgcbs0T9Ychhs+QzlFGUuZk1moELD1MDeIyi66hSXgXuYD0roYG4sF6ri+KqT4n1XSNjUAJPE9AXz5A62wt12baiAS/TSx3kZQshNGj+ufsNBfuktFvxhCRIJEBpQMZIe/DFeij8b5aZqYc=
Received: from BN7PR06MB6372.namprd06.prod.outlook.com (20.176.30.205) by BN7PR06MB4082.namprd06.prod.outlook.com (52.132.5.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.20; Thu, 16 Jan 2020 22:12:02 +0000
Received: from BN7PR06MB6372.namprd06.prod.outlook.com ([fe80::1448:dc45:35ee:a944]) by BN7PR06MB6372.namprd06.prod.outlook.com ([fe80::1448:dc45:35ee:a944%6]) with mapi id 15.20.2644.015; Thu, 16 Jan 2020 22:12:02 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] NTP WG virtual interim meeting -- Thursday, 30 January, 1600-1730 UTC
Thread-Index: AQHVzLkQH7SU23yHj0qt+jFg2WZm8Kft2oGA
Date: Thu, 16 Jan 2020 22:12:02 +0000
Message-ID: <EE578BFC-A6BA-4711-AFC6-591C3EF00435@isoc.org>
References: <348F757E-31DD-4683-A2AC-B7C3E9A8EF5A@isoc.org>
In-Reply-To: <348F757E-31DD-4683-A2AC-B7C3E9A8EF5A@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [173.44.72.18]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4c63eb0e-8872-48cd-4b1e-08d79ad11d1a
x-ms-traffictypediagnostic: BN7PR06MB4082:
x-microsoft-antispam-prvs: <BN7PR06MB40825A15F552E6FBDD52316BC2360@BN7PR06MB4082.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-forefront-prvs: 02843AA9E0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(376002)(346002)(39830400003)(189003)(199004)(478600001)(36756003)(64756008)(966005)(66556008)(66446008)(26005)(66476007)(81156014)(2616005)(81166006)(66946007)(6916009)(8676002)(71200400001)(8936002)(186003)(316002)(53546011)(33656002)(6506007)(6512007)(2906002)(6486002)(91956017)(5660300002)(76116006)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR06MB4082; H:BN7PR06MB6372.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: kq5YkLFcbfy5Yh1oZpgRjVju5KpoaoWcfz6wCdiQjHJ8fn4nbRUwXob6TLBzWn8sP3TOUh2sWQPxbI2mUwNS80V81zRDktsWE1RE7iQxSvJdm/qDVNjb/CAf6vWNLYAJj74Dc7HmZJFJE4J85MvV3IsXo5aJ/UdYg/hJCasdkDDquJVfmMfNdNStC7oz/tRwyE3z9E4f3AF0LlCxcX8GTpq57V6EXlaohL7DVZoFiSlHy77XkfBcAIxbzlZUdh0CTVQu5yRExO9PoMxSC0hCJ3Fi+zJ8e7mTBzwBL9j/GL4RZ8cNt5REiu6BMc/hZzflL3OIEamiwwYWaLbZwUnawX4yUR9DuhRU9gwHcf9Jiw4OTyGeol/WeFK8ShokARHyZpo7PJUpR2RcYhqbK4Ix4yMpxbrnzMyNDeQb6Tls0evIbR1fT8ox38s2Hk46mYGYcuPjgNF+mSu72hwKT8Uup37AHXm5EPTN8SU3IENxens=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <128B5D45ECF14447AA4AFBA43991DE05@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 4c63eb0e-8872-48cd-4b1e-08d79ad11d1a
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 22:12:02.2219 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Xydeu29j2cX9kXELLrj63KZK1EFj1JEDCEBjjJCGvBkAIp9exHwOXqixE7sqX0m8yISinWiq4zrcHfNyF9UnVg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR06MB4082
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/XwG22RQV5G66Ahaad02DsdL0Cc8>
Subject: Re: [Ntp] NTP WG virtual interim meeting -- Thursday, 30 January, 1600-1730 UTC
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, 16 Jan 2020 22:12:06 -0000

QW5k4oCmIEkgbWVhbiBUaHVyc2RheSwgMzAgSmFudWFyeSAobm90IDIwKS4gSSBnb3QgaXQgcmln
aHQgaW4gdHdvIG91dCBvZiB0aHJlZSBwbGFjZXMgaW4gdGhlIG1lc3NhZ2UuIA0KDQpLYXJlbg0K
DQo+IE9uIEphbiAxNiwgMjAyMCwgYXQgNTowNSBQTSwgS2FyZW4gTydEb25vZ2h1ZSA8b2Rvbm9n
aHVlQGlzb2Mub3JnPiB3cm90ZToNCj4gDQo+IEZvbGtzLA0KPiANCj4gVGhlIE5UUCB3b3JraW5n
IGdyb3VwIHdpbGwgaGF2ZSBhIHZpcnR1YWwgaW50ZXJpbSBtZWV0aW5nIG9uIFRodXJzZGF5LCAy
MCBKYW51YXJ5LCAxNjAwIC0gMTczMCBVVEMuIA0KPiANCj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X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18NCj4gbnRwIG1haWxpbmcgbGlzdA0KPiBudHBAaWV0Zi5vcmcNCj4gaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9udHANCg0K


From nobody Thu Jan 16 15:19:50 2020
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 44B5E1200D7; Thu, 16 Jan 2020 15:19:48 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <157921678817.28041.8603166149082171045@ietfa.amsl.com>
Date: Thu, 16 Jan 2020 15:19:48 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xipBfCqR0arKEmaW2i7EopPuCGU>
Subject: [Ntp] Network Time Protocol (ntp) WG Virtual Meeting: 2020-01-30
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 16 Jan 2020 23:19:48 -0000

The Network Time Protocol (ntp) Working Group will hold
a virtual interim meeting on 2020-01-30 from 16:00 to 17:30 UTC.

Agenda:
The (very) drafty agenda is as follows: 
1) Progress on current working group documents
2) Resolution of recent NTP WGLC
3) Any other business (AOB)

An updated draft agenda will be sent to the ntp mailing list in the next week or so. 

Information about remote participation:
Join Zoom Meeting https://isoc.zoom.us/j/579101098  
Meeting ID: 579 101 098  
One tap mobile
 +16465588656,,579101098# US (New York)
 +16699006833,,579101098# US (San Jose)  
Dial by your location 
       +1 646 558 8656 US (New York)
        +1 669 900 6833 US (San Jose)
Meeting ID: 579 101 098 
Find your local number: https://isoc.zoom.us/u/acFGQPnJDK


From nobody Mon Jan 20 09:58:03 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7390C1209DF; Mon, 20 Jan 2020 09:58:01 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <157954308135.1681.6204988786770137680@ietfa.amsl.com>
Date: Mon, 20 Jan 2020 09:58:01 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yHy1xIIxdICnMoDxP6f0CHEY2Pg>
Subject: [Ntp] I-D Action: draft-roughtime-aanchal-04.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 20 Jan 2020 17:58:01 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Roughtime
        Authors         : Aanchal Malhotra
                          Adam Langley
                          Watson Ladd
	Filename        : draft-roughtime-aanchal-04.txt
	Pages           : 17
	Date            : 2020-01-20

Abstract:
   This document specifies Roughtime - a protocol that aims to achieve
   rough time synchronization while detecting servers that provide
   inaccurate time and providing cryptographic proof of their
   malfeasance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-roughtime-aanchal/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-roughtime-aanchal-04
https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-04

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Jan 22 01:32:09 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B60CB120013; Wed, 22 Jan 2020 01:32:02 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.1
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <157968552266.12241.11855759944750846583@ietfa.amsl.com>
Date: Wed, 22 Jan 2020 01:32:02 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yK5tHESRcWLDIlF3hEepAcajqm4>
Subject: [Ntp] I-D Action: draft-ietf-ntp-yang-data-model-08.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 22 Jan 2020 09:32:03 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : A YANG Data Model for NTP
        Authors         : Nan Wu
                          Dhruv Dhody
                          Ankit kumar Sinha
                          Anil Kumar S N
                          Yi Zhao
	Filename        : draft-ietf-ntp-yang-data-model-08.txt
	Pages           : 54
	Date            : 2020-01-22

Abstract:
   This document defines a YANG data model for Network Time Protocol
   (NTP) implementations.  The data model includes configuration data
   and state data.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-yang-data-model/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-ntp-yang-data-model-08
https://datatracker.ietf.org/doc/html/draft-ietf-ntp-yang-data-model-08

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-yang-data-model-08


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Jan 22 11:43:17 2020
Return-Path: <dsibold.ietf@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 54BA0120802 for <ntp@ietfa.amsl.com>; Wed, 22 Jan 2020 11:43:16 -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_HELO_NONE=0.001, SPF_PASS=-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 phh9bAPOsCUi for <ntp@ietfa.amsl.com>; Wed, 22 Jan 2020 11:43:15 -0800 (PST)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 D3D7112008A for <ntp@ietf.org>; Wed, 22 Jan 2020 11:43:14 -0800 (PST)
Received: by mail-wm1-x334.google.com with SMTP id s144so257029wme.1 for <ntp@ietf.org>; Wed, 22 Jan 2020 11:43:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=seunYYEWuzmlTIo2OHlZukfQt787++RwgBZW4ez81ec=; b=MOsaDDFFZJQcrZgnVN8PtX8kQ3iGpRGBfnPo9fODPFRRMobwJ+0c0IlV03X/8tK/k9 2nalTncGfJe3WRRfIq58IJR/59qQxVjk1hZWyQPBas91Wut/GJhQ8cgVHFhDfUoLoJK2 DPKnAK3rUlJP+9mu9VH0PKS/0xuMT6+LrDXFK2nslUJIIEpwfGJ526LZTyygiB0ble99 nxJzL53b54G0Rrq2J+X8NxEZTX5JhMf/gQ2qrOBe1uFfFXwbYKXV41oAbc7QbiAqHbU8 LJZDwW6TWyy3yc4wyZ5HUvENkchYHzZoOY5CDulv6ILksEFUMK9KdPhO8TLvSm6Zr40v ElIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=seunYYEWuzmlTIo2OHlZukfQt787++RwgBZW4ez81ec=; b=t7V84uRovbro7GAzppdhy2alhXErfcSEJcnS4Hdao7s9Czaou5ddjGPAf+jjP0/Sej vrv+Fa7rf1KZQmSqhSgAAb0BJ9U5eErA6IeiCaGYBqud9XG2necbL8cN0aPQXqhpMN+0 KD/SV9Rg7gdNL+U1uaQELlwrU3GH+tcMj25H+6eOsSYqRoPgzcmB+fiKbNbPCN3ARa2f k/of+qyXEXXiljcTaOCNXXv3V+vctH80zGyOm8SNU5UpqGEizCJIF5wApZMo4AEkSb+6 63YEK75Y2MfW04AESbpNptxAHAws0wj6hgZJFJV6XmynPmNt38FknyAWWoVlYsAftyUZ BYlQ==
X-Gm-Message-State: APjAAAVNLROa6PNUIydXvMM12zKcgkUWufsU6LdlEMrkocxPfPAoTVuA eZT7ADg/iEOjR9C/kuvWbnJnnei6
X-Google-Smtp-Source: APXvYqxb3gg1uaNk7KyqSBBpp6cTzzlS7Y8BUXkmTkKMNVWP29xNpOPgJFFzij6q4kZcdMEX94S1GQ==
X-Received: by 2002:a7b:c318:: with SMTP id k24mr4822075wmj.54.1579722193134;  Wed, 22 Jan 2020 11:43:13 -0800 (PST)
Received: from [169.254.224.68] (p200300D17F082A00E861284E33F44734.dip0.t-ipconnect.de. [2003:d1:7f08:2a00:e861:284e:33f4:4734]) by smtp.gmail.com with ESMTPSA id s10sm58267154wrw.12.2020.01.22.11.43.12 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 11:43:12 -0800 (PST)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: ntp@ietf.org
Date: Wed, 22 Jan 2020 20:43:11 +0100
X-Mailer: MailMate (1.13.1r5671)
Message-ID: <DFD7A4A8-06FC-403C-89EF-CF08CA3E12CE@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Jomq50oWM6yUluoe4kc3S754mzA>
Subject: [Ntp] Review of the YANG data model for NTP
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: Wed, 22 Jan 2020 19:43:16 -0000

Dear all,

This is a reminder that we are still waiting for further reviews of the 
draft „draft-ietf-ntp-yang-data-model“. Please do no hesitate to 
review even if you are not familiar with YANG. In this case please focus 
on completeness of configuration parameters, and state and statistical 
information.
Thanks for the comments received so far.

Dieter


From nobody Wed Jan 22 15:11:59 2020
Return-Path: <hmurray@megapathdsl.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 E55161200FD for <ntp@ietfa.amsl.com>; Wed, 22 Jan 2020 15:11:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 XV4UbvL8nq1V for <ntp@ietfa.amsl.com>; Wed, 22 Jan 2020 15:11:56 -0800 (PST)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 8208512003F for <ntp@ietf.org>; Wed, 22 Jan 2020 15:11:56 -0800 (PST)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 8DF9A40605C; Wed, 22 Jan 2020 15:11:55 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Dieter Sibold" <dsibold.ietf@gmail.com>
cc: ntp@ietf.org, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Dieter Sibold" <dsibold.ietf@gmail.com> of "Wed, 22 Jan 2020 20:43:11 +0100." <DFD7A4A8-06FC-403C-89EF-CF08CA3E12CE@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 22 Jan 2020 15:11:55 -0800
Message-Id: <20200122231155.8DF9A40605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NE112J4dvL6e9Wzym0w8013lInc>
Subject: Re: [Ntp] Review of the YANG data model for NTP
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: Wed, 22 Jan 2020 23:11:58 -0000

It's 50 pages.  I hope you aren't surprised that you aren't getting a lot of 
detailed feedback.

I don't know anything about YANG so I'm missing the big picture of what this 
is trying to accomplish and/or why I should be interested.  I am familiar with 
some NTP implementation.  I work on ntpsec.

It looks good if that is what you want.  I can't say anything about 
completeness.

Some/many of the counters are using a type of counter32.  We changed a few 
counters to 64 bits because we got a report that 32 bits had overflowed.

We dropped mode 7 (ntpdc)  which had a lot of binary encodings and 
reimplemented the functionally we wanted in mode 6 (ntpq) which is mostly 
text.  If numbers are sent as text the 32/64 doesn't matter.

I think there will always be corner cases on some of the slots where the fine 
print in the description will be "look at the code".  If a received packet 
fails authentication, does it get counted with the target association?  Was it 
a damaged packet for that association or an attempted forgery?

I think an important section would be how to keep things up to date and/or how 
to accommodate new features.  (I didn't find that section but I could easily 
have overlooked it.)  The obvious example is counters for NTS.
 
--------

Is state singular or plural?

  information about running state
  Operational State is included
  the operational state also include

I expected a "the" on the first one, and "includes" on the last one.  The 
middle looks right to me.


-- 
These are my opinions.  I hate spam.




From nobody Thu Jan 23 07:51:27 2020
Return-Path: <session-request@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 10BDC12085A; Thu, 23 Jan 2020 07:51:26 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Meeting Session Request Tool <session-request@ietf.org>
To: <session-request@ietf.org>
Cc: ntp-chairs@ietf.org, kodonog@pobox.com, ntp@ietf.org, suresh@kaloom.com
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <157979468602.22790.17168592661498764643.idtracker@ietfa.amsl.com>
Date: Thu, 23 Jan 2020 07:51:26 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/V-hZyhVe3uPHrG-qH_s017rdmc4>
Subject: [Ntp] ntp - New Meeting Session Request for IETF 107
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 23 Jan 2020 15:51:26 -0000

A new meeting session request has just been submitted by Karen O&#39;Donoghue, a Chair of the ntp working group.


---------------------------------------------------------
Working Group Name: Network Time Protocol
Area Name: Internet Area
Session Requester: Karen O&#39;Donoghue

Number of Sessions: 1
Length of Session(s):  2 Hours
Number of Attendees: 30
Conflicts to Avoid: 
 Chair Conflict: sacm saag cfrg ippm bmwg detnet irtfopen
 Technology Overlap: oauth tls mls



People who must be present:
  Karen O&#39;Donoghue
  Suresh Krishnan
  Dieter Sibold

Resources Requested:

Special Requests:
  One of the co-chairs has a work conflict and needs to leave on Wednesday evening. If possible, we would like to schedule sometime before Wednesday mid-afternoon at the latest. 
---------------------------------------------------------


From nobody Thu Jan 23 11:32:32 2020
Return-Path: <dsibold.ietf@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 4CA40120AB0 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 11:32:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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_HELO_NONE=0.001, 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 wVK5-mPkhgAa for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 11:32:29 -0800 (PST)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 49CB1120AAB for <ntp@ietf.org>; Thu, 23 Jan 2020 11:32:29 -0800 (PST)
Received: by mail-lf1-x136.google.com with SMTP id c23so2352809lfi.7 for <ntp@ietf.org>; Thu, 23 Jan 2020 11:32:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:message-id:mime-version; bh=CPXKDM4oTH/a81vu/uwsY4AQ53euKhs4l8JPmI/IvPM=; b=YzIhucMSgl0OxoKyVK/PG3AaybxTIzp1JT1GLzDUVadH2cvjrzOynmWvqu64hQ1DF6 vPfIAxL+n00BzgBNVR33qt0Amxw3KuDx3waIeEaCJLDPDJ/z7V+Tqk9SQQZPzlcnlFk0 VAypEyfTre5oFw88qzN2xdsNTEDUFg726ZNeUFCGoWECYvAjQdzoMd+NSh9cMCXAPjS+ 3IJCPeewm7dIlbAv1SPWSyra0YVp4uI8B2fvyu8Wmv3JRyk1tq7fUu/cJGj5nvi58oCR xMCTkZatnM/V18D+7vIP6880YTTjE0aOXHAoghOqxSh6qoumq+fBkoj5abB8gyBz3ygq CPEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=CPXKDM4oTH/a81vu/uwsY4AQ53euKhs4l8JPmI/IvPM=; b=KzJ5Haot0GdQgqDYtaah1azgPCX+6i1rNiIJKuthKqrbunafwcdcccadj8Fehy6Zy+ 9iKvMKjldlO2IrHFVNLDMI7xA6dMA5TmK0riQK5Dyi4ho8giNztp9E4zk9RD0o5+Be+s kmJNRenMIUfuQ1CX0Fq9MJzuhY99JVGk578bDVKw2EQytmgxzfMsYI14nBBhr0Hikase jJB0Rcb2ZT1tZ9w6MsBOO0WUrgFYHqvb+P1OkRp0mkRXmbegn+QCtuHIEautxiyjT8FJ JCVWCsRqvHvhpC9R1FnKiID3r5LuOLQ+xruDQukylE3lSRaX7pdz5Bizn+MouIRrojfx y5cA==
X-Gm-Message-State: APjAAAVdEd+5POFkcM7EOMOal6NmKv+wu9ZWl5evxTSbmsaK2c96YSZq yfok6nrPF6sCEebwG984gDFTz997eLQ=
X-Google-Smtp-Source: APXvYqzoj4csnTlII8jJsbQKSMwZWLz/Jn/bM3e0fSuDasK4jmeba76wfiRlvuOXWxYSGAxxF5p2bA==
X-Received: by 2002:a19:4f57:: with SMTP id a23mr5411860lfk.145.1579807946950;  Thu, 23 Jan 2020 11:32:26 -0800 (PST)
Received: from [192.168.111.35] (p200300D17F082A00C5D92873639DD8A1.dip0.t-ipconnect.de. [2003:d1:7f08:2a00:c5d9:2873:639d:d8a1]) by smtp.gmail.com with ESMTPSA id p15sm1574711lfo.88.2020.01.23.11.32.25 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2020 11:32:26 -0800 (PST)
From: "Dieter Sibold" <dsibold.ietf@gmail.com>
To: ntp@ietf.org
Date: Thu, 23 Jan 2020 20:32:25 +0100
X-Mailer: MailMate (1.13.1r5671)
Message-ID: <A46D00A0-9D8C-4E69-B9D0-4CEAE1A4387B@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xt0GmCpMn0uNcHmcSvEHF8ppz1w>
Subject: [Ntp] NTP IWG virtual interim meeting
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, 23 Jan 2020 19:32:31 -0000

Dear all!

This is a reminder that we shall have a virtual interim next Thursday, 
30th January, 1600 - 1730 UTC. We basically have only two updated 
drafts: the Roughtime and the Yang Data Model draft. In case you want to 
propose additional agenda topics please send them the the working group 
chairs.

Also I want to ask you to check the wiki page: 
https://trac.ietf.org/trac/ntp/wiki/NtpV5FeatureRequests
This page is intended to compile features that are not provided by NTPv4 
but which may be desirable for a new version of NTP. You will need a 
datatracker account to add content to this page. You can create an 
account via self service at: 
https://datatracker.ietf.org/accounts/create/

Thanks in advance!
Dieter


From nobody Thu Jan 23 15:04:02 2020
Return-Path: <watsonbladd@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 ACE851200BA for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:04:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level: 
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 Vpab9MYkEIY3 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:03:59 -0800 (PST)
Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 E9E6C12008A for <ntp@ietf.org>; Thu, 23 Jan 2020 15:03:58 -0800 (PST)
Received: by mail-lj1-x22e.google.com with SMTP id j26so193339ljc.12 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:03:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yLkqjWcT8lGHdZPVQIe8EUHpBsUGpXiBO26hBRLVOkw=; b=DoVrvB7kUUpgahh0Q7FxCpNWBlemeW99KFhvjbA9GIh+/77JQcs0zTiWFe6xrdWpsF QVQtxzK7/jtf70J+BFEiaGZP08+/OaHiSYTkhzJ13KzQwVOYh8RLmk5UP+q+AJmADwem +azwK6B7lXKLEaqp6bozp+lROyFGrzNC+Jikdsni44t0Ki1zDzDIvoeZfklOyez4bUqo uUpkbBAhUdRWeJESgzO4udp4c5MpDArpp1vSzEt4Vohe6ovDs85dwhfhK4rEgX5UB5nf 5AbWpzzQT80DCle5pl9xFhATCUUaTmQEgTHp1KnI15AkecePD6FHiOqDXJ5CyRM6TOEG n/wA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yLkqjWcT8lGHdZPVQIe8EUHpBsUGpXiBO26hBRLVOkw=; b=oDYbyW2gwVOWqIceyycGcVZFCRwvu6i0avuTc1qspZcLCdTTRC8UK+CmDV850a3mKS iIqrYhtjV2fj1mN58+llyXfdIHOWOLLw/ZOnl6r71aSLPt63cpUfdQ1xPwCUc3X7YBp4 G9AP99PVPFwGYg2ciKc3O/7FUtxOUGaY9LCRp+DZUEXUZe3W0uWRkR9OQiQFb57PVrjH AgIgw2ffdsfHe/u7JMIMNM5A6MFCJQ1tgN7tHeVzrUywjuTiJRTt8m7xAAsRYLVa18iG S2LclAkw+lXwsSA4yW896OOu5T2z4la6qW9QYmu5A+NS48z2iVsjHTsu+LRKlNNQYHGO RqyQ==
X-Gm-Message-State: APjAAAUmsZT0S6i78Qm3Li9V5RIsA21Aq/9YsyRFDq1H0qpVgjSBnS9Q Zk9n9884rfP8YaRBeDwOT96poS883CZmWeBSnCE=
X-Google-Smtp-Source: APXvYqxIv2BrE7eHxIxTvdvrElK7sXLWjnzajSlPItQFoP0v1yhbYggLNi2E3ejKwlITMTqrr58374oNe/oInAiCWT4=
X-Received: by 2002:a2e:8188:: with SMTP id e8mr417409ljg.57.1579820637117; Thu, 23 Jan 2020 15:03:57 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com>
In-Reply-To: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 23 Jan 2020 15:03:45 -0800
Message-ID: <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com>
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e26018059cd6a706"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/fLITcyxuFTGLt-h6ODncNHsSE-8>
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: Thu, 23 Jan 2020 23:04:01 -0000

--000000000000e26018059cd6a706
Content-Type: text/plain; charset="UTF-8"

On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com> wrote:

> I'm writing up an I-D clarifying how NTP implementations are to behave
> in proximity to a leap second and also introducing an extension field
> that provides better leap-second-related information than is
> expressible using header fields alone, including giving the TAI-UTC
> offset.
>
> Karen, you mentioned a possible CfA for
> draft-stenn-ntp-extended-information if Harlan revises it to comply
> with RFC 7822 (-04 does not appear to comply). Our two drafts are
> partly redundant in purpose since they both provide TAI-UTC offset and
> we won't want to adopt both. Of course I think mine is the one we
> should adopt, but I'll strive to get a -00 submitted promptly so that
> they can be considered side-by-side without unduly delaying Harlan's
> CfA.
>

Apologies for the necromancy but someone at work just asked me which second
is repeated in an NTP timestamp and to make sure all our sources use the
right one.

This draft is needed.

>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--000000000000e26018059cd6a706
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, Mar 27, 2019, 9:47 AM Daniel Franke &lt;<a hre=
f=3D"mailto:dfoxfranke@gmail.com">dfoxfranke@gmail.com</a>&gt; wrote:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">I&#39;m writing up an I-D clarifying how=
 NTP implementations are to behave<br>
in proximity to a leap second and also introducing an extension field<br>
that provides better leap-second-related information than is<br>
expressible using header fields alone, including giving the TAI-UTC<br>
offset.<br>
<br>
Karen, you mentioned a possible CfA for<br>
draft-stenn-ntp-extended-information if Harlan revises it to comply<br>
with RFC 7822 (-04 does not appear to comply). Our two drafts are<br>
partly redundant in purpose since they both provide TAI-UTC offset and<br>
we won&#39;t want to adopt both. Of course I think mine is the one we<br>
should adopt, but I&#39;ll strive to get a -00 submitted promptly so that<b=
r>
they can be considered side-by-side without unduly delaying Harlan&#39;s<br=
>
CfA.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"au=
to">Apologies for the necromancy but someone at work just asked me which se=
cond is repeated in an NTP timestamp and to make sure all our sources use t=
he right one.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">This=
 draft is needed.=C2=A0</div><div dir=3D"auto"><div class=3D"gmail_quote"><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"noreferrer">ntp@ie=
tf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br=
>
</blockquote></div></div></div>

--000000000000e26018059cd6a706--


From nobody Thu Jan 23 15:09:43 2020
Return-Path: <wlosh@bsdimp.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 638A21200BA for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:09:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 bWfRJLurX4qw for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:09:39 -0800 (PST)
Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 CF4E71200C7 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:09:38 -0800 (PST)
Received: by mail-qt1-x835.google.com with SMTP id i13so137971qtr.3 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:09:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Agl19qvdjvU1yCl6sKrIhZG+BmSTeZPG1l0bR7/j6hI=; b=PhTlwIwG+YoKU3vZac8j9fn7R/o2ikYRvqKqVIGbTqPqQFrQsFsV3HaNzi9LHA+AXA hL22kbtaArG2oPm2XRA+hjMzkNwnQ3YVnPPg3OjSBPt3E0pzeiXlmahvrdzbAOgrhLj4 W3lEakcuQNZEZvAPnvbrS4lxbzh5yvLwlYJFelR84I3CevrvHikB1UKV/H7UC/ekvlgD YdB/uWf2vn8s3YUHWi9uf3roAnNo0a7uxIJdL14EVrPgulMR59l8miqb2NGv9JpQFlJ6 HqH0UzljOPjN+4/pZmVNXfGP00ZSLj+W6KBY5QkkRKeKdJ0BG0Rk5XT8NeQtufHRAtqs 2I+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Agl19qvdjvU1yCl6sKrIhZG+BmSTeZPG1l0bR7/j6hI=; b=iC2ojGdi8+Wwm0kqKl3dHv5oI1RSBU+QCUYPTgyay5djTOqwlL7QLNVkiA0NH6OHey Hrna/UvoQyLxO7D8HdE6l5KVlo5XMISXkPcAPmxEeZ/eX/62pAjXEDx3zVMHVk4F4Rqi 8yx+hB5r4MCp5d2wyzW3EehNpD16IJlqB3gPb3MY8xfgT+1qcBVxi8PBf0GMRQGJ5YpH wexYQCBdxL+0UAjGgYX9pZI6PaeSlAxc2FX6Bd1/KqF0sHCaN79jni2Pn4xXMTUPlHD9 PpICc4PZcrOO5TX6Zm31NO0rUoQsdqpHoeNYDkvo2/DHzFEXx95EmaLHNY+6pVf7VkX1 0jxw==
X-Gm-Message-State: APjAAAXr40+6HvXrAOTSHu1xoHjVEqMmL5sukdNXv7L5LZcy+e60tsu0 ZTdkY8po/MyKe79Lmg9kvY4+mAjyT9ErdYCOdWbZCA==
X-Google-Smtp-Source: APXvYqx5yT269j7NhjBIgWLCZJ3hFQpjwwKKztpSoBxwHGehi/OmcSnpTZj9dvRC8FdQJZNT9oMGOqOEqeRODN9ZT8o=
X-Received: by 2002:ac8:48c9:: with SMTP id l9mr648871qtr.242.1579820977717; Thu, 23 Jan 2020 15:09:37 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com>
In-Reply-To: <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com>
From: Warner Losh <imp@bsdimp.com>
Date: Thu, 23 Jan 2020 16:09:26 -0700
Message-ID: <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Daniel Franke <dfoxfranke@gmail.com>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002f974f059cd6bc0e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/AzLh-8Q8sYs5UKKKK5aAnSrjuy0>
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: Thu, 23 Jan 2020 23:09:41 -0000

--0000000000002f974f059cd6bc0e
Content-Type: text/plain; charset="UTF-8"

On Thu, Jan 23, 2020 at 4:04 PM Watson Ladd <watsonbladd@gmail.com> wrote:

>
>
> On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com> wrote:
>
>> I'm writing up an I-D clarifying how NTP implementations are to behave
>> in proximity to a leap second and also introducing an extension field
>> that provides better leap-second-related information than is
>> expressible using header fields alone, including giving the TAI-UTC
>> offset.
>>
>> Karen, you mentioned a possible CfA for
>> draft-stenn-ntp-extended-information if Harlan revises it to comply
>> with RFC 7822 (-04 does not appear to comply). Our two drafts are
>> partly redundant in purpose since they both provide TAI-UTC offset and
>> we won't want to adopt both. Of course I think mine is the one we
>> should adopt, but I'll strive to get a -00 submitted promptly so that
>> they can be considered side-by-side without unduly delaying Harlan's
>> CfA.
>>
>
> Apologies for the necromancy but someone at work just asked me which
> second is repeated in an NTP timestamp and to make sure all our sources use
> the right one.
>

NTP timestamp repeats the last second of the day. Once without the leap bit
set and then again with it set.

POSIX doesn't specify, and so systems choose a number of different ways of
coping (repeat the last second of the day, repeat the first second of the
next day, freeze time during leap second, do some crazy smear to pretend
reality matches the POSIX spec, kernel panic, etc).

Warner

--0000000000002f974f059cd6bc0e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jan 23, 2020 at 4:04 PM Watso=
n Ladd &lt;<a href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d=
iv dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Wed, Mar 27, 2019, 9:47 AM Daniel Franke &lt;<a href=
=3D"mailto:dfoxfranke@gmail.com" target=3D"_blank">dfoxfranke@gmail.com</a>=
&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I&#3=
9;m writing up an I-D clarifying how NTP implementations are to behave<br>
in proximity to a leap second and also introducing an extension field<br>
that provides better leap-second-related information than is<br>
expressible using header fields alone, including giving the TAI-UTC<br>
offset.<br>
<br>
Karen, you mentioned a possible CfA for<br>
draft-stenn-ntp-extended-information if Harlan revises it to comply<br>
with RFC 7822 (-04 does not appear to comply). Our two drafts are<br>
partly redundant in purpose since they both provide TAI-UTC offset and<br>
we won&#39;t want to adopt both. Of course I think mine is the one we<br>
should adopt, but I&#39;ll strive to get a -00 submitted promptly so that<b=
r>
they can be considered side-by-side without unduly delaying Harlan&#39;s<br=
>
CfA.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"au=
to">Apologies for the necromancy but someone at work just asked me which se=
cond is repeated in an NTP timestamp and to make sure all our sources use t=
he right one.=C2=A0</div></div></blockquote><div><br></div><div>NTP timesta=
mp repeats the last=C2=A0second of the day. Once without the leap bit set a=
nd then again with it set.</div><div><br></div><div>POSIX doesn&#39;t speci=
fy, and so systems choose a number of different ways of coping (repeat the =
last second of the day, repeat the first second of the next day, freeze tim=
e during leap second, do some crazy smear to pretend reality matches the PO=
SIX spec, kernel panic, etc).</div><div><br></div><div>Warner</div></div></=
div>

--0000000000002f974f059cd6bc0e--


From nobody Thu Jan 23 15:36:23 2020
Return-Path: <wlosh@bsdimp.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 483C112001A for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:36:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=bsdimp-com.20150623.gappssmtp.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 B99iEx7UYBWZ for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:36:19 -0800 (PST)
Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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 20E4F120019 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:36:19 -0800 (PST)
Received: by mail-qv1-xf2b.google.com with SMTP id f16so75782qvi.4 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:36:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=akuCOa6Y6Qrnqe6jjsLMTt9fxtTEEh8o1M/bYzvimqI=; b=JEZsRIg0degfin5HXMMsk6zVXzFHhqF6AE42rLCEpApftt7KCwVTiFjQ3ecaADHukA Cb+vVpUXnhQsv4R388kEgfETwa14h0DM/oiAyxW00aA275yTvkcd6cJ+Ceyz8mH5C7j8 gXPRf6IhcNBCLc19B0dHpvy3Ez8Nm47GlC4xORlwxY+ETKSCDpp008dkMf/+ibkR5PL7 N9Ooq0/XrLBiLW3SrTV47/G0vo23dxQg9hZjTs02p1b8fgrbvCLJNkheZT80KbEmVUo4 pV5xP1heqzy1+oJR5aK1sz05z2hUssfJnwHBXcpPAxHU9npZpJx2+DSrLAHpiA80NUJN 3FWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=akuCOa6Y6Qrnqe6jjsLMTt9fxtTEEh8o1M/bYzvimqI=; b=OIqa4rAc+hFCoIxRu/6m/BrP+R+5fvm25A1oRoUZYIV8uygYd3g2GqkpZrZUXEQaWA gGP07Uy2E6gnk4YMoOoBnXi+rOFU0BXoWtyo8k0Lzz3T99oaQ9/sZfRFbW/qGaH59Ant oG8x2o5xtQp8pK76tcs7m4QXnvHPumWMwP9gQ2VIyQrJtQBGfa/cGzK0KhqeGn7g7u3Z YYksR1HNRk3/TMri6fMKy8klbkWTLORBA49CHLg4EU+pTwut59PIFaiEy41n4l9gzK0G REBNL4J+P5c4JzoYUrJUYib2d3GoyDI0UQp/Dz2yL37zHWtshSRjSoDxmw8xBB53RiuX 5Qtg==
X-Gm-Message-State: APjAAAVZSDekLjbDcPPZe53loijdoF9vu2rPke0LQ3N84tTsOYSvMT/z csIF3CbOjREmUVIKFo7Kh9zerwTvqqVaKkyiJqn24w==
X-Google-Smtp-Source: APXvYqySGfS3ZBxTzb4p7LsRR2H5tHhOan0oR8rgV42LmJK6zoS4yYyE9Z/5ZXZbsH9d8OvD/oqifiI2uOz3rgsaDLI=
X-Received: by 2002:a05:6214:3aa:: with SMTP id m10mr200560qvy.125.1579822577898;  Thu, 23 Jan 2020 15:36:17 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com>
In-Reply-To: <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com>
From: Warner Losh <imp@bsdimp.com>
Date: Thu, 23 Jan 2020 16:36:06 -0700
Message-ID: <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Daniel Franke <dfoxfranke@gmail.com>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000906f29059cd71bb1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/7IKFX5c-znEIIbtjU-tgc1l8te4>
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: Thu, 23 Jan 2020 23:36:21 -0000

--000000000000906f29059cd71bb1
Content-Type: text/plain; charset="UTF-8"

On Thu, Jan 23, 2020 at 4:09 PM Warner Losh <imp@bsdimp.com> wrote:

>
>
> On Thu, Jan 23, 2020 at 4:04 PM Watson Ladd <watsonbladd@gmail.com> wrote:
>
>>
>>
>> On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com> wrote:
>>
>>> I'm writing up an I-D clarifying how NTP implementations are to behave
>>> in proximity to a leap second and also introducing an extension field
>>> that provides better leap-second-related information than is
>>> expressible using header fields alone, including giving the TAI-UTC
>>> offset.
>>>
>>> Karen, you mentioned a possible CfA for
>>> draft-stenn-ntp-extended-information if Harlan revises it to comply
>>> with RFC 7822 (-04 does not appear to comply). Our two drafts are
>>> partly redundant in purpose since they both provide TAI-UTC offset and
>>> we won't want to adopt both. Of course I think mine is the one we
>>> should adopt, but I'll strive to get a -00 submitted promptly so that
>>> they can be considered side-by-side without unduly delaying Harlan's
>>> CfA.
>>>
>>
>> Apologies for the necromancy but someone at work just asked me which
>> second is repeated in an NTP timestamp and to make sure all our sources use
>> the right one.
>>
>
> NTP timestamp repeats the last second of the day. Once without the leap
> bit set and then again with it set.
>

Ah, the standard doesn't say this...  It just says that the values can be
subtracted, so forget I said anything about NTP


> POSIX doesn't specify, and so systems choose a number of different ways of
> coping (repeat the last second of the day, repeat the first second of the
> next day, freeze time during leap second, do some crazy smear to pretend
> reality matches the POSIX spec, kernel panic, etc).
>

This part is true. It's the biggest flaw with time_t: It doesn't
acknowledge that leap seconds exist, so what to do during that thing which
the standard says doesn't exist is up for grabs :(

Warner

--000000000000906f29059cd71bb1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jan 23, 2020 at 4:09 PM Warne=
r Losh &lt;<a href=3D"mailto:imp@bsdimp.com">imp@bsdimp.com</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"=
><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"=
 class=3D"gmail_attr">On Thu, Jan 23, 2020 at 4:04 PM Watson Ladd &lt;<a hr=
ef=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, Mar 27, 2019, 9:47 AM Daniel Franke &lt;<a hre=
f=3D"mailto:dfoxfranke@gmail.com" target=3D"_blank">dfoxfranke@gmail.com</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I&#=
39;m writing up an I-D clarifying how NTP implementations are to behave<br>
in proximity to a leap second and also introducing an extension field<br>
that provides better leap-second-related information than is<br>
expressible using header fields alone, including giving the TAI-UTC<br>
offset.<br>
<br>
Karen, you mentioned a possible CfA for<br>
draft-stenn-ntp-extended-information if Harlan revises it to comply<br>
with RFC 7822 (-04 does not appear to comply). Our two drafts are<br>
partly redundant in purpose since they both provide TAI-UTC offset and<br>
we won&#39;t want to adopt both. Of course I think mine is the one we<br>
should adopt, but I&#39;ll strive to get a -00 submitted promptly so that<b=
r>
they can be considered side-by-side without unduly delaying Harlan&#39;s<br=
>
CfA.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"au=
to">Apologies for the necromancy but someone at work just asked me which se=
cond is repeated in an NTP timestamp and to make sure all our sources use t=
he right one.=C2=A0</div></div></blockquote><div><br></div><div>NTP timesta=
mp repeats the last=C2=A0second of the day. Once without the leap bit set a=
nd then again with it set.</div></div></div></blockquote><div><br></div><di=
v>Ah, the standard doesn&#39;t say this...=C2=A0 It just says that the valu=
es can be subtracted, so forget I said anything about NTP</div><div>=C2=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><di=
v class=3D"gmail_quote"><div>POSIX doesn&#39;t specify, and so systems choo=
se a number of different ways of coping (repeat the last second of the day,=
 repeat the first second of the next day, freeze time during leap second, d=
o some crazy smear to pretend reality matches the POSIX spec, kernel panic,=
 etc).</div></div></div></blockquote><div><br></div><div>This part is true.=
 It&#39;s the biggest flaw with time_t: It doesn&#39;t acknowledge that lea=
p seconds exist, so what to do during that thing which the standard says do=
esn&#39;t exist is up for grabs :(</div><div><br></div><div>Warner=C2=A0</d=
iv></div></div>

--000000000000906f29059cd71bb1--


From nobody Thu Jan 23 15:52:36 2020
Return-Path: <hmurray@megapathdsl.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 87AFC1200CD for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:52:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.134
X-Spam-Level: *
X-Spam-Status: No, score=1.134 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HDRS_LCASE=0.099, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 B2LgJ11as_X6 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 15:52:33 -0800 (PST)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id A722A120091 for <ntp@ietf.org>; Thu, 23 Jan 2020 15:52:33 -0800 (PST)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id BB54440605C; Thu, 23 Jan 2020 15:52:32 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: NTP WG <ntp@ietf.org>
cc: Hal Murray <hmurray@megapathdsl.net>
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 23 Jan 2020 15:52:32 -0800
Message-Id: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/nxcn-47Q72TrrQa9AcyIeg0mzfE>
Subject: Re: [Ntp] Leap second
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, 23 Jan 2020 23:52:35 -0000

Warner Losh said:
> NTP timestamp repeats the last second of the day. Once without the leap bit
> set and then again with it set. 

Which bit is that?  I don't know of a single "leap bit" in the header.

There is a 2 bit header field with: normal (no leap), and add+del (leap 
pending) states.  The 4th state is used for non-in-sync.  Assuming you meant 
"bits" rather than bit, then the on-off is backwards.  I expect it to be 
sending leap-pending for most of the day, then send normal (no leap-pending) 
for the repeated last second of the day.

--------

I just looked at some code and found:
                if (leap_sec_in_progress) {
                        /* always send "not sync" */
                        xmt_leap = LEAP_NOTINSYNC;
                }

Looks like it is responding with "I don't know" during the extra second. (but 
I didn't check carefully)


-- 
These are my opinions.  I hate spam.




From nobody Thu Jan 23 16:46:31 2020
Return-Path: <hmurray@megapathdsl.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 26057120019 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 16:46:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 8YXIC6Q3Z2HR for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 16:46:23 -0800 (PST)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 175F1120091 for <ntp@ietf.org>; Thu, 23 Jan 2020 16:46:21 -0800 (PST)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id E077240605C; Thu, 23 Jan 2020 16:46:20 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Dieter Sibold" <dsibold.ietf@gmail.com>
cc: ntp@ietf.org, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Dieter Sibold" <dsibold.ietf@gmail.com> of "Thu, 23 Jan 2020 20:32:25 +0100." <A46D00A0-9D8C-4E69-B9D0-4CEAE1A4387B@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 23 Jan 2020 16:46:20 -0800
Message-Id: <20200124004620.E077240605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ELB8oLl54yM6kGV3d7brBB5Ut9M>
Subject: Re: [Ntp] NTP IWG virtual interim meeting
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: Fri, 24 Jan 2020 00:46:24 -0000

What's the status of the NTS draft?



-- 
These are my opinions.  I hate spam.




From nobody Thu Jan 23 16:59:23 2020
Return-Path: <odonoghue@isoc.org>
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 00FD6120091 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 16:59:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 YG7fKCChrvus for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 16:59:17 -0800 (PST)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2081.outbound.protection.outlook.com [40.107.243.81]) (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 620A9120019 for <ntp@ietf.org>; Thu, 23 Jan 2020 16:59:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jpQAovU9Tqw7kTaW0uRIGPrgp3NFZ8nJsbgEvupFirJj+g1pGReA2oEAbU1EdhB7d3o1hB9q26JsQtfAIOEusgwYIvoOB0gRIiEZ3sIN2XAuff0sbmygtCQxjx1x13ur30HyVk4AS3LY3muHENJMVv1MzSI7X/WSMxuJQdJtsuuYidFXNGx9M4D0+pQJriL7I5xgakMXphDXU++i+7e7sYmM1aOiJVudu7+s3auxc3rZl9gSn/6h3xGCfm7CoS411kxzo8+Y8Gwtj5F4eDoqyv8fgUMH1so0TTRioLKKOX0bWWf5368s0tJn9MXdElMGYsv7v48x0HWugwA1B+2scg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RmvKy7WiikMZnMOzl0ml9huAGKnFF8v1j8gikm+sy9o=; b=UWPKbsY17XizYobUCSLrCheoyFCOEN38TrM9oEQ/s0ME/i0iuoeQFxZw/gKky4pS0AcK67QOPSuxPNgsndkvXpwaDKXIuXQ0/RgQB2QAtym4665xW++MBDIyRMiqfnpBSl978+6TgUT4f/ovmY973Tvvo1OnjWC5zE2ICWsYToR7K9VE3iQXR0qAR9dyHAvtn8Ld8W7Ud6kxI01CgEuSOMrKIR6qdRJdS0VN4YlGzGYzw+QivjGXgobEni73bSWY4LcZ56Q7Qml1YULTm2JJqwnyIoL7MAgXYeOUO8K2aAG8bRS8IeC/KPq344qPLfWsUraSZ923L/qjDEqDQxw4Ew==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=isoc.org; dmarc=pass action=none header.from=isoc.org; dkim=pass header.d=isoc.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RmvKy7WiikMZnMOzl0ml9huAGKnFF8v1j8gikm+sy9o=; b=wbYK0co5WtEWH1CvYSCWcbdOAa8Qg/8GuPA8etUNxRD//iwP5N80qhLzODqXNPW5SEwM+qzdiTSTEjtVVq9QZhKaOmXYmxB4Kz2j364MFqToePzdM0VuL0BI5IcIpIGCUp3KjFRr2irWsDcCwdpoqAcRNMK3mGom7KVgAJ/LD/4=
Received: from DM6PR06MB6377.namprd06.prod.outlook.com (20.178.28.75) by DM6PR06MB6041.namprd06.prod.outlook.com (20.178.27.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.23; Fri, 24 Jan 2020 00:59:14 +0000
Received: from DM6PR06MB6377.namprd06.prod.outlook.com ([fe80::a4b8:2a4e:b8cd:6418]) by DM6PR06MB6377.namprd06.prod.outlook.com ([fe80::a4b8:2a4e:b8cd:6418%7]) with mapi id 15.20.2644.028; Fri, 24 Jan 2020 00:59:14 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: Hal Murray <hmurray@megapathdsl.net>, Dieter Sibold <dsibold.ietf@gmail.com>
CC: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] NTP IWG virtual interim meeting
Thread-Index: AQHV0k+6+fReC06d4kWJOQlVKwJ6cKf4qouA
Date: Fri, 24 Jan 2020 00:59:14 +0000
Message-ID: <E916DC00-A3F5-4860-BE64-120952363C66@isoc.org>
References: <dsibold.ietf@gmail.com> <A46D00A0-9D8C-4E69-B9D0-4CEAE1A4387B@gmail.com> <20200124004620.E077240605C@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20200124004620.E077240605C@ip-64-139-1-69.sjc.megapath.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [173.44.72.18]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2092c77f-dc47-4f94-9231-08d7a068a17e
x-ms-traffictypediagnostic: DM6PR06MB6041:
x-microsoft-antispam-prvs: <DM6PR06MB60415C9BA7B2A9AF0F28648EC20E0@DM6PR06MB6041.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3383;
x-forefront-prvs: 02929ECF07
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(346002)(396003)(39840400004)(199004)(189003)(26005)(4744005)(4326008)(966005)(36756003)(478600001)(8676002)(81156014)(81166006)(2616005)(86362001)(33656002)(2906002)(110136005)(5660300002)(71200400001)(8936002)(91956017)(64756008)(66476007)(66446008)(66556008)(316002)(76116006)(66946007)(186003)(6486002)(6506007)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR06MB6041; H:DM6PR06MB6377.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: X2cpfCkESmgS/PjO61C+wydHOC9DyLpKLzPApAwlkYDH+YYt/LHb46Q1MNJkqN0YNlptg1mdm+k0pvQ5hiD0FJa4emxH8lx4hpeijXbjBogOlUDeTKRWXxuiYiXIft0RN9xAfCOwhvqmV8EXTlfRZ2vDmQGMT1CcoMEl0X73ksOXU08gkD69cDlyxBKflM/679qlcODqj26w28yiTptpWAxxGPzeP3sTaIXNrmglqhjToFHvJwzPNr3JBapt3KSNAoDAIE870efiqOonsnnn6eiCCWvY7XAD+AakKQ7rrkxuc0AVVNDebF7SEzn5rVeSPMEeR8mwAzdIoTCJEWIhFOKXRgsSz3SPZePGMCTJhIXS2MGpJT4QE0uqHsrkhNTiF9c2JMZC6w8o2YxcWIpGHJzMoTmVtR8Z/egZ0sSoTR02na1Vhke3w03a4fbaRm7mAPKkxsEDD6nVoR7mE746n+FourROsbxm8aOSyAbpJnE=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <7166C5670628F74E94F77727E48F139A@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 2092c77f-dc47-4f94-9231-08d7a068a17e
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2020 00:59:14.2184 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: pqDt7FXYQSMu/47eVj7LTKvFWwO6+y9sg2qMt8LgZAbonSPEuev7I2cBPTBMPuQL+2nlE+LAXXpDGdpzM4Pe3g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR06MB6041
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/WgA4vAgZvj7uHeM_wvDbVEEoxo0>
Subject: Re: [Ntp] NTP IWG virtual interim meeting
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: Fri, 24 Jan 2020 00:59:21 -0000

SXQgaGFzIGJlZW4gc3VibWl0dGVkIHRvIHRoZSBJRVNHIGFuZCBpcyBhd2FpdGluZyBBRCByZXZp
ZXcuIFN1cmVzaCBoYXMgaW5kaWNhdGVkIHRoYXQgaGUgdGhpbmtzIGhlIGNhbiBnZXQgdG8gaXQg
YnkgdGhlIGVuZCBvZiB0aGUgbW9udGguDQoNCkthcmVuDQoNCu+7v09uIDEvMjMvMjAsIDc6NDYg
UE0sICJudHAgb24gYmVoYWxmIG9mIEhhbCBNdXJyYXkiIDxudHAtYm91bmNlc0BpZXRmLm9yZyBv
biBiZWhhbGYgb2YgaG11cnJheUBtZWdhcGF0aGRzbC5uZXQ+IHdyb3RlOg0KDQogICAgDQogICAg
V2hhdCdzIHRoZSBzdGF0dXMgb2YgdGhlIE5UUyBkcmFmdD8NCiAgICANCiAgICANCiAgICANCiAg
ICAtLSANCiAgICBUaGVzZSBhcmUgbXkgb3BpbmlvbnMuICBJIGhhdGUgc3BhbS4NCiAgICANCiAg
ICANCiAgICANCiAgICBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXw0KICAgIG50cCBtYWlsaW5nIGxpc3QNCiAgICBudHBAaWV0Zi5vcmcNCiAgICBodHRwczov
L3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL250cA0KICAgIA0KDQo=


From nobody Thu Jan 23 19:54:22 2020
Return-Path: <wlosh@bsdimp.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 24ABB12002E for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 19:54:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 F5mPaNLH6ANJ for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 19:54:18 -0800 (PST)
Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 0740F120019 for <ntp@ietf.org>; Thu, 23 Jan 2020 19:54:17 -0800 (PST)
Received: by mail-qv1-xf35.google.com with SMTP id n8so286531qvg.11 for <ntp@ietf.org>; Thu, 23 Jan 2020 19:54:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kHEcyoqNAr46m462QaseKvhNNzseDUnmJUBYK5aJUdk=; b=Vsll5rwgAamoZVRQMVwoQmRd4inaTS3UjIyduACHgKRkt/eDrHOC2cOOInZP1sVCld 9dhMI9L+TYZ/3TNIDrzv7qn7aU0N3G5sSyyZoSqvpggmfAfuEUEr+i0e6IDDsie9y5ud nT+Zrag6g0adyUiKIwcbIjGAtn+AND7eGJYJwS4/U0tShiB+YfNYD/s8CrtnUgy4dNSk MfKDZUjhNrRyX1Ko2+9tcIGClgwlGpHLTU6tf6TW0eEOqwvsSz35ACgd4SsDQTFzH9ur wndaDHLsoyUOG4VHTcMHyVUPS1JwI0Ljho/eByQxD4GFT3UuzfVKOxJ8GcmSPkUWlPNG 2L/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kHEcyoqNAr46m462QaseKvhNNzseDUnmJUBYK5aJUdk=; b=P+U4dQQSDKfysxLRNNDZ5U8NPbMiI1s7YmuvZtOIrDOiNbUX3N2r53/O0wsBss7uoZ n7eKAnJr5RQuZxbc1vQ8RbRh3Ix8r3tGVGYwc1oFhlsIJCFYy8+NpaHdddrGVQBBU8tR epi7RO7nrGZq53saKhB20NW29nzWE7oEVIQZ6VBHZK5bwf67AP4UAvCPsZMbpZbHt6Bb xZQFff7rtjBFFqmMHxNJjxa1mMQd+Rg57s0UhwMd9O0bZA1WaoS/QjNabKae0OF5p3AG tn5oEU8Kp1cQYfGiJu/Iu6vbris8b54J8HdWHwZoI2TeKx68HldLUca9bFGDPlkQzj3k NLFA==
X-Gm-Message-State: APjAAAVXryx/GQtxobqc31IxrEKtp4mUrlEt6z4I1HHcL371syJJq2Hd qTe7fPQsk7hms4QCTCCn2E2yd4Ac1aFD+Dbua01jbwok
X-Google-Smtp-Source: APXvYqxJpLq6UdjTiMUW5yOV0KlBT59bUzfyGAXeCDCzv5F81UM5YHg1bKjBKIfar8ZbVzAaGrELAbFPJ3A9Mr/l8pw=
X-Received: by 2002:a05:6214:3aa:: with SMTP id m10mr968603qvy.125.1579838056929;  Thu, 23 Jan 2020 19:54:16 -0800 (PST)
MIME-Version: 1.0
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
From: Warner Losh <imp@bsdimp.com>
Date: Thu, 23 Jan 2020 20:54:04 -0700
Message-ID: <CANCZdfoM8ODfBYmgbZW7Q84828E+-BN2+vEWcRepwK2KnK8PyA@mail.gmail.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002faea6059cdab64a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/WJA2RaIfuwdE4chsTft7Tz7yD7w>
Subject: Re: [Ntp] Leap second
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: Fri, 24 Jan 2020 03:54:20 -0000

--0000000000002faea6059cdab64a
Content-Type: text/plain; charset="UTF-8"

On Thu, Jan 23, 2020, 4:52 PM Hal Murray <hmurray@megapathdsl.net> wrote:

>
> Warner Losh said:
> > NTP timestamp repeats the last second of the day. Once without the leap
> bit
> > set and then again with it set.
>
> Which bit is that?  I don't know of a single "leap bit" in the header.
>
> There is a 2 bit header field with: normal (no leap), and add+del (leap
> pending) states.  The 4th state is used for non-in-sync.  Assuming you
> meant
> "bits" rather than bit, then the on-off is backwards.  I expect it to be
> sending leap-pending for most of the day, then send normal (no
> leap-pending)
> for the repeated last second of the day.
>
> --------
>
> I just looked at some code and found:
>                 if (leap_sec_in_progress) {
>                         /* always send "not sync" */
>                         xmt_leap = LEAP_NOTINSYNC;
>                 }
>
> Looks like it is responding with "I don't know" during the extra second.
> (but
> I didn't check carefully)
>

That was what I was thinking about...

Warner

-- 
> These are my opinions.  I hate spam.
>
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--0000000000002faea6059cdab64a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Jan 23, 2020, 4:52 PM Hal Murray &lt;<a href=
=3D"mailto:hmurray@megapathdsl.net">hmurray@megapathdsl.net</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><br>
Warner Losh said:<br>
&gt; NTP timestamp repeats the last second of the day. Once without the lea=
p bit<br>
&gt; set and then again with it set. <br>
<br>
Which bit is that?=C2=A0 I don&#39;t know of a single &quot;leap bit&quot; =
in the header.<br>
<br>
There is a 2 bit header field with: normal (no leap), and add+del (leap <br=
>
pending) states.=C2=A0 The 4th state is used for non-in-sync.=C2=A0 Assumin=
g you meant <br>
&quot;bits&quot; rather than bit, then the on-off is backwards.=C2=A0 I exp=
ect it to be <br>
sending leap-pending for most of the day, then send normal (no leap-pending=
) <br>
for the repeated last second of the day.<br>
<br>
--------<br>
<br>
I just looked at some code and found:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (leap_sec_in_pro=
gress) {<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 /* always send &quot;not sync&quot; */<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 xmt_leap =3D LEAP_NOTINSYNC;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }<br>
<br>
Looks like it is responding with &quot;I don&#39;t know&quot; during the ex=
tra second. (but <br>
I didn&#39;t check carefully)<br></blockquote></div></div><div dir=3D"auto"=
><br></div><div dir=3D"auto">That was what I was=C2=A0thinking about...=C2=
=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=
=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
-- <br>
These are my opinions.=C2=A0 I hate spam.<br>
<br>
<br>
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"noreferrer">ntp@ie=
tf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br=
>
</blockquote></div></div></div>

--0000000000002faea6059cdab64a--


From nobody Thu Jan 23 22:51:38 2020
Return-Path: <paf@frobbit.se>
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 88A64120044 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 22:51:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 PcbB3NBiRuYx for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 22:51:31 -0800 (PST)
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 19D84120018 for <ntp@ietf.org>; Thu, 23 Jan 2020 22:51:30 -0800 (PST)
Received: from [192.165.72.241] (unknown [IPv6:2a02:80:3ffc:0:98b9:9f25:e10e:db1e]) by mail.frobbit.se (Postfix) with ESMTPSA id 48A4F26EC8; Fri, 24 Jan 2020 07:51:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1579848687; bh=NxXhTtRYfrFyGtppmPu/qimJN7Xo8gNvXyVjd9RHVfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UZ92CsC887gwHS5kwsvFBh/25l1EKvbE3Lw2dTVvW9l36zIHy+Q1AQX4Wjl/xDYR2 TKEXNXz/6ZXUhQai7PnMEsotXyjId21yA9SU1yUBQXom80MQRQOrqwFsesJjaDgRo1 nBRcgyh3YF8HTFTYTv/m9KQ999iDo2snGSKh6n9Y=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Warner Losh" <imp@bsdimp.com>
Cc: "Watson Ladd" <watsonbladd@gmail.com>, "NTP WG" <ntp@ietf.org>, "Daniel Franke" <dfoxfranke@gmail.com>
Date: Fri, 24 Jan 2020 07:51:24 +0100
X-Mailer: MailMate (1.13.1r5676)
Message-ID: <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se>
In-Reply-To: <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_6835804A-D17E-4040-B3A7-A7FE1330978D_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ITOaoZoFJMetHsdpfF9akn3k9RE>
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: Fri, 24 Jan 2020 06:51:36 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_6835804A-D17E-4040-B3A7-A7FE1330978D_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 24 Jan 2020, at 0:36, Warner Losh wrote:

>> POSIX doesn't specify, and so systems choose a number of different way=
s of coping (repeat the last second of the day, repeat the first second o=
f the next day, freeze time during leap second, do some crazy smear to pr=
etend reality matches the POSIX spec, kernel panic, etc).
>
>
>
> This part is true. It's the biggest flaw with time_t: It doesn't acknow=
ledge that leap seconds exist, so what to do during that thing which the =
standard says doesn't exist is up for grabs :(

As the POSIX definition of "number of seconds since the epoch" is "number=
 of days since the epoch plus number of seconds within the current day" t=
he last second of one day and the first on the next have the same number.=


The fix is of course to be made at POSIX and if it was done, tons of issu=
es would just go poof as time then always did increase.

There would still be an issue with "what time is it a gazillion seconds f=
rom now" as one do not know the number of leap seconds to be added in the=
 future.

But lets not mix up the issues.

Anyway, I have seen proposals in POSIX on fixing this which have not been=
 moved forward. Anyone being involved in POSIX that knows anything about =
that status?

   Patrik

--=_MailMate_6835804A-D17E-4040-B3A7-A7FE1330978D_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXiqT7A8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI182eYgCeLSy+MfwqWELetxA8aC7ovS4lRmEAnj1v1PRA
SrQgrCVvsDwCfOy7IUY0
=v6J3
-----END PGP SIGNATURE-----

--=_MailMate_6835804A-D17E-4040-B3A7-A7FE1330978D_=--


From nobody Fri Jan 24 01:00:46 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 1035F12003F for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 01:00:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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 bwhi-TlQhpfs for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 01:00:41 -0800 (PST)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [194.94.157.149]) (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 5EE7412002E for <ntp@ietf.org>; Fri, 24 Jan 2020 01:00:41 -0800 (PST)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8600E6000050 for <ntp@ietf.org>; Fri, 24 Jan 2020 10:00:38 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id 7F3F86000053 for <ntp@ietf.org>; Fri, 24 Jan 2020 10:00:37 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Fri, 24 Jan 2020 10:00:37 +0100
Message-Id: <5E2AB233020000A1000367EF@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Fri, 24 Jan 2020 10:00:35 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>, "Hal Murray" <hmurray@megapathdsl.net>
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IEh0u2yT9gNesDTQJW-d9G98f1w>
Subject: [Ntp] Antw: Re:  Leap second
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: Fri, 24 Jan 2020 09:00:44 -0000

>>> Hal Murray <hmurray@megapathdsl.net> schrieb am 24.01.2020 um 00:52 in
Nachricht <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>:

> Warner Losh said:
>> NTP timestamp repeats the last second of the day. Once without the leap
bit
>> set and then again with it set. 
> 
> Which bit is that?  I don't know of a single "leap bit" in the header.
> 
> There is a 2 bit header field with: normal (no leap), and add+del (leap 
> pending) states.  The 4th state is used for non‑in‑sync.  Assuming you meant

> "bits" rather than bit, then the on‑off is backwards.  I expect it to be 
> sending leap‑pending for most of the day, then send normal (no leap‑pending)

> for the repeated last second of the day.
> 
> ‑‑‑‑‑‑‑‑
> 
> I just looked at some code and found:
>                 if (leap_sec_in_progress) {
>                         /* always send "not sync" */
>                         xmt_leap = LEAP_NOTINSYNC;
>                 }

I wonder whether this makes much sense. Probably easy to implement, but maybe
the server just should not respond during the leap second. Preferrable it
should just sent the "correct" response.

> 
> Looks like it is responding with "I don't know" during the extra second. 
> (but 
> I didn't check carefully)
> 
> 
> ‑‑ 
> These are my opinions.  I hate spam.
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Fri Jan 24 06:12:56 2020
Return-Path: <wlosh@bsdimp.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 E8D05120098 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:12:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 xOVvm7KExAxa for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:12:53 -0800 (PST)
Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (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 97C41120048 for <ntp@ietf.org>; Fri, 24 Jan 2020 06:12:53 -0800 (PST)
Received: by mail-qv1-xf2d.google.com with SMTP id g6so639032qvy.5 for <ntp@ietf.org>; Fri, 24 Jan 2020 06:12:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TSiCG4akOxc0dPnEcoOD8BC2uh0BMwxHpQTkzn79AR8=; b=KHzTvR2Q5kPwwnCjiImfM7HLnJSkriGSHE8KlzecnQvy8BvuuirSPVeAAKCcWJWjPT 2D4TwbFtEGT/RUAlVqBV3dCliTT7tUZxJkFeSAshQJUqEKBt13HG9lCytPFnGsQtCdnT V7gU6Ia2eXtp9TAHmseyeAPzn1F3YnKMBesY46Sb06EZKM6T9v2LpxwbtLdM5/pND3dR BDt2zB9V4dLs8H5Tq2caz5FKeocmqVYOIT9SNdN1LqRMWx8xmNpg8RUfDTdTav2r8Zig v7y13gG//lOVP95olE5vy9mlHg2vYatyYojK5qbaoVMc03NtUqzZ1hauxzNV3ClhnK4l PFEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TSiCG4akOxc0dPnEcoOD8BC2uh0BMwxHpQTkzn79AR8=; b=OmfM128OoVJ9t8p2ydiGBg6Uzmo5JXfZoiKSTk7BX774j0pWE7FQxmcEgsVWWu45aK 0l4BpAyUoEFkfKN1oTnbTzLBorfZnDTFG+XegBrI4pZ2tbQ0s9GcJRxTRYJZMpV176Zx Ttl5QBDmXYf+/l51n+V3orMXvaXXHQSWZzQ2VsfN+dndG6xJUWjiYQP7r7qWewjWNvfG S2v7dCKdYej3xzyg3hGKsXkRmGvzo6OQN3AMz9YQWaeQ6WbGg2IMG6I2Q9ezi5vUGDJ2 EnPGixqYFH97jrAaQuO0PYXyAZ/70RWfoe4uk6EbV30wQdJRcVO9EANi4GvTO8G4Nnak u48w==
X-Gm-Message-State: APjAAAXawIgc5drIrwaGxiHGeBQuufu33VR5jCE4E79C1w11q8bYsYqM VSxtDeys+Qy6Op7oBAZpvxDDBsM50QOICWGd9Mebwg==
X-Google-Smtp-Source: APXvYqw6jODRIRgND26datiaZOjrPMBap2HnSkAZom94fHa4pnt6qwYCzeuKlrEkaPPvEwBot7UcRVQ7I7ykoahFaI4=
X-Received: by 2002:a0c:ec02:: with SMTP id y2mr3026775qvo.118.1579875172424;  Fri, 24 Jan 2020 06:12:52 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se>
In-Reply-To: <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 07:12:40 -0700
Message-ID: <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf@frobbit.se>
Cc: Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>,  Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000007130ad059ce35add"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/fnpNF9N0rqUMOSaJAXunzjGnz5Q>
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: Fri, 24 Jan 2020 14:12:55 -0000

--0000000000007130ad059ce35add
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 23, 2020, 11:51 PM Patrik F=C3=A4ltstr=C3=B6m <paf@frobbit.se> =
wrote:

> On 24 Jan 2020, at 0:36, Warner Losh wrote:
>
> >> POSIX doesn't specify, and so systems choose a number of different way=
s
> of coping (repeat the last second of the day, repeat the first second of
> the next day, freeze time during leap second, do some crazy smear to
> pretend reality matches the POSIX spec, kernel panic, etc).
> >
> >
> >
> > This part is true. It's the biggest flaw with time_t: It doesn't
> acknowledge that leap seconds exist, so what to do during that thing whic=
h
> the standard says doesn't exist is up for grabs :(
>
> As the POSIX definition of "number of seconds since the epoch" is "number
> of days since the epoch plus number of seconds within the current day" th=
e
> last second of one day and the first on the next have the same number.
>

No. That is wrong. The numbering of the leap second is undefined. This is
one way to resolve the issue, but it is not the only way. You will not find
this specified, except indirectly via math on the struct tm, which isn't
definitive about what to do during the leap.

The fix is of course to be made at POSIX and if it was done, tons of issues
> would just go poof as time then always did increase.
>

The fix turns out to be hard. Fix one thing, break another. There are about
a dozen fixes, each breaks something different.

There would still be an issue with "what time is it a gazillion seconds
> from now" as one do not know the number of leap seconds to be added in th=
e
> future.
>
> But lets not mix up the issues.
>
> Anyway, I have seen proposals in POSIX on fixing this which have not been
> moved forward. Anyone being involved in POSIX that knows anything about
> that status?
>

I'd like to see how they can do that. Short of mandating TAI, the problem
can't be fixed.

Warner


   Patrik
>

--0000000000007130ad059ce35add
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Jan 23, 2020, 11:51 PM Patrik F=C3=A4ltstr=C3=
=B6m &lt;<a href=3D"mailto:paf@frobbit.se">paf@frobbit.se</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">On 24 Jan 2020, at 0:36, Warner Losh =
wrote:<br>
<br>
&gt;&gt; POSIX doesn&#39;t specify, and so systems choose a number of diffe=
rent ways of coping (repeat the last second of the day, repeat the first se=
cond of the next day, freeze time during leap second, do some crazy smear t=
o pretend reality matches the POSIX spec, kernel panic, etc).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This part is true. It&#39;s the biggest flaw with time_t: It doesn&#39=
;t acknowledge that leap seconds exist, so what to do during that thing whi=
ch the standard says doesn&#39;t exist is up for grabs :(<br>
<br>
As the POSIX definition of &quot;number of seconds since the epoch&quot; is=
 &quot;number of days since the epoch plus number of seconds within the cur=
rent day&quot; the last second of one day and the first on the next have th=
e same number.<br></blockquote></div></div><div dir=3D"auto"><br></div><div=
 dir=3D"auto">No. That is wrong. The numbering of the leap second is undefi=
ned. This is one way to resolve the issue, but it is not the only way. You =
will not find this specified, except indirectly via math on the struct tm, =
which isn&#39;t definitive about what to do during the leap.</div><div dir=
=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
The fix is of course to be made at POSIX and if it was done, tons of issues=
 would just go poof as time then always did increase.<br></blockquote></div=
></div><div dir=3D"auto"><br></div><div dir=3D"auto">The fix turns out to b=
e hard. Fix one thing, break another. There are about a dozen fixes, each b=
reaks something different.=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There would still be an issue with &quot;what time is it a gazillion second=
s from now&quot; as one do not know the number of leap seconds to be added =
in the future.<br>
<br>
But lets not mix up the issues.<br>
<br>
Anyway, I have seen proposals in POSIX on fixing this which have not been m=
oved forward. Anyone being involved in POSIX that knows anything about that=
 status?<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=
=3D"auto">I&#39;d like to see how they can do that. Short of mandating TAI,=
 the problem can&#39;t be fixed.</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></d=
iv><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
=C2=A0 =C2=A0Patrik<br>
</blockquote></div></div></div>

--0000000000007130ad059ce35add--


From nobody Fri Jan 24 06:45:19 2020
Return-Path: <paf@frobbit.se>
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 12F3612006E for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:45:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 dQKgmNz5Gt3w for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:45:12 -0800 (PST)
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 0D12412009C for <ntp@ietf.org>; Fri, 24 Jan 2020 06:45:12 -0800 (PST)
Received: from [169.254.11.104] (unknown [IPv6:2a02:80:3ffc:0:84ed:768a:866d:6af5]) by mail.frobbit.se (Postfix) with ESMTPSA id 12E7021F63; Fri, 24 Jan 2020 15:45:10 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1579877110; bh=RNLf34c+1pmQDJwWkh3aN/XvEA04aa38aSdj0rNO4C4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DSu5HpBrgUKTpKuav4PtaWmONu0llUHiOTIMJKlCsi3HRnlU5UwlsKi7O3oPEh5DR EPbWhkeOUcOQG5C4pLxWQ38Bug+X0Shg2Fh0qb8bAK7OnY1EjeaIfxh7JYZenyDq5U Hj7h6ncAH+zHrNzMbA7FgNcrgQgMfNiLFQkbnkhY=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Warner Losh" <imp@bsdimp.com>
Cc: "Watson Ladd" <watsonbladd@gmail.com>, "NTP WG" <ntp@ietf.org>, "Daniel Franke" <dfoxfranke@gmail.com>
Date: Fri, 24 Jan 2020 15:45:08 +0100
X-Mailer: MailMate (1.13.1r5676)
Message-ID: <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se>
In-Reply-To: <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_7AB08F71-1000-4E10-BEDD-F31EED3216D4_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/CqUMdOOUxnI_Ue50nI8rD6E0Ass>
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: Fri, 24 Jan 2020 14:45:16 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_7AB08F71-1000-4E10-BEDD-F31EED3216D4_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 24 Jan 2020, at 15:12, Warner Losh wrote:

> No. That is wrong. The numbering of the leap second is undefined. This =
is one way to resolve the issue, but it is not the only way. You will not=
 find this specified, except indirectly via math on the struct tm, which =
isn't definitive about what to do during the leap.

What I see are two things. First the math:

> If the year is <1970 or the value is negative, the relationship is unde=
fined. If the year is >=3D1970 and the value is non-negative, the value i=
s related to a Coordinated Universal Time name according to the C-languag=
e expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are all=
 integer types:
>
> tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
>     (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -
>     ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400

Then the definition of tm_sec which can have values [0,61].

So far, so good, and the number of seconds in a day with an added leap se=
cond will then be 86401, and the first second of the following day (the f=
ollowing second) will have the same value.

Where I agree with you that the leap second is undefined is the plain tex=
t which says:

> As represented in seconds since the Epoch, each and every day shall be =
accounted for by exactly 86400 seconds.

This implies that even if the math gives 86401 seconds (including the fac=
t tm_sec can have a value of 61), the value 86401 seconds in a day is not=
 valid.

   Patrik

--=_MailMate_7AB08F71-1000-4E10-BEDD-F31EED3216D4_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXisC9A8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI182RLACgg19VSeXjvl531Lfq8vGE5hwJHxkAn2bHXEI4
epkOK/T3/eyzLm65UGeT
=pJqf
-----END PGP SIGNATURE-----

--=_MailMate_7AB08F71-1000-4E10-BEDD-F31EED3216D4_=--


From nobody Fri Jan 24 06:47:50 2020
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 E0D5C1202A0 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:47:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_NONE=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 gKhF6HvMhSz7 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 06:47:40 -0800 (PST)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) (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 BFB741200B6 for <ntp@ietf.org>; Fri, 24 Jan 2020 06:47:39 -0800 (PST)
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]:40116) by ppsw-41.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1iv0FE-000GAF-RH (Exim 4.92.3) (return-path <dot@dotat.at>); Fri, 24 Jan 2020 14:47:36 +0000
Date: Fri, 24 Jan 2020 14:47:36 +0000
From: Tony Finch <dot@dotat.at>
To: Hal Murray <hmurray@megapathdsl.net>
cc: NTP WG <ntp@ietf.org>
In-Reply-To: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
Message-ID: <alpine.DEB.2.20.2001241435170.24409@grey.csi.cam.ac.uk>
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>
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/AseSrSFN-EenJYX2apIl_la0dd8>
Subject: Re: [Ntp] Leap second
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: Fri, 24 Jan 2020 14:47:48 -0000

Hal Murray <hmurray@megapathdsl.net> wrote:
> Warner Losh said:
> > NTP timestamp repeats the last second of the day. Once without the leap bit
> > set and then again with it set.
>
> Which bit is that?  I don't know of a single "leap bit" in the header.
>
> There is a 2 bit header field with: normal (no leap), and add+del (leap
> pending) states.  The 4th state is used for non-in-sync.  Assuming you meant
> "bits" rather than bit, then the on-off is backwards.  I expect it to be
> sending leap-pending for most of the day, then send normal (no leap-pending)
> for the repeated last second of the day.

My understanding is that the leap indicator bits are not synchronized with
the leap second, so they can't be used to disambiguate the repeated
second.

https://mailarchive.ietf.org/arch/msg/ntp/5KD48S2BFAMemNx99zQSB83hOJ8

This isn't specified in the NTP RFC, but I believe the way it works in
practice is that ntpd tells the kernel about the leap indicator bits using
ntp_adjtime(STA_INS), then continues with the same leap indicator
bits through the leap second until a subsequent ntp_adjtime() returns
TIME_WAIT, at which point the leap indicator bits are cleared. When this
happens is related to ntpd's polling interval, and not coupled to the leap
second at all.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
democracy, participation, and the co-operative principle


From nobody Fri Jan 24 07:05:13 2020
Return-Path: <watsonbladd@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 78B55120090 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:05:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 Ejb847kURf17 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:05:07 -0800 (PST)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 7DC02120024 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:05:07 -0800 (PST)
Received: by mail-lj1-x233.google.com with SMTP id w1so2854745ljh.5 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:05:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hk+7dMvtzGEn4KPvdsvdVfEOyQT9j6r3Rq7o+WwOt3g=; b=JccCzGW51ZpHMlq3yuue55489korKfgDm/KKaTSToRRaCU0ihMXpz2pAKqE0ScJe2q WG7l4/6Q2xwlAbaku7z/LPlaJsxMOK5DOG/GErNGOyH/d56DM7O0TEBzmzP2iiW7gNH6 nBf+bnuN7eqBfrLE8LqhHAaq45pt/xN4A3kNr5mPGRAKFWV35IcW3McSq5BTNPE6SOws +XeEj7l5r80O7NPsM++PLXh5bUCIo1GZ3FMwhm/0pXQswMGTX3RXG93/Cgff6blb+U58 Aqe83u3XDjronZQtGEz+a9gDmo+TZ7VQojzazMZq541hg6Y64FRI9qVKZug+nvCFVgDR hf3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hk+7dMvtzGEn4KPvdsvdVfEOyQT9j6r3Rq7o+WwOt3g=; b=NubrfgEJqfRQ21PHI36bBSszQemVw0AQygkVb+TrQbfIzRz3uIjeCb/08uxk4/DnwC Qo5broRuZgrCy29sb/5Siv+6RlLu/AzAyOmE2HiV3tyLHalBFGw210MTMRC5PwKsZr4k AYNFePhHezzoNdsLRNyahSeJqYBXa8jp/3Brf/GmZwjDZFJcW9CJOkeEphciWeksvIPL VG7wJVlXf4lrQf/cONi1geYpCEaekgvFu9MNWzRqhOSjIo5udpsWEh9GofrZMPRhbTuE u/+vFWEDSVVPKE5Czqq/1duDZP5Hxl8o7+rzcznBBXESQECZzEdxJ+1A2ra+G7RECytP 711Q==
X-Gm-Message-State: APjAAAU5SPSopp7T2f92tMSBLQJOGVfEdLTTwDk6jdb9JcZk9Pj63mFN XoeOQSMal/4yEL7Aeu831VCi/tcISeKXHlGxvI0=
X-Google-Smtp-Source: APXvYqwgWZTM+3GmX2zGdryVmt54Ktr/QEHiWq2lwPZyXkrFspuz5LGhtmW4jC0T+RBvLCfEbNCL8WAdDB8CT8GB418=
X-Received: by 2002:a2e:8188:: with SMTP id e8mr2532986ljg.57.1579878305684; Fri, 24 Jan 2020 07:05:05 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se>
In-Reply-To: <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 24 Jan 2020 07:04:54 -0800
Message-ID: <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf@frobbit.se>
Cc: Warner Losh <imp@bsdimp.com>, NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000032e1b8059ce41579"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/e9X9Z7z7Aa5VlIONnjbYF2wQES0>
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: Fri, 24 Jan 2020 15:05:11 -0000

--00000000000032e1b8059ce41579
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 23, 2020, 10:51 PM Patrik F=C3=A4ltstr=C3=B6m <paf@frobbit.se> =
wrote:

> On 24 Jan 2020, at 0:36, Warner Losh wrote:
>
> >> POSIX doesn't specify, and so systems choose a number of different way=
s
> of coping (repeat the last second of the day, repeat the first second of
> the next day, freeze time during leap second, do some crazy smear to
> pretend reality matches the POSIX spec, kernel panic, etc).
> >
> >
> >
> > This part is true. It's the biggest flaw with time_t: It doesn't
> acknowledge that leap seconds exist, so what to do during that thing whic=
h
> the standard says doesn't exist is up for grabs :(
>
> As the POSIX definition of "number of seconds since the epoch" is "number
> of days since the epoch plus number of seconds within the current day" th=
e
> last second of one day and the first on the next have the same number.
>
> The fix is of course to be made at POSIX and if it was done, tons of
> issues would just go poof as time then always did increase.
>

Why does POSIX matter for NTP timestamps? We can always clarify the
language independently.


> There would still be an issue with "what time is it a gazillion seconds
> from now" as one do not know the number of leap seconds to be added in th=
e
> future.
>
> But lets not mix up the issues.
>
> Anyway, I have seen proposals in POSIX on fixing this which have not been
> moved forward. Anyone being involved in POSIX that knows anything about
> that status?
>
>    Patrik
>

--00000000000032e1b8059ce41579
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Jan 23, 2020, 10:51 PM Patrik F=C3=A4ltstr=C3=
=B6m &lt;<a href=3D"mailto:paf@frobbit.se" target=3D"_blank" rel=3D"norefer=
rer">paf@frobbit.se</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
On 24 Jan 2020, at 0:36, Warner Losh wrote:<br>
<br>
&gt;&gt; POSIX doesn&#39;t specify, and so systems choose a number of diffe=
rent ways of coping (repeat the last second of the day, repeat the first se=
cond of the next day, freeze time during leap second, do some crazy smear t=
o pretend reality matches the POSIX spec, kernel panic, etc).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This part is true. It&#39;s the biggest flaw with time_t: It doesn&#39=
;t acknowledge that leap seconds exist, so what to do during that thing whi=
ch the standard says doesn&#39;t exist is up for grabs :(<br>
<br>
As the POSIX definition of &quot;number of seconds since the epoch&quot; is=
 &quot;number of days since the epoch plus number of seconds within the cur=
rent day&quot; the last second of one day and the first on the next have th=
e same number.<br>
<br>
The fix is of course to be made at POSIX and if it was done, tons of issues=
 would just go poof as time then always did increase.<br></blockquote></div=
></div><div dir=3D"auto"><br></div><div dir=3D"auto">Why does POSIX matter =
for NTP timestamps? We can always clarify the language independently.</div>=
<div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
<br>
There would still be an issue with &quot;what time is it a gazillion second=
s from now&quot; as one do not know the number of leap seconds to be added =
in the future.<br>
<br>
But lets not mix up the issues.<br>
<br>
Anyway, I have seen proposals in POSIX on fixing this which have not been m=
oved forward. Anyone being involved in POSIX that knows anything about that=
 status?<br>
<br>
=C2=A0 =C2=A0Patrik<br>
</blockquote></div></div></div>

--00000000000032e1b8059ce41579--


From nobody Fri Jan 24 07:10:12 2020
Return-Path: <martin.burnicki@meinberg.de>
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 DF1B31201E3 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:10:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 R9R1mra8nN3J for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:10:04 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2818A120180 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:10:04 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 6DDB371C0464; Fri, 24 Jan 2020 16:09:38 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 6DDB371C0464
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1579878602; bh=Gb34ux0JiJymLpKUFulMrK2/M0VK6C9FNiYa3NEznM8=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FuPWpB0olNS7ALhQQNA3q7RihBaq6uRi6BuVkgoUN9Mm76ja7CuwAe0beVB3xLKEx hlpF9vpfqb6BZ7OzGW6MX7SwA3zu1/GBl4aQiHS7M/l/VsDzwrhPR/mditoYifCwFy oeaEypkhZbtDyprsN0CUNc14mvmcij+YxSk/126E=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000006,0.005444)], BW: [Enabled, t: (0.000014)], RTDA: [Enabled, t: (0.026482), Hit: No, Details: v2.7.69; Id: 15.1i65pgs.1dvc1jsr1.1e25u], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Fri, 24 Jan 2020 16:09:36 +0100
To: Watson Ladd <watsonbladd@gmail.com>, Daniel Franke <dfoxfranke@gmail.com>
Cc: NTP WG <ntp@ietf.org>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Autocrypt: addr=martin.burnicki@meinberg.de; prefer-encrypt=mutual; keydata= xsFNBFUJbhwBEADpbjlFJrR+RWZSc5WFFmRVQUFQ+XwgRBrAtTkJyu+xhu6DvD6zq2IgnXQ3 W8pz/MoMMfKWaNOJ1qCxMfd8XrCR1WaO1m98Re9RqB9948ZH2VZIRN0MiLVVYLU0I0EufAUo y5P9TgyRet7Ojuy3j7LqOEjhYpIkkz1XNup2CjfNAN3xxrx8KJJ4iErtLL35X+UyNpHd57tx Y+OzOdBOfweHNyaj1vtY5cAQuzR66hom+gK0YyuXdGDeN5Gb1nvk8H9tj5Fd/VIm4nZdIxam n63Mdk8mQ7dO8f04B0XzhAxF0+B9uZqdC0twUuRvROuDC6eAjO3JganfXvCE6QKTb3rOM8l1 c8b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TYgN+Q7FWRRX0QplyVpSBU4OnD0Gd3KkP+a0+kErokA1Lk3/YCE45VT8J88f4Y GbRsIkf0xW+Ei0fk3fl9VPOrbTD+gFv+AzbT+Gp1+kElwVKj0VzXy0OC6UIQJ3J1on0lArkc fPTIMcWxGmfGPw==
Organization: Meinberg Funkuhren, Bad Pyrmont, Germany
Message-ID: <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>
Date: Fri, 24 Jan 2020 16:09:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.4 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qC6RS1QArNboLYIr0zAW3bNS_OM>
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: Fri, 24 Jan 2020 15:10:09 -0000

Watson Ladd wrote:
> On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com
> <mailto:dfoxfranke@gmail.com>> wrote:
> 
>     I'm writing up an I-D clarifying how NTP implementations are to behave
>     in proximity to a leap second and also introducing an extension field
>     that provides better leap-second-related information than is
>     expressible using header fields alone, including giving the TAI-UTC
>     offset.
> 
>     Karen, you mentioned a possible CfA for
>     draft-stenn-ntp-extended-information if Harlan revises it to comply
>     with RFC 7822 (-04 does not appear to comply). Our two drafts are
>     partly redundant in purpose since they both provide TAI-UTC offset and
>     we won't want to adopt both. Of course I think mine is the one we
>     should adopt, but I'll strive to get a -00 submitted promptly so that
>     they can be considered side-by-side without unduly delaying Harlan's
>     CfA.
> 
> 
> Apologies for the necromancy but someone at work just asked me which
> second is repeated in an NTP timestamp and to make sure all our sources
> use the right one. 

Strictly speaking, it depends on the operating system.

A process like ntpd notifies the kernel that a leap second is coming up
at the end of the day, and the kernel handles the leap second. So it
depends on the implementation in the kernel whether the last or the
first second is repeated to insert a leap second.

ntpd just picks up the current system time from the kernel and sends it
to its clients.

It only detects that the leap second event has passed when it queries
the kernel time stat the next time. If clients retrieved the time from
ntpd after the leap second has finished but before ntpd has updated the
kernel time status the leap bits can be wrong.

This is one of the reasons why ntpd sends leap bits "unsynchronized" for
a short time around the leap second. This doesn't hurt or confuse the
client.

Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: 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


From nobody Fri Jan 24 07:17:15 2020
Return-Path: <rseaman@email.arizona.edu>
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 85FC3120090 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:17:13 -0800 (PST)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=emailarizona.onmicrosoft.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 yVP7S1MWfGcH for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:17:11 -0800 (PST)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2072d.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::72d]) (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 5CA8912003E for <ntp@ietf.org>; Fri, 24 Jan 2020 07:17:11 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j0uMiWnEgLulTycr73oWC00615PSmEZziDp0v7mbdbyq5VTiot7KVp3UirQ+O8GWjzqivyhgDvkSQ6trTdOEoKMDXp2brZ9NXU8tCw/SppVD00GZvZebwhWhKquvrkBbNgSR82Yf5ZsZIzvApEXtGEUPA4JD6/iKKyt1Mepkv24VsLnSayulhQxZxSGiJY3LCcTTuyeSSo+cvbiTZz/Ro4bWb1cKMCvp8jio5rtgJBJEJeqjXzboD4iqa5GTaXqYisJFDJlFiYlRoQF1ium1H5GhTLmAVrLiiK7lUjRTU0WxE1aj/DSdPtoDcr7LLnoWu1DY7THgFd5ImSwbnCPWnw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zP6S0SEFT4FU+X6daQpUVrkIk+17HDqKk9PvzL6HI6c=; b=WwO++KKvr9l2Gt6aqkTabz6u6yWPqA+AD4Ud5v0owC2hAsQHe1N2RVn91sex1endsv5g6we19kvoLc3V0NslV0C79pSeX5QtCLPi6m/xQx4zAmBQsZrydMTZ69CiM8I2YsUEAFN+z8em8MmVTJXhxr+O9f8WKey0UNAr6XfKOM2KNzKfW7I1bCq/8n8S4lKSoc64PB+dKEjb643/4ufZaySWIsUDdSl6E+kJIBA+bThA2ywPcd+6+rduKbohA/1jhZfPymWNCvNPRtQSHFhl4Ax6CSswUpYK+DhH6rrRedKbSD/GgQsVSs7tw4i3wGS6wXQTmL3JyrgygKbGQj/VzA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=email.arizona.edu; dmarc=pass action=none header.from=email.arizona.edu; dkim=pass header.d=email.arizona.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emailarizona.onmicrosoft.com; s=selector1-emailarizona-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zP6S0SEFT4FU+X6daQpUVrkIk+17HDqKk9PvzL6HI6c=; b=mRYYhLGZbqWHTZ5mPHCDZv/CRDhMg9xl4ZAKcuo93v6+4gs14sgJCPIUGcahR4tKEFLmIMn4d6kPTbmNd1bC8oRiOrTt7v9FeqjDgyaZRZsauVuR11hwazfnPh9EV/gU6pOjtwuzo7/313vE9EFzrECu9LiEsdJV9PLmIwJSot8=
Received: from BN7PR19MB2259.namprd19.prod.outlook.com (52.135.246.16) by BN7PR19MB2322.namprd19.prod.outlook.com (52.135.255.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.22; Fri, 24 Jan 2020 15:17:10 +0000
Received: from BN7PR19MB2259.namprd19.prod.outlook.com ([fe80::a401:98b7:367c:d615]) by BN7PR19MB2259.namprd19.prod.outlook.com ([fe80::a401:98b7:367c:d615%4]) with mapi id 15.20.2665.017; Fri, 24 Jan 2020 15:17:10 +0000
From: "Seaman, Robert Lewis - (rseaman)" <rseaman@email.arizona.edu>
To: NTP WG <ntp@ietf.org>
Thread-Topic: [Ntp] Leap second
Thread-Index: AQHV0kg9eA1PGf1yVE6giXqQizncPaf55d4A//+S6YA=
Date: Fri, 24 Jan 2020 15:17:09 +0000
Message-ID: <F3DFEC05-3701-40D1-82B1-D66648814DD9@email.arizona.edu>
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <alpine.DEB.2.20.2001241435170.24409@grey.csi.cam.ac.uk>
In-Reply-To: <alpine.DEB.2.20.2001241435170.24409@grey.csi.cam.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rseaman@email.arizona.edu; 
x-originating-ip: [2600:8800:7002:500:a05d:b5b3:1a8b:f13f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 82cabc8b-4fee-40fd-8adc-08d7a0e07b81
x-ms-traffictypediagnostic: BN7PR19MB2322:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BN7PR19MB2322DBBD0E9CFBDE29B1E6BFE50E0@BN7PR19MB2322.namprd19.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 02929ECF07
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(366004)(136003)(376002)(396003)(346002)(39860400002)(199004)(189003)(2616005)(6512007)(71200400001)(186003)(8676002)(5660300002)(75432002)(6506007)(8936002)(33656002)(81156014)(81166006)(2906002)(6486002)(478600001)(966005)(6916009)(91956017)(76116006)(66556008)(66476007)(64756008)(66446008)(66946007)(786003)(316002)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR19MB2322; H:BN7PR19MB2259.namprd19.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: email.arizona.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: pZyXLBV07tsQdEt39ZWnj3oWupfGpTcvYBhCfwalhucfEgIOwp8Udk8ZVaBh7F47tYoxQeI8I6H0TshEqCbqNlQOxYPCunUN+UFuccJXIzLGHklgEuo1V4MqpaoiSMzHb8OHdQQndvDtwcwscfTRHm6vt41ul2ygqYPB1RRVUbuRbUwEPe+71D0eJX7rW4OktbYQQf793buqClkhoX6TFLj2ih4jMQyjsEkO98PyPQosUuOe/CJaJE8Onoi4uPRBSn9JoLaY0gH32Y7jVlYDXI4TMbboyGyzWBPIr5XtzN+JmeZdw+TbefhH/nA2quIxusciDjleRiukPe4PKeMV2T1jJeGepwZRiYHHIa4B9bVeER6QfEB9RADjLqudKRxafdn36eU3bvTAsahxIsKcOojLjyc4oocr9enRhd9SYtiklazNWiyfllE+/8ff21qXhiEmj62ck+SunD78io7TQ+zSkBNuxcwSWmI5BEN50ZM=
x-ms-exchange-antispam-messagedata: rpmiqYk3zfDFNUjG9FamT/xi7bqALQUQ5xBVP4kCJt6yNJQIOMzDlqqgIE907WTkT8NVC5aArau+JJjeJmnopWhCieRJBnXeUk0eQ6d2ELL5NEz8c0MN4h7DiYrtlEvLyMnMScqWxzpFhLmSn+JlrsEvHouHD+aeMJFN1evyR9ElFRJ2RkOtF/4jGXFbUmplWTUjIVJ+AGYQ3FGn5kxcZA==
Content-Type: text/plain; charset="utf-8"
Content-ID: <EFCFF47BA0C485439FE495D8B3DA7260@namprd19.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: email.arizona.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 82cabc8b-4fee-40fd-8adc-08d7a0e07b81
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2020 15:17:09.9431 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ee35505-eb8e-4929-937d-645df5013288
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 9MXF9UGy+ZbexVxysWpESmIRhXt+5AJvZ7d/+1VjhsoIAknXRBnu46XMJTisdntu5jxDlCvUF6buVf/UCbqi/rHzZ0ZX3IyI2ZD/rjEybT0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR19MB2322
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/1LReHbG5NOlNrR72eJc1gFdvCTs>
Subject: Re: [Ntp] Leap second
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: Fri, 24 Jan 2020 15:17:14 -0000

SnVzdCBhIHJlbWluZGVyIHRoYXQgVVRDIGRvZXMgbm90IGhhdmUgcmVwZWF0ZWQgc2Vjb25kcywg
d2hhdGV2ZXIgUE9TSVggc2F5cywgb3IgTlRQIGltcGxlbWVudHMuIFNlY29uZHMgYXJlIGludGVy
cG9zZWQgKG9yIGVsaWRlZCkgYXMgbmVlZGVkLiBVVEMgc2Vjb25kIG51bWJlciA2MSBpbiB0aGF0
IG1pbnV0ZSBpcyBkaXN0aW5jdCBmcm9tIHNlY29uZCBudW1iZXIgNjAuIE9yIHNlY29uZCBudW1i
ZXIgNTkgb2Ygb25lIG1pbnV0ZSBpcyBpbW1lZGlhdGVseSBmb2xsb3dlZCBieSBzZWNvbmQgbnVt
YmVyIDEgb2YgdGhlIG5leHQuIElmIHlvdSB3YW50IGRpZmZlcmVudCBiZWhhdml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ydmFsLCBhbmQgbm90IGNvdXBsZWQg
dG8gdGhlIGxlYXANCiAgICBzZWNvbmQgYXQgYWxsLg0KICAgIA0KICAgIFRvbnkuDQogICAgLS0g
DQogICAgZi5hbnRob255Lm4uZmluY2ggIDxkb3RAZG90YXQuYXQ+ICBodHRwOi8vZG90YXQuYXQv
DQogICAgZGVtb2NyYWN5LCBwYXJ0aWNpcGF0aW9uLCBhbmQgdGhlIGNvLW9wZXJhdGl2ZSBwcmlu
Y2lwbGUNCiAgICANCiAgICBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fXw0KICAgIG50cCBtYWlsaW5nIGxpc3QNCiAgICBudHBAaWV0Zi5vcmcNCiAgICBodHRw
czovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL250cA0KICAgIA0KDQo=


From nobody Fri Jan 24 07:32:13 2020
Return-Path: <wlosh@bsdimp.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 27386120154 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:32:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 v1Cy0-6IRSW2 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:32:09 -0800 (PST)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 1B8A912003E for <ntp@ietf.org>; Fri, 24 Jan 2020 07:32:08 -0800 (PST)
Received: by mail-qt1-x836.google.com with SMTP id c24so1790947qtp.5 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:32:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BkCutt41YThERSTq0hFbcgSnwE3UVL+U9d7ftUvQkPI=; b=mpINVRDQPLB5LVIexmVZbn4RzXw+4jp4TNNh2FcTMJwDyJ2I3c+UlEtLPIMHA6S+gl c5c2nBvMTU3D3hn3IBULdsaNvg8Y7hseowimboNU1Wdb0vIIC+/WERg+ZbNZl1wF0aUH I59I+wCYC/z2LPloSDXxWodvl1bNcMUv9RsH/TdS6UJR2BhJ52o/rn+lM+aTLi1icIJ7 PBlSxQFXx38I5s6Tn7I60bb1bgophf1YbDQ3fOy7JgqC16NQkFYSu42ZMN8XIvEbYIbi 7A81Agblg7jUJpB84b7qEhB3dgRsLDpf9k2LslUKyJehCoR0buNx6Z6VLpmFV2jxEFAA Ms/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BkCutt41YThERSTq0hFbcgSnwE3UVL+U9d7ftUvQkPI=; b=ooMDE9xxdWxt7HfGn9ylPlocloc37R2HUhwbxdQEgS/BKYLL0vm1t1HL0jllPVdlAQ 5+3pBkvAX6UhguyEX0+Go1n4sCYGxbvEN2C6T8q3l2FtK/o/He6TziVM3Soyg6QEbdLs +eQR83RNrz4q8uRWs1DLd77oVfMaTticJrIPrSkVKjKdc5VXwGhnR1UrxYOxNcnnZKSu Cc1/Df+k1Xn4hZAPkfOmHrv4wg1gQcJd4mzZREhlZ3m6z4VgBoxZhQVIVYZNdmuAnIKk qFDdQVLFzlyk3jZVy/piZ1dh0p3CpeQprgGK4aq07VKI+Wcnf+/g3YhAgaMyYo3MPpIj Sp+w==
X-Gm-Message-State: APjAAAWOD5ff2R/MXB8eNYfsfGAdiwZSLWp44sG6b1GgaBvgrsCR7SwZ jPIk24oUQtGOt1Uj0V6moaXjUtNsk4trgIlLtnOv3YkK
X-Google-Smtp-Source: APXvYqzMRsvbGQBGAeRERIF5Q5wQaHbvELWkvZamepvmPOfRTdJXdnhednk02KT90nlkKFHjEo5h5i6YD6Rx4ntffj0=
X-Received: by 2002:ac8:48c9:: with SMTP id l9mr2767968qtr.242.1579879927615;  Fri, 24 Jan 2020 07:32:07 -0800 (PST)
MIME-Version: 1.0
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <5E2AB233020000A1000367EF@gwsmtp.uni-regensburg.de>
In-Reply-To: <5E2AB233020000A1000367EF@gwsmtp.uni-regensburg.de>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 08:31:56 -0700
Message-ID: <CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: "ntp@ietf.org" <ntp@ietf.org>, Hal Murray <hmurray@megapathdsl.net>
Content-Type: multipart/alternative; boundary="000000000000dfa2e9059ce475de"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/FaN7fV4YpbT0Lfwa071tuvIxkVo>
Subject: Re: [Ntp] Antw: Re: Leap second
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: Fri, 24 Jan 2020 15:32:11 -0000

--000000000000dfa2e9059ce475de
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 24, 2020 at 2:00 AM Ulrich Windl <
Ulrich.Windl@rz.uni-regensburg.de> wrote:

> >>> Hal Murray <hmurray@megapathdsl.net> schrieb am 24.01.2020 um 00:52 i=
n
> Nachricht <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>:
>
> > Warner Losh said:
> >> NTP timestamp repeats the last second of the day. Once without the lea=
p
> bit
> >> set and then again with it set.
> >
> > Which bit is that?  I don't know of a single "leap bit" in the header.
> >
> > There is a 2 bit header field with: normal (no leap), and add+del (leap
> > pending) states.  The 4th state is used for non=E2=80=91in=E2=80=91sync=
.  Assuming you
> meant
>
> > "bits" rather than bit, then the on=E2=80=91off is backwards.  I expect=
 it to be
> > sending leap=E2=80=91pending for most of the day, then send normal (no
> leap=E2=80=91pending)
>
> > for the repeated last second of the day.
> >
> > =E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=
=91
> >
> > I just looked at some code and found:
> >                 if (leap_sec_in_progress) {
> >                         /* always send "not sync" */
> >                         xmt_leap =3D LEAP_NOTINSYNC;
> >                 }
>
> I wonder whether this makes much sense. Probably easy to implement, but
> maybe
> the server just should not respond during the leap second. Preferrable it
> should just sent the "correct" response.


And what, exactly, is the "correct" response? There's no unique encoding
for the leap second as an ntp timestamp.

Maybe not responding is proper, since there will be a retry in a second or
so. But if there's any kind of skew between machines, a time exchange
across a leap second is going to lead to a large error. Thankfully the
error filter will filter that out, but still...

Warner

--000000000000dfa2e9059ce475de
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2020 at 2:00 AM Ulric=
h Windl &lt;<a href=3D"mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Win=
dl@rz.uni-regensburg.de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">&gt;&gt;&gt; Hal Murray &lt;<a href=3D"mailto:hmurra=
y@megapathdsl.net" target=3D"_blank">hmurray@megapathdsl.net</a>&gt; schrie=
b am 24.01.2020 um 00:52 in<br>
Nachricht &lt;<a href=3D"mailto:20200123235232.BB54440605C@ip-64-139-1-69.s=
jc.megapath.net" target=3D"_blank">20200123235232.BB54440605C@ip-64-139-1-6=
9.sjc.megapath.net</a>&gt;:<br>
<br>
&gt; Warner Losh said:<br>
&gt;&gt; NTP timestamp repeats the last second of the day. Once without the=
 leap<br>
bit<br>
&gt;&gt; set and then again with it set. <br>
&gt; <br>
&gt; Which bit is that?=C2=A0 I don&#39;t know of a single &quot;leap bit&q=
uot; in the header.<br>
&gt; <br>
&gt; There is a 2 bit header field with: normal (no leap), and add+del (lea=
p <br>
&gt; pending) states.=C2=A0 The 4th state is used for non=E2=80=91in=E2=80=
=91sync.=C2=A0 Assuming you meant<br>
<br>
&gt; &quot;bits&quot; rather than bit, then the on=E2=80=91off is backwards=
.=C2=A0 I expect it to be <br>
&gt; sending leap=E2=80=91pending for most of the day, then send normal (no=
 leap=E2=80=91pending)<br>
<br>
&gt; for the repeated last second of the day.<br>
&gt; <br>
&gt; =E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=91=E2=80=
=91<br>
&gt; <br>
&gt; I just looked at some code and found:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (leap_=
sec_in_progress) {<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0/* always send &quot;not sync&quot; */<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0xmt_leap =3D LEAP_NOTINSYNC;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
<br>
I wonder whether this makes much sense. Probably easy to implement, but may=
be<br>
the server just should not respond during the leap second. Preferrable it<b=
r>
should just sent the &quot;correct&quot; response.</blockquote><div><br></d=
iv><div>And what, exactly, is the &quot;correct&quot; response? There&#39;s=
 no unique encoding for the leap second as an ntp timestamp.</div><div><br>=
</div><div>Maybe not responding is proper, since there will be a retry in a=
 second or so. But if there&#39;s any kind of skew between machines, a time=
 exchange across a leap second is going to lead to a large error. Thankfull=
y the error filter will filter that out, but still...</div><div><br></div><=
div>Warner=C2=A0</div></div></div>

--000000000000dfa2e9059ce475de--


From nobody Fri Jan 24 07:38:05 2020
Return-Path: <wlosh@bsdimp.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 ED440120090 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:38:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 nVUlG0l2_QNJ for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:38:01 -0800 (PST)
Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 18D46120048 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:38:01 -0800 (PST)
Received: by mail-qk1-x731.google.com with SMTP id s187so2402266qke.8 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:38:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E2mQdaSsIq+7AA0fMFvpVIbc/vOPAcG/WOevxv2WvGI=; b=repM+2jXIqXr0DhaXPdBoa84Ts5m7rqXAAqJebjiC8+BErx0OdQixqqBSdlD6jUMFI SKUES1OwxDv4EEKuvUNZ9T982xK1gzf30GsoLi65e0HAo/0N15gIgTpCYEzHw4IHTbL2 PdJyoYNtg4CeU/mfZYMIL0ZMmy/NXO1vnlvmBqRS1sABDGyaFrDixhcLh9zSKhTufNUj o1v92wahr6Qd2EeQONUxC4MHw0YvB6UBXsCq7S7HVS7YhGP5kZDkAJnTtrFK7DIOUanh abdEVVH7b9NlwySJ3zRlq7W/eaoSxGYMXnMZJrb682EHP6gCFsiQwS8fBXd5hKVuYhxB tqaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E2mQdaSsIq+7AA0fMFvpVIbc/vOPAcG/WOevxv2WvGI=; b=pEKqxjqMU958VplB2x6Y8tG6pJtizYSoUxUs8VUdqXWG+53bmrQGKdONIFVSi516jp nRNtdvCN7UZu/6uDczPiXZ2dNI72Q8dd2BD4SEgUkcoHuwxWaDpioH+8GAutkklNJMmN 7/cm4OxCgb8V5qFhxnSJEqIcaP75dFf8ym1WDrn8qaNG0OE9kh1I0I0E2zAPUJcS7xBq EtS741wXuIREOu7oIeC4XOAKkLtEjkEF9d7Sd97TJeMslZtwlkZ92Vzry/Pv9x6V6hLw n1yVNq5TPoUpIUTnhvUF4d5yCfC2+UwbPmPAflMOsu7H7kZEUpnye0eHuOs/12JY2O5t N3FA==
X-Gm-Message-State: APjAAAVLQFqsYP+c8Z8HrJX3rFfZ1CCrY2G144fFV957D+WrC9q8S6JE jJb3suyqlSoQ5dvdxQzYk//zQSV61KOOuk6457WBiw==
X-Google-Smtp-Source: APXvYqzEq3osM35rW5bM0ngj8enDZ+jZDNcmOkSMUDVxh2b1BBGc43p8yRnKYFdrs4lK0C4BzmEM3feQw6fNG73TpLc=
X-Received: by 2002:ae9:c106:: with SMTP id z6mr3098314qki.380.1579880279822;  Fri, 24 Jan 2020 07:37:59 -0800 (PST)
MIME-Version: 1.0
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <alpine.DEB.2.20.2001241435170.24409@grey.csi.cam.ac.uk> <F3DFEC05-3701-40D1-82B1-D66648814DD9@email.arizona.edu>
In-Reply-To: <F3DFEC05-3701-40D1-82B1-D66648814DD9@email.arizona.edu>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 08:37:48 -0700
Message-ID: <CANCZdfpm0d0Ngt5ACLy4ZFyRMwvAVFbP5h9K08wkPENmXAnd8g@mail.gmail.com>
To: "Seaman, Robert Lewis - (rseaman)" <rseaman@email.arizona.edu>
Cc: NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dde8f3059ce48a46"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/r9sU8pdAydCXvnS6TFqqDTGFpas>
Subject: Re: [Ntp] Leap second
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: Fri, 24 Jan 2020 15:38:04 -0000

--000000000000dde8f3059ce48a46
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Just a reminder that neither NTP nor POSIX admit that leap seconds exist
wrt their time stamps, only via some auxiliary data path are they
grudgingly communicated. Since neither of them have a unique encoding for
the leap second, we're left with a repeated label for two seconds, or some
kind of 'gap' where time stands still (which effectively repeats the second
or, viewed in the frequency domain, has a large frequency shift).

UTC is a flawed standard that almost nobody implements completely
correctly. It was promulgated without due thought and care (the record is
clear on this) and now we're stuck with its new way of counting time
(nobody had 61 seconds in a minute before UTC). While it's handy to keep
the clocks aligned to the funky direction the earth points in, and thus
keep telescopes pointing well enough to find the stars they are looking
for, the number of places where people have botched translating it into a
useful implementation remain large and stand as a body of evidence that
points out its flaws... Sadly, we're stuck with it. The least bad option
for coping seems to be introducing a frequency error to paper over leap
seconds, at least judging by what industry does...

Warner

On Fri, Jan 24, 2020 at 8:17 AM Seaman, Robert Lewis - (rseaman) <
rseaman@email.arizona.edu> wrote:

> Just a reminder that UTC does not have repeated seconds, whatever POSIX
> says, or NTP implements. Seconds are interposed (or elided) as needed. UT=
C
> second number 61 in that minute is distinct from second number 60. Or
> second number 59 of one minute is immediately followed by second number 1
> of the next. If you want different behavior, define or adopt a different
> time scale.
>
> Rob Seaman
> Lunar and Planetary Laboratory
> University of Arizona
> --
>
> =EF=BB=BFOn 1/24/20, 7:48 AM, "ntp on behalf of Tony Finch" <ntp-bounces@=
ietf.org
> on behalf of dot@dotat.at> wrote:
>
>     Hal Murray <hmurray@megapathdsl.net> wrote:
>     > Warner Losh said:
>     > > NTP timestamp repeats the last second of the day. Once without th=
e
> leap bit
>     > > set and then again with it set.
>     >
>     > Which bit is that?  I don't know of a single "leap bit" in the
> header.
>     >
>     > There is a 2 bit header field with: normal (no leap), and add+del
> (leap
>     > pending) states.  The 4th state is used for non-in-sync.  Assuming
> you meant
>     > "bits" rather than bit, then the on-off is backwards.  I expect it
> to be
>     > sending leap-pending for most of the day, then send normal (no
> leap-pending)
>     > for the repeated last second of the day.
>
>     My understanding is that the leap indicator bits are not synchronized
> with
>     the leap second, so they can't be used to disambiguate the repeated
>     second.
>
>     https://mailarchive.ietf.org/arch/msg/ntp/5KD48S2BFAMemNx99zQSB83hOJ8
>
>     This isn't specified in the NTP RFC, but I believe the way it works i=
n
>     practice is that ntpd tells the kernel about the leap indicator bits
> using
>     ntp_adjtime(STA_INS), then continues with the same leap indicator
>     bits through the leap second until a subsequent ntp_adjtime() returns
>     TIME_WAIT, at which point the leap indicator bits are cleared. When
> this
>     happens is related to ntpd's polling interval, and not coupled to the
> leap
>     second at all.
>
>     Tony.
>     --
>     f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
>     democracy, participation, and the co-operative principle
>
>     _______________________________________________
>     ntp mailing list
>     ntp@ietf.org
>     https://www.ietf.org/mailman/listinfo/ntp
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--000000000000dde8f3059ce48a46
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Just a reminder that neither NTP nor POSIX admit that=
 leap seconds exist wrt their time=C2=A0stamps, only via some auxiliary dat=
a path are they grudgingly communicated. Since neither of them have a uniqu=
e encoding for the leap second, we&#39;re left with a repeated label for tw=
o seconds, or some kind of &#39;gap&#39; where time stands still (which eff=
ectively repeats the second or, viewed in the frequency domain, has a large=
 frequency shift).</div><div><br></div><div>UTC is a flawed standard that a=
lmost nobody implements completely correctly. It was promulgated=C2=A0witho=
ut due thought and care (the record is clear on this) and now we&#39;re stu=
ck with its new way of counting time (nobody had 61 seconds in a minute bef=
ore UTC). While it&#39;s handy to keep the clocks aligned to the funky dire=
ction the earth points in, and thus keep telescopes pointing well enough to=
 find the stars they are looking for, the number of places where people hav=
e botched translating it into a useful implementation remain large and stan=
d as a body of evidence that points out its flaws... Sadly, we&#39;re stuck=
 with it. The least bad option for coping seems to be introducing a frequen=
cy error to paper over leap seconds, at least judging by what industry does=
...</div><div><br></div><div>Warner</div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2020 at 8:17 AM Seaman, =
Robert Lewis - (rseaman) &lt;<a href=3D"mailto:rseaman@email.arizona.edu">r=
seaman@email.arizona.edu</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex">Just a reminder that UTC does not have repeated sec=
onds, whatever POSIX says, or NTP implements. Seconds are interposed (or el=
ided) as needed. UTC second number 61 in that minute is distinct from secon=
d number 60. Or second number 59 of one minute is immediately followed by s=
econd number 1 of the next. If you want different behavior, define or adopt=
 a different time scale.<br>
<br>
Rob Seaman<br>
Lunar and Planetary Laboratory<br>
University of Arizona<br>
--<br>
<br>
=EF=BB=BFOn 1/24/20, 7:48 AM, &quot;ntp on behalf of Tony Finch&quot; &lt;<=
a href=3D"mailto:ntp-bounces@ietf.org" target=3D"_blank">ntp-bounces@ietf.o=
rg</a> on behalf of <a href=3D"mailto:dot@dotat.at" target=3D"_blank">dot@d=
otat.at</a>&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 Hal Murray &lt;<a href=3D"mailto:hmurray@megapathdsl.net" tar=
get=3D"_blank">hmurray@megapathdsl.net</a>&gt; wrote:<br>
=C2=A0 =C2=A0 &gt; Warner Losh said:<br>
=C2=A0 =C2=A0 &gt; &gt; NTP timestamp repeats the last second of the day. O=
nce without the leap bit<br>
=C2=A0 =C2=A0 &gt; &gt; set and then again with it set.<br>
=C2=A0 =C2=A0 &gt;<br>
=C2=A0 =C2=A0 &gt; Which bit is that?=C2=A0 I don&#39;t know of a single &q=
uot;leap bit&quot; in the header.<br>
=C2=A0 =C2=A0 &gt;<br>
=C2=A0 =C2=A0 &gt; There is a 2 bit header field with: normal (no leap), an=
d add+del (leap<br>
=C2=A0 =C2=A0 &gt; pending) states.=C2=A0 The 4th state is used for non-in-=
sync.=C2=A0 Assuming you meant<br>
=C2=A0 =C2=A0 &gt; &quot;bits&quot; rather than bit, then the on-off is bac=
kwards.=C2=A0 I expect it to be<br>
=C2=A0 =C2=A0 &gt; sending leap-pending for most of the day, then send norm=
al (no leap-pending)<br>
=C2=A0 =C2=A0 &gt; for the repeated last second of the day.<br>
<br>
=C2=A0 =C2=A0 My understanding is that the leap indicator bits are not sync=
hronized with<br>
=C2=A0 =C2=A0 the leap second, so they can&#39;t be used to disambiguate th=
e repeated<br>
=C2=A0 =C2=A0 second.<br>
<br>
=C2=A0 =C2=A0 <a href=3D"https://mailarchive.ietf.org/arch/msg/ntp/5KD48S2B=
FAMemNx99zQSB83hOJ8" rel=3D"noreferrer" target=3D"_blank">https://mailarchi=
ve.ietf.org/arch/msg/ntp/5KD48S2BFAMemNx99zQSB83hOJ8</a><br>
<br>
=C2=A0 =C2=A0 This isn&#39;t specified in the NTP RFC, but I believe the wa=
y it works in<br>
=C2=A0 =C2=A0 practice is that ntpd tells the kernel about the leap indicat=
or bits using<br>
=C2=A0 =C2=A0 ntp_adjtime(STA_INS), then continues with the same leap indic=
ator<br>
=C2=A0 =C2=A0 bits through the leap second until a subsequent ntp_adjtime()=
 returns<br>
=C2=A0 =C2=A0 TIME_WAIT, at which point the leap indicator bits are cleared=
. When this<br>
=C2=A0 =C2=A0 happens is related to ntpd&#39;s polling interval, and not co=
upled to the leap<br>
=C2=A0 =C2=A0 second at all.<br>
<br>
=C2=A0 =C2=A0 Tony.<br>
=C2=A0 =C2=A0 -- <br>
=C2=A0 =C2=A0 f.anthony.n.finch=C2=A0 &lt;<a href=3D"mailto:dot@dotat.at" t=
arget=3D"_blank">dot@dotat.at</a>&gt;=C2=A0 <a href=3D"http://dotat.at/" re=
l=3D"noreferrer" target=3D"_blank">http://dotat.at/</a><br>
=C2=A0 =C2=A0 democracy, participation, and the co-operative principle<br>
<br>
=C2=A0 =C2=A0 _______________________________________________<br>
=C2=A0 =C2=A0 ntp mailing list<br>
=C2=A0 =C2=A0 <a href=3D"mailto:ntp@ietf.org" target=3D"_blank">ntp@ietf.or=
g</a><br>
=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"=
noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a>=
<br>
<br>
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank">ntp@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br>
</blockquote></div></div>

--000000000000dde8f3059ce48a46--


From nobody Fri Jan 24 07:42:35 2020
Return-Path: <wlosh@bsdimp.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 ECC511200B6 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:42:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 G43R2D7duxkZ for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 07:42:31 -0800 (PST)
Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 04948120090 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:42:30 -0800 (PST)
Received: by mail-qk1-x72b.google.com with SMTP id 21so2442021qky.4 for <ntp@ietf.org>; Fri, 24 Jan 2020 07:42:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CFV4WJTPaCLvLuGJ6SlIRXoSGOXsV6+p/faGVADoSnw=; b=Ac7vcpIlfe20N+B+4kLTR1m0IKVxnY5vQxijog1qSSMmIf7EjwQU2aOuJ+jSpQQgf2 nU7iRlM/uMRa2M/lnopQCX3o/7yrBriV2ia8KegI8iALnrLi0ZAaWprorW4OnySwlWBX LoGJQOAWOlLOzMvyHX3sQgbO2Jo2BxHvPDPhJJFEl7ajQWasp6C7ypjXLLVKlyUIRMLg tAKgftHJpYisLuOdtkj2c63miAR61Vyt037r3JqzdC0jQjm8az85Ex3sQFnlgvybjBVh m+iXCad45UvZbD/Wc0TN4wflgk3dQdeKp0fknwirI/YPnGGa6eUDAs9yBTBvwvH7ukpI /M7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CFV4WJTPaCLvLuGJ6SlIRXoSGOXsV6+p/faGVADoSnw=; b=BYl98uWPVSpkKO7RfnrpQvPyw8R/L48/5SaYwJ+PdqyjogBeA5QQh33rxrzxksygoR OmEtM8TyaGP60lMnGt5wDGBZLHiyMwoXG/Qr74LskhaZn7kHCk1wwEbYJ9MP/EyrqLSB HrjvKdiMvpZtUu0TCKolHE5Ck6XdMjBUj2LeF8DBbjPX0nWjrHmvOAe0DIbxd9wYRYV1 OrXmKhJk/WOP0m65WFZ5wujMiP+bJH9vztkjsUSNaK26d4cKXrRDEwbDfCF91eatGDC3 N0S+rKfpX1jFJInXbWPqtaR6bnjlYVerx7xNI/RCqxK4hO7UjCAEeEzTSwvVikbFjJox PTKw==
X-Gm-Message-State: APjAAAWy2fZYcriCXaBILl1O+F8vtJQ7laOpY2tyZ7EcvK7KBolxewa1 KsX6LixeUebAZAoN11DMXCJUjvHNioLrW7rR2QmqqyNh
X-Google-Smtp-Source: APXvYqzNYJGeb7JjUwXSWUt3+hkO2v92Rfoba4nTDg/4lLZRSw3uhaZ4of5dToLatveo5vZrkQ1GYLrX+3EGcPTiX3A=
X-Received: by 2002:ae9:c106:: with SMTP id z6mr3117756qki.380.1579880549932;  Fri, 24 Jan 2020 07:42:29 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com> <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se>
In-Reply-To: <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 08:42:18 -0700
Message-ID: <CANCZdfqDqYdP+Z9ais3puWqoKJz0DbjmUCPn5gkSYNo=VX-Meg@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf@frobbit.se>
Cc: Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>,  Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000f769ec059ce49aa4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/_Fr7xXPkp-MxwdT5n_2l-pK3KmE>
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: Fri, 24 Jan 2020 15:42:33 -0000

--000000000000f769ec059ce49aa4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 24, 2020 at 7:45 AM Patrik F=C3=A4ltstr=C3=B6m <paf@frobbit.se>=
 wrote:

> On 24 Jan 2020, at 15:12, Warner Losh wrote:
>
> > No. That is wrong. The numbering of the leap second is undefined. This
> is one way to resolve the issue, but it is not the only way. You will not
> find this specified, except indirectly via math on the struct tm, which
> isn't definitive about what to do during the leap.
>
> What I see are two things. First the math:
>
> > If the year is <1970 or the value is negative, the relationship is
> undefined. If the year is >=3D1970 and the value is non-negative, the val=
ue
> is related to a Coordinated Universal Time name according to the C-langua=
ge
> expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are all
> integer types:
> >
> > tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
> >     (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -
> >     ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400
>
> Then the definition of tm_sec which can have values [0,61].
>
> So far, so good, and the number of seconds in a day with an added leap
> second will then be 86401, and the first second of the following day (the
> following second) will have the same value.
>
> Where I agree with you that the leap second is undefined is the plain tex=
t
> which says:
>
> > As represented in seconds since the Epoch, each and every day shall be
> accounted for by exactly 86400 seconds.
>
> This implies that even if the math gives 86401 seconds (including the fac=
t
> tm_sec can have a value of 61), the value 86401 seconds in a day is not
> valid.
>

Yes. It's ambiguous. A POSIX time_t is not defined at the leap second. You
could use your math to get one answer. However, that answer, back
translated to a struct tm gives the wrong day, so is also incorrect. In
POSIX land, leap seconds don't exist, and any definitive statement about
the 'proper' time_t encoding for a leap second cannot be made. It's
undefined.

Warner

--000000000000f769ec059ce49aa4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2020 at 7:45 AM Patri=
k F=C3=A4ltstr=C3=B6m &lt;<a href=3D"mailto:paf@frobbit.se">paf@frobbit.se<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">O=
n 24 Jan 2020, at 15:12, Warner Losh wrote:<br>
<br>
&gt; No. That is wrong. The numbering of the leap second is undefined. This=
 is one way to resolve the issue, but it is not the only way. You will not =
find this specified, except indirectly via math on the struct tm, which isn=
&#39;t definitive about what to do during the leap.<br>
<br>
What I see are two things. First the math:<br>
<br>
&gt; If the year is &lt;1970 or the value is negative, the relationship is =
undefined. If the year is &gt;=3D1970 and the value is non-negative, the va=
lue is related to a Coordinated Universal Time name according to the C-lang=
uage expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are al=
l integer types:<br>
&gt;<br>
&gt; tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +<br>
&gt;=C2=A0 =C2=A0 =C2=A0(tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -<br=
>
&gt;=C2=A0 =C2=A0 =C2=A0((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400=
<br>
<br>
Then the definition of tm_sec which can have values [0,61].<br>
<br>
So far, so good, and the number of seconds in a day with an added leap seco=
nd will then be 86401, and the first second of the following day (the follo=
wing second) will have the same value.<br>
<br>
Where I agree with you that the leap second is undefined is the plain text =
which says:<br>
<br>
&gt; As represented in seconds since the Epoch, each and every day shall be=
 accounted for by exactly 86400 seconds.<br>
<br>
This implies that even if the math gives 86401 seconds (including the fact =
tm_sec can have a value of 61), the value 86401 seconds in a day is not val=
id.<br></blockquote><div><br></div><div>Yes. It&#39;s ambiguous. A POSIX ti=
me_t is not defined at the leap second. You could use your math to get one =
answer. However, that answer, back translated to a struct tm gives the wron=
g day, so is also incorrect. In POSIX land, leap seconds don&#39;t exist, a=
nd any definitive statement about the &#39;proper&#39; time_t encoding for =
a leap second cannot be made. It&#39;s undefined.</div><div><br></div><div>=
Warner=C2=A0</div></div></div>

--000000000000f769ec059ce49aa4--


From nobody Fri Jan 24 08:31:37 2020
Return-Path: <watsonbladd@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 CC9BA12093D for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 08:31:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level: 
X-Spam-Status: No, score=-0.998 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 ArTBvX_gBBUg for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 08:31:34 -0800 (PST)
Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 02A6712002F for <ntp@ietf.org>; Fri, 24 Jan 2020 08:31:34 -0800 (PST)
Received: by mail-lj1-x22a.google.com with SMTP id x7so3117852ljc.1 for <ntp@ietf.org>; Fri, 24 Jan 2020 08:31:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ee7yHp8nOQskfct5XyN2Rhz+OLTXcR7gqCaKJudGmDc=; b=eoquZpDlen+FZ2WDtNZG2gdSDRVLj8Si1PZ666tV+avhV6EAPWrrenmNdSXbkMH8oL f6HG4ZrLalLOy5dA/vhMvrqAKeFY/54ezxYhIU5esqyHYhmngmoZS0g7pR86O5hv/Xy3 hZ6UfNbeI6xDAzFRKZSNvB+tbvWx8BQc7lBBIpUQWZ1tO4pBuKRoOo1V7y2lmHHxl+JB xiw6Rza0vpoKZILMmGtjEfseGaJvUBFqB2Woqz7l7P4WOXv5MkPobzhR8c1Wh832ozdZ vYZ2eKbsw80kzlgM86CkP+kzAwt0REiH9LWWADOQXod2sWcjEwKsBcNuQwqZUxDtwV8E K1ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ee7yHp8nOQskfct5XyN2Rhz+OLTXcR7gqCaKJudGmDc=; b=Rl3iYfnUuYaGCmpsk3f00oCTNmpBz/B8uxEoPFK0x+Z8A06yQJZsFtOwHlm9O0N8sU y9/MMFl0Bs02fXg28PYLGVc+pnyBIPvb2lRL5dLhlyeoTqDhYbIvrjMOVnWz5ReSGr5p qrK4O2G3xAR7zaQpgidkXtv0rr8SHrlJxjuGe71g77HPRgeLEFIpor6yumMnKVQAZuhN ZSLZAERlp1iHuhTCjW0P72TPn7TVODgAm5hMlxKyHZBygGLxtbS6XmmopyUeNH/8ZkL/ o9U6pa4u5UaWmkjOqpLviLwk2mWQdKwUbx6k9gaApzcNysecrkOuNLESlacwjnCY2xU1 mO0w==
X-Gm-Message-State: APjAAAVROjulVcOJ4PRHcXkqPNIDpK6TDME/Er/Jz95gFHQaFMwEtB0O RNGoA6aX0G0s7K5eZnqVFWCFMlMEA2m4WpAsiy9ScDxy
X-Google-Smtp-Source: APXvYqwEEVyccjm7Hf+5l5lmtuJgs1rttB7L+NLCbN3TWUq7nBHdysm92296SXaKaXvn5tAz9lx3fWImXdXs2kWTXHA=
X-Received: by 2002:a2e:8119:: with SMTP id d25mr2785221ljg.76.1579883492169;  Fri, 24 Jan 2020 08:31:32 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>
In-Reply-To: <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 24 Jan 2020 08:29:55 -0800
Message-ID: <CACsn0c=Q9PaLB3qWkC7v0D760fJHu3vfCsLGOetbnMi6_MG6ig@mail.gmail.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>
Cc: Daniel Franke <dfoxfranke@gmail.com>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000565bec059ce54a59"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IcVGhhwUTbYlLvnKr69VfnsjwAw>
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: Fri, 24 Jan 2020 16:31:36 -0000

--000000000000565bec059ce54a59
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 24, 2020, 7:10 AM Martin Burnicki <martin.burnicki@meinberg.de>
wrote:

> Watson Ladd wrote:
> > On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com
> > <mailto:dfoxfranke@gmail.com>> wrote:
> >
> >     I'm writing up an I-D clarifying how NTP implementations are to
> behave
> >     in proximity to a leap second and also introducing an extension fie=
ld
> >     that provides better leap-second-related information than is
> >     expressible using header fields alone, including giving the TAI-UTC
> >     offset.
> >
> >     Karen, you mentioned a possible CfA for
> >     draft-stenn-ntp-extended-information if Harlan revises it to comply
> >     with RFC 7822 (-04 does not appear to comply). Our two drafts are
> >     partly redundant in purpose since they both provide TAI-UTC offset
> and
> >     we won't want to adopt both. Of course I think mine is the one we
> >     should adopt, but I'll strive to get a -00 submitted promptly so th=
at
> >     they can be considered side-by-side without unduly delaying Harlan'=
s
> >     CfA.
> >
> >
> > Apologies for the necromancy but someone at work just asked me which
> > second is repeated in an NTP timestamp and to make sure all our sources
> > use the right one.
>
> Strictly speaking, it depends on the operating system.
>
> A process like ntpd notifies the kernel that a leap second is coming up
> at the end of the day, and the kernel handles the leap second. So it
> depends on the implementation in the kernel whether the last or the
> first second is repeated to insert a leap second.
>
> ntpd just picks up the current system time from the kernel and sends it
> to its clients.
>
> It only detects that the leap second event has passed when it queries
> the kernel time stat the next time. If clients retrieved the time from
> ntpd after the leap second has finished but before ntpd has updated the
> kernel time status the leap bits can be wrong.
>
> This is one of the reasons why ntpd sends leap bits "unsynchronized" for
> a short time around the leap second. This doesn't hurt or confuse the
> client.
>

Is this mandated by RFC 5905?

If not, should it be/should the behavior be more precise?

I realize there may be a bug around this when using a separate server
process: my gut says one measurement off by a second is insignificant since
the maximum adjustment in response, but there may be other issues I'm not
thinking about.


> Martin
> --
> Martin Burnicki
>
> Senior Software Engineer
>
> MEINBERG Funkuhren GmbH & Co. KG
> Email: 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=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Werne=
r Meinberg,
> Andre Hartmann, Heiko Gerstung
> Websites: https://www.meinberg.de  https://www.meinbergglobal.com
> Training: https://www.meinberg.academy
>
>

--000000000000565bec059ce54a59
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Fri, Jan 24, 2020, 7:10 AM Martin Burnicki &lt;<a h=
ref=3D"mailto:martin.burnicki@meinberg.de">martin.burnicki@meinberg.de</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">Watson Ladd wrote:<br>
&gt; On Wed, Mar 27, 2019, 9:47 AM Daniel Franke &lt;<a href=3D"mailto:dfox=
franke@gmail.com" target=3D"_blank" rel=3D"noreferrer">dfoxfranke@gmail.com=
</a><br>
&gt; &lt;mailto:<a href=3D"mailto:dfoxfranke@gmail.com" target=3D"_blank" r=
el=3D"noreferrer">dfoxfranke@gmail.com</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0I&#39;m writing up an I-D clarifying how NTP implem=
entations are to behave<br>
&gt;=C2=A0 =C2=A0 =C2=A0in proximity to a leap second and also introducing =
an extension field<br>
&gt;=C2=A0 =C2=A0 =C2=A0that provides better leap-second-related informatio=
n than is<br>
&gt;=C2=A0 =C2=A0 =C2=A0expressible using header fields alone, including gi=
ving the TAI-UTC<br>
&gt;=C2=A0 =C2=A0 =C2=A0offset.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Karen, you mentioned a possible CfA for<br>
&gt;=C2=A0 =C2=A0 =C2=A0draft-stenn-ntp-extended-information if Harlan revi=
ses it to comply<br>
&gt;=C2=A0 =C2=A0 =C2=A0with RFC 7822 (-04 does not appear to comply). Our =
two drafts are<br>
&gt;=C2=A0 =C2=A0 =C2=A0partly redundant in purpose since they both provide=
 TAI-UTC offset and<br>
&gt;=C2=A0 =C2=A0 =C2=A0we won&#39;t want to adopt both. Of course I think =
mine is the one we<br>
&gt;=C2=A0 =C2=A0 =C2=A0should adopt, but I&#39;ll strive to get a -00 subm=
itted promptly so that<br>
&gt;=C2=A0 =C2=A0 =C2=A0they can be considered side-by-side without unduly =
delaying Harlan&#39;s<br>
&gt;=C2=A0 =C2=A0 =C2=A0CfA.<br>
&gt; <br>
&gt; <br>
&gt; Apologies for the necromancy but someone at work just asked me which<b=
r>
&gt; second is repeated in an NTP timestamp and to make sure all our source=
s<br>
&gt; use the right one.=C2=A0<br>
<br>
Strictly speaking, it depends on the operating system.<br>
<br>
A process like ntpd notifies the kernel that a leap second is coming up<br>
at the end of the day, and the kernel handles the leap second. So it<br>
depends on the implementation in the kernel whether the last or the<br>
first second is repeated to insert a leap second.<br>
<br>
ntpd just picks up the current system time from the kernel and sends it<br>
to its clients.<br>
<br>
It only detects that the leap second event has passed when it queries<br>
the kernel time stat the next time. If clients retrieved the time from<br>
ntpd after the leap second has finished but before ntpd has updated the<br>
kernel time status the leap bits can be wrong.<br>
<br>
This is one of the reasons why ntpd sends leap bits &quot;unsynchronized&qu=
ot; for<br>
a short time around the leap second. This doesn&#39;t hurt or confuse the<b=
r>
client.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D=
"auto">Is this mandated by RFC 5905?</div><div dir=3D"auto"><br></div><div =
dir=3D"auto">If not, should it be/should the behavior be more precise?</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">I realize there may be a bug=
 around this when using a separate server process: my gut says one measurem=
ent off by a second is insignificant since the maximum adjustment in respon=
se, but there may be other issues I&#39;m not thinking about.</div><div dir=
=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<br>
Martin<br>
-- <br>
Martin Burnicki<br>
<br>
Senior Software Engineer<br>
<br>
MEINBERG Funkuhren GmbH &amp; Co. KG<br>
Email: <a href=3D"mailto:martin.burnicki@meinberg.de" target=3D"_blank" rel=
=3D"noreferrer">martin.burnicki@meinberg.de</a><br>
Phone: +49 5281 9309-414<br>
Linkedin: <a href=3D"https://www.linkedin.com/in/martinburnicki/" rel=3D"no=
referrer noreferrer" target=3D"_blank">https://www.linkedin.com/in/martinbu=
rnicki/</a><br>
<br>
Lange Wand 9, 31812 Bad Pyrmont, Germany<br>
Amtsgericht Hannover 17HRA 100322<br>
Gesch=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Werner =
Meinberg,<br>
Andre Hartmann, Heiko Gerstung<br>
Websites: <a href=3D"https://www.meinberg.de" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://www.meinberg.de</a>=C2=A0 <a href=3D"https://www=
.meinbergglobal.com" rel=3D"noreferrer noreferrer" target=3D"_blank">https:=
//www.meinbergglobal.com</a><br>
Training: <a href=3D"https://www.meinberg.academy" rel=3D"noreferrer norefe=
rrer" target=3D"_blank">https://www.meinberg.academy</a><br>
<br>
</blockquote></div></div></div>

--000000000000565bec059ce54a59--


From nobody Fri Jan 24 09:16:12 2020
Return-Path: <wlosh@bsdimp.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 B82B6120951 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 09:16:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 8yQc9vMLdnVg for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 09:16:07 -0800 (PST)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 3FCF912004C for <ntp@ietf.org>; Fri, 24 Jan 2020 09:16:07 -0800 (PST)
Received: by mail-qk1-x735.google.com with SMTP id z76so2782254qka.2 for <ntp@ietf.org>; Fri, 24 Jan 2020 09:16:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=98vv4d912VmfZrDFEjC3NoRSQIRmKoP2+iLVlx6aneI=; b=sKXr0BevElzgQeqZ0dcY2k386Ofi7j+wX+j/fNFbKP93jEofMWrQ+vNJia31W4z+0b 9/BR9GEy5oiPlQFDdb3mJ5VIpY6HPkE0DJfcB9uvZ1qZreNGvAE5rDJg0ud2Mqiu5u39 l1Q1IeSM7P5ioDo6yLCFkHp5st3d7sWny8uQwXnSw4a5bq5Fe2hNN0GHEttCywLK2JtG bjQhba1+Cf2AmpD1ymLvYwMjybZAGAKkD9utrEKNkGMysbl4pxKeM1RtGgddJio1v7Qg MGMTkaaQlJplWZjb3gMFda9Idp5gaK+31qYERR9ckGz1HE99tXCZ1zXyDb1/7lWqXcBV JHzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=98vv4d912VmfZrDFEjC3NoRSQIRmKoP2+iLVlx6aneI=; b=gxwh10IxPDAzFG+pSsqWJNIKPbOXY7uXSGOqBiHs7eIIQ3eaE2FDcd99brtQttTMd6 XUSXPyX/XgvjUQyiIir6/sIIMT4Qqf4QTao9EBGxmvVe9bFr7mihgzMV6SpqYBh7SW7i yNtvoszB4e9nqnY7wLYAcKjrgYIBzfAv7koSRfHlrCUL4DjaZsdOnwbEYd582RQ0WvHm 7kgEgWSoXhYXqwFciajTWbg6FXcHsSkdPlG7qsljKnVvoDQ+anrRhhBexWam2+EEWI3E /qvQsgCytpmfSYnOlEOL5y3f4lyvkiLixaXnyyKpeNFWQz/utwxXsT2a1glnVBxhZefb 8beg==
X-Gm-Message-State: APjAAAWTzesOYMJuMSc1ITXwkfYNOVDJJ5mfxiAXxuHywHhWjadfKvK7 AZSoyJbk1qIZ2d8LYP0fh6VHj7MONNSVRFjZw09GqQ==
X-Google-Smtp-Source: APXvYqzg6V0/Mu5qG+R0JkXhVZ/ruG0dLzP+TffXcdtcS7j1eFetLbEHSQUDaKKyFjqFn44m2VdglKZrYDHRbN+tT8c=
X-Received: by 2002:a05:620a:2104:: with SMTP id l4mr2594996qkl.240.1579886166122;  Fri, 24 Jan 2020 09:16:06 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de> <CACsn0c=Q9PaLB3qWkC7v0D760fJHu3vfCsLGOetbnMi6_MG6ig@mail.gmail.com>
In-Reply-To: <CACsn0c=Q9PaLB3qWkC7v0D760fJHu3vfCsLGOetbnMi6_MG6ig@mail.gmail.com>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 10:15:54 -0700
Message-ID: <CANCZdfr5Ok2X2wSjjFR=4EZaDaighx8MAPDDoOYF_rNT0Rd+iw@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Martin Burnicki <martin.burnicki@meinberg.de>, NTP WG <ntp@ietf.org>,  Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000b7b4d4059ce5e9c5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/2QzVdkO9nDY2hFkqskpoF6CZ5Sk>
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: Fri, 24 Jan 2020 17:16:11 -0000

--000000000000b7b4d4059ce5e9c5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 24, 2020 at 9:31 AM Watson Ladd <watsonbladd@gmail.com> wrote:

>
>
> On Fri, Jan 24, 2020, 7:10 AM Martin Burnicki <martin.burnicki@meinberg.d=
e>
> wrote:
>
>> Watson Ladd wrote:
>> > On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com
>> > <mailto:dfoxfranke@gmail.com>> wrote:
>> >
>> >     I'm writing up an I-D clarifying how NTP implementations are to
>> behave
>> >     in proximity to a leap second and also introducing an extension
>> field
>> >     that provides better leap-second-related information than is
>> >     expressible using header fields alone, including giving the TAI-UT=
C
>> >     offset.
>> >
>> >     Karen, you mentioned a possible CfA for
>> >     draft-stenn-ntp-extended-information if Harlan revises it to compl=
y
>> >     with RFC 7822 (-04 does not appear to comply). Our two drafts are
>> >     partly redundant in purpose since they both provide TAI-UTC offset
>> and
>> >     we won't want to adopt both. Of course I think mine is the one we
>> >     should adopt, but I'll strive to get a -00 submitted promptly so
>> that
>> >     they can be considered side-by-side without unduly delaying Harlan=
's
>> >     CfA.
>> >
>> >
>> > Apologies for the necromancy but someone at work just asked me which
>> > second is repeated in an NTP timestamp and to make sure all our source=
s
>> > use the right one.
>>
>> Strictly speaking, it depends on the operating system.
>>
>> A process like ntpd notifies the kernel that a leap second is coming up
>> at the end of the day, and the kernel handles the leap second. So it
>> depends on the implementation in the kernel whether the last or the
>> first second is repeated to insert a leap second.
>>
>> ntpd just picks up the current system time from the kernel and sends it
>> to its clients.
>>
>> It only detects that the leap second event has passed when it queries
>> the kernel time stat the next time. If clients retrieved the time from
>> ntpd after the leap second has finished but before ntpd has updated the
>> kernel time status the leap bits can be wrong.
>>
>> This is one of the reasons why ntpd sends leap bits "unsynchronized" for
>> a short time around the leap second. This doesn't hurt or confuse the
>> client.
>>
>
> Is this mandated by RFC 5905?
>
> If not, should it be/should the behavior be more precise?
>
> I realize there may be a bug around this when using a separate server
> process: my gut says one measurement off by a second is insignificant sin=
ce
> the maximum adjustment in response, but there may be other issues I'm not
> thinking about
>

Carefully reading RFC 5905 shows this to be unspecified. One can make a
logical argument that the unsynchronized is a sound approach (I'm giving
you data that I know I can't properly encode because ntp timestamps can't
encode leap seconds), but it's not mandated specifically that I could find.
And it's a tricky problem absent some kind of quiet period around a leap
second because the data is ambiguous. It's made more so because the only
well defined operations on the timestamps, according to the RFC, is to
subtract them to get a time phase delta measurement.

Warner


> Martin
>
>> --
>> Martin Burnicki
>>
>> Senior Software Engineer
>>
>> MEINBERG Funkuhren GmbH & Co. KG
>> Email: 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=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Wern=
er Meinberg,
>> Andre Hartmann, Heiko Gerstung
>> Websites: https://www.meinberg.de  https://www.meinbergglobal.com
>> <https://www..meinbergglobal.com>
>> Training: https://www.meinberg.academy
>>
>> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--000000000000b7b4d4059ce5e9c5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2020 at 9:31 AM Watso=
n Ladd &lt;<a href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d=
iv dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Fri, Jan 24, 2020, 7:10 AM Martin Burnicki &lt;<a hre=
f=3D"mailto:martin.burnicki@meinberg.de" target=3D"_blank">martin.burnicki@=
meinberg.de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">Watson Ladd wrote:<br>
&gt; On Wed, Mar 27, 2019, 9:47 AM Daniel Franke &lt;<a href=3D"mailto:dfox=
franke@gmail.com" rel=3D"noreferrer" target=3D"_blank">dfoxfranke@gmail.com=
</a><br>
&gt; &lt;mailto:<a href=3D"mailto:dfoxfranke@gmail.com" rel=3D"noreferrer" =
target=3D"_blank">dfoxfranke@gmail.com</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0I&#39;m writing up an I-D clarifying how NTP implem=
entations are to behave<br>
&gt;=C2=A0 =C2=A0 =C2=A0in proximity to a leap second and also introducing =
an extension field<br>
&gt;=C2=A0 =C2=A0 =C2=A0that provides better leap-second-related informatio=
n than is<br>
&gt;=C2=A0 =C2=A0 =C2=A0expressible using header fields alone, including gi=
ving the TAI-UTC<br>
&gt;=C2=A0 =C2=A0 =C2=A0offset.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Karen, you mentioned a possible CfA for<br>
&gt;=C2=A0 =C2=A0 =C2=A0draft-stenn-ntp-extended-information if Harlan revi=
ses it to comply<br>
&gt;=C2=A0 =C2=A0 =C2=A0with RFC 7822 (-04 does not appear to comply). Our =
two drafts are<br>
&gt;=C2=A0 =C2=A0 =C2=A0partly redundant in purpose since they both provide=
 TAI-UTC offset and<br>
&gt;=C2=A0 =C2=A0 =C2=A0we won&#39;t want to adopt both. Of course I think =
mine is the one we<br>
&gt;=C2=A0 =C2=A0 =C2=A0should adopt, but I&#39;ll strive to get a -00 subm=
itted promptly so that<br>
&gt;=C2=A0 =C2=A0 =C2=A0they can be considered side-by-side without unduly =
delaying Harlan&#39;s<br>
&gt;=C2=A0 =C2=A0 =C2=A0CfA.<br>
&gt; <br>
&gt; <br>
&gt; Apologies for the necromancy but someone at work just asked me which<b=
r>
&gt; second is repeated in an NTP timestamp and to make sure all our source=
s<br>
&gt; use the right one.=C2=A0<br>
<br>
Strictly speaking, it depends on the operating system.<br>
<br>
A process like ntpd notifies the kernel that a leap second is coming up<br>
at the end of the day, and the kernel handles the leap second. So it<br>
depends on the implementation in the kernel whether the last or the<br>
first second is repeated to insert a leap second.<br>
<br>
ntpd just picks up the current system time from the kernel and sends it<br>
to its clients.<br>
<br>
It only detects that the leap second event has passed when it queries<br>
the kernel time stat the next time. If clients retrieved the time from<br>
ntpd after the leap second has finished but before ntpd has updated the<br>
kernel time status the leap bits can be wrong.<br>
<br>
This is one of the reasons why ntpd sends leap bits &quot;unsynchronized&qu=
ot; for<br>
a short time around the leap second. This doesn&#39;t hurt or confuse the<b=
r>
client.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D=
"auto">Is this mandated by RFC 5905?</div><div dir=3D"auto"><br></div><div =
dir=3D"auto">If not, should it be/should the behavior be more precise?</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">I realize there may be a bug=
 around this when using a separate server process: my gut says one measurem=
ent off by a second is insignificant since the maximum adjustment in respon=
se, but there may be other issues I&#39;m not thinking about</div></div></b=
lockquote><div><br></div><div>Carefully reading RFC 5905 shows this to be u=
nspecified. One can make a logical argument that the unsynchronized is a so=
und approach (I&#39;m giving you data that I know I can&#39;t properly enco=
de because ntp timestamps can&#39;t encode leap seconds), but it&#39;s not =
mandated specifically that I could find. And it&#39;s a tricky problem abse=
nt some kind of quiet period around a leap second because the data is ambig=
uous. It&#39;s made more so because the only well defined operations on the=
 timestamps, according to the RFC, is to subtract them to get a time phase =
delta measurement.</div><div><br></div><div>Warner</div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto"><div dir=
=3D"auto">Martin</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">
-- <br>
Martin Burnicki<br>
<br>
Senior Software Engineer<br>
<br>
MEINBERG Funkuhren GmbH &amp; Co. KG<br>
Email: <a href=3D"mailto:martin.burnicki@meinberg.de" rel=3D"noreferrer" ta=
rget=3D"_blank">martin.burnicki@meinberg.de</a><br>
Phone: +49 5281 9309-414<br>
Linkedin: <a href=3D"https://www.linkedin.com/in/martinburnicki/" rel=3D"no=
referrer noreferrer" target=3D"_blank">https://www.linkedin.com/in/martinbu=
rnicki/</a><br>
<br>
Lange Wand 9, 31812 Bad Pyrmont, Germany<br>
Amtsgericht Hannover 17HRA 100322<br>
Gesch=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Werner =
Meinberg,<br>
Andre Hartmann, Heiko Gerstung<br>
Websites: <a href=3D"https://www.meinberg.de" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://www.meinberg.de</a>=C2=A0 <a href=3D"https://www=
..meinbergglobal.com" rel=3D"noreferrer noreferrer" target=3D"_blank">https=
://www.meinbergglobal.com</a><br>
Training: <a href=3D"https://www.meinberg.academy" rel=3D"noreferrer norefe=
rrer" target=3D"_blank">https://www.meinberg.academy</a><br>
<br>
</blockquote></div></div></div>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank">ntp@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br>
</blockquote></div></div>

--000000000000b7b4d4059ce5e9c5--


From nobody Fri Jan 24 10:59:24 2020
Return-Path: <paf@frobbit.se>
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 C9D1A1200C4 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 10:59:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
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 KFwSifbfrDaU for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 10:59:21 -0800 (PST)
Received: from mail.frobbit.se (mail.frobbit.se [85.30.129.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8CEE12004C for <ntp@ietf.org>; Fri, 24 Jan 2020 10:59:20 -0800 (PST)
Received: from [192.165.72.241] (unknown [IPv6:2a02:80:3ffc:0:84ed:768a:866d:6af5]) by mail.frobbit.se (Postfix) with ESMTPSA id EFDAB26F6F; Fri, 24 Jan 2020 19:59:16 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1579892357; bh=9Fsn6yDRFKMX19TC8PqNqTumJcZKLZOaBGyW76+d2l4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ljbhOw2eMcy6qa3O7JLDGfmbQl4JY6Bu3Yrg1WwrEx7le3j9secEgNtyGp75F7K83 slEEMAW/H1Y6Q4fdhtcFS8fYE+IcGAvTxofAdmp80OktJDfR2HYmoz1vJGUDt0CHt6 ca4kRIhVHu3fhwaMTAMenokR2tRqrjjbxXbAcysI=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <paf@frobbit.se>
To: "Watson Ladd" <watsonbladd@gmail.com>
Cc: "NTP WG" <ntp@ietf.org>, "Daniel Franke" <dfoxfranke@gmail.com>, "Warner Losh" <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 19:59:15 +0100
X-Mailer: MailMate (1.13.1r5676)
Message-ID: <4E76AC4C-38F7-4086-B118-C85D279CF4DF@frobbit.se>
In-Reply-To: <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_ABEAFA9B-06C1-46C2-A6AA-4BFF8C387CE7_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/EK7pHHbxBchZcnVrZL_-lzmIMvk>
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: Fri, 24 Jan 2020 18:59:23 -0000

This is an OpenPGP/MIME signed message (RFC 3156 and 4880).

--=_MailMate_ABEAFA9B-06C1-46C2-A6AA-4BFF8C387CE7_=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 24 Jan 2020, at 16:04, Watson Ladd wrote:

> Why does POSIX matter for NTP timestamps? We can always clarify the lan=
guage independently.

I completely agree, but so much discussions about NTP today are built upo=
n the POSIX definitions. For example by having Google (and possibly other=
s) having NTP servers that do smear.

<https://developers.google.com/time/smear>

Personally, I find the fact the leap second itself is undefined is of no =
problem for NTP or implementations. The problem is when the implementatio=
ns have to push the response from NTP into a POSIX based environment that=
 do not take leap seconds into account.

   Patrik

--=_MailMate_ABEAFA9B-06C1-46C2-A6AA-4BFF8C387CE7_=
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename=signature.asc
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iG0EARECAC0WIQRUH/cJI8i4DDUU3qWsxpsaC4jXzQUCXis+gw8ccGFmQGZyb2Ji
aXQuc2UACgkQrMabGguI1819ogCeP8U5iF0wh+xIm5ghyCJ1IHvNGF8An03I5h5p
/Qcbrdf9PN0I1UeJzduj
=Gis5
-----END PGP SIGNATURE-----

--=_MailMate_ABEAFA9B-06C1-46C2-A6AA-4BFF8C387CE7_=--


From nobody Fri Jan 24 13:59:07 2020
Return-Path: <wlosh@bsdimp.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 D3340120A05 for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 13:59:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 JNbH5yennzbB for <ntp@ietfa.amsl.com>; Fri, 24 Jan 2020 13:59:03 -0800 (PST)
Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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 84D2E120A01 for <ntp@ietf.org>; Fri, 24 Jan 2020 13:59:03 -0800 (PST)
Received: by mail-qv1-xf2c.google.com with SMTP id n8so1657404qvg.11 for <ntp@ietf.org>; Fri, 24 Jan 2020 13:59:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=goVHftMK6La1bXv76QM6w9JaqwoJ+Enx05yL/GDQJTU=; b=U2jZ4FRsc4PSmh3FNzsQFI18+3okI3XXfPt9umRriWrYvRCQf6HmV9VwS7H4S28bV1 7qCeTMxNGOFVTYir9GbWFlNxiHm5B4VyMLUy0469oyjTBHwuW0MevmhwgyjBeN6SsGm8 nIRaitWLomnu7gJi62LMzJWpHV4KIyVAYgwesz7vqKYmOhUMrlqOCkEnWwnUbt0QWa+B PxnMJczWo7vw7zKbdvLMBAz46sBowWuJvKvqVACyL+JW17R5hgLR6iWzA9202gjdksQW pPj7hXre/VUYYehitsiR7/HRfg0E6+1VjIjFBK8yXfRDhczfiyCHLy/tDdlBtB+uj8UO 0flg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=goVHftMK6La1bXv76QM6w9JaqwoJ+Enx05yL/GDQJTU=; b=q0EvITVAe6k5TdpYR716uq0dlj7oCqMAv6p18rY17f4hbSGPxf2W+uYitp0EpVmF0K msMxs6Bmbuzl7KPeBgQoFmII7xrIVUFW569Omuv59Qx6KDbpYm1e5xQZ+LtCvV69SDpw M3/NR9VCRE+iQE6qMXMI+tioWJtuNYYdgGHa06IalnO/n6+au0kSr/a7t77fNkNcD7ec lMmtXBmkFyf7o3Q5w0sAOLkY0BG3iYLSlwYnMxiq+fNOHIxK5nhMiY8Cd3EKKouHzS2X GoNJDzBB7fQh71GsB6hHiouMisMpWyDk3EiBxmosYL9NycVz5KMZrGRDXjgTGkOeFrOs P9VQ==
X-Gm-Message-State: APjAAAWgr1oh1cNTcfcXII2O8EiLbMJ9lH5BnQf/dfJuVVe2w0HZ8gcf 7JZ7yflLStIOP4DSPJeO/ci7PYVw/a9Mk3qSt8T2RFxZ
X-Google-Smtp-Source: APXvYqyR4Ua4FyvJc0YFtZh9BPUGJz8LfKTHyJmJaRKc3c3iG+/aPC6U+kXs9MM3TfKDyh5DDp9lQJcX/CnMQVArkAU=
X-Received: by 2002:a0c:ee91:: with SMTP id u17mr5107200qvr.22.1579903142456;  Fri, 24 Jan 2020 13:59:02 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com> <4E76AC4C-38F7-4086-B118-C85D279CF4DF@frobbit.se>
In-Reply-To: <4E76AC4C-38F7-4086-B118-C85D279CF4DF@frobbit.se>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 24 Jan 2020 14:58:51 -0700
Message-ID: <CANCZdfo8EkCF5xWB7sYoceDsmoXGdO=5LFu=BH-rsXDXO=76Vg@mail.gmail.com>
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf@frobbit.se>
Cc: Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>,  Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000096037c059ce9ddb4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ygfM5Jy3wpYwAKEWNdaN8xwKTSU>
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: Fri, 24 Jan 2020 21:59:06 -0000

--00000000000096037c059ce9ddb4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 24, 2020 at 11:59 AM Patrik F=C3=A4ltstr=C3=B6m <paf@frobbit.se=
> wrote:

> On 24 Jan 2020, at 16:04, Watson Ladd wrote:
>
> > Why does POSIX matter for NTP timestamps? We can always clarify the
> language independently.
>

It matters because NTP's timestamps and POSIX's time_t have the same issue:
there is no clear, unambiguous value to encode a timestamps during a
leapsecond.


> I completely agree, but so much discussions about NTP today are built upo=
n
> the POSIX definitions. For example by having Google (and possibly others)
> having NTP servers that do smear.
>
> <https://developers.google.com/time/smear>
>
> Personally, I find the fact the leap second itself is undefined is of no
> problem for NTP or implementations. The problem is when the implementatio=
ns
> have to push the response from NTP into a POSIX based environment that do
> not take leap seconds into account.
>

How then do I encode a leap second timestamp into an NTP timestamp. Please
cite the relevant text from the RFC. I found no formula for the 'seconds'
value, just a table of values that implies it's 'simple math' and would
disregard leapseconds.

Warner

--00000000000096037c059ce9ddb4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2020 at 11:59 AM Patr=
ik F=C3=A4ltstr=C3=B6m &lt;<a href=3D"mailto:paf@frobbit.se">paf@frobbit.se=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
On 24 Jan 2020, at 16:04, Watson Ladd wrote:<br>
<br>
&gt; Why does POSIX matter for NTP timestamps? We can always clarify the la=
nguage independently.<br></blockquote><div><br></div><div>It matters becaus=
e=C2=A0NTP&#39;s timestamps and POSIX&#39;s=C2=A0time_t have the same issue=
: there is no clear, unambiguous value to encode a timestamps during a leap=
second.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">
I completely agree, but so much discussions about NTP today are built upon =
the POSIX definitions. For example by having Google (and possibly others) h=
aving NTP servers that do smear.<br>
<br>
&lt;<a href=3D"https://developers.google.com/time/smear" rel=3D"noreferrer"=
 target=3D"_blank">https://developers.google.com/time/smear</a>&gt;<br>
<br>
Personally, I find the fact the leap second itself is undefined is of no pr=
oblem for NTP or implementations. The problem is when the implementations h=
ave to push the response from NTP into a POSIX based environment that do no=
t take leap seconds into account.<br></blockquote><div><br></div><div>How t=
hen do I encode a leap second timestamp into an NTP timestamp. Please cite =
the relevant text from the RFC. I found no formula for the &#39;seconds&#39=
; value, just a table of values that implies it&#39;s &#39;simple math&#39;=
 and would disregard leapseconds.</div><div><br></div><div>Warner</div></di=
v></div>

--00000000000096037c059ce9ddb4--


From nobody Sun Jan 26 23:08:00 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 49745120116 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:07:58 -0800 (PST)
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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 Xyya1pTX7WH7 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:07:56 -0800 (PST)
Received: from mx2.uni-regensburg.de (mx2.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:3:bdf8]) (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 6F7DE12010F for <ntp@ietf.org>; Sun, 26 Jan 2020 23:07:56 -0800 (PST)
Received: from mx2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 557CA6000058 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:07:50 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx2.uni-regensburg.de (Postfix) with ESMTP id 79956600004D for <ntp@ietf.org>; Mon, 27 Jan 2020 08:07:45 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 27 Jan 2020 08:07:45 +0100
Message-Id: <5E2E8C3F020000A100036963@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Mon, 27 Jan 2020 08:07:43 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <watsonbladd@gmail.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>
In-Reply-To: <CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xAMJ3pvWGlyEZqcGCsaPS_O3ZU4>
Subject: [Ntp] Antw: Re:  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, 27 Jan 2020 07:07:58 -0000

>>> Watson Ladd <watsonbladd@gmail.com> schrieb am 24.01.2020 um 16:04 in
Nachricht
<CACsn0ckf91GH7tSr6d2KEz7T6N7z0t7LyF6JSr66dn0OA5m2Tg@mail.gmail.com>:
> On Thu, Jan 23, 2020, 10:51 PM Patrik Fältström <paf@frobbit.se> wrote:
> 
>> On 24 Jan 2020, at 0:36, Warner Losh wrote:
>>
>> >> POSIX doesn't specify, and so systems choose a number of different ways
>> of coping (repeat the last second of the day, repeat the first second of
>> the next day, freeze time during leap second, do some crazy smear to
>> pretend reality matches the POSIX spec, kernel panic, etc).
>> >
>> >
>> >
>> > This part is true. It's the biggest flaw with time_t: It doesn't
>> acknowledge that leap seconds exist, so what to do during that thing which
>> the standard says doesn't exist is up for grabs :(
>>
>> As the POSIX definition of "number of seconds since the epoch" is "number
>> of days since the epoch plus number of seconds within the current day" the
>> last second of one day and the first on the next have the same number.
>>
>> The fix is of course to be made at POSIX and if it was done, tons of
>> issues would just go poof as time then always did increase.
>>
> 
> Why does POSIX matter for NTP timestamps? We can always clarify the
> language independently.

I guess ist because operating systems keep time as POSIX time, and after
starting NTP, it's the only local time it has to start with.  Any additional
time scale could be maintained within NTP only (i.e. is lost when NTP stops).

> 
> 
>> There would still be an issue with "what time is it a gazillion seconds
>> from now" as one do not know the number of leap seconds to be added in the
>> future.
>>
>> But lets not mix up the issues.
>>
>> Anyway, I have seen proposals in POSIX on fixing this which have not been
>> moved forward. Anyone being involved in POSIX that knows anything about
>> that status?
>>
>>    Patrik
>>




From nobody Sun Jan 26 23:13:56 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 04C03120115 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:13:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 62FJJpdSijys for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:13:53 -0800 (PST)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [194.94.157.149]) (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 DC024120114 for <ntp@ietf.org>; Sun, 26 Jan 2020 23:13:52 -0800 (PST)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B021D6000058 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:13:50 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id 9643C6000055 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:13:50 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 27 Jan 2020 08:13:50 +0100
Message-Id: <5E2E8DAD020000A100036968@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Mon, 27 Jan 2020 08:13:49 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "Daniel Franke" <dfoxfranke@gmail.com>,<watsonbladd@gmail.com>, <martin.burnicki@meinberg.de>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>
In-Reply-To: <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/2QHrx4sF5vMInMl3qyV_1F1Af_c>
Subject: [Ntp] Antw: Re:  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, 27 Jan 2020 07:13:55 -0000

>>> Martin Burnicki <martin.burnicki@meinberg.de> schrieb am 24.01.2020 um
16:09 in
Nachricht <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>:

...
> This is one of the reasons why ntpd sends leap bits "unsynchronized" for
> a short time around the leap second. This doesn't hurt or confuse the
> client.

Given the typical polling intervals that UNSYNC status may be valid
significantly longer than the actual leap second. That is why I think it's
wrong to set UNSYNC during leap second. It's also against expectations: Why
should an NTP server that is stable be UNSYNC or jump to stratum 16 suddenly?

This simply feels wrong.

Regards,
Ulrich


> 
> Martin
> -- 
> Martin Burnicki
> 
> Senior Software Engineer
> 
> MEINBERG Funkuhren GmbH & Co. KG
> Email: 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 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Sun Jan 26 23:24:30 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 9089F12008C for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:24:29 -0800 (PST)
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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 mdISfxZozBNi for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:24:28 -0800 (PST)
Received: from mx2.uni-regensburg.de (mx2.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:3:bdf8]) (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 02FA2120044 for <ntp@ietf.org>; Sun, 26 Jan 2020 23:24:28 -0800 (PST)
Received: from mx2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 228876000059 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:24:26 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx2.uni-regensburg.de (Postfix) with ESMTP id D33C7600004D for <ntp@ietf.org>; Mon, 27 Jan 2020 08:24:25 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 27 Jan 2020 08:24:25 +0100
Message-Id: <5E2E9028020000A10003696F@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Mon, 27 Jan 2020 08:24:24 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <imp@bsdimp.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>, "Hal Murray" <hmurray@megapathdsl.net>
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <5E2AB233020000A1000367EF@gwsmtp.uni-regensburg.de> <CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>
In-Reply-To: <CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/X8hEROpZKtg9knkq-pNF295guu4>
Subject: [Ntp] Antw: Re:  Antw: Re: Leap second
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, 27 Jan 2020 07:24:29 -0000

>>> Warner Losh <imp@bsdimp.com> schrieb am 24.01.2020 um 16:31 in Nachricht
<CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>:
> On Fri, Jan 24, 2020 at 2:00 AM Ulrich Windl <
> Ulrich.Windl@rz.uni-regensburg.de> wrote:
> 
>> >>> Hal Murray <hmurray@megapathdsl.net> schrieb am 24.01.2020 um 00:52 in
>> Nachricht <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net>:
>>
>> > Warner Losh said:
>> >> NTP timestamp repeats the last second of the day. Once without the leap
>> bit
>> >> set and then again with it set.
>> >
>> > Which bit is that?  I don't know of a single "leap bit" in the header.
>> >
>> > There is a 2 bit header field with: normal (no leap), and add+del (leap
>> > pending) states.  The 4th state is used for non‑in‑sync.  Assuming you
>> meant
>>
>> > "bits" rather than bit, then the on‑off is backwards.  I expect it to be
>> > sending leap‑pending for most of the day, then send normal (no
>> leap‑pending)
>>
>> > for the repeated last second of the day.
>> >
>> > ‑‑‑‑‑‑‑‑
>> >
>> > I just looked at some code and found:
>> >                 if (leap_sec_in_progress) {
>> >                         /* always send "not sync" */
>> >                         xmt_leap = LEAP_NOTINSYNC;
>> >                 }
>>
>> I wonder whether this makes much sense. Probably easy to implement, but
>> maybe
>> the server just should not respond during the leap second. Preferrable it
>> should just sent the "correct" response.
> 
> 
> And what, exactly, is the "correct" response? There's no unique encoding
> for the leap second as an ntp timestamp.

I think the problem is that the LI (Leap Indicator) is used for two different
purposes:
1) Leap second annopuncement (ahead of time)
2) Performing the leap second (Kernel clock status)

So the NTP timestamp needs extra state information being related to the exact
second as the POSIX-based time stamp is not pecifying the correct time.

> 
> Maybe not responding is proper, since there will be a retry in a second or
> so. But if there's any kind of skew between machines, a time exchange
> across a leap second is going to lead to a large error. Thankfully the
> error filter will filter that out, but still...

That was my other thought: Either delay the response until leap second is done
(which will consume a lot of memory in the daemon), and the response will be
discarded in the client most likely. So not responding may seem the better
decision, but still this might give the impression that there is a connectivity
problem with the server...

> 
> Warner




From nobody Sun Jan 26 23:37:38 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 74566120104 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:37:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 D0Gu9SX0jzm9 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:37:34 -0800 (PST)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [194.94.157.149]) (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 911A2120125 for <ntp@ietf.org>; Sun, 26 Jan 2020 23:37:34 -0800 (PST)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E175F6000058 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:37:32 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id C55B86000055 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:37:32 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 27 Jan 2020 08:37:32 +0100
Message-Id: <5E2E933A020000A10003697D@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Mon, 27 Jan 2020 08:37:30 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <imp@bsdimp.com>,<paf@frobbit.se>
Cc: "Daniel Franke" <dfoxfranke@gmail.com>,<watsonbladd@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com> <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se> <CANCZdfqDqYdP+Z9ais3puWqoKJz0DbjmUCPn5gkSYNo=VX-Meg@mail.gmail.com>
In-Reply-To: <CANCZdfqDqYdP+Z9ais3puWqoKJz0DbjmUCPn5gkSYNo=VX-Meg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/8JkK64-61i4eKBBX2MDIYETY91Y>
Subject: [Ntp] Antw: Re:  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, 27 Jan 2020 07:37:36 -0000

>>> Warner Losh <imp@bsdimp.com> schrieb am 24.01.2020 um 16:42 in Nachricht
<CANCZdfqDqYdP+Z9ais3puWqoKJz0DbjmUCPn5gkSYNo=VX-Meg@mail.gmail.com>:
> On Fri, Jan 24, 2020 at 7:45 AM Patrik Fältström <paf@frobbit.se> wrote:
> 
>> On 24 Jan 2020, at 15:12, Warner Losh wrote:
>>
>> > No. That is wrong. The numbering of the leap second is undefined. This
>> is one way to resolve the issue, but it is not the only way. You will not
>> find this specified, except indirectly via math on the struct tm, which
>> isn't definitive about what to do during the leap.
>>
>> What I see are two things. First the math:
>>
>> > If the year is <1970 or the value is negative, the relationship is
>> undefined. If the year is >=1970 and the value is non-negative, the value
>> is related to a Coordinated Universal Time name according to the
C-language
>> expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are all
>> integer types:
>> >
>> > tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
>> >     (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -
>> >     ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400
>>
>> Then the definition of tm_sec which can have values [0,61].
>>
>> So far, so good, and the number of seconds in a day with an added leap
>> second will then be 86401, and the first second of the following day (the
>> following second) will have the same value.
>>
>> Where I agree with you that the leap second is undefined is the plain text
>> which says:
>>
>> > As represented in seconds since the Epoch, each and every day shall be
>> accounted for by exactly 86400 seconds.
>>
>> This implies that even if the math gives 86401 seconds (including the fact
>> tm_sec can have a value of 61), the value 86401 seconds in a day is not
>> valid.
>>
> 
> Yes. It's ambiguous. A POSIX time_t is not defined at the leap second. You
> could use your math to get one answer. However, that answer, back
> translated to a struct tm gives the wrong day, so is also incorrect. In
> POSIX land, leap seconds don't exist, and any definitive statement about
> the 'proper' time_t encoding for a leap second cannot be made. It's
> undefined.

I think that is the major bug in POSIX leap seconds: While time_t is the
internal representation of time, struct tm is only the human-readable
representation. Leap seconds were based on the human representation (61st
second in minute), while most software works with the internal representation.
So converting between both representations is not unique.


> 
> Warner




From nobody Sun Jan 26 23:47:08 2020
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 658EE120131 for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:47:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 yWH4siJadAKn for <ntp@ietfa.amsl.com>; Sun, 26 Jan 2020 23:47:02 -0800 (PST)
Received: from mx1.uni-regensburg.de (mx1.uni-regensburg.de [194.94.157.146]) (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 1090B12012D for <ntp@ietf.org>; Sun, 26 Jan 2020 23:47:02 -0800 (PST)
Received: from mx1.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 686186000055 for <ntp@ietf.org>; Mon, 27 Jan 2020 08:46:55 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx1.uni-regensburg.de (Postfix) with ESMTP id 3F8D2600004E for <ntp@ietf.org>; Mon, 27 Jan 2020 08:46:55 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 27 Jan 2020 08:46:55 +0100
Message-Id: <5E2E956D020000A100036984@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.0 
Date: Mon, 27 Jan 2020 08:46:53 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <imp@bsdimp.com>,<watsonbladd@gmail.com>
Cc: "Daniel Franke" <dfoxfranke@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>,<martin.burnicki@meinberg.de>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de> <CACsn0c=Q9PaLB3qWkC7v0D760fJHu3vfCsLGOetbnMi6_MG6ig@mail.gmail.com> <CANCZdfr5Ok2X2wSjjFR=4EZaDaighx8MAPDDoOYF_rNT0Rd+iw@mail.gmail.com>
In-Reply-To: <CANCZdfr5Ok2X2wSjjFR=4EZaDaighx8MAPDDoOYF_rNT0Rd+iw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/PcBhf05N343l0uIs3aAqlhRg_4s>
Subject: [Ntp] Antw: Re:  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, 27 Jan 2020 07:47:06 -0000

>>> Warner Losh <imp@bsdimp.com> schrieb am 24.01.2020 um 18:15 in Nachricht
<CANCZdfr5Ok2X2wSjjFR=4EZaDaighx8MAPDDoOYF_rNT0Rd+iw@mail.gmail.com>:
> On Fri, Jan 24, 2020 at 9:31 AM Watson Ladd <watsonbladd@gmail.com> wrote:
> 
>>
>>
>> On Fri, Jan 24, 2020, 7:10 AM Martin Burnicki
<martin.burnicki@meinberg.de>
>> wrote:
>>
>>> Watson Ladd wrote:
>>> > On Wed, Mar 27, 2019, 9:47 AM Daniel Franke <dfoxfranke@gmail.com 
>>> > <mailto:dfoxfranke@gmail.com>> wrote:
>>> >
>>> >     I'm writing up an I-D clarifying how NTP implementations are to
>>> behave
>>> >     in proximity to a leap second and also introducing an extension
>>> field
>>> >     that provides better leap-second-related information than is
>>> >     expressible using header fields alone, including giving the TAI-UTC
>>> >     offset.
>>> >
>>> >     Karen, you mentioned a possible CfA for
>>> >     draft-stenn-ntp-extended-information if Harlan revises it to comply
>>> >     with RFC 7822 (-04 does not appear to comply). Our two drafts are
>>> >     partly redundant in purpose since they both provide TAI-UTC offset
>>> and
>>> >     we won't want to adopt both. Of course I think mine is the one we
>>> >     should adopt, but I'll strive to get a -00 submitted promptly so
>>> that
>>> >     they can be considered side-by-side without unduly delaying
Harlan's
>>> >     CfA.
>>> >
>>> >
>>> > Apologies for the necromancy but someone at work just asked me which
>>> > second is repeated in an NTP timestamp and to make sure all our sources
>>> > use the right one.
>>>
>>> Strictly speaking, it depends on the operating system.
>>>
>>> A process like ntpd notifies the kernel that a leap second is coming up
>>> at the end of the day, and the kernel handles the leap second. So it
>>> depends on the implementation in the kernel whether the last or the
>>> first second is repeated to insert a leap second.
>>>
>>> ntpd just picks up the current system time from the kernel and sends it
>>> to its clients.
>>>
>>> It only detects that the leap second event has passed when it queries
>>> the kernel time stat the next time. If clients retrieved the time from
>>> ntpd after the leap second has finished but before ntpd has updated the
>>> kernel time status the leap bits can be wrong.
>>>
>>> This is one of the reasons why ntpd sends leap bits "unsynchronized" for
>>> a short time around the leap second. This doesn't hurt or confuse the
>>> client.
>>>
>>
>> Is this mandated by RFC 5905?
>>
>> If not, should it be/should the behavior be more precise?
>>
>> I realize there may be a bug around this when using a separate server
>> process: my gut says one measurement off by a second is insignificant
since
>> the maximum adjustment in response, but there may be other issues I'm not
>> thinking about
>>
> 
> Carefully reading RFC 5905 shows this to be unspecified. One can make a
> logical argument that the unsynchronized is a sound approach (I'm giving
> you data that I know I can't properly encode because ntp timestamps can't
> encode leap seconds), but it's not mandated specifically that I could find.
> And it's a tricky problem absent some kind of quiet period around a leap
> second because the data is ambiguous. It's made more so because the only
> well defined operations on the timestamps, according to the RFC, is to
> subtract them to get a time phase delta measurement.

I was just thinking: (assuming the long batle with designing proper extension
fields is over)

When a (new) server would add an "leap second in progress" extension field,
the (new) clients could simply ignore the timestamp if they feel like that.
For regular leap second processing that extension field would be set just
during the actual leap second processing, while for "leap smear server" it
could be set until leap smearing is done.

Or maybe have two different "leap second in progress" indicators.

BTW: How about adding an extension field that specifies the time and type of
the next leap second to occur?

Regards,
Ulrich

> 
> Warner
> 
> 
>> Martin
>>
>>> --
>>> Martin Burnicki
>>>
>>> Senior Software Engineer
>>>
>>> MEINBERG Funkuhren GmbH & Co. KG
>>> Email: 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 
>>> <https://www..meinbergglobal.com>
>>> Training: https://www.meinberg.academy 
>>>
>>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org 
>> https://www.ietf.org/mailman/listinfo/ntp 
>>




From nobody Mon Jan 27 00:12:48 2020
Return-Path: <martin.burnicki@meinberg.de>
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 4808B12011A for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:12:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 4yefv8N1FmG6 for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:12:43 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0F8712001E for <ntp@ietf.org>; Mon, 27 Jan 2020 00:12:42 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id E248C71C0BDB for <ntp@ietf.org>; Mon, 27 Jan 2020 09:12:30 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de E248C71C0BDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1580112761; bh=fmTgDMnBKS2viMapQsTEC05K8c/Evi7AE5atdvtC+cs=; h=Subject:To:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=M0IzU0OHvTvHZZtYMlxLZ+I0MvzinUI5+nOH65IGEVb5H85IX4hNOAuQrzgxgVdtf sP8vkE+UnIvn4kR4pSAo5JpywQQugBLFfkxhaHelZo6jEtF0yLHH3jjjuldvQwkdY6 qG8TELh56cYyI9dwQmhFb8aJPFEl11tKC/l2kQs8=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000006,0.005016)], BW: [Enabled, t: (0.000017)], RTDA: [Enabled, t: (0.028150), Hit: No, Details: v2.7.69; Id: 15.1i6tsm2.1dvj0u9mc.6fsp4], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)) for ntp@ietf.org; Mon, 27 Jan 2020 09:12:29 +0100
To: ntp@ietf.org
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <alpine.DEB.2.20.2001241435170.24409@grey.csi.cam.ac.uk> <F3DFEC05-3701-40D1-82B1-D66648814DD9@email.arizona.edu>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Autocrypt: addr=martin.burnicki@meinberg.de; prefer-encrypt=mutual; keydata= xsFNBFUJbhwBEADpbjlFJrR+RWZSc5WFFmRVQUFQ+XwgRBrAtTkJyu+xhu6DvD6zq2IgnXQ3 W8pz/MoMMfKWaNOJ1qCxMfd8XrCR1WaO1m98Re9RqB9948ZH2VZIRN0MiLVVYLU0I0EufAUo y5P9TgyRet7Ojuy3j7LqOEjhYpIkkz1XNup2CjfNAN3xxrx8KJJ4iErtLL35X+UyNpHd57tx Y+OzOdBOfweHNyaj1vtY5cAQuzR66hom+gK0YyuXdGDeN5Gb1nvk8H9tj5Fd/VIm4nZdIxam n63Mdk8mQ7dO8f04B0XzhAxF0+B9uZqdC0twUuRvROuDC6eAjO3JganfXvCE6QKTb3rOM8l1 c8bTA/Pg3WF6y2Jnq4Rs4I1SiU9Oy5elr6pJJdhi7RY0b2Lj4l/7SaiwUCyMBX3Gm00sWOYF OU9fYa6cs/IvW9JQbeQu9Ph8QYczH51sNBpL7RfkjGybqZyU+HKs0EUe6nlpuIPL3MZ3QoKl G1M7PhV2BGkn3fzLHsDp1Nxuv1bbdfW4dkdyW/yLcu994VYSFrgDStt9g1Or0mkk+HeR0m3O 46w/FHw7ykvA8bp+2WMzJmyenj2/LN15l3CGewAbjjzgN9A1AOKlxGKcLOeTObxDMzj6qFWN O/g5GEsvYTe0qA3JEnNboJFJurBQJg7GBkAske0oJzTh9SgcTwARAQABzS5NYXJ0aW4gQnVy bmlja2kgPG1hcnRpbi5idXJuaWNraUBidXJuaWNraS5uZXQ+wsF7BBMBAgAlAhsvBgsJCAcD AgYVCAIJCgs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kUa8C1NI93t+n4xe93wb+/8DiyVw8ZEa02RRYh/3ua+/2C DUvwR+qozbM4+1xb1skWYt81Vi7eLzGeZP2HscaieTYsKLgqD/sES5rNrNDKrItZKpP4/r+c 7F1zwCBxLyW2wcZyi5weEL8UaAu31HhoWT32y54m0ZyVrPVRwDXV8iHpCgMck26VLinjyFfi 8WZsolS1lxLPOdD2B67sVNKXISJQk/Y2CN1CXA0vWLc0ENsaQyZAZjAbuo+TT37WjoXTnO8l OJJ5D9LhyjFjW0hYMFJq3eBAdxfGROyFOK9N29FU3hoU+tsYPSKrl3ws3PMg45cyRHLVRip0 xr0yXPYUYb70FnE70nVGICvMgUpmrM4XH1Yr7kt+5cBM583yuJ94rF/hOFHuR4GQWeFRxBSW d41qArjdABIxhZrnMICSW3fMyo9yfiQ6tXoyD1cHD/i2WmOnqCKEOtFScVeQJZJhqQb54NBx +viRax9d+X066AKYiBspm7kYwBVzNsng3uHOfyQXnVmcCEawxWIPyCtxSoV6fCKYdAfJCQeE lBXE89inkdGmdb0KLmYkHDoV4L1deAsPUI/t6qZjwqF3pKcr8kdGExqHwvytL8n1KGbYPyJ6 Fn1z/idOOiTYgN+Q7FWRRX0QplyVpSBU4OnD0Gd3KkP+a0+kErokA1Lk3/YCE45VT8J88f4Y GbRsIkf0xW+Ei0fk3fl9VPOrbTD+gFv+AzbT+Gp1+kElwVKj0VzXy0OC6UIQJ3J1on0lArkc fPTIMcWxGmfGPw==
Organization: Meinberg Funkuhren, Bad Pyrmont, Germany
Message-ID: <0420ee9b-1351-68ca-0b45-4eaa038d49cd@meinberg.de>
Date: Mon, 27 Jan 2020 09:12:29 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <F3DFEC05-3701-40D1-82B1-D66648814DD9@email.arizona.edu>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.4 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/J9P9mk77JjId1xLZV_XXLrwt0yo>
Subject: Re: [Ntp] Leap second
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, 27 Jan 2020 08:12:45 -0000

Rob,

Seaman, Robert Lewis - (rseaman) wrote:
> Just a reminder that UTC does not have repeated seconds, whatever
> POSIX says, or NTP implements. Seconds are interposed (or elided) as
> needed. UTC second number 61 in that minute is distinct from second
> number 60. Or second number 59 of one minute is immediately followed
> by second number 1 of the next. If you want different behavior,
> define or adopt a different time scale.
The problem is that operating systems don't know anything about seconds
numbered 60 or 61 since they only count seconds since an epoch, and some
runtime library has to convert it to calendar date and time.

Even if the number of the second since an epoch is repeated when a leap
second is inserted, it would not be a big problem if the system calls
commonly used to retrieve the system time would provide an associated
status.

If you read the time from a Meinberg PCI card in a fast loop across an
inserted leap second the you can also evaluate a status that indicates
which second is the inserted second, so conversion function can return a
second number 61 for that second.

A similar call which returns the current time plus the kernel time
status is also available on most Unix-like systems, but applications
normally don't use it because it takes longer to execute.


Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: 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


From nobody Mon Jan 27 00:32:38 2020
Return-Path: <martin.burnicki@meinberg.de>
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 4ABB312007C for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:32:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 Oz6IYtBMwSz9 for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:32:35 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C12112001E for <ntp@ietf.org>; Mon, 27 Jan 2020 00:32:35 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 15DA371C038E; Mon, 27 Jan 2020 09:32:01 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 15DA371C038E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1580113954; bh=548nmoLqaF4SMaO0+grMwnwfdWuurMcgvLu5E7ZCnS4=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CpLZMwp/k/fS0hDvFBcQyhwibzDJwSfjyuZNNO04ywX+q+Yl7OxLs9LwB/H7Zhzj2 rXN0xHnKLQTN7jtgzzvhaYg6xNt5PI5c9e/Roil5n6WE6xYbxrryP99OkMPaQVxw5j Q1JFBPph9eXVAnGfO8SRZWcq+cCG8wlyoZbHpYNw=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000006,0.006059)], BW: [Enabled, t: (0.000007)], RTDA: [Enabled, t: (0.078711), Hit: No, Details: v2.7.69; Id: 15.1i61css.1dvj220bg.68c81], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 27 Jan 2020 09:31:59 +0100
To: Warner Losh <imp@bsdimp.com>, Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: "ntp@ietf.org" <ntp@ietf.org>, Hal Murray <hmurray@megapathdsl.net>
References: <20200123235232.BB54440605C@ip-64-139-1-69.sjc.megapath.net> <5E2AB233020000A1000367EF@gwsmtp.uni-regensburg.de> <CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Autocrypt: addr=martin.burnicki@meinberg.de; prefer-encrypt=mutual; keydata= xsFNBFUJbhwBEADpbjlFJrR+RWZSc5WFFmRVQUFQ+XwgRBrAtTkJyu+xhu6DvD6zq2IgnXQ3 W8pz/MoMMfKWaNOJ1qCxMfd8XrCR1WaO1m98Re9RqB9948ZH2VZIR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F/hOFHuR4GQWeFRxBSW d41qArjdABIxhZrnMICSW3fMyo9yfiQ6tXoyD1cHD/i2WmOnqCKEOtFScVeQJZJhqQb54NBx +viRax9d+X066AKYiBspm7kYwBVzNsng3uHOfyQXnVmcCEawxWIPyCtxSoV6fCKYdAfJCQeE lBXE89inkdGmdb0KLmYkHDoV4L1deAsPUI/t6qZjwqF3pKcr8kdGExqHwvytL8n1KGbYPyJ6 Fn1z/idOOiTYgN+Q7FWRRX0QplyVpSBU4OnD0Gd3KkP+a0+kErokA1Lk3/YCE45VT8J88f4Y GbRsIkf0xW+Ei0fk3fl9VPOrbTD+gFv+AzbT+Gp1+kElwVKj0VzXy0OC6UIQJ3J1on0lArkc fPTIMcWxGmfGPw==
Organization: Meinberg Funkuhren, Bad Pyrmont, Germany
Message-ID: <2bce1bd7-b6b4-1839-d8a7-528cf7e82b30@meinberg.de>
Date: Mon, 27 Jan 2020 09:31:59 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <CANCZdfqNVGiOdZncUkJD5yAR8DvCBiWRnNZei=wU4tV+WW0f-Q@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.4 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/pcgOJNDKVTVKjP5lzDHpVyYC6_U>
Subject: Re: [Ntp] Antw: Re: Leap second
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, 27 Jan 2020 08:32:37 -0000

Warner Losh wrote:
> On Fri, Jan 24, 2020 at 2:00 AM Ulrich Windl
> <Ulrich.Windl@rz.uni-regensburg.de
> <mailto:Ulrich.Windl@rz.uni-regensburg.de>> wrote:
> 
>     >>> Hal Murray <hmurray@megapathdsl.net
[...]
>     > I just looked at some code and found:
>     >                 if (leap_sec_in_progress) {
>     >                         /* always send "not sync" */
>     >                         xmt_leap = LEAP_NOTINSYNC;
>     >                 }
> 
>     I wonder whether this makes much sense. Probably easy to implement,
>     but maybe
>     the server just should not respond during the leap second.
>     Preferrable it
>     should just sent the "correct" response.

If the server didn't respond, the client could assume that the server if
offline. If it does respond, the client knows the server is alive, but
the result of this one packet exchange is ignored beause the server says
"don't use this one".

The original implementation of ntpd can easily cope with this and just
sends another request after the next polling interval. So this doesn't
hurt at all.

> And what, exactly, is the "correct" response? There's no unique encoding
> for the leap second as an ntp timestamp.
> 
> Maybe not responding is proper, since there will be a retry in a second
> or so.

Hm, retry after a second would be very bad. There have been
implementations which did that and were considered abusive. Just doing
another poll after the usual interval should be sufficient.

> But if there's any kind of skew between machines, a time exchange
> across a leap second is going to lead to a large error.

That's exactly the problem, and the reason why this has been implemented
quite some time  ago, as proposed by Miroslav Lichvar. IMO this is a
very good idea.

> Thankfully the
> error filter will filter that out, but still...

If the other filter entries at the client side have only small offset
values then even a single huge offset could mess up the filter output.
With this workaround the huge offset doesn't even make it into the
filter, preventing the filter output from being messed up.

Even if the server sends "unsynchronized" for about 3 seconds over a
leap second event, each well-behaved client will at most get one such
response, in case the end of his poll interval (which should be at least
64 s) falls into the 3 s interval around the leap second. Statistically,
most clients should not even notice that the server behaves this way
because the poll before the 3s interval and next time after that interval.


Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: 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


From nobody Mon Jan 27 00:38:23 2020
Return-Path: <martin.burnicki@meinberg.de>
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 77E44120125 for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:38:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 nkB2oac7gkYD for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:38:19 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B391120090 for <ntp@ietf.org>; Mon, 27 Jan 2020 00:38:19 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 2265971C085C; Mon, 27 Jan 2020 09:37:39 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 2265971C085C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1580114297; bh=pzkrIjnvbUcHFRrRV56lY23RjHu6OJbbqTzC1+Rt3LM=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CWfJXm26J8zkbPT087ySUI23HMnRLm564e5p/7k0d5QS0HDBTS6yy8N5OcKnA/8F5 LY06vyYy6psGOJJLSlybu58ZfvDRbm2Tt+uHidSRqN9wbBo/ZnUJHJOmk6zCCm1Lyl PsB83hPv5hjh/ixIpDgXTYpiMrAeErAMoSh7iHYU=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000007,0.006874)], BW: [Enabled, t: (0.000007)], RTDA: [Enabled, t: (0.053356), Hit: No, Details: v2.7.69; Id: 15.1i65pgs.1dvj2caeo.2o5ne], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 27 Jan 2020 09:37:37 +0100
To: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf=40frobbit.se@dmarc.ietf.org>, Warner Losh <imp@bsdimp.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com> <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Autocrypt: addr=martin.burnicki@meinberg.de; prefer-encrypt=mutual; keydata= xsFNBFUJbhwBEADpbjlFJrR+RWZSc5WFFmRVQUFQ+XwgRBrAtTkJyu+xhu6DvD6zq2IgnXQ3 W8pz/MoMMfKWaNOJ1qCxMfd8XrCR1WaO1m98Re9RqB9948ZH2VZIRN0MiLVVYLU0I0EufAUo y5P9TgyRet7Ojuy3j7LqOEjhYpIkkz1XNup2CjfNAN3xxrx8KJJ4iErtLL35X+UyNpHd57tx Y+OzOdBOfweHNyaj1vtY5cAQuzR66hom+gK0YyuXdGDeN5Gb1nvk8H9tj5Fd/VIm4nZdIxam n63Mdk8mQ7dO8f04B0XzhAxF0+B9uZqdC0twUuRvROuDC6eAjO3JganfXvCE6QKTb3rOM8l1 c8bTA/Pg3WF6y2Jnq4Rs4I1SiU9Oy5elr6pJJdhi7RY0b2Lj4l/7SaiwUCyMBX3Gm00sWOYF OU9fYa6cs/IvW9JQbeQu9Ph8QYczH51sNBpL7RfkjGybqZyU+HKs0EUe6nlpuIPL3MZ3QoKl G1M7PhV2BGkn3fzLHsDp1Nxuv1bbdfW4dkdyW/yLcu994VYSFrgDStt9g1Or0mkk+HeR0m3O 46w/FHw7ykvA8bp+2WMzJmyenj2/LN15l3CGewAbjjzgN9A1AOKlxGKcLOeTObxDMzj6qFWN O/g5GEsvYTe0qA3JEnNboJFJurBQJg7GBkAske0oJzTh9SgcTwARAQABzS5NYXJ0aW4gQnVy bmlja2kgPG1hcnRpbi5idXJuaWNraUBidXJuaWNraS5uZXQ+wsF7BBM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8 5rQF8S7ftKIl9pJCcD6sZnxOTfkUa8C1NI93t+n4xe93wb+/8DiyVw8ZEa02RRYh/3ua+/2C DUvwR+qozbM4+1xb1skWYt81Vi7eLzGeZP2HscaieTYsKLgqD/sES5rNrNDKrItZKpP4/r+c 7F1zwCBxLyW2wcZyi5weEL8UaAu31HhoWT32y54m0ZyVrPVRwDXV8iHpCgMck26VLinjyFfi 8WZsolS1lxLPOdD2B67sVNKXISJQk/Y2CN1CXA0vWLc0ENsaQyZAZjAbuo+TT37WjoXTnO8l OJJ5D9LhyjFjW0hYMFJq3eBAdxfGROyFOK9N29FU3hoU+tsYPSKrl3ws3PMg45cyRHLVRip0 xr0yXPYUYb70FnE70nVGICvMgUpmrM4XH1Yr7kt+5cBM583yuJ94rF/hOFHuR4GQWeFRxBSW d41qArjdABIxhZrnMICSW3fMyo9yfiQ6tXoyD1cHD/i2WmOnqCKEOtFScVeQJZJhqQb54NBx +viRax9d+X066AKYiBspm7kYwBVzNsng3uHOfyQXnVmcCEawxWIPyCtxSoV6fCKYdAfJCQeE lBXE89inkdGmdb0KLmYkHDoV4L1deAsPUI/t6qZjwqF3pKcr8kdGExqHwvytL8n1KGbYPyJ6 Fn1z/idOOiTYgN+Q7FWRRX0QplyVpSBU4OnD0Gd3KkP+a0+kErokA1Lk3/YCE45VT8J88f4Y GbRsIkf0xW+Ei0fk3fl9VPOrbTD+gFv+AzbT+Gp1+kElwVKj0VzXy0OC6UIQJ3J1on0lArkc fPTIMcWxGmfGPw==
Organization: Meinberg Funkuhren, Bad Pyrmont, Germany
Message-ID: <9b5a6a5e-7727-8b5c-0e70-959e03a91561@meinberg.de>
Date: Mon, 27 Jan 2020 09:37:37 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.4 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Ci-Rg23-cwciv0E5GxIsQoyk--M>
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, 27 Jan 2020 08:38:22 -0000

Patrik Fältström wrote:
> On 24 Jan 2020, at 15:12, Warner Losh wrote:
> 
>> No. That is wrong. The numbering of the leap second is undefined. This is one way to resolve the issue, but it is not the only way. You will not find this specified, except indirectly via math on the struct tm, which isn't definitive about what to do during the leap.
> 
> What I see are two things. First the math:
> 
>> If the year is <1970 or the value is negative, the relationship is undefined. If the year is >=1970 and the value is non-negative, the value is related to a Coordinated Universal Time name according to the C-language expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are all integer types:
>>
>> tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
>>     (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -
>>     ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400
> 
> Then the definition of tm_sec which can have values [0,61].

Yes, you can set tm_sec to 61, but how should the conversion function of
the runtime library know that it shoudld return second 61 of the current
day instead of second 0 of the next day? In POSIX there is no way I'm
aware of that can be used to tell the conversion function that a
specific second is an inserted leap second.


Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: 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


From nobody Mon Jan 27 00:52:35 2020
Return-Path: <martin.burnicki@meinberg.de>
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 513F2120127 for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:52:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinberg.de
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 8egxsw-7JGdp for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 00:52:32 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEB6912007C for <ntp@ietf.org>; Mon, 27 Jan 2020 00:52:31 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 0043471C085C; Mon, 27 Jan 2020 09:51:58 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 0043471C085C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1580115150; bh=SBj8rBLErtH6lpKO8Pc1BBObU4Vrt7DtgadMpbiF09M=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ngd0hDwlNHp/Ih7oKmg/ZZphT17T9U9dJQXVUi0sGZt2mCSxbXU5tilpBuszJPchQ u5cAugL/1wQpsUqXE/3LhJHFSqsJzYmyR1AFXZcuT+9ezZBw7BB+fVeR2D4iNE3I5C AZaGJSCUr0+TqbCAMKvl5ED4KT6/cOkvCZWTPuow=
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000017,0.003764)], BW: [Enabled, t: (0.000014)], RTDA: [Enabled, t: (0.033579), Hit: No, Details: v2.7.69; Id: 15.1i6tm0n.1dvj36ibi.6gfok], total: 0(700)
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 27 Jan 2020 09:51:57 +0100
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, Daniel Franke <dfoxfranke@gmail.com>, watsonbladd@gmail.com
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de> <5E2E8DAD020000A100036968@gwsmtp.uni-regensburg.de>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Autocrypt: add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y2CN1CXA0vWLc0ENsaQyZAZjAbuo+TT37WjoXTnO8l OJJ5D9LhyjFjW0hYMFJq3eBAdxfGROyFOK9N29FU3hoU+tsYPSKrl3ws3PMg45cyRHLVRip0 xr0yXPYUYb70FnE70nVGICvMgUpmrM4XH1Yr7kt+5cBM583yuJ94rF/hOFHuR4GQWeFRxBSW d41qArjdABIxhZrnMICSW3fMyo9yfiQ6tXoyD1cHD/i2WmOnqCKEOtFScVeQJZJhqQb54NBx +viRax9d+X066AKYiBspm7kYwBVzNsng3uHOfyQXnVmcCEawxWIPyCtxSoV6fCKYdAfJCQeE lBXE89inkdGmdb0KLmYkHDoV4L1deAsPUI/t6qZjwqF3pKcr8kdGExqHwvytL8n1KGbYPyJ6 Fn1z/idOOiTYgN+Q7FWRRX0QplyVpSBU4OnD0Gd3KkP+a0+kErokA1Lk3/YCE45VT8J88f4Y GbRsIkf0xW+Ei0fk3fl9VPOrbTD+gFv+AzbT+Gp1+kElwVKj0VzXy0OC6UIQJ3J1on0lArkc fPTIMcWxGmfGPw==
Organization: Meinberg Funkuhren, Bad Pyrmont, Germany
Message-ID: <36587088-38aa-29eb-dfc4-94013392a2b4@meinberg.de>
Date: Mon, 27 Jan 2020 09:51:57 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <5E2E8DAD020000A100036968@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.4 at server1a
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/BCgHm5c8SpjN96Gz3KQcf0qsusA>
Subject: Re: [Ntp] Antw: Re: 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, 27 Jan 2020 08:52:33 -0000

Ulrich Windl wrote:
>>>> Martin Burnicki <martin.burnicki@meinberg.de> schrieb am 24.01.2020 um
> 16:09 in
> Nachricht <d28630bc-6f3c-79d7-819d-484666cf8290@meinberg.de>:
> 
> ...
>> This is one of the reasons why ntpd sends leap bits "unsynchronized" for
>> a short time around the leap second. This doesn't hurt or confuse the
>> client.
> 
> Given the typical polling intervals that UNSYNC status may be valid
> significantly longer than the actual leap second. That is why I think it's
> wrong to set UNSYNC during leap second. It's also against expectations: Why
> should an NTP server that is stable be UNSYNC or jump to stratum 16 suddenly?
> 
> This simply feels wrong.

Sorry, I disagree. Please see my other post with some explanation.

Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: 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


From nobody Mon Jan 27 07:57:06 2020
Return-Path: <watsonbladd@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 239C112086D for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 07:57:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level: 
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 M4H3VDkYPI88 for <ntp@ietfa.amsl.com>; Mon, 27 Jan 2020 07:57:01 -0800 (PST)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 76126120865 for <ntp@ietf.org>; Mon, 27 Jan 2020 07:57:01 -0800 (PST)
Received: by mail-lj1-x234.google.com with SMTP id h23so11246684ljc.8 for <ntp@ietf.org>; Mon, 27 Jan 2020 07:57:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zz47yfLy/ulMb5qa2a04A7ZWOUdFOr060Wvsu7frOik=; b=Emq7qxg9/sEK367Qc7+mjyp0a0tK7gveMemmPtwAj/2GwZ2a8uWC0T7s7M+mFBlsvR HqSg8dE2ZcC84Svg4LbYJZRVmAoEInS4L0vaXEGqDsTpF/iN+tM1il0yDI4T214xL1se Q8R688NsVyMSx3xMeKJe7IT0BM/0Ebgt49Ml5MBT7a0Grfv6zZhZVMAJSFVnx3zh3wcY Z9rth69wa7xZRyWzGpjKEQVt6MlOYRI5kI/F2/Y3u2nlu9QImRKmaXbecucxEDLpzvCD rER6x2q4Vstr4wKp7pWmoCFGja2CWAl4SRFET1pNTg3DV/5DkddHq9HmEYY5OlawuEVA BJRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zz47yfLy/ulMb5qa2a04A7ZWOUdFOr060Wvsu7frOik=; b=COc+3mLvZkbPKH4wnrtmabWUfQmkv/NAPZ9d7hVFi/eJOG6/Mamr5aavZVo7BYcDIr BaFGRf5qBtE0jtMhjLWhMR365A67b0P0R7VBbJaEeRO5xrzATqsYglWY+4miC+Szenx+ Z5r5tAlLzKEzACaPAKdz+sgdpFGSDXX22ND0unLKdhyyqgdNxBb1wmKM+OS4ZNIl4Ym5 IkoET1FOZxFlvEp0kceoYWkD4JmerFwBfGMivSuIrtH9Ec+Ru2mGMKE5bqsXcdSWjMw/ qAd/h/vH18s90icDNnFmYjCAkcgRiPr9XAtJZDsQAh0ypeqihUtbsDHs8rEb3tlHdYWs t7jw==
X-Gm-Message-State: APjAAAVPwgNsMDGILv8PcBdVIJ6EmJmQy7m+k7uKIdDscKlkfstt4oXY /pdF1bZxq0rGthUEbFoBNLByMvA5TkUm1y9K+SM=
X-Google-Smtp-Source: APXvYqw39agS7OOzE/V3hGEI/oXqRsmwruHitQdsJAk8yhU0B+8HbwjZCfUC8KWM/zBM2YPp7TxtFWMIAKnUmRUzO3c=
X-Received: by 2002:a2e:98ca:: with SMTP id s10mr10742080ljj.160.1580140619502;  Mon, 27 Jan 2020 07:56:59 -0800 (PST)
MIME-Version: 1.0
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CACsn0cmZkRifrnbVbPw2=9ww+ttmbAGCW39LhT+jhDLLyU8e+A@mail.gmail.com> <CANCZdfo_cbo3UngOWEc4mM4_nLK=J81zSiF0shvsu5mENUGPMw@mail.gmail.com> <CANCZdfo-OW7d454Qqo9eqfOpw367A4gg4-2UJ5XdC=n0u_t+BQ@mail.gmail.com> <F7D6BF99-260C-467B-9AF7-94F1F5E2721B@frobbit.se> <CANCZdfoh0dTDLeJtJHaVtdSnpTc-jzc+nSUk2qDzrFcGr7=zfg@mail.gmail.com> <01C94076-A916-42F8-8BA7-8AE8C4AB71D2@frobbit.se> <9b5a6a5e-7727-8b5c-0e70-959e03a91561@meinberg.de>
In-Reply-To: <9b5a6a5e-7727-8b5c-0e70-959e03a91561@meinberg.de>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 27 Jan 2020 07:56:45 -0800
Message-ID: <CACsn0cmKV+y3nof7LUDZGvDKPPK6Q2sNZ1DB+a6DfPgg+XBuqw@mail.gmail.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>
Cc: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <paf=40frobbit.se@dmarc.ietf.org>,  Warner Losh <imp@bsdimp.com>, NTP WG <ntp@ietf.org>, Daniel Franke <dfoxfranke@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000521c59059d2128b4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/LTO0vdnNrr_Z0xho8uvOZfrlKYY>
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, 27 Jan 2020 15:57:04 -0000

--000000000000521c59059d2128b4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 27, 2020, 12:38 AM Martin Burnicki <martin.burnicki@meinberg.de=
>
wrote:

> Patrik F=C3=A4ltstr=C3=B6m wrote:
> > On 24 Jan 2020, at 15:12, Warner Losh wrote:
> >
> >> No. That is wrong. The numbering of the leap second is undefined. This
> is one way to resolve the issue, but it is not the only way. You will not
> find this specified, except indirectly via math on the struct tm, which
> isn't definitive about what to do during the leap.
> >
> > What I see are two things. First the math:
> >
> >> If the year is <1970 or the value is negative, the relationship is
> undefined. If the year is >=3D1970 and the value is non-negative, the val=
ue
> is related to a Coordinated Universal Time name according to the C-langua=
ge
> expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year are all
> integer types:
> >>
> >> tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
> >>     (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 -
> >>     ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400
> >
> > Then the definition of tm_sec which can have values [0,61].
>
> Yes, you can set tm_sec to 61, but how should the conversion function of
> the runtime library know that it shoudld return second 61 of the current
> day instead of second 0 of the next day? In POSIX there is no way I'm
> aware of that can be used to tell the conversion function that a
> specific second is an inserted leap second.
>

Operating systems with the ntp_adjtimex system call do return leapsecond
info. This includes linux and the *BSDs.

System call interfaces can be extended if we have needs here.


>
> Martin
> --
> Martin Burnicki
>
> Senior Software Engineer
>
> MEINBERG Funkuhren GmbH & Co. KG
> Email: 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=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Werne=
r Meinberg,
> Andre Hartmann, Heiko Gerstung
> Websites: https://www.meinberg.de  https://www.meinbergglobal.com
> Training: https://www.meinberg.academy
>
>

--000000000000521c59059d2128b4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Jan 27, 2020, 12:38 AM Martin Burnicki &lt;<a =
href=3D"mailto:martin.burnicki@meinberg.de">martin.burnicki@meinberg.de</a>=
&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Patrik F=C3=A4ltstr=C3=
=B6m wrote:<br>
&gt; On 24 Jan 2020, at 15:12, Warner Losh wrote:<br>
&gt; <br>
&gt;&gt; No. That is wrong. The numbering of the leap second is undefined. =
This is one way to resolve the issue, but it is not the only way. You will =
not find this specified, except indirectly via math on the struct tm, which=
 isn&#39;t definitive about what to do during the leap.<br>
&gt; <br>
&gt; What I see are two things. First the math:<br>
&gt; <br>
&gt;&gt; If the year is &lt;1970 or the value is negative, the relationship=
 is undefined. If the year is &gt;=3D1970 and the value is non-negative, th=
e value is related to a Coordinated Universal Time name according to the C-=
language expression, where tm_sec, tm_min, tm_hour, tm_yday, and tm_year ar=
e all integer types:<br>
&gt;&gt;<br>
&gt;&gt; tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0(tm_year-70)*31536000 + ((tm_year-69)/4)*86400 =
-<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0((tm_year-1)/100)*86400 + ((tm_year+299)/400)*8=
6400<br>
&gt; <br>
&gt; Then the definition of tm_sec which can have values [0,61].<br>
<br>
Yes, you can set tm_sec to 61, but how should the conversion function of<br=
>
the runtime library know that it shoudld return second 61 of the current<br=
>
day instead of second 0 of the next day? In POSIX there is no way I&#39;m<b=
r>
aware of that can be used to tell the conversion function that a<br>
specific second is an inserted leap second.<br></blockquote></div></div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">Operating systems with the ntp_a=
djtimex system call do return leapsecond info. This includes linux and the =
*BSDs.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">System call=
 interfaces can be extended if we have needs here.</div><div dir=3D"auto"><=
br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">
<br>
<br>
Martin<br>
-- <br>
Martin Burnicki<br>
<br>
Senior Software Engineer<br>
<br>
MEINBERG Funkuhren GmbH &amp; Co. KG<br>
Email: <a href=3D"mailto:martin.burnicki@meinberg.de" target=3D"_blank" rel=
=3D"noreferrer">martin.burnicki@meinberg.de</a><br>
Phone: +49 5281 9309-414<br>
Linkedin: <a href=3D"https://www.linkedin.com/in/martinburnicki/" rel=3D"no=
referrer noreferrer" target=3D"_blank">https://www.linkedin.com/in/martinbu=
rnicki/</a><br>
<br>
Lange Wand 9, 31812 Bad Pyrmont, Germany<br>
Amtsgericht Hannover 17HRA 100322<br>
Gesch=C3=A4ftsf=C3=BChrer/Managing Directors: G=C3=BCnter Meinberg, Werner =
Meinberg,<br>
Andre Hartmann, Heiko Gerstung<br>
Websites: <a href=3D"https://www.meinberg.de" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://www.meinberg.de</a>=C2=A0 <a href=3D"https://www=
.meinbergglobal.com" rel=3D"noreferrer noreferrer" target=3D"_blank">https:=
//www.meinbergglobal.com</a><br>
Training: <a href=3D"https://www.meinberg.academy" rel=3D"noreferrer norefe=
rrer" target=3D"_blank">https://www.meinberg.academy</a><br>
<br>
</blockquote></div></div></div>

--000000000000521c59059d2128b4--


From nobody Wed Jan 29 02:14:51 2020
Return-Path: <mlichvar@redhat.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 9D499120821 for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 02:14:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.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 0H2jyI6hLb3q for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 02:14:49 -0800 (PST)
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52496120130 for <ntp@ietf.org>; Wed, 29 Jan 2020 02:14:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580292888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rn1H/xYjfN6ogY2qBFrdL0lxcwmCxlMIGwpShhJTlK8=; b=EUFWy7NIJy1shMV5smgWIlpCKPSDg6hkQ+k26xPzkfcUVmcctOlmZwYEvRpxBtigYwo3qt f1bx6vPlpDWIFq70goOu9iU4yup5OliWRY8lYpHhlSbmbMtx4nwxKqfiyV/34U8+Y3NEZ8 /Km0CK40PbHKUfLxxLaN1VAcDSG9nak=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-415-DLLoMoXcNAOWVfBfBMovSg-1; Wed, 29 Jan 2020 05:14:45 -0500
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B20C313E9 for <ntp@ietf.org>; Wed, 29 Jan 2020 10:14:44 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 388FE5C1B5 for <ntp@ietf.org>; Wed, 29 Jan 2020 10:14:44 +0000 (UTC)
Date: Wed, 29 Jan 2020 11:14:42 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: ntp@ietf.org
Message-ID: <20200129101442.GJ20504@localhost>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-MC-Unique: DLLoMoXcNAOWVfBfBMovSg-1
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ls9Y_wAOkiELeDha8Jy5MknBJYw>
Subject: [Ntp] Encrypted NTS cookie placeholder
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: Wed, 29 Jan 2020 10:14:51 -0000

I noticed an interoperability issue with NTS servers that people here
have been using for testing.

The draft says in 5.7:
The client MAY include one or more NTS Cookie Placeholder extension
fields which MUST be authenticated and MAY be encrypted.

But that doesn't seem to be supported by most of the servers. Some
ignore encrypted Placeholders (sending a shorter response) and some
don't even respond to such a request. The implementors may want to
check that.

--=20
Miroslav Lichvar


From nobody Wed Jan 29 04:57:28 2020
Return-Path: <mart.langer@ostfalia.de>
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 685BC12011C for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 04:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 UncaXxxFvErG for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 04:57:24 -0800 (PST)
Received: from mx1.sonia.de (mx1.sonia.de [141.41.1.237]) (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 D65841200F5 for <ntp@ietf.org>; Wed, 29 Jan 2020 04:57:23 -0800 (PST)
Received: from mx1.sonia.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1C4EA1C800F7 for <ntp@ietf.org>; Wed, 29 Jan 2020 13:57:22 +0100 (CET)
Received: from exchange05.resource.sonia.de (exchange05.resource.sonia.de [141.41.8.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.sonia.de (Postfix) with ESMTPS id 19A771C800EC for <ntp@ietf.org>; Wed, 29 Jan 2020 13:57:21 +0100 (CET)
To: <ntp@ietf.org>
References: <20200129101442.GJ20504@localhost>
From: Martin Langer <mart.langer@ostfalia.de>
Message-ID: <5211fcff-ee87-fc14-24a8-b709434d4f9f@ostfalia.de>
Date: Wed, 29 Jan 2020 13:57:21 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2
MIME-Version: 1.0
In-Reply-To: <20200129101442.GJ20504@localhost>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Originating-IP: [141.41.8.54]
X-ClientProxiedBy: exchange03.resource.sonia.de (141.41.8.36) To exchange05.resource.sonia.de (141.41.8.147)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/OArhsvQkcVvkapQwReoxAP95xbs>
Subject: Re: [Ntp] Encrypted NTS cookie placeholder
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: Wed, 29 Jan 2020 12:57:27 -0000

Thanks for this information.

My implementation doesn't support encrypted NTS Cookie Placeholder right 
now.
Looks like I forgot this scenario. Thanks ;)

best regards,
Martin


Am 29.01.2020 um 11:14 schrieb Miroslav Lichvar:
> I noticed an interoperability issue with NTS servers that people here
> have been using for testing.
>
> The draft says in 5.7:
> The client MAY include one or more NTS Cookie Placeholder extension
> fields which MUST be authenticated and MAY be encrypted.
>
> But that doesn't seem to be supported by most of the servers. Some
> ignore encrypted Placeholders (sending a shorter response) and some
> don't even respond to such a request. The implementors may want to
> check that.
>

-- 
Martin Langer, M.Eng.
Ostfalia Hochschule für angewandte Wissenschaften
- Hochschule Braunschweig/Wolfenbüttel
University of Applied Sciences

Labor Datentechnik, Labor Design Digitaler Systeme
Fakultät Elektrotechnik
Salzdahlumer Straße 46/48
38302 Wolfenbüttel
Germany

Tel. : +49 5331 939 43370
Web  : https://www.ostfalia.de/cms/de/pws/bermbach/mitarbeiter/martin-langer


From ben@gridfabric.io  Thu Jan 23 12:28:11 2020
Return-Path: <ben@gridfabric.io>
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 EF4E7120C10 for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 12:28:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=gridfabric.io
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 Rrj3hylUZohq for <ntp@ietfa.amsl.com>; Thu, 23 Jan 2020 12:28:10 -0800 (PST)
Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 4281A120970 for <ntp@ietf.org>; Thu, 23 Jan 2020 12:28:10 -0800 (PST)
Received: by mail-yb1-xb2c.google.com with SMTP id x191so2288460ybg.12 for <ntp@ietf.org>; Thu, 23 Jan 2020 12:28:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridfabric.io; s=google; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=k5YJHEMgr1yYICneGor6cEIK+KjEnVuA3XMcErZ2RXU=; b=bXNhV3/FbCKXOsBEolEGVk+D5wr7uNrt/Lz7mUT2wW+DdP9PlVyb8M2Yh9jdAw3nng efnjRWePicrDHaoAXrJCoWXKfQRLuhvOb7w54N5JIWyqbohMecFrRLGnMezSk77aygN2 LCyk0+xItnfX9dQ2zNaEEZka1QxCTut/D1GjhqzW9TVdLWIwAmKbj7QFX/36dNM2hMp3 Luj0Vv2j6sgSSeaN2lciol87yVJlwHKIrOv4Z6D6E2bAskT1tKFdM3Abc/0zp5F8Pv+H jJ32npaeEBdUyX0vfvZ5A9GzuWWdYBUTbvjjK3kOtPFqR/Xkn/krF7pO8pK08eCSfhie VDLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=k5YJHEMgr1yYICneGor6cEIK+KjEnVuA3XMcErZ2RXU=; b=QEtqGGdXeqSWToV1Tm9nn/WPJMXynMA4AYwus1qbMJMGAzg00x42qz3Evk3UreIcZv kzmBrrvJRk/tjBlc1a8143qMVziHUCia/cl6L2qGD+rI5ri123BIcn0rgWjtVuX7wkyx a9TIK9kQBQRpxDif2sLZaL3GZ3IUdXUhLEj2e9+NqjRvgEui8lsNtSnYL+6ILu8cTz6m 2Iya/n2s6JMjt8WmaUgCQvUYBlt/d92RHXiPkbd43dXDMyWJfrpd6O8NPEfZFb6/+/f1 bRdhPzvPLhgku1ETtuXRg2zZocndNIIN+CIefWvH9ZoMcpZvijUi/Lc65F6sqWza+SAj XyrQ==
X-Gm-Message-State: APjAAAW+sOIpGP41HxA4aTwXipNG3Q+I/IrDTFYq3nqnKUfXq4IITjQc c9dxl/YnhLhWDrIOE6/zkrGd9a/oWGc=
X-Google-Smtp-Source: APXvYqwv5ksUwxP4nk5dusc0imePTYLK7hqNP7snk/oQaSxLnrvAlNXP+8cP/ks+1UUxlX19EBbglg==
X-Received: by 2002:a25:6883:: with SMTP id d125mr12279176ybc.484.1579811289272;  Thu, 23 Jan 2020 12:28:09 -0800 (PST)
Received: from [192.168.3.110] (cpe-24-164-245-44.new.res.rr.com. [24.164.245.44]) by smtp.gmail.com with ESMTPSA id p126sm1354509ywe.12.2020.01.23.12.28.08 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2020 12:28:08 -0800 (PST)
To: ntp@ietf.org
From: Benjamin <ben@gridfabric.io>
Message-ID: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io>
Date: Thu, 23 Jan 2020 14:28:07 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/DI8GcqZWCRNiiwcZWB0gk9bRjPE>
X-Mailman-Approved-At: Wed, 29 Jan 2020 08:10:18 -0800
Subject: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
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, 23 Jan 2020 20:38:31 -0000

Are there plans to continue work on Network Time Security for NTP?  
Looks like the latest draft expired on January 9 2020.

-- 
Benjamin DuPont
Cofounder
GridFabric LLC
ben@gridfabric.io | (920)328-5236
www.gridfabric.io


From nobody Wed Jan 29 08:12:03 2020
Return-Path: <dfoxfranke@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 981B012009C for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 08:12:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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_HELO_NONE=0.001, 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 mTlLH7BOLTfm for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 08:12:01 -0800 (PST)
Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 E56D7120088 for <ntp@ietf.org>; Wed, 29 Jan 2020 08:12:00 -0800 (PST)
Received: by mail-io1-xd36.google.com with SMTP id x1so294771iop.7 for <ntp@ietf.org>; Wed, 29 Jan 2020 08:12:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iOxTAFy3L1ZpAddJy4uyGkBm8+IrcMPapf+bTToly6Y=; b=V2/oNFzp2ws63LDQDfcMogmc/eP1KiaecaUMBfjUhL3mwytoWYo/VU7Sc7gTLZhu6L XSZHx/spc3DQ/+Gl383xQ/0GPN+FhKsmia6N1Ul2uBVVSaEyMoifa5k5xW6hFIVqXov+ H34yz0gSQg+pJYT/RiWnLSx1kwW1zS0Kt5Mmq40iVB+RifKDF8VZcsJ/mi4zM4s1UvlM k/jSksPpTJXVKG9zI1Yng//NUFgWVOGhdDrBT36ZkeIaBmCMH8OV0Tx9n/np6xKZKJyJ UNKrndLH12ILSxXNI3GetLnh651dBY8EVf1ASUGiGGFJoAGn413ePHhJzWQZpfnQ14KJ DPKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iOxTAFy3L1ZpAddJy4uyGkBm8+IrcMPapf+bTToly6Y=; b=Tny307ntoX/9iYQ1fqU6PPfUy8xB+PcX7/qDsFIXINIaV/qSa47eNvzvLC7ncgMNoC 63aFkjXv+BZ7d/54fs2cyYmRrqsk502QSBiBkCi3GzCCPVj1GhodOi+5jVSTTXfMZ459 HBDpAem+Bd/D3VAOaDj9mLjpCxoqqsGAI558ihOiP8oFSyVauMLOXA9QnoZxZzQ59bh1 yGVBzWGzAwUkmDcBaskM0c8YuDKFVCtRe0ExvqAF0Hays874DTfe1f9xiPFiIiGyyLNA /+nv99KzJ7f2o7U6xa0rBDLqphcIefxZBEX1r2EoIfuCIU6Qp7USCiBoL8WwhVAG9hSj NDkQ==
X-Gm-Message-State: APjAAAX6uBRwnAJ7QyhRjmmyr+Rz8X983Sk0DLo9YZDjrjITK0HgPy6U ES4X1T/tF0pknhORxeWsVeSBpNGwabRIULuVE1i7KfPn
X-Google-Smtp-Source: APXvYqzNvd2mF5Nh8CbKWAAD0mec6YzUCVKdaxiNMgXBezg7OB5yYR8OZmLWHGF2hK/zBDn0y6mBDJdo8I5pNbh5YYA=
X-Received: by 2002:a02:17c1:: with SMTP id 184mr21727757jah.140.1580314320104;  Wed, 29 Jan 2020 08:12:00 -0800 (PST)
MIME-Version: 1.0
References: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io>
In-Reply-To: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Wed, 29 Jan 2020 11:11:49 -0500
Message-ID: <CAJm83bD=BYnLQw4GQQcnMdqiXmw8NFWUsx0vox3ps8wFb+Y5HQ@mail.gmail.com>
To: Benjamin <ben@gridfabric.io>
Cc: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/y7S1eBaiuIowdWxCKyndfHS4XHA>
Subject: Re: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
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: Wed, 29 Jan 2020 16:12:03 -0000

Yes, it's been submitted for AD review. Expiration was an oversight,
I'll push an updated draft.

On Wed, Jan 29, 2020 at 11:10 AM Benjamin <ben@gridfabric.io> wrote:
>
> Are there plans to continue work on Network Time Security for NTP?
> Looks like the latest draft expired on January 9 2020.
>
> --
> Benjamin DuPont
> Cofounder
> GridFabric LLC
> ben@gridfabric.io | (920)328-5236
> www.gridfabric.io
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


From nobody Wed Jan 29 08:12:15 2020
Return-Path: <odonoghue@isoc.org>
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 879D612085F for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 08:12:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 LwIjaeN007oq for <ntp@ietfa.amsl.com>; Wed, 29 Jan 2020 08:12:07 -0800 (PST)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2081.outbound.protection.outlook.com [40.107.94.81]) (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 6D03F1201B7 for <ntp@ietf.org>; Wed, 29 Jan 2020 08:12:07 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jd/GxtPNKKowTlew75LKFrQJ6+4S4/dtASrNbeJzacaYRnWzzx16llcjYug69iG1xeZMt1/kIDtC9Qoppu2ntLxssltT+Pwufxu1dFMku2tfEvS9vCHQsZ18wKqiJRfjOwG9rEthv5Rcwlmm1VuB0UPvWx33YYiXTkuGvrPCCyxgMkPwKigG1xqQ3avKTJTsZe5OAwXB0OoYUrJnOpLhTWcc9bVG7tANNjBpVVFGe0aA3yrodJlCcDY9ScFgdHmWi9/CneAe2TecFkHKc6Vzi5b1rZcYz8rJ0w6FeFY+YXdtMlkxtrl5uz3gE9ogDQOcRiPNbjvarzbDnRnjLqMASg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5A1MKe1a9ZVp/jIQsJRFA5KmFCGURhv3hx/2p1iyNa0=; b=Z7bFncU4FZJQhOeb/ZS9AgJrzeBdMzyGg6j4mA6PqmuSdpHJtWmT7t8u3mK8QgRYclJs+HloQi0TDoX6md/rvt4xEC6QaqohER3DB8l7XuWPaxuTnu8E2Kgb9A9d0EQK665mXnbmTBIpj7tFyInzfYweqxpd1TGRl4JGoNzPvvrOzH0M3yCIch+wRo+XIOj11kxspo2aAD8l8qSVZR/PTUGMjx2ln0IzYUKiXm9raVgtGztVt+wbCGbSGyexvuJJSNkoLzlwtcr+IV/zg5hGeDiXObc78N/5/oR8Wzy/c1ARcTcp6P5GUbRZ2L4fYpbUK65F8tLMLQ+s9OTrJvQwIg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=isoc.org; dmarc=pass action=none header.from=isoc.org; dkim=pass header.d=isoc.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector2;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5A1MKe1a9ZVp/jIQsJRFA5KmFCGURhv3hx/2p1iyNa0=; b=n9HIR2D9qZDMG06q/qS/6Sxhu/zrAHxQ0Jr3cg+cp5ciMfO0cRxS0JqacPji9xAOZOIsBbEmjiafxZSOmtKhuCpzgqsWyWLPMtYN7xNjz1skKWi+y/q04zaNWbXS0EGwBh8hPrHiZWeaBXK2Bkj/SJcNylEN0ReQF9eGuc8jxgA=
Received: from DM5PR06MB3018.namprd06.prod.outlook.com (10.168.193.23) by DM5PR06MB2475.namprd06.prod.outlook.com (10.168.179.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.24; Wed, 29 Jan 2020 16:12:06 +0000
Received: from DM5PR06MB3018.namprd06.prod.outlook.com ([fe80::14e8:87a7:4f92:8c8d]) by DM5PR06MB3018.namprd06.prod.outlook.com ([fe80::14e8:87a7:4f92:8c8d%3]) with mapi id 15.20.2686.025; Wed, 29 Jan 2020 16:12:06 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: Benjamin <ben@gridfabric.io>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
Thread-Index: AQHV1r6ejafCZ0eQMEq02QXo6mKJ3qgBz/QP
Date: Wed, 29 Jan 2020 16:12:05 +0000
Message-ID: <DM5PR06MB301867578478E6381DAC0CAEC2050@DM5PR06MB3018.namprd06.prod.outlook.com>
References: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io>
In-Reply-To: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [108.176.20.2]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9cc7d618-3722-4545-1c90-08d7a4d5fc18
x-ms-traffictypediagnostic: DM5PR06MB2475:
x-microsoft-antispam-prvs: <DM5PR06MB247513B53DF6874EA623C7A1C2050@DM5PR06MB2475.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(366004)(346002)(39850400004)(376002)(199004)(189003)(7696005)(26005)(966005)(52536014)(91956017)(66946007)(186003)(478600001)(71200400001)(76116006)(64756008)(66556008)(9686003)(55016002)(66446008)(66476007)(2906002)(6506007)(53546011)(316002)(110136005)(5660300002)(19627405001)(33656002)(8676002)(81156014)(81166006)(86362001)(8936002)(4744005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR06MB2475; H:DM5PR06MB3018.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HwpmfhVEAQT+2rFBoV7L0oT8pjofoVc4udXtTRr0W5o21CL6MPxejh5Xi2aohPlsjsSHZngu7SE16vpM5jhOOfkJ1S4rIa6jGBI8bRllld1emcPa5c8D8hzfwp0MY2L7XzAO4pwiH2gehxJ93aC7IfH1nmONUmqmmbgJgURKM0JqGm1IM66MY9fT26BbJlPFUOAlsyXNF2i1ksW+1SOfnXFiaWSIB1NnzLmONGG6KNIqntsR7gS3hFv/OjXnYVYXDB+e+kV8LYqHtgQjwBO8H9nl93ypw7aaL+w9gnjmJwxEMYN1WvwUji1AvitLui/RXJ5I6F+r9FXXudbqLNqlAbgJDAtGsUscHcEtIijyhu1bvHUEZzODuEUo3buedQotBxgbgVGKpBSM3owSX5GzLIa63sHRI8//j/mMMAe8di0p4pjF/vD0zefAwi6wE7Oc+SXOseO1SlSxj8MJkCVlQNAs+7xHOvYa7F5Pr9hBHKciu7IQGOTu2jn/jJ7bMBL9rBcVEJflYQyzMm5DEzQM1w==
x-ms-exchange-antispam-messagedata: NZ0/cQQZgH7WW8Op5lMWUf9N4VjuoQfPtxKwZocTVP8SpGZXwe0cneqG00jRuwafYDEIn9bG8EcbG4rXAmsKjrLY54w01wqS58XomOR7RX69+RlEUL3T6Z3eqdhrGZzaHCBgXAynAN1hgmzN24HirQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM5PR06MB301867578478E6381DAC0CAEC2050DM5PR06MB3018namp_"
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 9cc7d618-3722-4545-1c90-08d7a4d5fc18
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2020 16:12:05.9043 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: vCz6iAYJvdwsI0XOp75lp2W05/vwtfWDg+2xA8rchamfp/gpazEI7VXn6+052cLhjSb1P9DqVUjQu0tcurCsiw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR06MB2475
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/vepxJb1r-LTPUde2D-AuxKMfpOU>
Subject: Re: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
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: Wed, 29 Jan 2020 16:12:14 -0000

--_000_DM5PR06MB301867578478E6381DAC0CAEC2050DM5PR06MB3018namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The draft has been submitted to the IESG for publication. There will be fin=
al updates as we move through the publication process. I'm hoping it will b=
e out for IETF Last Call any day now.

Karen
________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of Benjamin <ben@gridfabric.io>
Sent: Thursday, January 23, 2020 3:28 PM
To: ntp@ietf.org <ntp@ietf.org>
Subject: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp

Are there plans to continue work on Network Time Security for NTP?
Looks like the latest draft expired on January 9 2020.

--
Benjamin DuPont
Cofounder
GridFabric LLC
ben@gridfabric.io | (920)328-5236
www.gridfabric.io<http://www.gridfabric.io>

_______________________________________________
ntp mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp

--_000_DM5PR06MB301867578478E6381DAC0CAEC2050DM5PR06MB3018namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
The draft has been submitted to the IESG for publication. There will be fin=
al updates as we move through the publication process. I'm hoping it will b=
e out for IETF Last Call any day now.
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Karen<br>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> ntp &lt;ntp-bounces@i=
etf.org&gt; on behalf of Benjamin &lt;ben@gridfabric.io&gt;<br>
<b>Sent:</b> Thursday, January 23, 2020 3:28 PM<br>
<b>To:</b> ntp@ietf.org &lt;ntp@ietf.org&gt;<br>
<b>Subject:</b> [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp</font=
>
<div>&nbsp;</div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">Are there plans to continue work on Network Time S=
ecurity for NTP?&nbsp;
<br>
Looks like the latest draft expired on January 9 2020.<br>
<br>
-- <br>
Benjamin DuPont<br>
Cofounder<br>
GridFabric LLC<br>
ben@gridfabric.io | (920)328-5236<br>
<a href=3D"http://www.gridfabric.io">www.gridfabric.io</a><br>
<br>
_______________________________________________<br>
ntp mailing list<br>
ntp@ietf.org<br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp">https://www.ietf.org/=
mailman/listinfo/ntp</a><br>
</div>
</span></font></div>
</body>
</html>

--_000_DM5PR06MB301867578478E6381DAC0CAEC2050DM5PR06MB3018namp_--


From nobody Thu Jan 30 12:33:11 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 905E312022A; Thu, 30 Jan 2020 12:33:10 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.1
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <158041639053.10319.4507683407274880696@ietfa.amsl.com>
Date: Thu, 30 Jan 2020 12:33:10 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Ga9Q31bQpZc-AJK6K0ftK6gCrR8>
Subject: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-21.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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, 30 Jan 2020 20:33:10 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Network Time Security for the Network Time Protocol
        Authors         : Daniel Fox Franke
                          Dieter Sibold
                          Kristof Teichel
                          Marcus Dansarie
                          Ragnar Sundblad
	Filename        : draft-ietf-ntp-using-nts-for-ntp-21.txt
	Pages           : 43
	Date            : 2020-01-30

Abstract:
   This memo specifies Network Time Security (NTS), a mechanism for
   using Transport Layer Security (TLS) and Authenticated Encryption
   with Associated Data (AEAD) to provide cryptographic security for the
   client-server mode of the Network Time Protocol (NTP).

   NTS is structured as a suite of two loosely coupled sub-protocols.
   The first (NTS-KE) handles initial authentication and key
   establishment over TLS.  The second handles encryption and
   authentication during NTP time synchronization via extension fields
   in the NTP packets, and holds all required state only on the client
   via opaque cookies.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-21
https://datatracker.ietf.org/doc/html/draft-ietf-ntp-using-nts-for-ntp-21

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-using-nts-for-ntp-21


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu Jan 30 12:40:11 2020
Return-Path: <marcus.dansarie.nilsson@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 BD79312001A for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 12:40:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 kCIbNGjxK0pl for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 12:40:08 -0800 (PST)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 879E812002E for <ntp@ietf.org>; Thu, 30 Jan 2020 12:40:07 -0800 (PST)
Received: by mail-lj1-x229.google.com with SMTP id o11so4834107ljc.6 for <ntp@ietf.org>; Thu, 30 Jan 2020 12:40:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=sender:subject:to:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=T9JTbDKOMBbNqCNF7mEVlBBygjk4xXF/37GT21FcEtg=; b=UGBDMBpD1kisZtXay4y3kVrQBeqds29i732X/c9xTGFH3SfixoRcm3chiqYwoieBT3 2dK9CWc0iQZyvUgSNxjEHrPjq0VMZyCh+g1KknjQTdTM+qZHkJhe7MEX6gd/Nd4j03OQ xpWnqXnb32cIg/u2pfbpqtL8pERJkmh6dADRYdZ+1uLBakvdHqfVD+TSxczJo9IRfeM4 nfvmnEGtvPRQ+hFl3ouz8fI2f8yeOFQ7af0/fP3kHuIiY/HPGDXWn95f/zRHMkUaUd1f TSPc0UPD1r7Bg7CMRk1Og7W7MF/SAS8VQgnacBjvNe1USz//hu3Rlzn7hP9XcqccayHR oXPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=T9JTbDKOMBbNqCNF7mEVlBBygjk4xXF/37GT21FcEtg=; b=sHOkipOMBuvaKvKnTrQSSoWJgApnhHWrYitoIVp/ZO3YJQvL9D9C0wqO9qyWzBveoy oEUQurIILTfUwwktZuR5eSox7k1B/1yLFVCewup1qYaTvD3EPJtuM3VvyZWzHvSD+LhI ggeMaupaY7Xb5WXVCucD9EFFWTCJhGrJBLjgHXphLMoHyRt9GazSV+EkvVCeC8xPGn0M /GSNG+xMrKB52F7Q8+TNe9LF8Uc1GHVKBJFKTnhlYSXB6PKcgDmRMnCa2lhRRGzhsbub ooIXFWBm6D8G2PLa4TMz2sk5zkbeVZiuViRseKNkdfjD1n4sL63QNdpL9MtVMRY2e/8C 8ZhA==
X-Gm-Message-State: APjAAAWKjrTtB1rnSvHyC/wlp4IM0A8XuVQ5La5lIUlSoeYSSnRrpUZ4 LyMm9tDKxGlZ/XBzCMw9G76w0otKtkU=
X-Google-Smtp-Source: APXvYqyo+1JCqZ8ItDJZWV0p5hsfl9m+Qj/UYtDoeEco5x0qOkheNPwvrdnLVNQk6p7lfaFkp/5foA==
X-Received: by 2002:a2e:98c4:: with SMTP id s4mr4055973ljj.102.1580416805184;  Thu, 30 Jan 2020 12:40:05 -0800 (PST)
Received: from ?IPv6:2001:470:dfe6:0:7168:c63f:344a:952e? ([2001:470:dfe6:0:7168:c63f:344a:952e]) by smtp.gmail.com with ESMTPSA id m24sm4376476ljb.81.2020.01.30.12.40.04 for <ntp@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jan 2020 12:40:04 -0800 (PST)
Sender: Marcus Dansarie <marcus.dansarie.nilsson@gmail.com>
To: ntp@ietf.org
References: <158041639053.10319.4507683407274880696@ietfa.amsl.com>
From: Marcus Dansarie <marcus@dansarie.se>
Autocrypt: addr=marcus@dansarie.se; prefer-encrypt=mutual; keydata= mQINBFawEn4BEAC8YukDy8f3eczlE8WAcuctrjsNltPCLZDzcj3vBmiayXlXuPULOopqeuw4 +oaZqj4KqvdFBA1mzvwPll7IHePuwAoJYJr48IbIXc9MRjtLoFtd0KnhiVPUS8F2cmfzSJ8E FEv92sz6UT8/tlLEu6sNqr6/caYUivspuW5wf4f6nkSE+6rao9Nx9X03r289IPNBSZv+Y/Ym jWHDPpbT8WLUJZ+A8RsW/1oza609oAzqTkclmnRzip8wZZWNg3Q55P7onBmTIOrEz13My9r5 DWCMHyxXgFL1RJ9YW0t4yRkRm+HvOn3Vesk3m8CCGA6esHV0IPZmBOxJr3l+UQYuDiTgFufr WMpu5MvlyKGHS4fNd505DyyJY2G6eQLLrOq3nZy4qoZSL42TMxzYglexg+H6P/YsIIShk5Ch h/hNphXjrElDWhbGT5JiRWIivgSj/gq5QVBbDLR3b25n9PA0byGemfcEHLkii6EKyH7GW6v9 sgmvCmPfEfppYcOP2g9Jdt8RPitx0UBjoCzWAn0Py0NvlFDyz0FQhWDPig3yo1CG5ljb686v VBwcHJthczUV0rIyVzfmnikIb9ZjydHSX3fFwLz1IcIIX+INS58qA0SDqOoyP2WTYGZCDPVw GMMh+wMtAL2MICTr6vybFWB58m4PsI1j8Ri+AQiEkxyJauI2WQARAQABtCRNYXJjdXMgRGFu c2FyaWUgPG1hcmN1c0BkYW5zYXJpZS5zZT6JAlwEEwEIAEYCGwMCHgECF4ACGQEJCwkNCAwH CwoEBhUKCQ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 8kAcSCf4M9jwwoTXKcHYXHezaFgl8q4op2C0dLWoJihgjXLYHYiQPNiRtkHPOPocDJtu3T1U foURyeSY4YcBgderqZHZgygBpdU0Arc9C5wWy1t9WofUIg==
Message-ID: <19ed0d6e-fe73-fe91-b984-1f65f0ed2774@dansarie.se>
Date: Thu, 30 Jan 2020 21:39:57 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <158041639053.10319.4507683407274880696@ietfa.amsl.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uIYwkS6vw6qIdEl8rYMJZFTIOBlZcsAag"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/6U7c0GgYxe-lzijPnm501c8Zl20>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-21.txt
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, 30 Jan 2020 20:40:10 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uIYwkS6vw6qIdEl8rYMJZFTIOBlZcsAag
Content-Type: multipart/mixed; boundary="3fcvaP5FmjOOsYUZpiTrQ6cCq8TdWDfni"

--3fcvaP5FmjOOsYUZpiTrQ6cCq8TdWDfni
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

After approval from Karen and Dieter, I've submitted a new version of
the NTS draft which is in AD evaluation. It fixes these three minor issue=
s:
* The previous draft expired on January 9.
* An error in Section 1.2. found by Daniel Lublin.
* Added an error code for Internal Server Error, as suggested by Watson
Ladd.

The diff also shows a few formatting changes which are not due to
changes in the source XML file, but probably due to a change in how the
IETF website generates the HTML and text versions.

Kind regards,
Marcus

On 2020-01-30 21:33, internet-drafts@ietf.org wrote:
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts dire=
ctories.
> This draft is a work item of the Network Time Protocol WG of the IETF.
>=20
>         Title           : Network Time Security for the Network Time Pr=
otocol
>         Authors         : Daniel Fox Franke
>                           Dieter Sibold
>                           Kristof Teichel
>                           Marcus Dansarie
>                           Ragnar Sundblad
> 	Filename        : draft-ietf-ntp-using-nts-for-ntp-21.txt
> 	Pages           : 43
> 	Date            : 2020-01-30
>=20
> Abstract:
>    This memo specifies Network Time Security (NTS), a mechanism for
>    using Transport Layer Security (TLS) and Authenticated Encryption
>    with Associated Data (AEAD) to provide cryptographic security for th=
e
>    client-server mode of the Network Time Protocol (NTP).
>=20
>    NTS is structured as a suite of two loosely coupled sub-protocols.
>    The first (NTS-KE) handles initial authentication and key
>    establishment over TLS.  The second handles encryption and
>    authentication during NTP time synchronization via extension fields
>    in the NTP packets, and holds all required state only on the client
>    via opaque cookies.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/
>=20
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-21
> https://datatracker.ietf.org/doc/html/draft-ietf-ntp-using-nts-for-ntp-=
21
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-using-nts-for-ntp-21=

>=20
>=20
> Please note that it may take a couple of minutes from the time of submi=
ssion
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>=20


--3fcvaP5FmjOOsYUZpiTrQ6cCq8TdWDfni--

--uIYwkS6vw6qIdEl8rYMJZFTIOBlZcsAag
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPIi2jSSFxqOAzfAvwQgADsPhIeYFAl4zPyAACgkQwQgADsPh
Iea/QRAAnVtIcX0gUQDZEqSH1JcpmoDydKNdeRc8FeWPTmnV8VcjYmNzD6tmI9w0
+NWIJHyPF6vPVdU3vTk5ObAPGuAh3USUUjl3W+hzwkg2r7Ufj/UPDBa0zSYhYXk/
q/oZ/GjL6EDQuTOkXZopd9czmKmUNc7DWI+o93HktmsfbjWCSR9Cb3D9bHxe76t3
KSb63/gGHMDEp2inA/XognPFPfQ5EIGO8OCJbukJUkApCL054Xbf0AVTKFTMGLGO
geiUo4FRfa+nalEbVq7Od4xQZUC2EilcXuyD8hfrUgsZg+RlqjA1dc6QHoeVxN3B
00Qj3QwZAq4dp6yldiYYoKAv43gU2KKrE9Bl2Hvcsjgv6axdqRijVbmF/bjGUmMp
wZCzUj3IVXKhufTxT4Wv0dkIEt5iYxKWsLd5hAA3xxK/qlDdI/EGmqpEAR9oVbtq
56/tkNvMDtfeurNJRfu+vWkfCl7rA8urydQuSHw85+Dp8en4oe4EL0RCfilNnmkP
xEw9Cn9748zMiqYteOyzLp2hPELPzBhN1LzVaIeF4qIvjFM+EDBGWmw4fn+F77VC
N1Lr0Vrgq+GUrjkkTROcWARjYJ/ZxE97+wOtjng34KIPbC1C4xEpMLYK8cvDx2ng
60wcw73Bmo1ZY+chO/eImmHaxe/4jIgpyxebwdDZtFFmxG59whQ=
=oPjo
-----END PGP SIGNATURE-----

--uIYwkS6vw6qIdEl8rYMJZFTIOBlZcsAag--


From nobody Thu Jan 30 18:04:11 2020
Return-Path: <hmurray@megapathdsl.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 BFE4712004E for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 18:04:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 vSrqhhU2adQy for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 18:04:10 -0800 (PST)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id F1F4A12004C for <ntp@ietf.org>; Thu, 30 Jan 2020 18:04:09 -0800 (PST)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 779ED40605C; Thu, 30 Jan 2020 18:04:08 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: ntp@ietf.org
cc: hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Wed, 29 Jan 2020 11:14:42 +0100." <20200129101442.GJ20504@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 30 Jan 2020 18:04:08 -0800
Message-Id: <20200131020408.779ED40605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/dg7IqSfnRdL0aKj_iPfpmhywE0E>
Subject: Re: [Ntp] Encrypted NTS cookie placeholder
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: Fri, 31 Jan 2020 02:04:11 -0000

mlichvar@redhat.com said:
> The draft says in 5.7: The client MAY include one or more NTS Cookie
> Placeholder extension fields which MUST be authenticated and MAY be
> encrypted.

> But that doesn't seem to be supported by most of the servers. Some ignore
> encrypted Placeholders (sending a shorter response) and some don't even
> respond to such a request. The implementors may want to check that.

Thanks for catching that.

Would it be cleaner in the long run to pick one?  The idea is to simplify 
things so they are more likely to work and simpler to test.


-- 
These are my opinions.  I hate spam.




From nobody Fri Jan 31 04:27:28 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A789F12083F; Fri, 31 Jan 2020 04:27:27 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.116.1
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <158047364760.21203.13935635520144900932@ietfa.amsl.com>
Date: Fri, 31 Jan 2020 04:27:27 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/8BoYKacc5F2sieTv8zcmBRzR8ho>
Subject: [Ntp] I-D Action: draft-ietf-ntp-roughtime-00.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 31 Jan 2020 12:27:28 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Roughtime
        Authors         : Aanchal Malhotra
                          Adam Langley
                          Watson Ladd
	Filename        : draft-ietf-ntp-roughtime-00.txt
	Pages           : 17
	Date            : 2020-01-30

Abstract:
   This document specifies Roughtime - a protocol that aims to achieve
   rough time synchronization while detecting servers that provide
   inaccurate time and providing cryptographic proof of their
   malfeasance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-roughtime/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-ntp-roughtime-00
https://datatracker.ietf.org/doc/html/draft-ietf-ntp-roughtime-00


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri Jan 31 18:08:39 2020
Return-Path: <ben@gridfabric.io>
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 EF3D412008F for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 11:38:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=gridfabric.io
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 qjdAryQ0-sRa for <ntp@ietfa.amsl.com>; Thu, 30 Jan 2020 11:38:50 -0800 (PST)
Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (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 5C27E120128 for <ntp@ietf.org>; Thu, 30 Jan 2020 11:38:50 -0800 (PST)
Received: by mail-yb1-xb33.google.com with SMTP id w9so1973006ybs.3 for <ntp@ietf.org>; Thu, 30 Jan 2020 11:38:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridfabric.io; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=HpdTS36wPyd6nqGHuI9u2ywpIZ9vo3oUgJjEhFvoCHc=; b=cwJAMd7hsOIWILsVF2gqOBtSB8Mj2RL+HGBuKlIAe4lYYTcjNicQx9YFPQ9pieMOfG YGzE12CF3neUlspFhetvIkYkHbJIUfKL1MLRhYSuwO9dEpbjahjPVYwC1m/mtlJZ9g8r l/Lc/LYpLPxfPeh+W9SBW0U52WYmtRkfgdc3yU+1MoZ1HqY2SbBWUzCydE6k80/OHS8D nPpNnqqsBGL0J8jBI4d6AxC/5kpDrstxHTQLPDTizUQHzQxL119pjXSKI6ijFL9YX7YI PHctu2d2+RGtDUG/rWDUI5fvZQ9Aiecl63Z6s4MTfAtkw4tC38AXDui0j9BWD2B2QgOW sOtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=HpdTS36wPyd6nqGHuI9u2ywpIZ9vo3oUgJjEhFvoCHc=; b=s1OphevvMgIYHXlrA8nUIQq0bw/U7Khe09rfV6peOvf8h2Oa/Fx5eHZGWC4vTmoA4q gCik+rE80f5YycpAh27S5YOoYeuSAPAAxHJqtJGam0FFKcSNaf2t10ROxZmllo//oCWR T25LasH+fxjRNtNet2HfzjCEv7ZUohnJIPUdq4jV0wN65ivovVWTH/+N3Jkpfdy3oEg/ 7nv6oGvGW16A+/ImYvzQURiILBHk27BwIqLJBDgsmcfeubamMVQzbvOx7V7ybc1nqdH1 mdBHCHludofTQzPAzBuycLII/CNbDQa+ye0ST9LE5qDMNrn/yXXb4AISUSrKVw5DTZQ0 AwlA==
X-Gm-Message-State: APjAAAUQhhdv3pRoajrA7pSTlBlIbjRiKyN5rd+Qc2T/LbCm+3qkIJPY cyIYy0XAjvcKC1Vfspc6+rLI6q7hN34esw==
X-Google-Smtp-Source: APXvYqxQP8TkW/xNjVI9oHAx6TC+PQlI5exgcchf8Pw72c+gA8won4anJNANY27VCTf9T7tFfCg08Q==
X-Received: by 2002:a25:68c7:: with SMTP id d190mr5194335ybc.381.1580413129195;  Thu, 30 Jan 2020 11:38:49 -0800 (PST)
Received: from [192.168.3.110] (cpe-24-164-245-44.new.res.rr.com. [24.164.245.44]) by smtp.gmail.com with ESMTPSA id k139sm2947003ywe.97.2020.01.30.11.38.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jan 2020 11:38:48 -0800 (PST)
To: Karen O'Donoghue <odonoghue@isoc.org>, "ntp@ietf.org" <ntp@ietf.org>
References: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io> <DM5PR06MB301867578478E6381DAC0CAEC2050@DM5PR06MB3018.namprd06.prod.outlook.com>
From: Benjamin <ben@gridfabric.io>
Message-ID: <59d213f0-6296-c6d9-31d1-7ba14eef8a89@gridfabric.io>
Date: Thu, 30 Jan 2020 13:38:46 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <DM5PR06MB301867578478E6381DAC0CAEC2050@DM5PR06MB3018.namprd06.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------B876142B1ED07B942A203327"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IIvl3lndvL7qCCSSCXVL5bx-QKM>
X-Mailman-Approved-At: Fri, 31 Jan 2020 18:08:38 -0800
Subject: Re: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
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, 30 Jan 2020 19:38:52 -0000

This is a multi-part message in MIME format.
--------------B876142B1ED07B942A203327
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

I'm working with a CTA group that's defining baseline security 
requirements for IoT devices.  We're discussing the need for secure time 
syncing in situations where time is a critical component to the security 
of the system and would like to point to a standard.  To be clear, is 
this document complete and ready for industry?  Even if it's not, I 
think we'd still like to reference it as long as work on the document 
continues.


Ben


On 1/29/20 10:12 AM, Karen O'Donoghue wrote:
> The draft has been submitted to the IESG for publication. There will 
> be final updates as we move through the publication process. I'm 
> hoping it will be out for IETF Last Call any day now.
>
> Karen
> ------------------------------------------------------------------------
> *From:* ntp <ntp-bounces@ietf.org> on behalf of Benjamin 
> <ben@gridfabric.io>
> *Sent:* Thursday, January 23, 2020 3:28 PM
> *To:* ntp@ietf.org <ntp@ietf.org>
> *Subject:* [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
> Are there plans to continue work on Network Time Security for NTP?
> Looks like the latest draft expired on January 9 2020.
>
> -- 
> Benjamin DuPont
> Cofounder
> GridFabric LLC
> ben@gridfabric.io | (920)328-5236
> www.gridfabric.io <http://www.gridfabric.io>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp

-- 
Benjamin DuPont
Cofounder
GridFabric LLC
ben@gridfabric.io | (920)328-5236
www.gridfabric.io


--------------B876142B1ED07B942A203327
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I'm working with a CTA group that's defining baseline security
      requirements for IoT devices.  We're discussing the need for
      secure time syncing in situations where time is a critical
      component to the security of the system and would like to point to
      a standard.  To be clear, is this document complete and ready for
      industry?  Even if it's not, I think we'd still like to reference
      it as long as work on the document continues.<br>
    </p>
    <p><br>
    </p>
    <p>Ben</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/29/20 10:12 AM, Karen O'Donoghue
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DM5PR06MB301867578478E6381DAC0CAEC2050@DM5PR06MB3018.namprd06.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        The draft has been submitted to the IESG for publication. There
        will be final updates as we move through the publication
        process. I'm hoping it will be out for IETF Last Call any day
        now.
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Karen<br>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b> ntp
          <a class="moz-txt-link-rfc2396E" href="mailto:ntp-bounces@ietf.org">&lt;ntp-bounces@ietf.org&gt;</a> on behalf of Benjamin
          <a class="moz-txt-link-rfc2396E" href="mailto:ben@gridfabric.io">&lt;ben@gridfabric.io&gt;</a><br>
          <b>Sent:</b> Thursday, January 23, 2020 3:28 PM<br>
          <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:ntp@ietf.org">ntp@ietf.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:ntp@ietf.org">&lt;ntp@ietf.org&gt;</a><br>
          <b>Subject:</b> [Ntp] Mail regarding
          draft-ietf-ntp-using-nts-for-ntp</font>
        <div> </div>
      </div>
      <div class="BodyFragment"><font size="2"><span
            style="font-size:11pt;">
            <div class="PlainText">Are there plans to continue work on
              Network Time Security for NTP? 
              <br>
              Looks like the latest draft expired on January 9 2020.<br>
              <br>
              -- <br>
              Benjamin DuPont<br>
              Cofounder<br>
              GridFabric LLC<br>
              <a class="moz-txt-link-abbreviated" href="mailto:ben@gridfabric.io">ben@gridfabric.io</a> | (920)328-5236<br>
              <a href="http://www.gridfabric.io" moz-do-not-send="true">www.gridfabric.io</a><br>
              <br>
              _______________________________________________<br>
              ntp mailing list<br>
              <a class="moz-txt-link-abbreviated" href="mailto:ntp@ietf.org">ntp@ietf.org</a><br>
              <a href="https://www.ietf.org/mailman/listinfo/ntp"
                moz-do-not-send="true">https://www.ietf.org/mailman/listinfo/ntp</a><br>
            </div>
          </span></font></div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Benjamin DuPont
Cofounder
GridFabric LLC
<a class="moz-txt-link-abbreviated" href="mailto:ben@gridfabric.io">ben@gridfabric.io</a> | (920)328-5236
<a class="moz-txt-link-abbreviated" href="http://www.gridfabric.io">www.gridfabric.io</a></pre>
  </body>
</html>

--------------B876142B1ED07B942A203327--


From nobody Fri Jan 31 18:33:44 2020
Return-Path: <dfoxfranke@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 B679E1200A1 for <ntp@ietfa.amsl.com>; Fri, 31 Jan 2020 18:33:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 jRCxKVvA8hvj for <ntp@ietfa.amsl.com>; Fri, 31 Jan 2020 18:33:40 -0800 (PST)
Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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 7E03B12003F for <ntp@ietf.org>; Fri, 31 Jan 2020 18:33:40 -0800 (PST)
Received: by mail-il1-x135.google.com with SMTP id f5so7955421ilq.5 for <ntp@ietf.org>; Fri, 31 Jan 2020 18:33:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DPiiw8Mf8TYYbN1o/CvJIGzcYTMWbAseTs14LHM5hyg=; b=G6dFbXlLfkls3kJxZA2OwYvZkECmeLJsMJdzfgMMSgi086ojDEfKuuV4NwFIiQnZd9 A4p26/U9NsdBsvhHbvaCU/1IOKGtY8zxz3d+ryb9vYvk4YTLXX+HBDo1SUG08v5eQf91 Twj51GFUJutuLEphydg8WCHBPS2XEKWiTs7EXQ/GcD9zpkH0/02ZuSJUSKybhukBnOOz 5aNw4ZXJ7TcQjVI9ekLMs7kZ2Zo2+URZiy0dd9tZ2rVSTD9We4AQpWxjCjO4nZ0W6NGa NxTT6wsy7oOZRoIOlLeaZJnljKgUPoRz5J+UbCbYctq0v1DSWW+lscovtwEUbiIDW3D6 nmjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DPiiw8Mf8TYYbN1o/CvJIGzcYTMWbAseTs14LHM5hyg=; b=U20nr7wccWD8BoKaSmT5Yd+c67wyDfUBFhnxjfFTnL5ZJJ38uF/vkuKHm2cvXjYZh9 Z0ajhZZuCsDS9ijJsFFTpdQtm33N4BlTQ6P+WUKcseP8n5o47TBBmL+vVEykh3sUcp3i 49h9A+lVGPhDtdk1uVNewmBMYBBc0nsEcG4i3t7KxYf36G8vsgYDImtoZLPbp8qjyj80 RiPcg0qDs7/rFHbchQy8rJQsXX1LhhN7MKS9lletRFBD7Bvroah6BTmUa/LGI7mhV1Jh tO1BsvUWv4oOufKfAtxXeShezJSeIIkWeJGZEhCwGgagpaPEz3w8V7mJLBxUS4Z5S9tB rMXg==
X-Gm-Message-State: APjAAAUPnExHXgd/aCb24eDJhDFOsffaKfV/1/ODJcwm6woq+37ol03k iVvpAIgAgINQFNpZ4SeLcyUB/mLlee3aTxsC9H+PiF25
X-Google-Smtp-Source: APXvYqyB0rqsOUp1JZ2IvL+PS6uEw2z3jwSNaffNJ/nkZeeAnUvo2Gb78ukMuE5Yr6sle//tTBair1mefC9GpPschBQ=
X-Received: by 2002:a92:d708:: with SMTP id m8mr5371254iln.244.1580524419790;  Fri, 31 Jan 2020 18:33:39 -0800 (PST)
MIME-Version: 1.0
References: <03b0e175-2bac-d52a-2b7a-99d21e074307@gridfabric.io> <DM5PR06MB301867578478E6381DAC0CAEC2050@DM5PR06MB3018.namprd06.prod.outlook.com> <59d213f0-6296-c6d9-31d1-7ba14eef8a89@gridfabric.io>
In-Reply-To: <59d213f0-6296-c6d9-31d1-7ba14eef8a89@gridfabric.io>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Fri, 31 Jan 2020 21:33:27 -0500
Message-ID: <CAJm83bBZ2=QZ4Ycjkn65FUqeCdCbLmVgy5GE9+0SMyeE9nra4Q@mail.gmail.com>
To: Benjamin <ben@gridfabric.io>
Cc: "Karen O'Donoghue" <odonoghue@isoc.org>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000099bc93059d7a84e8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/PEGappHj29CmAQmk4Te_kQ9uzb0>
Subject: Re: [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
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: Sat, 01 Feb 2020 02:33:43 -0000

--00000000000099bc93059d7a84e8
Content-Type: text/plain; charset="UTF-8"

Officially, NTS is still an Internet Draft, which means it's not final and
should only be cited as "Work in Progress"; see the section "Status of This
Memo". Unofficially, it's been pretty stable for well over a year now and
is unlikely to change much more before publication. NTS has enough
interoperable implementations that I've lost track of the exact number. You
can certainly at least get started incorporating it into drafts of other
standards so long as you're willing to wait on us to publish before you do.

On Fri, Jan 31, 2020, 21:08 Benjamin <ben@gridfabric.io> wrote:

> I'm working with a CTA group that's defining baseline security
> requirements for IoT devices.  We're discussing the need for secure time
> syncing in situations where time is a critical component to the security of
> the system and would like to point to a standard.  To be clear, is this
> document complete and ready for industry?  Even if it's not, I think we'd
> still like to reference it as long as work on the document continues.
>
>
> Ben
>
>
> On 1/29/20 10:12 AM, Karen O'Donoghue wrote:
>
> The draft has been submitted to the IESG for publication. There will be
> final updates as we move through the publication process. I'm hoping it
> will be out for IETF Last Call any day now.
>
> Karen
> ------------------------------
> *From:* ntp <ntp-bounces@ietf.org> <ntp-bounces@ietf.org> on behalf of
> Benjamin <ben@gridfabric.io> <ben@gridfabric.io>
> *Sent:* Thursday, January 23, 2020 3:28 PM
> *To:* ntp@ietf.org <ntp@ietf.org> <ntp@ietf.org>
> *Subject:* [Ntp] Mail regarding draft-ietf-ntp-using-nts-for-ntp
>
> Are there plans to continue work on Network Time Security for NTP?
> Looks like the latest draft expired on January 9 2020.
>
> --
> Benjamin DuPont
> Cofounder
> GridFabric LLC
> ben@gridfabric.io | (920)328-5236
> www.gridfabric.io
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>
> --
> Benjamin DuPont
> Cofounder
> GridFabric LLCben@gridfabric.io | (920)328-5236www.gridfabric.io
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--00000000000099bc93059d7a84e8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Officially, NTS is still an Internet Draft, which me=
ans it&#39;s not final and should only be cited as &quot;Work in Progress&q=
uot;; see the section &quot;Status of This Memo&quot;. Unofficially, it&#39=
;s been pretty stable for well over a year now and is unlikely to change mu=
ch more before publication. NTS has enough interoperable implementations th=
at I&#39;ve lost track of the exact number. You can certainly at least get =
started incorporating it into drafts of other standards so long as you&#39;=
re willing to wait on us to publish before you do.<br><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 31, 2020, 21:08=
 Benjamin &lt;<a href=3D"mailto:ben@gridfabric.io">ben@gridfabric.io</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p>I&#39;m working with a CTA group that&#39;s defining baseline securi=
ty
      requirements for IoT devices.=C2=A0 We&#39;re discussing the need for
      secure time syncing in situations where time is a critical
      component to the security of the system and would like to point to
      a standard.=C2=A0 To be clear, is this document complete and ready fo=
r
      industry?=C2=A0 Even if it&#39;s not, I think we&#39;d still like to =
reference
      it as long as work on the document continues.<br>
    </p>
    <p><br>
    </p>
    <p>Ben</p>
    <p><br>
    </p>
    <div>On 1/29/20 10:12 AM, Karen O&#39;Donoghue
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
     =20
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        The draft has been submitted to the IESG for publication. There
        will be final updates as we move through the publication
        process. I&#39;m hoping it will be out for IETF Last Call any day
        now.
        <br>
      </div>
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        <br>
      </div>
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        Karen<br>
      </div>
      <hr style=3D"display:inline-block;width:98%">
      <div id=3D"m_3452079557497749143divRplyFwdMsg" dir=3D"ltr"><font styl=
e=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#000000"><b>From=
:</b> ntp
          <a href=3D"mailto:ntp-bounces@ietf.org" target=3D"_blank" rel=3D"=
noreferrer">&lt;ntp-bounces@ietf.org&gt;</a> on behalf of Benjamin
          <a href=3D"mailto:ben@gridfabric.io" target=3D"_blank" rel=3D"nor=
eferrer">&lt;ben@gridfabric.io&gt;</a><br>
          <b>Sent:</b> Thursday, January 23, 2020 3:28 PM<br>
          <b>To:</b> <a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=
=3D"noreferrer">ntp@ietf.org</a> <a href=3D"mailto:ntp@ietf.org" target=3D"=
_blank" rel=3D"noreferrer">&lt;ntp@ietf.org&gt;</a><br>
          <b>Subject:</b> [Ntp] Mail regarding
          draft-ietf-ntp-using-nts-for-ntp</font>
        <div>=C2=A0</div>
      </div>
      <div><font size=3D"2"><span style=3D"font-size:11pt">
            <div>Are there plans to continue work on
              Network Time Security for NTP?=C2=A0
              <br>
              Looks like the latest draft expired on January 9 2020.<br>
              <br>
              -- <br>
              Benjamin DuPont<br>
              Cofounder<br>
              GridFabric LLC<br>
              <a href=3D"mailto:ben@gridfabric.io" target=3D"_blank" rel=3D=
"noreferrer">ben@gridfabric.io</a> | (920)328-5236<br>
              <a href=3D"http://www.gridfabric.io" target=3D"_blank" rel=3D=
"noreferrer">www.gridfabric.io</a><br>
              <br>
              _______________________________________________<br>
              ntp mailing list<br>
              <a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"nore=
ferrer">ntp@ietf.org</a><br>
              <a href=3D"https://www.ietf.org/mailman/listinfo/ntp" target=
=3D"_blank" rel=3D"noreferrer">https://www.ietf.org/mailman/listinfo/ntp</a=
><br>
            </div>
          </span></font></div>
    </blockquote>
    <pre cols=3D"72">--=20
Benjamin DuPont
Cofounder
GridFabric LLC
<a href=3D"mailto:ben@gridfabric.io" target=3D"_blank" rel=3D"noreferrer">b=
en@gridfabric.io</a> | (920)328-5236
<a href=3D"http://www.gridfabric.io" target=3D"_blank" rel=3D"noreferrer">w=
ww.gridfabric.io</a></pre>
  </div>

_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"noreferrer">ntp@ie=
tf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br=
>
</blockquote></div></div></div>

--00000000000099bc93059d7a84e8--

