Re: [Lwip] Martin Duke's Discuss on draft-ietf-lwig-tcp-constrained-node-networks-11: (with DISCUSS and COMMENT)

Carles Gomez Montenegro <carlesgo@entel.upc.edu> Fri, 30 October 2020 07:47 UTC

Return-Path: <carlesgo@entel.upc.edu>
X-Original-To: lwip@ietfa.amsl.com
Delivered-To: lwip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2F213A09F2; Fri, 30 Oct 2020 00:47:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.033
X-Spam-Level:
X-Spam-Status: No, score=0.033 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SORBS_HTTP=0.001, RCVD_IN_SORBS_SOCKS=1.927, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 3kvDxAbyL1XU; Fri, 30 Oct 2020 00:47:01 -0700 (PDT)
Received: from violet.upc.es (violet.upc.es [147.83.2.51]) (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 3520A3A0880; Fri, 30 Oct 2020 00:46:59 -0700 (PDT)
Received: from entelserver.upc.edu (entelserver.upc.es [147.83.40.4]) by violet.upc.es (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id 09U7kjJ8024303; Fri, 30 Oct 2020 08:46:45 +0100
Received: from webmail.entel.upc.edu (webmail.entel.upc.edu [147.83.39.6]) by entelserver.upc.edu (Postfix) with ESMTP id 276E81D53C1; Fri, 30 Oct 2020 08:46:44 +0100 (CET)
Received: from 83.38.106.121 by webmail.entel.upc.edu with HTTP; Fri, 30 Oct 2020 08:46:45 +0100
Message-ID: <070203e7f27278205168ae9f8945e5b4.squirrel@webmail.entel.upc.edu>
In-Reply-To: <160314432652.23917.1896153962634799827@ietfa.amsl.com>
References: <160314432652.23917.1896153962634799827@ietfa.amsl.com>
Date: Fri, 30 Oct 2020 08:46:45 +0100
From: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
To: Martin Duke <martin.h.duke@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-lwig-tcp-constrained-node-networks@ietf.org, lwig-chairs@ietf.org, lwip@ietf.org, Zhen Cao <zhencao.ietf@gmail.com>
User-Agent: SquirrelMail/1.4.21-1.fc14
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: clamav-milter 0.100.3 at violet
X-Virus-Status: Clean
X-Greylist: Delayed for 00:20:23 by milter-greylist-4.3.9 (violet.upc.es [147.83.2.51]); Fri, 30 Oct 2020 08:46:45 +0100 (CET)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/l7Wg4KDb4A8uwdJ7OK3q8v8Ostg>
Subject: Re: [Lwip] Martin Duke's Discuss on draft-ietf-lwig-tcp-constrained-node-networks-11: (with DISCUSS and COMMENT)
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Lightweight IP stack. Official mailing list for IETF LWIG Working Group." <lwip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lwip>, <mailto:lwip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lwip/>
List-Post: <mailto:lwip@ietf.org>
List-Help: <mailto:lwip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lwip>, <mailto:lwip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2020 07:47:03 -0000

Hi Martin,

Thank you very much for your review and feedback!

We just submitted revision -12, which aims at addressing the comments
received from the IESG and related reviewers:
https://tools.ietf.org/html/draft-ietf-lwig-tcp-constrained-node-networks-12

Please find below our inline responses:

> Martin Duke has entered the following ballot position for
> draft-ietf-lwig-tcp-constrained-node-networks-11: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-lwig-tcp-constrained-node-networks/
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> In Sec 4.1.1:
>
>    An IPv6 datagram size exceeding 1280 bytes can be avoided by setting
>    the TCP MSS not larger than 1220 bytes.  This assumes that the remote
>    sender will use no TCP options, aside from possibly the MSS option,
>    which is only used in the initial TCP SYN packet.
>
>    In order to accommodate unrequested TCP options that may be used by
>    some TCP implementations, a constrained device may advertise an MSS
>    smaller than 1220 bytes (e.g. not larger than 1200 bytes).  Note that
>    it is advised for TCP implementations to consume payload space
>    instead of increasing datagram size when including IP or TCP options
>    in an IP packet to be sent [RFC6691].  Therefore, the suggestion of
>    advertising an MSS smaller than 1220 bytes is likely to be
>    overcautious and its suitability should be considered carefully.
>
> I would delete everything after the first sentence in this excerpt. While
> RFC6691 is informational, it clarifies RFC1122, which is a standard, and
> Sec 4.2.2.6 is quite clear that senders MUST consider TCP and IP option
> length when sizing TCP payloads.
>
> Absent any evidence that there are TCP endpoints or middleboxes that are
> violating RFC1122, further reducing the MSS because someone might be
> violating it is excessive.

As per the subsequent discussion in tcpm, we replaced the above text by
the following:

NEW:
   An IPv6 datagram size exceeding 1280 bytes can be avoided by setting
   the TCP MSS not larger than 1220 bytes.  Note that it is already a
   requirement that TCP implementations consume payload space instead of
   increasing datagram size when including IP or TCP options in an IP packet
   to be sent [RFC6691].  Therefore, it is not required to advertise an MSS
   smaller than 1220 bytes in order to accommodate TCP options.


> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> Please address the tsv review comments.

Revision -12 intends to address the tsv review comments.

> Sec 4.2.3
>  s/Disabling Delayed ACKs at the
>    sender allows an immediate ACK/Disabling Delayed ACKs at the
>    request sender allows an immediate ACK

Done.

> Sec 4.3.1
>    When a multiple-segment window is used, the receiver will need to
>    manage the reception of possible out-of-order received segments,
>    requiring sufficient buffer space.
>
> It's worth pointing out here that even a 1 MSS window should also manage
> out-of-order arrival, as the sender may send multiple sub-MSS packets that
> fit
> in the window. (On the other hand, the receiver is free to simply drop the
> out-of-order segment, thus forcing a retransmission).

We added text as per your comment above.

> Sec 4.3.3.1
> s/since with SACK recovery/since SACK recovery

Done.

Thanks,

Carles (on behalf of the authors)