Re: [Ntp] Leap second draft
Kurt Roeckx <kurt@roeckx.be> Sat, 30 March 2019 14:57 UTC
Return-Path: <kurt@roeckx.be>
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 3879A1201EF for <ntp@ietfa.amsl.com>; Sat, 30 Mar 2019 07:57:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 a4B8u9A5JwrR for <ntp@ietfa.amsl.com>; Sat, 30 Mar 2019 07:57:41 -0700 (PDT)
Received: from excelsior.roeckx.be (excelsior.roeckx.be [IPv6:2a05:7300:0:100::3]) (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 48C871201F8 for <ntp@ietf.org>; Sat, 30 Mar 2019 07:57:41 -0700 (PDT)
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id B1415A8A0C45; Sat, 30 Mar 2019 14:57:38 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 7AB161FE0B41; Sat, 30 Mar 2019 15:57:38 +0100 (CET)
Date: Sat, 30 Mar 2019 15:57:37 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: ntp@ietf.org
Message-ID: <20190330145737.GG7706@roeckx.be>
References: <CAJm83bD5Ozkpg5TpkogOW6xeeNQL3ZziLO9URM7haqN8Wrp=Wg@mail.gmail.com> <CAJm83bCbVzO3NNCbjTy+O_16T7DBeA7O6018WWGu_-GyuN-8UA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAJm83bCbVzO3NNCbjTy+O_16T7DBeA7O6018WWGu_-GyuN-8UA@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/dC-rpTYUK2FyvFA-IH0pSNNzpIk>
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: Sat, 30 Mar 2019 14:57:56 -0000
On Fri, Mar 29, 2019 at 08:57:42PM +0100, Daniel Franke wrote: > 3. The Leap Data and Era Number extension field > > The Leap Data and Era Number extension field SHALL be formatted as > shown in Figure 1. > > 0 1 2 3 > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Field Type | Length | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > |ELI|F|R|X| res | Era Number | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | TAI-UTC Offset | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | | > . Padding . > | | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > Figure 1: Leap Data and Era Number extension field format > > The fields are defined as follows: > > Field Type: MUST be set to [[TBD]]. > > Length: The length of the extension field as specified by > [RFC7822]. > > ELI: The Extended Leap Indicator, as specified below. > > F: When set, indicates that the Reference Timestamp was captured > during a leap second. > > R: When set, indicates that the Receive Timestamp was captured > during a leap second. > > X: When set, indicates that the Transmit Timestamp was captured > during a leap second > > res: These three bits are unused and reserved. Senders MUST set > them to 0. Receivers MUST igonre them. > > Era Number: The era, as defined in [RFC5905], during which the > Receive Timestamp was captured, given as an unsigned 24-bit > integer in network byte order. > > TAI-UTC Offset: The value DTAI as defined in [ITU.T4.1996], > expressed as a 32-bit signed two's-complement integer in network > byte order, as of the time reflected by the Receive Timestamp. If > the Receive Timestamp is captured during a leap second, the given > TAI-UTC SHALL be as of just prior to the beginning of that leap > second. In some other mail you wrote: > However, I do note that the current draft implements only part of what > I recommended, and I think it would be further improved by doing the > rest of it as well. To reiterate what I recommended, in place of the > current LEAP tag, provide the following three tags: > > MRLS - a TAI timestamp representing the time at which the > most-recently published leap second ends. This may be in either the > future or the past. > > LSDI - A bit indicating whether the leap second given in MRLS is an > insertion or a deletion. > > UTCO - What the TAI-UTC offset was or will be as of the time given > in MRLS. So I'm wondering why this MRLS is not part of this draft and that ELI is 2 bits instead of the 1 bit LSDI. Using that combination would at least avoid the comments about it being possible to have a leap second every 1 or 6 months. Kurt
- [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Tony Finch
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Dieter Sibold
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Steve Allen
- Re: [Ntp] Leap second draft Steve Allen
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Steve Allen
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Steve Allen
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Steve Allen
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Daniel Franke
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Tony Finch
- Re: [Ntp] Leap second draft Tony Finch
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Tony Finch
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Miroslav Lichvar
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Kurt Roeckx
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Patrik Fältström
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Patrik Fältström
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Warner Losh
- Re: [Ntp] Leap second draft Patrik Fältström
- Re: [Ntp] Leap second draft Warner Losh
- [Ntp] Antw: Re: Leap second draft Ulrich Windl
- [Ntp] Antw: Re: Leap second draft Ulrich Windl
- [Ntp] Antw: Re: Leap second draft Ulrich Windl
- [Ntp] Antw: Re: Leap second draft Ulrich Windl
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Antw: Re: Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Watson Ladd
- Re: [Ntp] Leap second draft Martin Burnicki
- Re: [Ntp] Leap second draft Warner Losh