Re: Consensus call for Late-Stage documents, pre-IETF 108 edition

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 24 July 2020 07:47 UTC

Return-Path: <magnus.westerlund@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 C43033A0B33 for <quic@ietfa.amsl.com>; Fri, 24 Jul 2020 00:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 eQHo2fSBQ3wG for <quic@ietfa.amsl.com>; Fri, 24 Jul 2020 00:47:06 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70085.outbound.protection.outlook.com [40.107.7.85]) (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 2DB983A0B32 for <quic@ietf.org>; Fri, 24 Jul 2020 00:47:06 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JZgw9VfdpRq0XgzLndhCrWbJFXfNlxiqwmRMLzWyAKU68gNPtxEFaI13ilQ4Dwxe+6sHUoo+ssfLKoWzbYsGcH1lhs2dMFdBGSJYVUZnY+nkk0ayCbeUGPwPuO6jwSbFq2NDZqP4hMglWKy8eExYA7jJm72j5KWMecGPBcKHoOkmQy+yl4KHVWo7LQRCx2CQFjbJK9m5Gl+fJCyDUX4VdZHit622L545rtJ0TW+ucJAMa85g6N24q0aM1/vBH7tN6Igq5UzM4Cusa2Ag8KZz/d8bNodD2kJbTc4efyOqJ/nJvk91Wa0jbSm1jgFt5mdekIONMgGGja5puVi3Eq6CGA==
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-SenderADCheck; bh=rAcpBj+oP8qp81q+hH4GJCphkC2PMpQ/agjfCS6l5zY=; b=Qlo5Qen28u7EdLmU8el4lVwWZNK4VzSMGZcfJ80e4kBdu6NyUEc5i3CK6afDgrQYwTAZT1WVp3nCuPbiC/06+ldPMoDd9qacPBTe9LVy2tOKcB0KZHs4LWhg+EkVE/Vl4WMip4oL8Y7CIqOStOLVxvqO1+waIn9+x4US8D50ySSd8FvMk3gjxpTx3K1smb5iEEOMUJgLQju/cggWiD8ejcyQnuyr8rk4/VgzQ+5ZRl8BL0Ac8LdM1VOwE25JmmlLUyh1w9xHNv+tPEw5Q8UArFEEXywaQF+Xx+DyFZi0LXyrcRJAu7g9neMNoYlGAH/FfHM4rX/TPa79vv9oIAjkzQ==
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=rAcpBj+oP8qp81q+hH4GJCphkC2PMpQ/agjfCS6l5zY=; b=juOLFT+rX9YJBv8CBJZG0hzPzVrO+dgPK3d2uBF3hir1n6rsHoZKZ31oofDHfQi4AiXUTKxA2xuz3TF6jHaAi0NQP2fbxOvf2bURYk0ltefDY8bII7cQB6QS5k1szpsFr3l8iyq10SXxK5RIffzhX+VrVxBIv6gFfA47F5x0dIA=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0701MB2458.eurprd07.prod.outlook.com (2603:10a6:3:71::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Fri, 24 Jul 2020 07:47:03 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351%6]) with mapi id 15.20.3216.016; Fri, 24 Jul 2020 07:47:03 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "huitema@huitema.net" <huitema@huitema.net>, "jri.ietf@gmail.com" <jri.ietf@gmail.com>
CC: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, "mt@lowentropy.net" <mt@lowentropy.net>, "lars@eggert.org" <lars@eggert.org>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: Consensus call for Late-Stage documents, pre-IETF 108 edition
Thread-Topic: Consensus call for Late-Stage documents, pre-IETF 108 edition
Thread-Index: AQHWX8vkK2gaMVOHYk+y4egls1510akS7BkAgABJ4ICAAHiNgIAAIMAAgAAx14CAAFHggIAAbdEAgAADqICAAANlAIAAAisAgAC5qoCAACXDAIAAtDEA
Date: Fri, 24 Jul 2020 07:47:03 +0000
Message-ID: <337cd3d0841e9d94a034aa2402ac2a030af550f8.camel@ericsson.com>
References: <CALGR9obkGENj_Brk5D29Z6HB-yq9TbPLjUXSNbotAZJ0LRHgSg@mail.gmail.com> <CABcZeBMQNX_qbXT_qCmyWuXdLeL2=ar0u9yKB=c8M7=WNB4oVQ@mail.gmail.com> <1909E24B-73CC-4129-9B64-F0A3BE2D74D7@eggert.org> <CA+9kkMCRfhNayN5jM5g3Ckwst4GGxR++be5p7ea1jYkE3MbzqA@mail.gmail.com> <CABcZeBOcZd9=Th4T=rm0i+EGnG1i8bjembf20ungVYaDSpjusQ@mail.gmail.com> <7b5c104c-36b6-3fe1-4e5b-0e42cc9e2b36@huitema.net> <74ef5430-8e3f-4b6b-b81f-b25443e975b4@www.fastmail.com> <32c098c3-24e4-1d7c-fdf5-33761adacfa8@erg.abdn.ac.uk> <FA3E4F14-570C-4A28-A2C8-EA2B3937E614@eggert.org> <0ee0a444-3910-3e71-54aa-581431495648@erg.abdn.ac.uk> <3644F334-F148-4FF5-AE86-015C073871AC@eggert.org> <c28e05f6-637d-9183-11db-f8daa8b9e7c4@huitema.net> <CACpbDcc86pgVpcN7DHb2s8aRGjzCC4RNjYPnGyDHhUCWg-G9zA@mail.gmail.com>
In-Reply-To: <CACpbDcc86pgVpcN7DHb2s8aRGjzCC4RNjYPnGyDHhUCWg-G9zA@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: huitema.net; dkim=none (message not signed) header.d=none;huitema.net; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [158.174.130.202]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b344c818-2bf8-49f4-6bb9-08d82fa5c181
x-ms-traffictypediagnostic: HE1PR0701MB2458:
x-microsoft-antispam-prvs: <HE1PR0701MB245808BB97869ECE514FDD7495770@HE1PR0701MB2458.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: CPr9Ev1fP3fPd9xcm4BVXFCDFmZ36eRYu4iHrlGOTMod+KlS5fNKRBFjl4gOrprX6JpQzo0Q1DTwqUp4QZ/ajEJz9OmFfxHgf1Fss99DM7mPO9y3x0E5bd3GFlXogdwI5Z1yN2yZnLRD8lWb090UrJC7fXDodyD4yzs5PLk/4fG6FzE7puMiXa4kw5CUfJmE69Kgoa2cAjMIka1V5F3fsQ8jOuSXXuswJ6v0PXMXhHwaGgMOL9DFXZGJE57FSuBJSrknuovTxUM89PvHNi07FfNcfMDb2tCmK5a4p+iyDDVxWhE4aur59wA1aU4htofGRBwECgu+kM4JX6rJdSQ7Phd0QjL7NVlug3qwC9Kvp5LDliNay9uQMe4CPlFF6Lm+
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3772.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(186003)(2906002)(44832011)(6512007)(8936002)(5660300002)(2616005)(26005)(54906003)(86362001)(8676002)(76116006)(64756008)(36756003)(110136005)(66446008)(66946007)(4326008)(316002)(83380400001)(66556008)(6506007)(478600001)(4001150100001)(71200400001)(66476007)(53546011)(6486002)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: AwwUEilhYWjntVd228ACDvmdflArPV8q5hdLhuEPcxxDa25nW9NRB3KESTiQQ+awOn4mhjAZfXLmAJg9UHMLETNdWXevu6J+wvcyPTSoSIuv8KKBLR8j0KRjNv31PH9bQMBD1Ti2hKByHDyaqPW2puGbCrpt91/EWdVOB9l2MTG0zYrXTvyQqF9BJJmueXSeTo5NhgC0Kw4N/9R+mQlzcB0VaHkjDOa77DHCfQFHXOnIIg/xXrzT+6MfD/+nStYYXCfBJdZHETZYUPR65SSg/JGEQewncDg9S0XL1MxpQZTtqfgB7hozUcVVvHysOxzHLdnhA2U45suf2dN/+TPuviuXpLLfgCBo8gIu0dHzAaYkOYQd7RMVJTvhbj3M7o5kcriMJqol75bsYKDAQrqa8StPpLRn8B4IfurmF+LHtOaHry4USuJieWqrJXvk+4ooe5PJLHqMbmVnLrOzvTCcjeUwgIXoxzSBN+ahmSd4yaEM8DJ8bc0H0x8axXnS8hkg4eprLwO9mkwxP0zyc+p7mxQ6Oa8mqGMIegF5Cz8d39xRkQaIHZWqXy0KVURWW1xinU8GcAMyPROaDdZYrtIcskzXMXQAEjRBA0PrW+uzkulDjtvKySmZRC1w/QNWeu/1DtChJcmFRXWAG2Q31dj8zw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <726BFF9440C0D548A356BC775DB8B4B6@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3772.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b344c818-2bf8-49f4-6bb9-08d82fa5c181
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2020 07:47:03.3869 (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: RrgnZm2X5zpvvFkOGt4TnqHox+Xmfh5iXQ61wTLHFf/Xpf7/E/U0xolQCcMf/Rdu9DMR1I6Sjq+P3CkadN35xT5vSokdNRcveLp8L0oKOnc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2458
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/TVdVqBNbzthfNyi_e0QngSwRtDc>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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, 24 Jul 2020 07:47:11 -0000

Hi,

So if I understand this correctly we have a couple of different reasons for
reasons for the port change to occur.

NAT binding times out: In this case the CC state should also have been aged as
the QUIC connection has not sent anything for many seconds. I would think a
minimal of 5 seconds, likely at least 30 seconds of inactivity for an
established QUIC connection as it will have gotten the NAT into a bi-directional 
UDP flow state, rather than a one of request response state, like for NATs with
DNS binding recovery optimizations.

NAT binding lost in restart or crash of NAT device: In this case it is likely
that an active connection have lost several packets on the old port before the
migration happens. Will those losses be represented in the migrated CC state? 
An
semi active connection may have not lost any packets and in worst case had a
fairly large window, then went quite some few seconds will the NAT device
recovers and thus a limited aging of CC state could have occurred. 

NAT lost binding to resource exhaustion: In case of an attack or simply
overwhelming amounts of flows the NAT exhaust its resources and starts recycling
the bindings that had longest time since last use. That could in worst case
cause frequent rebindings. I would say this is broken NAT device that is better
of refusing bindings in this scenario than making existing bindings breaking. 

Change of attachment point behind a CGNAT: A node could potentially change its
local IP address but stay behind the same CGNAT. The NAT will create new binding
as it doesn't know that this is the same device. This represents an actual path
change. It doesn't appear the most likely scenario, but could occur for example
if I move from my home wifi to my frindly neighbours wifi which I also attach
and we use the same ISP. 

Does anyone have a scenario where a port change would actually occurr when the
QUIC conenction is transmitting at any significnat rate and the port change
would not incurr packet loss or seconds of the path being blocked? 

To me it appears that the scenarios I can think of all would result in
significnat reduction of allowable transmission rate anyway. Have I missed
something relevant here? 


Cheers

Magnus Westerlund


On Thu, 2020-07-23 at 14:02 -0700, Jana Iyengar wrote:
> I'm happy with the resolution that Ted proposed and Lars wrote up in PR 3945.
> 
> We should not forget that endpoints will do what they choose to do on this
> particular issue. It's perfectly reasonable to assume that port changes are
> infrequent and do not reflect a path change commonly. In the rare case that it
> happens and in the rarer case that it is in fact a path change, both
> congestion controllers and RTT estimators are adaptive. The text in the PR
> captures this possibility. That reflects reality and is an adequately cautious
> recommendation, IMO.
> 
> On Thu, Jul 23, 2020 at 11:47 AM Christian Huitema <huitema@huitema.net>
> wrote:
> > On 7/23/2020 12:42 AM, Lars Eggert wrote:
> > > Hi,
> > > 
> > > On 2020-7-23, at 10:34, Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
> > > > These methods often hash based on port, IP, and maybe other fields to
> > > > select a queue - There are a finite set of queues, a rehash results in
> > > > the traffic moving queue ... to chooses a different path or queue within
> > > > the device. This mapping is statistical, this matters more if the
> > > > multiplexing is low and a port change results in unbalance across
> > > > quques/paths.
> > > 
> > > I agree this is mostly a concern for low-mux'ing cases when a single
> > > rehash can create significant imbalance. How common are such deployments,
> > > and how much of a problem is such a temporary imbalance (the CC will
> > > adjust quickly). Esp. compared to forcing slow-start after every NAT
> > > rebind.
> > 
> > Gorry, Lars, where can we find data on the NAT behavior and the relation
> > between NAT rebinding and routing paths? In home routers, NAT rebinding
> > typically only change if the session is quiet for some time. Do we observe a
> > different behavior with CGNAT? 
> > -- Christian Huitema
-- 
Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------