Re: [tcpm] Feedback on draft-ietf-tcpm-accurate-ecn-14
Bob Briscoe <ietf@bobbriscoe.net> Wed, 21 April 2021 17:41 UTC
Return-Path: <ietf@bobbriscoe.net>
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 5A56C3A30D0
for <tcpm@ietfa.amsl.com>; Wed, 21 Apr 2021 10:41:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.433
X-Spam-Level:
X-Spam-Status: No, score=-1.433 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, HTML_MESSAGE=0.001,
NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665,
URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=bobbriscoe.net
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 sIpEgkcM27bq for <tcpm@ietfa.amsl.com>;
Wed, 21 Apr 2021 10:41:44 -0700 (PDT)
Received: from mail-ssdrsserver2.hosting.co.uk
(mail-ssdrsserver2.hosting.co.uk [185.185.85.90])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 96F953A30CE
for <tcpm@ietf.org>; Wed, 21 Apr 2021 10:41:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=bobbriscoe.net; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date:
Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:
Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=MeLB9ccB+rJ4E6FvDK5HXimQcl7JBE1oyf/4RNlUob8=; b=JdPz0GiW09vap34aWrOK2ro9i
20AZ1sO/pG2/sr6S1xGHnjhYKQ0l46qzZYVQOxpnYY9wucDuryReqKmp+IZL8sIQqSVj7b+3xvqd9
pSJooPQIprSVp62WGXugbOhVYIHn4Ml/xv1FTqMmdWdu4HR8ybEe/gvndwIhx+ujONj6ZQpDOceBE
0QIEQA8Ch2+EcXsVh5fRZpp8+eWlCYG3nZBiOxe8/JXegBikE3gWd2xikFZ6j/cGOU/DM2zOiAW8Y
aum8iCRcka0sI3hm/z2cOGZBoTp7MdpSe3ywHlSfMEtsRhqAdRYjAYIH2ErSaxH6DPldQ+m4mRBJA
CwLsupblw==;
Received: from 67.153.238.178.in-addr.arpa ([178.238.153.67]:35300
helo=[192.168.1.11])
by ssdrsserver2.hosting.co.uk with esmtpsa (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94)
(envelope-from <ietf@bobbriscoe.net>)
id 1lZGr8-0003EP-JZ; Wed, 21 Apr 2021 18:41:43 +0100
To: =?UTF-8?Q?Ilpo_J=c3=a4rvinen?=
<ilpo.jarvinen=40cs.helsinki.fi@dmarc.ietf.org>
Cc: tcpm@ietf.org
References: <alpine.DEB.2.22.394.2104151322120.331634@whs-18.cs.helsinki.fi>
From: Bob Briscoe <ietf@bobbriscoe.net>
Message-ID: <f8f27fcc-8064-4779-e185-85bccc623b58@bobbriscoe.net>
Date: Wed, 21 Apr 2021 18:41:40 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.22.394.2104151322120.331634@whs-18.cs.helsinki.fi>
Content-Type: multipart/alternative;
boundary="------------EEF723515D7D466D898C7F61"
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - ssdrsserver2.hosting.co.uk
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: ssdrsserver2.hosting.co.uk: authenticated_id:
in@bobbriscoe.net
X-Authenticated-Sender: ssdrsserver2.hosting.co.uk: in@bobbriscoe.net
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/3eh0A92cxMt5UUOQ4qkEFiPPU3M>
Subject: Re: [tcpm] Feedback on draft-ietf-tcpm-accurate-ecn-14
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: Wed, 21 Apr 2021 17:41:49 -0000
Ilpo,
Thanks. I've updated the editor's copy as described below.
On 15/04/2021 11:26, Ilpo Järvinen wrote:
> Hi,
>
> I read through the changes since -09. Some recommendations/notes:
>
> - "The server MAY include a test to avoid this case."
> I'd say: "The server MAY implement a filter in ESTABLISHED state
> for ACKs with handshake encoding."
> The problem with the original wording is that "this case" is not
> that obvious (in fact, the previous sentence talked exactly
> opposite thing, that is, interpreting the ACE field normally).
[BB] I see the problems. I've reordered and rewritten this with a
'Reasoning' paragraph afterwards, like the other rules:
Once the TCP server transitions to ESTABLISHED state, it might
later receive other pure ACK(s) with the handshake encoding in the
ACE field. A server MAY implement a test for such a case, but it
is not required. Therefore, once in the ESTABLISHED state, it
will be sufficient for the server to consider the ACE field to be
encoded as the normal ACE counter on all packets with SYN=0.
Reasoning: Such ACKs will be quite unusual, e.g. a SYN/ACK (or ACK
of the SYN/ACK) that is delayed for longer than the server's
retransmission timeout; or packet duplication by the network. And
the impact of any error in the feedback on such ACKs will only be
temporary.
Clearer?
>
> - "For each field, it takes the least significant 24 bits of its
> associated local counter (s.ceb, s.e0b or s.e1b) and subtracts
> them from the counter in the associated field of the incoming
> AccECN Option (respectively ECEB, EE0B, EE1B), to work out the
> minimum positive increment it could apply to s.ceb, s.e0b or
> s.e1b (assuming the field in the option only wrapped at most
> once).".
> When using a heuristic to update the byte counters, "the minimum
> positive increment" is too restricting as the byte counters may
> have to be backtracked after heuristic misguessed which of them
> to increment.
> Also in appendix, there's the now the same assumption that the
> byte counter difference will always be non-negative.
[BB] To avoid having to introduce the idea of heuristics at this early
stage, I've replaced 'MUST decode' with 'normally decodes' (the 'MUST'
isn't appropriate anyway):
If the ACK has not
been superseded, the Data Sender normally decodes the fields in the
AccECN Option as follows.
Then I added the following to the end of Appendix A.1 that gives a
decoding example:
In practice an implementation might use heuristics to guess the
feedback in missing ACKs, then when it subsequently receives feedback
it might find that it needs to correct its earlier heuristics as part
of the decoding process. The above decoding process does not include
any such heuristics.
Is that good enough?
>
> - Paragraph seems to appear twice (only 2 words differ in them):
> "Even though the first bullet is stated as a "SHOULD", it is important
> for a transition to immediately trigger an ACK if at all possible, ..."
[BB] I've replaced the first occurrence just under the 'SHOULD' with a
pointer to the second occurrence, which I've described as the only valid
exception to the SHOULD.
Thanks for pointing this out. I also rationalized all the text around
the rules on when to trigger immediate sending of ACKs and AccECN
Options. I've separated out:
a) a name for each rule so it can be referred to unambiguously;
b) the rule itself;
c) rationale for the rule;
c) exception to the rule.
>
> - Compatibility with TCP Experiments and Common TCP Options
> Should re-state (again) here how SYN and SYN/ACK data is to be
> treated wrt. the byte counters.
>
Done.
Thank you again.
Bob
--
________________________________________________________________
Bob Briscoe http://bobbriscoe.net/
- [tcpm] Feedback on draft-ietf-tcpm-accurate-ecn-14 Ilpo Järvinen
- Re: [tcpm] Feedback on draft-ietf-tcpm-accurate-e… Bob Briscoe