Re: [tcpm] [Technical Errata Reported] RFC7323 (5585)

"Scheffenegger, Richard" <rs.ietf@gmx.at> Thu, 17 January 2019 12:57 UTC

Return-Path: <rs.ietf@gmx.at>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA122130DEF for <tcpm@ietfa.amsl.com>; Thu, 17 Jan 2019 04:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qEoNv9DhSNcO for <tcpm@ietfa.amsl.com>; Thu, 17 Jan 2019 04:57:23 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF94E12F1AC for <tcpm@ietf.org>; Thu, 17 Jan 2019 04:57:22 -0800 (PST)
Received: from [10.67.133.231] ([217.70.211.17]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MEbYb-1gzjDs0HGL-00FkbE; Thu, 17 Jan 2019 13:56:49 +0100
From: "Scheffenegger, Richard" <rs.ietf@gmx.at>
To: david.borman@quantum.com, braden@isi.edu, rs@netapp.com, marco.caspers@t-mobilethuis.nl, ietf@kuehlewind.net, michael.scharf@hs-esslingen.de, tuexen@fh-muenster.de, nishida@sfc.wide.ad.jp
Cc: tcpm@ietf.org, marco.caspers@t-mobilethuis.nl
References: <20181227193042.2BD5EB81008@rfc-editor.org>
Message-ID: <a94f9873-26a4-e6a0-df99-77170e4fef9b@gmx.at>
Date: Thu, 17 Jan 2019 13:56:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <20181227193042.2BD5EB81008@rfc-editor.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:aYXmbPi7SDDAVoL/EwnhSiun+q9pQ/QpvjpaBziTOGc88B05mWk 0kPjBAdrmLCNlXKMJBdfJmcGWlAiRP99Z+t0p9qNbSsZsN1dj/3vUV2NQ+p9J/sbTU1SWMv 7fN76HN4suJjelz31EBnVZv/u8QUcOHx00T+QbggQaYmNc5LOzQJKTdMsE4b5hbiTgt4qkG YGU2wF9wPzqjG64NCqLvg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:4lZ5qrgeerw=:f9EgKgSUavTEB69iblR2uF ExDX/rLNz1zdkmRVR5aNBnKZFIZsj5NTUI2kIEgHx7gdzwe0e5+fzc97rzE6sGj1vC7+dYTvp jIYEUoxqW4wNO9AQnQaWw3x8DowUIXqlMFwJQHQZBF5T60vPAqjeKNvM/4TI3diTAyAoMSKjK btIE5DwbHzyUfLrF/pxzlv/18ohJz6BGISOXiXwiO41TvHlFIpy7pso8GAkaoXZZCY01gG+m2 FpAooebr58hwTYfLf4gp7oyFTa0M771mcSwp6UkcWH9nnJS3oq74tduPz9vbMC8EH4yDJBzep AvhD02/3kvauTxST7Jx4aSFHGM9+hpjRWxoh4U6FlgcTCcHqKHdRgzNEiO2hhX8SHfFoNOYF8 fCFP+W+kuS5Q10PxWw+xN9h3b8ZT//E+doddbrkWwcNDmaTzebhTIMMctGHrDhMdvwcAeUgcm 37UCLOoW6UOd+2t84MSjfYDjmT6Jyta7R1XEqIu/BQ0nb3NDlh+gtsFhbLyqxJbLoA6KMJLIl ZgBO8Zd9v8MOqGZqF1Z29siAxCudnLMuQ1OmEZtnujqD2BSgd+0yZKC3hdyh1yAXSBc47wazV Zrz2ze8FF9EySdd1R94eScRcEdILgoHpaJU+uLo9FpM0wDYQ8tBlnLOF0F+zW6V7Na671Z8SN jYgYL8rBSs7+AYve8rnl45ftJagIN18LKmtYd/MJcmJC585Ea/O+DAMNMn/VKC0fpC0Xt66pE 13M0kxtTP6XIrohwTl0mclf8cKY1PeAlfUAnsOCL2svoN6vbDn8A/eyGOl2ez6T8alhtVq6Yj 8bZFJ82lItmb0uTM/UxUXvsiNYsk8mN8dRIwYfBGt/S7k79ZiGWHs2JlzUTDaKKjKteaXfZLq aH7wc5fvFRstr/CTJ9OI1P3urZyPkiWRqKuog3rgIjno5+EAuwaOw4C5C6ZAJ0Jm41DT4NpU0 8DgE/IUimFQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/PoNwwxQueG1Jp932V87DFD2I0VQ>
X-Mailman-Approved-At: Thu, 17 Jan 2019 11:28:37 -0800
Subject: Re: [tcpm] [Technical Errata Reported] RFC7323 (5585)
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2019 12:57:27 -0000

Hi Marco,

Do you have an example for an actual invalid implementation?

I agree with the assessment that the text is not strictly mathematically 
correct when stating that the maximum receive window may go all the way 
up to 2^30, when the maximum really is 2^30-2^14.

I would suggest to accept these two errata, but hold them for a Document 
Update.

Incidentially, this specific observation is where Yoshi suggested to 
allow a window scale value all the way up to to 15 (as the maximum 
signaled receive window will be (2^31 - 2^15), and still allows 
in-window vs. out-of-window differentiation. (See 
draft-nishida-tcpm-maxwin-02).

Regards,
   Richard


Am 27.12.2018 um 20:30 schrieb RFC Errata System:
> The following errata report has been submitted for RFC7323,
> "TCP Extensions for High Performance".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5585
> 
> --------------------------------------
> Type: Technical
> Reported by: Marco Caspers <marco.caspers@t-mobilethuis.nl>
> 
> Section: 2.2
> 
> Original Text
> -------------
> 2.2.  Window Scale Option
> 
>     The three-byte Window Scale option MAY be sent in a <SYN> segment by
>     a TCP.  It has two purposes: (1) indicate that the TCP is prepared to
>     both send and receive window scaling, and (2) communicate the
>     exponent of a scale factor to be applied to its receive window.
>     Thus, a TCP that is prepared to scale windows SHOULD send the option,
>     even if its own scale factor is 1 and the exponent 0.  The scale
>     factor is limited to a power of two and encoded logarithmically, so
>     it may be implemented by binary shift operations.  The maximum scale
>     exponent is limited to 14 for a maximum permissible receive window
>     size of 1 GiB (2^(14+16)).
> 
> 
> Corrected Text
> --------------
> 2.2.  Window Scale Option
> 
>     The three-byte Window Scale option MAY be sent in a <SYN> segment by
>     a TCP.  It has two purposes: (1) indicate that the TCP is prepared to
>     both send and receive window scaling, and (2) communicate the
>     exponent of a scale factor to be applied to its receive window.
>     Thus, a TCP that is prepared to scale windows SHOULD send the option,
>     even if its own scale factor is 1 and the exponent 0.  The scale
>     factor is limited to a power of two and encoded logarithmically, so
>     it may be implemented by binary shift operations.  The maximum scale
>     exponent is limited to 14 for a maximum permissible receive window
>     size of approximately 1 GiB ((2^30-1) - (2^14-1)).
> 
> 
> Notes
> -----
> Left shift inserts zero's on the right hand side so the maximum window size is actually approximately 16KiB shy of 1 GiB and not exactly 1Gib as stated.
> 
> The calculation given 2^(16+14) is mathematically incorrect.
> Stating invalid calculations will lead to invalid implementations.
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party
> can log in to change the status and edit the report, if necessary.
> 
> --------------------------------------
> RFC7323 (draft-ietf-tcpm-1323bis-21)
> --------------------------------------
> Title               : TCP Extensions for High Performance
> Publication Date    : September 2014
> Author(s)           : D. Borman, B. Braden, V. Jacobson, R. Scheffenegger, Ed.
> Category            : PROPOSED STANDARD
> Source              : TCP Maintenance and Minor Extensions
> Area                : Transport
> Stream              : IETF
> Verifying Party     : IESG
> 
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>