Re: Back to work
Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 27 October 2020 17:04 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 60A513A11FA for <quic@ietfa.amsl.com>; Tue, 27 Oct 2020 10:04:34 -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=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zO9wESc3VHxL for <quic@ietfa.amsl.com>; Tue, 27 Oct 2020 10:04:32 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00050.outbound.protection.outlook.com [40.107.0.50]) (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 618EC3A11FB for <quic@ietf.org>; Tue, 27 Oct 2020 10:04:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e1s1L8JufSwWfewbuJ8y++WvTnLoUpZssRL0ajXZd4uEmZB9V4bSTzQiMpcZPfZmL2NHo+BmKzSPxWXAh3XVyODktf+sEGo9Q0UTlbjBP5fCs6Egp70ZUZ7xIejzBG/LpO1+5jjaPn1+q6NdbPzGe6i2DWAmhxIz13afucvfKgm1hLdayLgAWu4NS+1Ms0aoo8MneUIVI1ARuf+ha/kKaE8rV/UcvY8ziZ/mVoeFv17Q1vCHk1mjnG9yqjE4jxM93YmkglCTjr4sBhnvktlMKsCSUzf1Ib4tN/VJKneRsonn97S2vxw+t0jzT31jLEf5uRK8N8uClHwd/dFpwn/nQQ==
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=nEm+hunZozr8+O/ZYvA3XXQFM3DkdmDvoT+fFyWEgaI=; b=bHoecJQPfFmWfpMUn6w2XfrAO11Xg3vPbapqHLagpcfsYxcM3tiEQM7wutYR8OlAOLv54TgXRzOs2IQX133mo4PsVKT1H1Od/n3SBf3Mv8GRuBgqH/ghr3k3SeZ/Koy9HfRxwOTXY5ZORysme7gXkrJQJpZjL62C5Jy0pP2ZlANgzOYZ5wxAgflIryziMdKKEPN1sObLmB/ZVN71V4kqH1ooFC8KpOfVBZ+gd7y2rShvYfdsA5Yf9C6YzBM9OR5jezsv4wR03DlJlLz4eLDNnl6KM1+5FWsUapmzALaSMyasN9O7o1arEsc+U1j4F3lLE3JAgYNkORA7Yl6xIdjTng==
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=nEm+hunZozr8+O/ZYvA3XXQFM3DkdmDvoT+fFyWEgaI=; b=Akc3vY1afAzVvJ5QjSF+bM0mkSfDMX4OCQIuLEg5vmLwRJ8Ydf8xCDHnkSEOESyJr58qWwlxQtYSxhE5FMmx+wZwljSvjZH6E+Wuufeq5IZ61akVFCvDSVgY14Ox4uYXQMLIeVagsnVTMrKJkFLyzRJqzOIlfJez2Wrn4coVTkY=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0701MB2266.eurprd07.prod.outlook.com (2603:10a6:3:2c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.15; Tue, 27 Oct 2020 17:04:28 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::cd13:5bbc:84b2:cc8d]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::cd13:5bbc:84b2:cc8d%6]) with mapi id 15.20.3499.015; Tue, 27 Oct 2020 17:04:28 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "ianswett=40google.com@dmarc.ietf.org" <ianswett=40google.com@dmarc.ietf.org>, "ximaera@gmail.com" <ximaera@gmail.com>
CC: "mt@lowentropy.net" <mt@lowentropy.net>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: Back to work
Thread-Topic: Back to work
Thread-Index: AQHWrCtWcKW1sYPxXEaz7HX0GwoCCKmrE90AgABZbwCAAEDQAA==
Date: Tue, 27 Oct 2020 17:04:28 +0000
Message-ID: <b80cf41524865c171712bfcfca7ef92e2a472044.camel@ericsson.com>
References: <0f150dec-e408-48bf-8e54-05e3e96e7a85@www.fastmail.com> <CALZ3u+a1fBq1MB52H-h-JYY=OOkOo9=jEu7smNVeyy_9U3abEw@mail.gmail.com> <CAKcm_gNoB=nP050VRfw5MXAAw-HhpnKHp6pAx9onaA4a5CH5-Q@mail.gmail.com>
In-Reply-To: <CAKcm_gNoB=nP050VRfw5MXAAw-HhpnKHp6pAx9onaA4a5CH5-Q@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [158.174.117.100]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4d4daa8f-e807-47ae-de97-08d87a9a5d90
x-ms-traffictypediagnostic: HE1PR0701MB2266:
x-microsoft-antispam-prvs: <HE1PR0701MB2266B2E64031BE85689583A795160@HE1PR0701MB2266.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: MQMzYaagJIJ9wnuR15GlJlU5dmYV4BgfjyzjIMBubcc1M+5VL5oquwSqUCz4twW6zFaG64kPOgODpXhodwTbXORxHjIb4+mwJVAyKnJrQmKlFln10LpBA0AJCwCO61olX0wiD9UWKLOAcH7mgdYpaqN5D+T7U5EDlf6v3gp7ihNVwKH9cEIdOLBJgt7ePR0eDHIZFatd7Abf2VowTVhKkfYEjeo//cIHEwHxfsH/up6b5K0li0D4SZInBXs4roFeZAZhHF0Oy+JVYxx6Qx3GR4qjA4w7ZzZZOi5+69QyqSqo190oBczLkhjVrg189YD+LZJsy6lqdJyq5yR6EV2+OsRm43m+eR51hEilTNnoBfzBlEGA7p/uiOWRXMoE50iX
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; SFS:(4636009)(396003)(346002)(366004)(376002)(136003)(39860400002)(83380400001)(8676002)(6486002)(66446008)(64756008)(66476007)(66616009)(99936003)(66946007)(6512007)(3480700007)(6506007)(66556008)(4001150100001)(71200400001)(76116006)(26005)(110136005)(2906002)(478600001)(7116003)(44832011)(316002)(36756003)(186003)(54906003)(86362001)(5660300002)(2616005)(8936002)(4326008)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: SvwaW4josEcnXDI68fYxDEpHtbbTXINom6ug99j9QqCOvrQZnYtgBP9uvGwoxKKfIw1tH9QbH/PgtCgwIyHHKvbPtax4/kRMnYwJrp84taHRMxUsQOeM7iHaCRf7Hyzsp7HBH8fZsdBtukxsXKglNsZ/w15nZnYXQnoBIeRvT7g+N74oDCO5DVS4OOFSZ7Q0dgKQBKjkxW/1/lfZXoUciqxRXL1RLhBl0YJXaFwVyCaY7GOD7OcqTbXYy66p4hDIwIZny5a7mqfoFpacHankA4yjQc4bltO2loIK6TsTOfFIbrwnQKsMuBuIg7Zgfie70xE93VolfgQJJql2BM2eo9U0Bjrzf7djx0lQCrFEmcqDVAEYKcUbI1rJjliezeQrl7iT7Suo/RZ9DWYAwISaxCaMBaImV8xFSpgL7Q3CJS1fSh8f46HJ6JVeIUA4x1qiB4QxZoCvQrC/Iqq0ocadbN//UOKuOdFfHEXT2nggdLqG/8u2lUgNuC+p5T9tO6PULKksym85cl7RoTDh6x4BN7mYosuQgHB/MwwftjApeqvMZzVFOaSnCLEyoUlk0HPM+k8Tmef/2YpUUrBUYGhiceoMi2mToaSnrzOn2X3825sQXdSaQvYCULrw/gvm00bBv65XKCMZBmGe7Js0xfj25g==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-/9+h9rP0f5OSCd/BdDPv"
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: 4d4daa8f-e807-47ae-de97-08d87a9a5d90
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2020 17:04:28.4353 (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: T4HfOd/GNNckYDqrdGmHePJbf52MJDJrzI+jBcRL+PSFv3gpzN8Op6wIGH0Eu2/lYV1uQ+sTRU1Sbb1FKFAfAGRPB1ENV6xeoREckUy4A+I=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2266
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/WkWfh2tlEDhGVrK38W6ZZrPr4XA>
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: Tue, 27 Oct 2020 17:04:34 -0000
On Tue, 2020-10-27 at 09:12 -0400, Ian Swett wrote:
> Thanks for summarizing this issue. I think the above discussion is about
> immediate migration and repeated immediate migrations, but I also wonder if
> we've introduced a single packet amplification attack by requiring
> PATH_RESPONSEs be padded on new paths without a requirement on the size of
> PATH_CHALLENGE(see first item)?
>
> Validating a new path
> If one receives only a PATH_CHALLENGE on a new path, then the server
> responds with a full-sized PATH_RESPONSE. This seems safe. If a non-padded
> PATH_CHALLENGE is received on a new path, then the peer is supposed to send a
> fully padded PATH_RESPONSE on the path, which could be >20x larger. I'm not
> sure if we care about this, but I wanted to point it out.
>
> Immediately migrating to a new path
> I think we should remove the text about allowing kMinimumWindow each
> kInitialRtt after migration and change it to the 3x limit. I'm actually
> surprised the text about 2*kInitialWindow still exists, since recovery says
> "Until the server has validated the client's address on the path, the amount
> of data it can send is limited to three times the amount of data received, as
> specified in Section 8.1 of {{QUIC-TRANSPORT}}.".
>
> In order to not get deadlocked by the 3x factor, I think we should change the
> newly added MUSTs to only apply to path validation prior to migration, not the
> peer responding to migration.
>
> My reasoning is that if a peer migrates prior to validating the path, it means
> it's either unintentional or they have no other choice, so the migrating peer
> has implicitly decided that validating PathMTU is not a prerequisite to
> migrating.
So some quesitons and ideas as I think it is relevant to resolve this as best as
possible.
So isn't this recreating the issue that if the client initiates a migration to a
new path that is not QUIC compatible, by responding with a minimal size packet
and completing the migration and then if the server performs the path
verification with 1200 bytes UDP payload it fails. Thus maintaining a broken
path.
So is there need for the non pre-validated path migration case that one need
need to do a two step process where one will ACK with minimal packet while
initiating path validation. If path validatation fails then maybe one need to
close down the connection as the migration ended up on a path that was unable to
support QUIC. The question here is how to avoid the DoS attack this may open up
if an attack rewrites source address of packets.
So Maybe the path validation needs to be a two step process. First a return
routability over the new path to verify that it is bi-directional. When that has
been verified one does a test with minimal MTU to prove it to be QUIC
compatible. This might even be done with application data if there is some that
are available to send.
But, I think that one needs to work through the criterias for when the QUIC
connection is shut down under the conditions that the path available is not
supporting 1200 bytes. Also do we end up in a situation where the client needs
to do the second step itself towards the server to verify the path so that it
can determine if it needs to try another path if this one doesn't work?
Cheers
Magnus
- Back to work Martin Thomson
- Re: Back to work Töma Gavrichenkov
- Re: Back to work Ian Swett
- RE: Back to work Nick Banks
- Re: Back to work Magnus Westerlund
- Re: Back to work Martin Duke
- Re: Back to work Kazuho Oku
- Re: Back to work Martin Duke
- Re: Back to work Kazuho Oku
- Re: Back to work Eric Kinnear
- Re: Back to work Martin Thomson
- Re: Back to work Eric Kinnear
- Re: Back to work Mikkel Fahnøe Jørgensen
- Re: Back to work Ian Swett
- Re: Back to work Martin Duke
- Re: Back to work Ian Swett
- Re: Back to work Jana Iyengar
- Re: Back to work Christian Huitema
- Re: Back to work Eric Kinnear
- Re: Back to work Martin Thomson
- Re: Back to work Eric Kinnear
- Re: Back to work Martin Thomson
- Re: Back to work Christian Huitema
- Re: Back to work Martin Thomson
- Re: Back to work Eric Kinnear
- Re: Back to work Ian Swett
- Re: Back to work Martin Duke
- Re: Back to work Ian Swett
- Re: Back to work Martin Duke
- Re: Back to work Ian Swett
- Re: Back to work Magnus Westerlund
- Re: Back to work Gorry Fairhurst