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

Steven Sommars <stevesommarsntp@gmail.com> Thu, 28 July 2022 14:19 UTC

Return-Path: <stevesommarsntp@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 2645BC14CF0C; Thu, 28 Jul 2022 07:19:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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_BLOCKED=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 PIkR8Ijo5vjb; Thu, 28 Jul 2022 07:19:00 -0700 (PDT)
Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 E7C1FC14F742; Thu, 28 Jul 2022 07:19:00 -0700 (PDT)
Received: by mail-yb1-xb2b.google.com with SMTP id 141so3487147ybn.4; Thu, 28 Jul 2022 07:19:00 -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=59GJYsLUNi9Nqt1wbdvi9pZLY6bEdwU7ujv0qhEAC7c=; b=UNq87UP8MGYX7DTmNZu1x/Xvz1QoUucZkqIKGI3pn3/qz4zr1iCRo3dWoVPhuLefXO lD+0SMMNOHlaMZxkwgyMPHOm7CwCaJ54ADyLZfMuVbpH3+8H84jfZZkixg35pnF1oK5u q7O4KvmbFa8gFJX4eoAog++AzFw4QWbow8Vk6tQxj1uu4v74JtSr0PNyN6yCnXKVMVaQ 98uwSvaSutz8fNc9Q4jcKXB2j/DnLh3UQNJkfnuCuVV0yoOjEjfUXrwXfkQjj3arAils zx0HfbQs7xr8ZT33ysXX3mOKW2+f/TNS28/iXpzmcEsR/uJ9y70OTEl512SZR7NEma0A nxHg==
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=59GJYsLUNi9Nqt1wbdvi9pZLY6bEdwU7ujv0qhEAC7c=; b=dxP0bitoBsziozqTLYFNfv1huvfrfY9AwNXkfOjQfvwe5ZXaKmpXO6X10jGUUyl2Tn 6Hxa6LTvAqbDh9Ik6WV2WkfFI6Tt5qQ7ZetKy7o5OfQEk5jGZg9UOflPFWFO/x/ugQo+ JUEJmI6UsCpba0piY87K+qUaEO/FxsLxj8Rcah/+Q5eW+lSV7lKX7j5ziZSvF1/2+JmG r4a/t2gWZQ+f05bZEbKvD6KiBmJfRHEaDVbibK5nHtZg7RTQUz32v9+sOwQqX/6lka8Z +qkvHumbKADZCnhVktDoyCNjQY0fAGlVe7Be/EvrhTm6mbVup0o7F6CcxyugjJ+wOARt N0Ww==
X-Gm-Message-State: AJIora8rWJDipLP/wA5FBx5YTCEf0Hx9IjD7k7I6AbefkyWEoQ5nQGA2 33qu5VGEv8wCAK3M7QCN5qFxLHXZPZiezHonkw0=
X-Google-Smtp-Source: AGRyM1tkGq2xKR/pjbcA6tAjMoSuKAMM/gSsq4HHQnrKF40vfUiN6uodx2tZ3xHsROWs7EeJOVxKANuav4i/eDaBy6E=
X-Received: by 2002:a05:6902:150c:b0:670:aeda:7e0 with SMTP id q12-20020a056902150c00b00670aeda07e0mr20380314ybu.385.1659017939814; Thu, 28 Jul 2022 07:18:59 -0700 (PDT)
MIME-Version: 1.0
References: <20220727150611.170A66AB09@rfcpa.amsl.com> <62E25CBB020000A10004BED5@gwsmtp.uni-regensburg.de>
In-Reply-To: <62E25CBB020000A10004BED5@gwsmtp.uni-regensburg.de>
From: Steven Sommars <stevesommarsntp@gmail.com>
Date: Thu, 28 Jul 2022 09:18:49 -0500
Message-ID: <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: jrmii@isc.org, jack.burbank@jhuapl.edu, william.kasch@jhuapl.edu, wferi@niif.hu, rfc-editor@rfc-editor.org, mills@udel.edu, ek.ietf@gmail.com, iana@iana.org, The IESG <iesg@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fa8ea705e4de367a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/AR7k0IP2PMgXdq2bknx6Eiz4upE>
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:19:05 -0000

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
>