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

Erik Kline <ek.ietf@gmail.com> Thu, 28 July 2022 14:35 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 4AC8BC1CE045; Thu, 28 Jul 2022 07:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 hbTB50oqFUFe; Thu, 28 Jul 2022 07:35:37 -0700 (PDT)
Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) (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 97989C159486; Thu, 28 Jul 2022 07:35:37 -0700 (PDT)
Received: by mail-vs1-xe2b.google.com with SMTP id o4so1766496vsc.12; Thu, 28 Jul 2022 07:35:37 -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=DJTHX+uvv3GYgIbu6wVlxnew0pbisDMsIl4RwLiejhI=; b=CivQ3Q52bvVXge+h6QoE9EO2QIrvFM3QfYQluAu/FeY5PbxTZ4TBje6gHbgPcv67KW JK3QQAW7mts2Nf9i5MkdZ8EOtwmSLdna4klfVSPKH2EXwDzeSyMDnK7UQNh5Ox6u5HMl 9P2hxDzO54zE2lXJ/OBLBucWNppeFcs/Wh8bPPYw4FTWa5vOT/8uxz+uWhvZppCZTUM/ C/rvG0CmJP96ocLKEgXGy9lm0Dx6PDZT3r5ywJmVhK2iIllb5DRKnaVMFq13xW6lCHDa ZN6ISLelWlYTVb3uVU0VR1qDWAq4CiC3CzJco2h0NufDJnU84ysedcoCPveFwedr0w/7 MqFw==
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=DJTHX+uvv3GYgIbu6wVlxnew0pbisDMsIl4RwLiejhI=; b=utZ5hzJg0IE2PQWjWUy0Dx5Y8NhFShkQHOpgf/BmxvbnyhplkdP+JuHyA113r8gQjM z63Y42PQxoE94PDB1Lws53pA5l1nPpOC9tacGapYjrGGI3qO5xNu6Sazr0ey2JeoSA+n T5TnW1yz60XJcWZNp19BHvXCScWQGQ/yskbNxPkLz5fZAhSR19Cl1ZC59C9YoRpTR6p5 v62rDgkxAuF5xA5OXShgTF1UB73RegTKmo61N2YwQcBDbI5zWmIj6TySW3yc3zC8IHFy qkwb+FMSdRH2OhIR0wRf52uHLxpDeY3YWopckKjdAeolOxchKqEF2mhmLqBnORDAfiLd vGNQ==
X-Gm-Message-State: AJIora+ZEX7nnfMc0iXWDBFJz1TKNKhVG5M3J2H71pHyc5e6qMS5gVsK j0D2KxI7pRPJUNjn1TCWGBGAvLE4KE7Qpp3D6xw=
X-Google-Smtp-Source: AGRyM1vNjnXt9fhD/89GWCFPviWRk0H4zaVE1vSgPiOs7OunsJS4VK5mj8DVhur2HinJEE+KAJu2WFNr0i8cc88IYuI=
X-Received: by 2002:a67:f786:0:b0:358:4592:9adf with SMTP id j6-20020a67f786000000b0035845929adfmr8525408vso.47.1659018935627; Thu, 28 Jul 2022 07:35:35 -0700 (PDT)
MIME-Version: 1.0
References: <20220727150611.170A66AB09@rfcpa.amsl.com> <62E25CBB020000A10004BED5@gwsmtp.uni-regensburg.de> <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com>
In-Reply-To: <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Thu, 28 Jul 2022 10:35:24 -0400
Message-ID: <CAMGpriUB0zOQSQ+9HCHNV3UgkHCsiSMMs0c67PLsiQQcWOgzZg@mail.gmail.com>
To: Steven Sommars <stevesommarsntp@gmail.com>
Cc: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, jrmii@isc.org, jack.burbank@jhuapl.edu, william.kasch@jhuapl.edu, wferi@niif.hu, rfc-editor@rfc-editor.org, mills@udel.edu, iana@iana.org, The IESG <iesg@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005573b605e4de7220"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/lc6hi3VTyCLiwxCw5Sp14Hxcd78>
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 14:35:41 -0000

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
>>
>