Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (5020)

Erik Kline <ek.ietf@gmail.com> Thu, 28 July 2022 15:32 UTC

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 A7843C185715; Thu, 28 Jul 2022 08:32:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.098
X-Spam-Level:
X-Spam-Status: No, score=-7.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E7CKU07QsUfA; Thu, 28 Jul 2022 08:32:52 -0700 (PDT)
Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (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 589B7C18872D; Thu, 28 Jul 2022 08:30:52 -0700 (PDT)
Received: by mail-vs1-xe2a.google.com with SMTP id c3so1936693vsc.6; Thu, 28 Jul 2022 08:30:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WAQey3G+N0C5/e39aoZYgLhhzEFll/+O1ztnP1iEV5o=; b=foD/F+Toh/vQY9AabJgm1qkvpo+psojIpye8FX2kqVnQo/aDz+wgPEUotXXWgmS5+m PBaImu70Zl0t0FazHKT9MiYHu1L7FZBYbGqc5UnLc5RSUaMnrt5HuJ5rQF+iU6m1Fq+9 +ghlXPBNio6aLg7XmBpytU/0U2Y06rWpfLQzlgasJuPZmSXzHmx09rT/01SeN0yWcg6X ffTXEpxXeXufORpIl5GhCAVyQBjDP9l39iT0SjBwKluIrnGmh9DTdJ+zxgs1J2/NTdRK GmgMpGlymScGp+rf07+ZT2T8ZNlnxzvA+e3ABE/EbmRYAsp0ihXGjx54rvbZWPLDRkLc SAQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WAQey3G+N0C5/e39aoZYgLhhzEFll/+O1ztnP1iEV5o=; b=fiEk4jBX+1rDpawK92/LGDPzMLCxzbLMExbH7rqwfMHuA6XwsdnyNDky4LMHK8RBRK 3AiX6a3DPRBHE7p0X1aeCx3EGgVUPX/mepFQcBiGrXfAMygu7Dz9pqj6WZWfnUrn1wDn Q7Up5ZG2dD7n5Vp0udRRuMbttLorddkXm32HFJq83uMgrinJzzKY87ScH6dV7l5wDEvT acLniEZ90f+8KvGi8arn/mJ5rrHO5Ku3hbWpflGdOZPcfZLqldaz39QmJA5CXBOdGs6T /ql1HwE1nXuwAT6pA/DUlxEsawRxMljqKmxKYy4M/H9AMBr+KiJ1pSXd1UsHT23SLC8v rfWw==
X-Gm-Message-State: AJIora84Fp3jZGWvrLhc6CbSD/NaokuEU1HzW3utxd2oGQ7Hg9QvTpmd w5FTaVISPbjyDxZRC1gkaSWy/jMxHyWpMvwm/GQ=
X-Google-Smtp-Source: AGRyM1smBXzVrXBo1yr+eif6gw0Ra8YFJSAan3WgyITCtTw8p7DmEoJ+e1xVEyWaxv3ZLFQg9XtqxoBg0xxYgarBj18=
X-Received: by 2002:a67:806:0:b0:358:54a1:8e66 with SMTP id 6-20020a670806000000b0035854a18e66mr7555122vsi.24.1659022251100; Thu, 28 Jul 2022 08:30:51 -0700 (PDT)
MIME-Version: 1.0
References: <20220727150611.170A66AB09@rfcpa.amsl.com> <62E25CBB020000A10004BED5@gwsmtp.uni-regensburg.de> <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com> <CAMGpriUB0zOQSQ+9HCHNV3UgkHCsiSMMs0c67PLsiQQcWOgzZg@mail.gmail.com> <31672D80-1D17-4A0B-952F-C503DD10BB7E@amsl.com>
In-Reply-To: <31672D80-1D17-4A0B-952F-C503DD10BB7E@amsl.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Thu, 28 Jul 2022 11:30:39 -0400
Message-ID: <CAMGpriXbH=j+jYfpa4=wzihYmt+Ft8XYV2ucE2YrFuHhDBcrwg@mail.gmail.com>
To: Sandy Ginoza <sginoza@amsl.com>
Cc: Steven Sommars <stevesommarsntp@gmail.com>, Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, jrmii@isc.org, jack.burbank@jhuapl.edu, william.kasch@jhuapl.edu, wferi@niif.hu, mills@udel.edu, The IESG <iesg@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f3900f05e4df3746"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Dhmdbcsr7jIPzY0CEbXqWry6DVE>
Subject: Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (5020)
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: Thu, 28 Jul 2022 15:32:58 -0000

Thank you, Sandy!

I'll file a feature request for a new erratum state: "AD is clearly
confused"  =)

On Thu, Jul 28, 2022 at 10:51 AM Sandy Ginoza <sginoza@amsl.com> wrote:

> Hi Erik,
>
> The errata has been set to Reported, so you should be able to access to it
> again.  Let me know if you run into any issues.
>
> Thanks,
> Sandy
>
>
> > On Jul 28, 2022, at 10:35 AM, Erik Kline <ek.ietf@gmail.com> wrote:
> >
> > Ah, yes, I think was not paying sufficient attention to the sign of
> various expressions.
> >
> > I can ask for the erratum to be reopened so that I can revise that.  May
> I copy from your explanation here to prepare the rejection explanation?
> >
> > On Thu, Jul 28, 2022 at 10:19 AM Steven Sommars <
> stevesommarsntp@gmail.com> wrote:
> > I don't get it.
> >
> > Theta is "the offset of B relative to A".   The proposed revision is
> >    1/2 * [(T2-T1) + (T4-T3)]
> > Example: Let's assume that B and A are exactly synced to UTC and that
> the network delay is 50msec in each direction.
> >     T2-T1 is the NTP mode 3 request delay (including network delay).
> This gives 50 msec
> >     T4-T3 is the NTP mode 4 response delay (including network delay).
>  This gives 50 msec.
> > The proposed revision gives 100msec/2 = RTT/2, not the expected offset
> of zero.
> >
> > The RFC5905 formula seems correct.
> >     theta = T(B) - T(A) = 1/2 * [(T2-T1) + (T3-T4)]
> > but might have been clearer had it been written:
> >     theta = T(B) - T(A) = 1/2 * [(T2-T1) - (T4-T3)]
> >
> >
> > On Thu, Jul 28, 2022 at 4:54 AM Ulrich Windl <
> Ulrich.Windl@rz.uni-regensburg.de> wrote:
> > >>> RFC Errata System <rfc-editor@rfc-editor.org> schrieb am 27.07.2022
> um
> > 17:06 in
> > Nachricht <20220727150611.170A66AB09@rfcpa.amsl.com>:
> > > The following errata report has been verified for RFC5905,
> > > "Network Time Protocol Version 4: Protocol and Algorithms
> Specification".
> > >
> > > --------------------------------------
> > > You may review the report below and at:
> > > https://www.rfc-editor.org/errata/eid5020
> > >
> > > --------------------------------------
> > > Status: Verified
> > > Type: Technical
> > >
> > > Reported by: Ferenc Wágner <wferi@niif.hu>
> > > Date Reported: 2017-05-15
> > > Verified by: Erik Kline (IESG)
> > >
> > > Section: 8
> > >
> > > Original Text
> > > -------------
> > > theta = T(B) - T(A) = 1/2 * [(T2-T1) + (T3-T4)]
> > >
> > > Corrected Text
> > > --------------
> > > theta = T(B) - T(A) = 1/2 * [(T2-T1) + (T4-T3)]
> >
> > If that's wrong, RFC 1305 would be just as wrong, because it says (page
> 25 in
> > PDF):
> > ((Ti−2 − Ti−3) + (Ti−1 − Ti)) / 2
> > ,
> >
> > >
> > > Notes
> > > -----
> > > The corresponding code line in A.5.1.1. agrees with this correction:
> > >
> > > offset = (LFP2D(r->rec - r->org) + LFP2D(r->dst - r->xmt)) / 2;
> > >
> > > taking Figure 7 into account:
> > >
> > > | org       | T1         | origin timestamp      |
> > > | rec       | T2         | receive timestamp     |
> > > | xmt       | T3         | transmit timestamp    |
> > > | dst       | T4         | destination timestamp |
> > >
> > > --------------------------------------
> > > RFC5905 (draft-ietf-ntp-ntpv4-proto-13)
> > > --------------------------------------
> > > Title               : Network Time Protocol Version 4: Protocol and
> > > Algorithms Specification
> > > Publication Date    : June 2010
> > > Author(s)           : D. Mills, J. Martin, Ed., J. Burbank, W. Kasch
> > > Category            : PROPOSED STANDARD
> > > Source              : Network Time Protocols
> > > Area                : Internet
> > > Stream              : IETF
> > > Verifying Party     : IESG
> > >
> > > _______________________________________________
> > > 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
>
>