RE: ECN in QUIC connection migration

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Fri, 09 February 2018 07:34 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C52F512741D for <quic@ietfa.amsl.com>; Thu, 8 Feb 2018 23:34:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.31
X-Spam-Level:
X-Spam-Status: No, score=-4.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=BfC5zD5E; dkim=pass (1024-bit key) header.d=ericsson.com header.b=gqwyblpV
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 nn7L3NT1XKwa for <quic@ietfa.amsl.com>; Thu, 8 Feb 2018 23:34:50 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 1CFBB124234 for <quic@ietf.org>; Thu, 8 Feb 2018 23:34:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1518161688; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wEpLfwoX3GVlM+dwrBcDw93gulVvL+7MIZ29Sb/sgac=; b=BfC5zD5EQseaxJ+Ik8xk6xw8oDznnAfri6ly+Ujmvceb9IYJWV5Z4TU1nX6oNN6A nfYxnxafEyMN2CeEcyvrqNgKpq6pctqltFvGM8H1ctqZLlSwcQPBUk4ujaITKcGg X7BM0bLyOkmlv5WL7qZktfC+DMZaGbTFri98kwFm8r0=;
X-AuditID: c1b4fb2d-4b1ff70000005540-3e-5a7d4f184085
Received: from ESESSHC024.ericsson.se (Unknown_Domain [153.88.183.90]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id B5.F0.21824.81F4D7A5; Fri, 9 Feb 2018 08:34:48 +0100 (CET)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.90) with Microsoft SMTP Server (TLS) id 14.3.352.0; Fri, 9 Feb 2018 08:34:47 +0100
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; bh=wEpLfwoX3GVlM+dwrBcDw93gulVvL+7MIZ29Sb/sgac=; b=gqwyblpVMYbGMpYinr6/zpEBl36M8jdnCElZS6woo98FaWHKh5GCJNXxyCAksKm626dFH+CZKGv3bpyHmKbxn4wYtskyfyY3QyzoJQI3thFonF6KsT3lfTfwjBpApDzJNpn8zsdFBAGu2/l9WMifyOdwpkY+3UBsmSe1Txh5p+4=
Received: from HE1PR0702MB3625.eurprd07.prod.outlook.com (52.133.6.23) by HE1PR0702MB3564.eurprd07.prod.outlook.com (52.133.6.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.3; Fri, 9 Feb 2018 07:34:46 +0000
Received: from HE1PR0702MB3625.eurprd07.prod.outlook.com ([fe80::38e6:dea0:2f4f:715]) by HE1PR0702MB3625.eurprd07.prod.outlook.com ([fe80::38e6:dea0:2f4f:715%13]) with mapi id 15.20.0485.009; Fri, 9 Feb 2018 07:34:46 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "De Schepper, Koen (Nokia - BE/Antwerp)" <koen.de_schepper@nokia-bell-labs.com>, "ekinnear@apple.com" <ekinnear@apple.com>
CC: QUIC WG <quic@ietf.org>, Ian Swett <ianswett@google.com>, "Lubashev, Igor" <ilubashe@akamai.com>, Christian Huitema <huitema@huitema.net>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Subject: RE: ECN in QUIC connection migration
Thread-Topic: ECN in QUIC connection migration
Thread-Index: AdObSzPyOy5d4GB2SeSGz4shYev25AAZWcAAAB/s3/ABUaWKkA==
Date: Fri, 09 Feb 2018 07:34:46 +0000
Message-ID: <HE1PR0702MB36256D92C008302CBD908DE9C2F20@HE1PR0702MB3625.eurprd07.prod.outlook.com>
References: <HE1PR0702MB36252D61A7A51B848B5DA9E7C2FA0@HE1PR0702MB3625.eurprd07.prod.outlook.com> <639A6936-34F2-4C27-973A-EEAE878677FA@apple.com> <VI1PR0701MB2126E79A17DB715F6C91EA05B9F90@VI1PR0701MB2126.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR0701MB2126E79A17DB715F6C91EA05B9F90@VI1PR0701MB2126.eurprd07.prod.outlook.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3564; 7:cCEZQcmubo9zgA+TiuhXa4zvifXIkLicemR1bmYRFCC8E2c4RgLXjBfJquCWusfMN3mwBaKkwZmlZ5klQuBbYOP0i5lbvCJa6inawJ/4XrW019Mkhub3Vhe5D6tsGi9gk3Yd0kqoXnFeBP0wcT9wQv4HOoqCDCoVbtEkFZGaH7VAx2wA4UGLftV3vW7mxvXnFd6iVisL1dNoVNFluqWekLjHDdWO7bgC/pJ/sQ0YkMgtEmWZiY1IwI0O4uhZPfPK
x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR;
x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39380400002)(346002)(39860400002)(189003)(51914003)(199004)(229853002)(7736002)(966005)(3660700001)(186003)(26005)(14454004)(6436002)(8666007)(2501003)(55016002)(8676002)(2950100002)(3280700002)(478600001)(99286004)(59450400001)(5250100002)(105586002)(33656002)(68736007)(2906002)(66066001)(25786009)(81166006)(2900100001)(790700001)(3846002)(81156014)(316002)(6246003)(76176011)(5660300001)(53546011)(19609705001)(53936002)(54896002)(9686003)(97736004)(102836004)(106356001)(74316002)(6506007)(8936002)(7696005)(6306002)(606006)(110136005)(236005)(86362001)(54906003)(4326008)(107886003)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0702MB3564; H:HE1PR0702MB3625.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
x-ms-office365-filtering-correlation-id: bfbe6938-fe5f-41ee-532d-08d56f8f97e1
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:HE1PR0702MB3564;
x-ms-traffictypediagnostic: HE1PR0702MB3564:
x-microsoft-antispam-prvs: <HE1PR0702MB356493C890A2075FDFB213FEC2F20@HE1PR0702MB3564.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(28532068793085)(166708455590820)(211936372134217)(202460600054446)(153496737603132)(21748063052155)(31960201722614);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231101)(2400082)(944501161)(6041288)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0702MB3564; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0702MB3564;
x-forefront-prvs: 057859F9C5
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: y/6/H3oVwNHX8SA8fHodEKS6a2LCyeNPu0g0qgL4yNbnVs3dZ6hFvFdkq09tL33uvn/5qCg5xLW7O2lz0XMFsw==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_HE1PR0702MB36256D92C008302CBD908DE9C2F20HE1PR0702MB3625_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: bfbe6938-fe5f-41ee-532d-08d56f8f97e1
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2018 07:34:46.1301 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3564
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SWUwTURSGvTOd6VCtXivLESFKhUTUggKSPhAimEgNIfKofYEGJtDIlg4Q AYmlEZdSFkUNi0g1xY2IBi1FwQfAqCwRQVCEBFkqihgTEKlEKNIOJrx95//Pf8+5N5chJX2U J6NOy2Q1aaoUKS0SVJ6wKGVwPF95wG7dLjfMRsnLC6qF8sXRZ5Rcp71Hyl8t1BFyg3HjYVpR /tJIKsydf2iFsTFLMVzRJVCYTIuEQrdwm46llaKwRDZFnc1qAsPjRckdAxYqY24Kndb3RGjR tzGkRwwDOAQu1ATpkYiR4A4ENYV2ii9eIxjpaSMdhQDPEWAsqyZ55xoBgz8aaL6wIljSX1w9 y4WhcRjcb7chh+GKdQimSy8RjoLE3QhuausoR9c2LAOzrpt0sCsOgGnDOYrnSLh110w5thJg X/gwLnDIYhwPfbXWtWnfEViqB5z9LlgFb00TzskIe8Nn26gzQGIPGLbWEg4GjMHU2kvy7AbT k3aK70+AuU/FFK/vgqX+CZpnb+ivLXLeAHATAQXLs2tGMOjLWtcCLTSMVoTyHAPVb4ppPtCF YGjFhnhjP/TqB4U8p4O9uHltiwYE3YZUPnCDhJGSbqIMBVSt25zndJj/+cTJYrwVOiutgqrV lyGxPzx6Hsi3+MDVonEhz3ug8EaNcL1uRMIHyI1jOS41KSg4gNWoEzguPS0gjc1sRKsfre3p X1kzqp+JaEeYQdJN4pPyfKWEUmVzOantCBhS6ip+F7MqiRNVObmsJj1Ok5XCcu1oByOQeog7 j4mVEpykymRPsWwGq/nvEoyLpxZd33Dkt79f6NL8ZVFp61Gzz/L5ZPfgkoIXWbujvSZjI7R9 Xk0mn9mxuJk8b1mtbT5SPmTRBbP75nf6UUzEnVizYbhTndi8RJZ+iX4Pv4ano4omReqWkC0u Zyyq+KYx34q8lTBQnt0sqQutX6yc+sgdCnd/GOSqHr/y+GuPNTdVKuCSVQf3khpO9Q/yqmxM ZAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/0OqNPmIvEzgFCaenkoi7yhsVG2k>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Feb 2018 07:34:54 -0000

Hi Eric, Koen + others

Thanks for the comments and the update. A question to the rest of the audience, does the presented text explain sufficiently enough how ECN works with connection migration ?
https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#transport-draft-connection-migration


/Ingemar


From: De Schepper, Koen (Nokia - BE/Antwerp) [mailto:koen.de_schepper@nokia-bell-labs.com]
Sent: den 2 februari 2018 15:44
To: ekinnear@apple.com; Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: QUIC WG <quic@ietf.org>; Ian Swett <ianswett@google.com>; Lubashev, Igor <ilubashe@akamai.com>; Christian Huitema <huitema@huitema.net>
Subject: RE: ECN in QUIC connection migration

Hi Ingemar,

I also read again through the document, and had following comments:

I replaced:
“The ACK_ECN frame is used to convey ACKs when the ECN capability exchange concludes that ECN should be used for the given connection.”
Originally it sounds as if the counters are not echoed anymore if the ECN capability check fails. I assume this was not the intention, but if it is: First, we don’t have a protocol or decision point defined when that condition is met (sender should let the receiver know in the next packet), and second, I would always send the echo, as we might “try again later (with another ECT?)”, or might decide to use the ECN bits differently later.

I also changed the text around the connection migration, I think before Eric reviewed it. I made it such that every new path creates a new connection state with an initialized congestion control state and ECN counters (at least ECN counters reset to 0s). Not sure if this matches with the other sections in the QUIC draft.

I also had the thought whether it was really needed to have the 2 cases. I agree we should simplify, by just starting over and doing the check unconditionally whether it was successful or not in a previous path.

Regards,
Koen.

From: ekinnear@apple.com<mailto:ekinnear@apple.com> [mailto:ekinnear@apple.com]
Sent: Friday, February 2, 2018 12:02 AM
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com<mailto:ingemar.s.johansson@ericsson.com>>
Cc: QUIC WG <quic@ietf.org<mailto:quic@ietf.org>>; Ian Swett <ianswett@google.com<mailto:ianswett@google.com>>; Lubashev, Igor <ilubashe@akamai.com<mailto:ilubashe@akamai.com>>; Christian Huitema <huitema@huitema.net<mailto:huitema@huitema.net>>; De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-bell-labs.com<mailto:koen.de_schepper@nokia-bell-labs.com>>
Subject: Re: ECN in QUIC connection migration

Hi Ingemar,

This generally looks good to me!
A few questions and observations:

There are two unique cases:
                • ECN capability check successful at initial connection setup
                • ECN capability check failed at initial connection setup

Are these actually any different in terms of action taken by an endpoint?
It seems like on the new network path the endpoint would go through the same process of: (a) verify ECN capability and if successful to whatever degree then (b) run the rest of the ECN machinery as appropriate.

In other words, as long as you allow people to start using ECN upon migration (in other words, to allow starting it after the initial connection establishment), then the specifics for ECN with migration is essentially one statement, which is “do the ECN process on each new network path that you use”.

Connection migration has impact on the number of reported CE marked packets. A new connection state with new congestion control state and ECN counters is instantiated at the sender and receiver. The ECN counters MUST start from zero again.

This seems fine to me, it’s inline with the rest of the congestion control/loss recovery state that also needs to be reset for the new path.

Given that each migration requires at least one exchange of packets at the beginning (at the very least for address validation from the side of the endpoint that didn’t migrate), it seems like that’s an excellent moment to mark the packets and perform the ECN capability detection. Those packets are also likely padded, etc. similar to initial packets since they’re on a previously unused network path.

I think the current proposed requirement of just using the “first” packets and marking those is sufficient (and good to avoid any requirement as to which frames are contained in those packets), since we are always exchanging packets in both directions immediately after migration.

This has the added benefit such that any endpoint “probing” possible network paths could include the bits necessary to detect ECN capability on the path being probed, so it could even know before migrating whether or not it would be able to use ECN on that new path.

Thanks,
Eric



On Feb 1, 2018, at 3:07 AM, Ingemar Johansson S <ingemar.s.johansson@ericsson.com<mailto:ingemar.s.johansson@ericsson.com>> wrote:

Hi
I have written up different aspects of connection migration and how it plays with ECN.
https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#transport-draft-connection-migration

A caveat.. I am a bit unsure about the definition of connection migration . My interpretation is that a client moves to a new IP address due to e.g. a NAT rebind or switch from WiFi to cellular, right ?. Is a new connection instantiated at a connection migration ?

/Ingemar

==================================
Ingemar Johansson  M.Sc.
Master Researcher

Ericsson Research
Network Protocols & E2E Performance
Labratoriegränd 11
971 28, Luleå, Sweden
Phone +46-1071 43042
SMS/MMS +46-73 078 3289
ingemar.s.johansson@ericsson.com<mailto:ingemar.s.johansson@ericsson.com>
www.ericsson.com<x-msg://316/www.ericsson.com>

                 You can't start a fire
  Worrying 'bout your little world falling apart
               Bruce Springsteen
==================================