Re: [tcpm] draft-ietf-tcpm-accurate-ecn-20: Testing for Zeroing of the ACE Field

Mirja Kuehlewind <mirja.kuehlewind@ericsson.com> Mon, 15 August 2022 13:54 UTC

Return-Path: <mirja.kuehlewind@ericsson.com>
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 38964C14CF12; Mon, 15 Aug 2022 06:54:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.678
X-Spam-Level:
X-Spam-Status: No, score=-2.678 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 dQylH9Vn6DU2; Mon, 15 Aug 2022 06:54:49 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) (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 0B339C1524C6; Mon, 15 Aug 2022 06:54:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PiTYcU0SP9UmK6CS3PuePQhjthblyIEGTamxuwY+e5e4+VSi2L4ZZP+Rau7x+Qm3AzoZAeAauWbbVzzSnocXFc1by6OoeFao+g2HyyqZk6ThCGN90LQp9okLHRbxbE0xVBYggbiL8qoQVbHgFtC5A71+p47wLVzPL5fBBmHNzT9IYqb2tfBc6Go/4+BQrSTEs3I1wn4+QiIw0/6D/m2oFZGSTPLilHpAZ0ldY+N7qDX7Dl1R0PKGUQnFSVIPT4GfVoSkLGpS5MuZlJfuh2iNlZsHjs49T3vsEYlvHUxdONo9scRUtJiEDzqdlfztVsQSjAVLxO9mo9m0m/cjpIxTiw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3hKGkKBcpwtdyMMqT0LlxrT9P//cO5a4/qq2pbUjLcc=; b=SDKNHKV2lNznOSlBtYtEHL3sZYchoaDe5OaxSaIDc3EuUYMbR/xSfvN8cqBpUB7xaOk8ASP4cKsK5CAI8a9EkmucJdLHkxpHOmtXv5bwSjjdLJgosS9C2p8V99benM/Fmvit1QYN+dp4giQ5NzXNiBWeEW7R9jGqlx38wiZD8QecjDUJiyHjN2KSLH9pKLGvugMnSLhLk+miAGwLhYzPUkjKUPgbKztTkGNfH6LPiyJzByHA+oQqWqfS4hmBWOHAyg0qfTXqp+nesF2FHLE59G3Nx4CwFXpXvj9x4dvnxuDPqHNY3ui7zeQfukxIy234rOXS0i7XLEwC0l0mbxp0bw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3hKGkKBcpwtdyMMqT0LlxrT9P//cO5a4/qq2pbUjLcc=; b=NGaeIXBpGdLJmsuWNowf9gkUFOGyLmGloTbaEeCnn1WnClt/Ah3/rwSRnRpNLSybNNQOKmWHPi7DiB/UtmcdWt3DDLe9OaEMF/M/pCSIzwTilh+FvmrdLvBPfM7Al5VF5/U4EY2r5AB3aM9r4ZABxvGQfS6bHMNa4LBCYCsGE/c=
Received: from PAXPR07MB7806.eurprd07.prod.outlook.com (2603:10a6:102:13a::19) by DU0PR07MB8786.eurprd07.prod.outlook.com (2603:10a6:10:319::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.14; Mon, 15 Aug 2022 13:54:11 +0000
Received: from PAXPR07MB7806.eurprd07.prod.outlook.com ([fe80::6d3f:48b8:27c3:6c60]) by PAXPR07MB7806.eurprd07.prod.outlook.com ([fe80::6d3f:48b8:27c3:6c60%7]) with mapi id 15.20.5546.014; Mon, 15 Aug 2022 13:54:10 +0000
From: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
To: Neal Cardwell <ncardwell=40google.com@dmarc.ietf.org>, "draft-ietf-tcpm-accurate-ecn@ietf.org" <draft-ietf-tcpm-accurate-ecn@ietf.org>, tcpm <tcpm@ietf.org>, Bob Briscoe <ietf@bobbriscoe.net>, "ietf@kuehlewind.net" <ietf@kuehlewind.net>, "Scheffenegger, Richard" <Richard.Scheffenegger@netapp.com>
Thread-Topic: [tcpm] draft-ietf-tcpm-accurate-ecn-20: Testing for Zeroing of the ACE Field
Thread-Index: AQHYqGn33C7hj0uHaECdRHTcEzeS462wLbAA
Date: Mon, 15 Aug 2022 13:54:10 +0000
Message-ID: <A80FE78D-5481-4A0A-AE34-1132785F30E5@ericsson.com>
References: <CADVnQykDOLvU5y15tVihGWv-vUtE5O0Ly6MkWFOz55x_XOVi5Q@mail.gmail.com>
In-Reply-To: <CADVnQykDOLvU5y15tVihGWv-vUtE5O0Ly6MkWFOz55x_XOVi5Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.63.22070801
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b5aea93f-3760-482f-c663-08da7ec5a16a
x-ms-traffictypediagnostic: DU0PR07MB8786:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: LwRJe4w+QPIzP3l5WyE6wIZ2aUUNNNvvOpzcw7XpQ7nM0lOA/g6Wq0PHL2wSQNgRDDQiH0OOtp++z0Fij9SvPPIl0IvHWHRF+rus13Jh+OIxJxN7IG9Dr2TObKHfvv57Y85tMk74wQW0V8/UC0u9TrZIbxLawaiUglgHnX/e6mb/bQZt8BXJ9auOnklNn3LkaynPLN2QvpFgrU3b3Lr5C85vq+CgvRaGB5hoVBk4915K+9mFqKJRJeDH8Ij3FApsEaXwp9qUjbpQYnXuMePuyWYAlNMNQWmI4teib3OUKdwFr0+lITTbuElTb0O6hfbFldiMMPkPoFfNZrMXKumbMQH3COb795VzHpJ4foCcLgoWIGfUyNTWEVvwOSb0v6z6LXwM37I40Yfi9d7eQwedY9FIkQkoB1eOzyuANkLxRVpp10ChlCpMoyeSqjNwUP4odOmfsFP1CHA+UqxDP/TNQOYsEN/UKlnjyybkvR7bRbqIEB7qSS08HgPT1BAHaq2BnhP/O/d83B6ZpFLM92UjgbhYHjDsST007sxIw59GVcXQG33Mx+y7+wWoQ9Fct7L3ct6hGcpmnNtIqv/enFukrM/q2SPWm0A1BD1ILtQ58tyevTsmQaS9xDmzoG5bO1/zrhSn+U6g1FIxgYGR9m2BCM7MN5N+7wSCizycdLl0PccRTjAetSkGKqZkHE/F55qTpd8A9Ysg3xi4qcDWXMj0jyBj+4HzJMgW5qJm5nFgEoXTnksOyoGt/h+BPoZCs3OapF9cFznAuOap6+Rho6r+EeN+CT6kIJ/LKqHb7RSwHCLZekLx3qpnBHmdgpauht3Y4hjn3TJ8byQv19NpLGCPzZBvtD75loV4KOn6KzlYJqsARVc1XDZEl5QV2HkWy1/qyn08Ae4FRsu50e5Vf9+0DA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR07MB7806.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(86362001)(36756003)(82960400001)(110136005)(2906002)(6506007)(53546011)(6512007)(44832011)(21615005)(83380400001)(26005)(2616005)(5660300002)(316002)(8936002)(6486002)(478600001)(71200400001)(8676002)(33656002)(122000001)(966005)(66556008)(91956017)(41300700001)(66476007)(64756008)(166002)(66446008)(38100700002)(38070700005)(76116006)(186003)(66946007)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: JZwzpMnmozf76P2Oxsu25hFwvX17HB7ly3uO70sbt3IpLTPBmfg7g05cBPlLlNX62BL0yTGnJFRPNKGH+u+4XBQc1sHTwZW0IjU3Da0Jh6Y57qQuLXv7WHI9ySiq+aokcJfoHATdXB3fHnIv3Zjw3BSFiDgEL8ipHlyGuoSBsOrBDH1cC/tKNcojqFnIhyxJTYImem2a3NcS85P1E2XP2UBzYUUz/8QiDqEk6KSH+X51AIAU32DBC4wIWEJQlEEKTkU4ebnE2xPi5gm0m2cy41yE8eLYnwdY4efyFLP4PFraYooarluJ1rhvecRX9nE0WUwYDxh+Slv2/tbLxqkODRPypKAIfOmTTBzz+0Iu3vKGIXi+Lp4j0ii/0aVEqzLvaJyMaXMJGoavPrT2tmPhn/aGF2+dZYeW8iYNOe+c7FxV+LHMgGScqLjggYctvETE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5+kkO8wuvof/c/8XY85/9+rZ5o7kXJ8zrF2cUGPD9arwZ70W1SHByNbdIz6BerKucuCzuSo2JPw4/CPVGVEGnJl5hKA9IhR6UEelp19bANhM=
Content-Type: multipart/alternative; boundary="_000_A80FE78D54814A0AAE341132785F30E5ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PAXPR07MB7806.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b5aea93f-3760-482f-c663-08da7ec5a16a
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2022 13:54:10.7820 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: gsUZJgmRjTJBUV8RzTwP0Eh45m2AMcSwczskDZtA1RAEj2AAJLcdnDyz/QqfF2MckVGUSmgvYX1fqbvyz68KK6H70sg/DhnQWstnD7oCWwU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB8786
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/Ox3Qk2bqQJTneFB_vcRzhhiri7Y>
Subject: Re: [tcpm] draft-ietf-tcpm-accurate-ecn-20: Testing for Zeroing of the ACE Field
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 15 Aug 2022 13:54:53 -0000

Hi Neal,

I agree with you that we could probably revise the text slightly. I believe we didn’t really consider the case where we still get valid information in the option but not in the ACE field. So we also assume in section 3.2.3.2.5.  (Consistency between AccECN Feedback Fields) that the ACE field can be used as a consistency check for the option. However, for the case that your described below where you basically know that the ACE field is managed locally but the option seem to work, it would be sad to disable ECN completely.

Maybe we can/should relax the text a bit by restating it this way:

OLD
If the value of this ACE field is zero (0b000), for the remainder of the half-connection the Data Sender ought to send non-ECN-capable packets and it is advised not to respond to any feedback of CE markings.

NEW
If the value of this ACE field is zero (0b000), for the remainder of the half-connection the Data Sender is advised not to respond to any CE feedback in the ACE field and ought to send non-ECN-capable packets if no other CE feedback is reliably provided in the AccECN option.

Of course that leaves the question open when the feedback in the option is reliable, but maybe we can just leave this to the implementation and further experimentation.

Mirja



From: tcpm <tcpm-bounces@ietf.org> on behalf of Neal Cardwell <ncardwell=40google.com@dmarc.ietf.org>
Date: Friday, 5. August 2022 at 03:23
To: "draft-ietf-tcpm-accurate-ecn@ietf.org" <draft-ietf-tcpm-accurate-ecn@ietf.org>, tcpm <tcpm@ietf.org>, Bob Briscoe <ietf@bobbriscoe.net>, "ietf@kuehlewind.net" <ietf@kuehlewind.net>, "Scheffenegger, Richard" <Richard.Scheffenegger@netapp.com>
Subject: [tcpm] draft-ietf-tcpm-accurate-ecn-20: Testing for Zeroing of the ACE Field

Re:
  https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html

3.2.2.4. Testing for Zeroing of the ACE Field –
https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html#section-3.2.2.4 – says:

"If AccECN has been successfully negotiated, the Data Sender SHOULD check the value of the ACE counter in the first packet (with or without data) that arrives with SYN=0. If the value of this ACE field is zero (0b000), for the remainder of the half-connection the Data Sender ought to send non-ECN-capable packets and it is advised not to respond to any feedback of CE markings. Reason: the symptoms imply either potential mangling of the ECN fields in both the IP and TCP headers, or a broken remote TCP implementation. This advice is not stated normatively (in capitals), because the best strategy might depend on experience of the most likely types of mangling, which can only be known at the time of deployment."

I would have imagined that the response where a data sender detects "Zeroing of the ACE Field" would be to simply fall back to using the AccECN options, rather than falling back to  sending non-ECN-capable packets, thus losing the benefits of L4S congestion control. Would that be feasible?

AFAICT a data sender can do just fine with zeroed ACE fields, as long as the data receiver is sending valid AccECN options.

I can imagine several different arguments for a response to "Zeroing of the ACE Field" that involves  simply falling back to using the AccECN options rather than disabling the sending of ECN-capable packets:

(1) The part of Postel's robustness principle that says "be liberal in what you accept" would seem to argue that a data sender should be liberal in accepting a zeroed ACE field as long as the AccECN options are intact and seemingly valid.

(2) For data senders that need to use TSO, but who have NICs where TSO necessarily corrupts the ACE field (due to RFC3168-style tweaking of the CWR bit that cannot be disabled), it would be advantageous to those data senders to be able to simply send zero ACE fields, rather than send ACE values that they know would be corrupted. AFAICT this could allow such senders to benefit from both TSO and L4S.

(3) Similarly, if a middlebox somewhere zeroes out the ACE field, AFAICT this could allow such senders to benefit from L4S in this case as long as the incoming AccECN options are intact and seemingly valid.

Thoughts?

thanks,
neal