Re: [tcpm] Possible error in accurate-ecn
Mirja Kuehlewind <ietf@kuehlewind.net> Tue, 10 November 2020 10:08 UTC
Return-Path: <ietf@kuehlewind.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 432A63A0E85 for <tcpm@ietfa.amsl.com>; Tue, 10 Nov 2020 02:08:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 f-lymDkH7SqZ for <tcpm@ietfa.amsl.com>; Tue, 10 Nov 2020 02:08:07 -0800 (PST)
Received: from wp513.webpack.hosteurope.de (wp513.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8223::]) (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 5FD313A0E83 for <tcpm@ietf.org>; Tue, 10 Nov 2020 02:08:07 -0800 (PST)
Received: from p200300dee707b6000c59cd27c374f47a.dip0.t-ipconnect.de ([2003:de:e707:b600:c59:cd27:c374:f47a]); authenticated by wp513.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kcQZH-0004BN-UI; Tue, 10 Nov 2020 11:08:03 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Mirja Kuehlewind <ietf@kuehlewind.net>
In-Reply-To: <47df9b8b-515e-d40d-3473-599b0a3e3876@bobbriscoe.net>
Date: Tue, 10 Nov 2020 11:08:03 +0100
Cc: Richard Scheffenegger <rscheff@gmx.at>, Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>, tcpm IETF list <tcpm@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6031BE2B-4D33-426F-BA17-DDF15CF821DE@kuehlewind.net>
References: <47df9b8b-515e-d40d-3473-599b0a3e3876@bobbriscoe.net>
To: Bob Briscoe <research@bobbriscoe.net>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
X-bounce-key: webpack.hosteurope.de;ietf@kuehlewind.net;1605002887;13f8d6f1;
X-HE-SMSGID: 1kcQZH-0004BN-UI
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/_dmzEoidNfzOFF7Hs4Ng5m1zz1k>
Subject: Re: [tcpm] Possible error in accurate-ecn
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: Tue, 10 Nov 2020 10:08:09 -0000
Hi Bob, Please see below. > On 10. Nov 2020, at 01:31, Bob Briscoe <research@bobbriscoe.net> wrote: > > Mirja, Richard, Ilpo, tcpm list, > > I've just been reading through the accurate-ecn draft to double-check. I think there's a problem with the following text... > > 3.2.2.5.1. Data Receiver Safety Procedures > > An AccECN Data Receiver: > > o SHOULD immediately send an ACK whenever a data packet marked CE > arrives after the previous [data] packet was not CE. > > o MUST immediately send an ACK once 'n' CE marks have arrived since > the previous ACK, where 'n' SHOULD be 2 and MUST be no greater > than 6. > > ... > For the avoidance of doubt, the change-triggered ACK mechanism is > deliberately worded to solely apply to data packets, and to ignore > the arrival of a control packet with no payload, because it is > important that TCP does not acknowledge pure ACKs. > > > In the first bullet, I think it doesn't matter whether the previous packet marked CE was a data packet or a pure ACK (i.e we should remove the second occurrence of 'data' that I have put in [square brackets]. I believe it does matter. If the previous packet was a pure ACK and was CE marked, you didn’t send an ACK and so you should immediately send one now. If the previous packet was a data packet and CE marked, you don’t need to send an immediate ACK because you already did this with the previous packet. However, it text might be a but ambiguous because what is meant is “if the previous packet was a data packet and CE marked”. So this does not apply if we e.g. have a CE-marked data packets, then a pure ACK that is not CE marked, and then another CE-marked data packet. > > The second bullet doesn't consider the possibility that the 'n'th CE mark might arrive on a pure ACK. Then, the wording as it stands says the Data Receiver MUST immediately ACK a pure ACK. I know TCP never ACKs a pure ACK, but I'm not actually sure it does any harm to do so in this case (it cannot cause an infinite loop of ACKs). However, given it would be unorthodox, we maybe ought to rule it out by rewording anyway? I think we also can leave this as it is because if that ’n’ packet is a pure ACK that still means that you have unacked data packets with CE marks and you should trigger an ACK for those packet now (rather than waiting for the delayed ACK timer to expire). However this case is less important. Also we should probably make sure that this doesn’t apply if there are only pure ACKs with CE marks, maybe by add “if unacknowledged data are outstanding” or something. Mirja > > Thoughts anyone? > > > Bob > > -- > ________________________________________________________________ > Bob Briscoe > http://bobbriscoe.net/
- [tcpm] Possible error in accurate-ecn Bob Briscoe
- Re: [tcpm] Possible error in accurate-ecn Mirja Kuehlewind
- Re: [tcpm] Possible error in accurate-ecn Bob Briscoe
- Re: [tcpm] Possible error in accurate-ecn Yoshifumi Nishida
- Re: [tcpm] Possible error in accurate-ecn Bob Briscoe
- Re: [tcpm] Possible error in accurate-ecn Yoshifumi Nishida
- Re: [tcpm] Possible error in accurate-ecn Scheffenegger, Richard
- Re: [tcpm] Possible error in accurate-ecn Scheffenegger, Richard
- Re: [tcpm] Possible error in accurate-ecn Scheffenegger, Richard
- Re: [tcpm] Possible error in accurate-ecn Mirja Kuehlewind
- Re: [tcpm] Possible error in accurate-ecn Bob Briscoe
- Re: [tcpm] Possible error in accurate-ecn Scheffenegger, Richard
- Re: [tcpm] Possible error in accurate-ecn Yoshifumi Nishida
- Re: [tcpm] Possible error in accurate-ecn Scheffenegger, Richard
- Re: [tcpm] Possible error in accurate-ecn Yoshifumi Nishida
- Re: [tcpm] Possible error in accurate-ecn Bob Briscoe
- Re: [tcpm] Possible error in accurate-ecn Yoshifumi Nishida
- [tcpm] Seeking WG opinions on ACKing ACKs with go… Bob Briscoe
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Martin Duke
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Scheffenegger, Richard
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Bob Briscoe
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Mirja Kuehlewind
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Martin Duke
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Martin Duke
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Vidhi Goel
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Yoshifumi Nishida
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Yoshifumi Nishida
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Scheffenegger, Richard
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Mirja Kuehlewind
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Mirja Kuehlewind
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Vidhi Goel
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Mirja Kuehlewind
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Scheffenegger, Richard
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Jonathan Morton
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Yoshifumi Nishida
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Scheffenegger, Richard
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Bob Briscoe
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Bob Briscoe
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Mirja Kuehlewind
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Yoshifumi Nishida
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Bob Briscoe
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Yoshifumi Nishida
- Re: [tcpm] Seeking WG opinions on ACKing ACKs wit… Scheffenegger, Richard
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Praveen Balasubramanian
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Vidhi Goel
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Jonathan Morton
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Praveen Balasubramanian
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Jonathan Morton
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Vidhi Goel
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Jonathan Morton
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Yoshifumi Nishida
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Bob Briscoe
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Christian Huitema
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Bob Briscoe
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Christian Huitema
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Neal Cardwell
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Bob Briscoe
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Ilpo Järvinen
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Neal Cardwell
- Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on … Bob Briscoe