Re: [Ntp] [EXT] [Errata Verified] RFC5905 (5020)
Dieter Sibold <dsibold.ietf@gmail.com> Thu, 28 July 2022 19:56 UTC
Return-Path: <dsibold.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 02A67C15C524; Thu, 28 Jul 2022 12:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 GPB0l5HcNiIW; Thu, 28 Jul 2022 12:56:34 -0700 (PDT)
Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 D39E1C15C523; Thu, 28 Jul 2022 12:56:34 -0700 (PDT)
Received: by mail-pj1-x102a.google.com with SMTP id q7-20020a17090a7a8700b001f300db8677so3192024pjf.5; Thu, 28 Jul 2022 12:56:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=/w9VYLdcs3yOVjnlGiicR4PAUELciLhIWLe7UP7UGlc=; b=HV4r/w8SDCzs7WXghUS7NtXrjtfWt/NnN7Wa97KU+LzVAn6ObywZLV5ujzTi59idSt MsarTUc1y/9wiACnuh5lB6ENuqUdjFqNT/fyrs+xoWuwA09b7akDDS78p0wZ+rwbrTQl p+tOFLoAau317iutNDHVk7cvhjrKCnyn24MxHVHCLWgVCWAT34Z/mU//hCTEoFYyEUWU 0b1zF8z7rH3R9m7tQfAvSPrUl1Ln0KENbkMzJwBlWbz5PoJPXlHWpf8hvxB/RsDts50T /VaPfQdiqMCrTddYiIWi8/uaezNsCm002gfsh3djNsjYYWcMWUmnWh55/ryI8VjQOe9n +tIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=/w9VYLdcs3yOVjnlGiicR4PAUELciLhIWLe7UP7UGlc=; b=46SzwFGWvNUHEuEvSNZenYwvwaX2zVGoevSF61ZlpgFmlnZyRDjyBP5oPSWkdZaqtf hJ5ADp9IG7K5VVqAnZPRY+8v1tdrRmFdO2SUaeh8/iryPcpDCqy9mUyV6wY2HDqaXOo7 bsGvCgPcH0S1BHGY6Ggyg4Hwsxq2c2k4iW9f858COiyP6RuUUW8Yx8h6ACqJsAucHYWV k8rTw/eSkGhrgwWVpVXfh947itz5eSq3jap327m/8BiBG2h7Nk9YhqmwIUT23qawtXA7 9npufadk5ao+hrLaiyse8xDlYAA1fCgBPKnMMemP79Rkjiv/duLOlSKadqokWRLHA1yi oruQ==
X-Gm-Message-State: ACgBeo3iZYaGY2kX80xLGy015FiEfQTwCe+XCanxQwITipb2sQrJJhn1 5fQQkOxhhYcj3VmoSOklr58=
X-Google-Smtp-Source: AA6agR5jCPbJ/TKYFczwHGAUELhB4tBSm1gEz+7H15fukqu0s98q5qQ3jJQlJVLUZuGwUcoY74O8/w==
X-Received: by 2002:a17:90b:1c8c:b0:1f1:be0b:8903 with SMTP id oo12-20020a17090b1c8c00b001f1be0b8903mr1027494pjb.160.1659038193991; Thu, 28 Jul 2022 12:56:33 -0700 (PDT)
Received: from [31.133.130.139] (dhcp-828b.meeting.ietf.org. [31.133.130.139]) by smtp.gmail.com with ESMTPSA id a10-20020aa78e8a000000b0052c7e9ad6b1sm1127578pfr.198.2022.07.28.12.56.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2022 12:56:33 -0700 (PDT)
From: Dieter Sibold <dsibold.ietf@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, ek.ietf@gmail.com, iana@iana.org, The IESG <iesg@ietf.org>, ntp@ietf.org
Date: Thu, 28 Jul 2022 15:56:29 -0400
X-Mailer: MailMate (1.14r5907)
Message-ID: <8637721E-44D7-4203-A3E0-B5A218BF2A8A@gmail.com>
In-Reply-To: <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com>
References: <20220727150611.170A66AB09@rfcpa.amsl.com> <62E25CBB020000A10004BED5@gwsmtp.uni-regensburg.de> <CAD4huA7M8kBV2=fCKBnarKhgRECQTTDjDE-gXFQ2mdu7ZRwxQg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_E61ABF3A-16E0-4C37-B2F1-07AF805EBB81_="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/LEJ_BZPnMT_ToJlU0GoooD_kR-A>
Subject: Re: [Ntp] [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 19:56:39 -0000
Hi Erik and Steven, I deeply apology. Indeed I was wrong with attesting that the errata is right. Instead, I’m convinced that it is wrong. I suppose that the person who filed the errata did the same mistake as I did yesterday, i.e. I mixed up the formulas for time offset and network delay calculation. Sometimes a fast answer is not always the best answer. Again, sorry for the confusion. Dieter On 28 Jul 2022, at 10:18, Steven Sommars 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 >> > _______________________________________________ > ntp mailing list > ntp@ietf.org > https://www.ietf.org/mailman/listinfo/ntp
- [Ntp] [Errata Verified] RFC5905 (5020) RFC Errata System
- [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (5020) Ulrich Windl
- Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (… Steven Sommars
- Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (… Erik Kline
- Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (… dieter.sibold
- Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (… Sandy Ginoza
- Re: [Ntp] Antw: [EXT] [Errata Verified] RFC5905 (… Erik Kline
- Re: [Ntp] [EXT] [Errata Verified] RFC5905 (5020) Dieter Sibold