Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to move timescale offset into extension fields.
David Venhoek <david@venhoek.nl> Fri, 13 January 2023 14:19 UTC
Return-Path: <david@venhoek.nl>
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 5890AC1522B2 for <ntp@ietfa.amsl.com>; Fri, 13 Jan 2023 06:19:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, 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=venhoek-nl.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I8veVdHidspv for <ntp@ietfa.amsl.com>; Fri, 13 Jan 2023 06:19:43 -0800 (PST)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57F82C14CE27 for <ntp@ietf.org>; Fri, 13 Jan 2023 06:19:42 -0800 (PST)
Received: by mail-pj1-x102d.google.com with SMTP id o7-20020a17090a0a0700b00226c9b82c3aso24507233pjo.3 for <ntp@ietf.org>; Fri, 13 Jan 2023 06:19:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venhoek-nl.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=zLl4OTSt2mQK8ehHrtWUWAhCqbSWQYS03fLYLUsU56Q=; b=S10T/kfqMYOJnauRCWt0IAFDYjLX/psYyGiCFyTRhMF/pE9scl0Y561awuv8Q1FNmL m/Oe1vbSSJ1jdJTF6dVi/16Kmr9zEnTqzHnoovflCd8XkYgjC2ueRtiNp4PCo0D2FyYO Ak+If/+prvkS3yQqzYchfaZd8BaWm/eMhX4Ha2ADGA6jISXgLye3Tl/XzCCWoHmlEtBC BplepEpMY0Ui5O+rVdpSzXxXnKXM9nS+1y/sjBE/yY9uRcljL0NA/WZfV0WJ9kSfXD3t bzQ3t9r6a0XGwgnt+6CrmdfJiclZyW1LEIJk7xMcPFLNWHuGpI3rr3LC0g2gQhFsBTDW nULg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zLl4OTSt2mQK8ehHrtWUWAhCqbSWQYS03fLYLUsU56Q=; b=JDD+JRtTQuONmDgmp0+sq5R2QVwIu5KEXBiSy0nbHGeA3q4UgXOwts7wB7K5Uag1yp LuEt5zY8NXmwnxOVhWUfM6F+QF9HHKDAhC6LNlUb3zdkeVy/v6MUv8WNqffyL9gjD5sa NUwK2wt7wVjlkutBlO9HoHzT4deQMofLIzyHxb0Nn0ofIKVwF/sYHOjHMTzcWB7jtCMb D3eKZSkkE669XRzLwvJ4Ut3Qrk6wbHYPMByCHMZ9Ob16/UtTwCBKVtKLgv6kRIEPFlMv MWEbY8dWWTpyUYh9dxGtwtrt9bs/oVW0Met8lAGPwxfd7sCURLDew5a96MXbQGu6tq1n f4Pg==
X-Gm-Message-State: AFqh2kozj3aXJMoXWs9hTyip3duPc6W3n0cgJhghX5EglN57LrxIzmQl g0IdTPchEXI1vSn/Z/XKvBgpybf9eB9TWZCAtVOv0h/og1XA0Q==
X-Google-Smtp-Source: AMrXdXva8Zx1o9rBQnfWeynITPmleyYduMSfl7j3x2qGba89gzmwjj74Lyw1g2//lIbDIlaE9tlH8C6TAMaNSfAkuC4=
X-Received: by 2002:a17:90a:2b03:b0:218:9963:7138 with SMTP id x3-20020a17090a2b0300b0021899637138mr8118973pjc.43.1673619581582; Fri, 13 Jan 2023 06:19:41 -0800 (PST)
MIME-Version: 1.0
References: <CAPz_-SU7rctchBVvm59YAoEA7p8Or9aqdGovJ2E98Tp85jVsWQ@mail.gmail.com> <Y2jCtzeJZfz2daYJ@localhost> <CAPz_-SVkFZaycpimBGy-pZRgwxo9pdnrmh7QDd-=+qvXfdFKRw@mail.gmail.com> <63691D61020000A10004F69D@gwsmtp.uni-regensburg.de>
In-Reply-To: <63691D61020000A10004F69D@gwsmtp.uni-regensburg.de>
From: David Venhoek <david@venhoek.nl>
Date: Fri, 13 Jan 2023 15:19:30 +0100
Message-ID: <CAPz_-SWE0UxBoRe6Orr0-t7Mq7z5O-QnyGk+zBNDjDcTd5TxpQ@mail.gmail.com>
To: "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/MDgnvVxpx8ASjFkxhY-g91iyfWE>
Subject: Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to move timescale offset into extension fields.
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Network Time Protocol <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, 13 Jan 2023 14:19:44 -0000
Dear All, This took me a bit longer to think through than I originally intended, but since it came up during the last virtual interrim: I think miroslav's suggestion for changing to providing a second receive timestamp in the extension field is a very good idea. After thinking about it a bit more, I think it would be best to also include an explicit era number in that extension field. This would give us maximum flexibility in the future with regards to the zero point of new timescales, instead of having that be forced to within a window of about 70 years (wraparound is every ~140 years, so if two zero points are more than ~70 years apart the "closest" era heuristic no longer works). As for using the extension field id to also encode the timescale, if we include the era that is not needed, but even if we don't I am a bit uncomfortable reserving a whole block of 256 ids for essentially one message (we only have about 240 of those). Especially as we might want to in the future provide other extension fields for information on timescales (such as frequency relations), and in that case this would become multiple blocks if we want to keep the structure similar. I think the 3 bytes (or 2 bytes if era number is included) that this wastes is not worth the increased pressure this puts on the extension field ids space. Kind regards, David Venhoek On Mon, Nov 7, 2022 at 3:59 PM Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> wrote: > > >>> David Venhoek <david@venhoek.nl> schrieb am 07.11.2022 um 15:28 in Nachricht > <CAPz_-SVkFZaycpimBGy-pZRgwxo9pdnrmh7QDd-=+qvXfdFKRw@mail.gmail.com>: > > In response to ulrich, NTPv4 has a similar restriction where normal > > clients should not synchronize to strata higher than 15. However, that > > was not yet part of the NTPv5 draft, the comment here was merely to > > suggest that clients should not synchronize to servers with strata > > higher than that, even though we can now represent (just like in > > NTPv4). I am not really sure what you mean with the mapping part of > > your comment, if I missed something important there could you please > > elaborate? > > I meant (if I understood the NTPv4 correctly): > If any stratum > 15 is mapped to zero before transmission, what sense will it make to have higher values, unless adjusting that value of ">15" (MAXSTRAT) at the same time. > > [...] > > Regards, > Ulrich > >
- [Ntp] NTPv5 draft suggestion to move timescale of… David Venhoek
- Re: [Ntp] NTPv5 draft suggestion to move timescal… Miroslav Lichvar
- [Ntp] Antw: [EXT] NTPv5 draft suggestion to move … Ulrich Windl
- Re: [Ntp] NTPv5 draft suggestion to move timescal… Miroslav Lichvar
- Re: [Ntp] NTPv5 draft suggestion to move timescal… David Venhoek
- Re: [Ntp] NTPv5 draft suggestion to move timescal… Miroslav Lichvar
- [Ntp] Antw: [EXT] Re: NTPv5 draft suggestion to m… Ulrich Windl
- Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to mov… David Venhoek
- Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to mov… Miroslav Lichvar
- Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to mov… David Venhoek
- Re: [Ntp] [EXT] Re: NTPv5 draft suggestion to mov… Miroslav Lichvar
- [Ntp] Antw: Re: [EXT] Re: NTPv5 draft suggestion … Ulrich Windl
- Re: [Ntp] Antw: Re: [EXT] Re: NTPv5 draft suggest… David Venhoek
- [Ntp] Antw: Re: Antw: Re: [EXT] Re: NTPv5 draft s… Ulrich Windl