Re: Update to draft QUIC DPLPMTUD text i draft-ietf-tsvwg-datagram-plpmtud

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 15 May 2020 15:56 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 7AE713A0C45; Fri, 15 May 2020 08:56:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.274
X-Spam-Level:
X-Spam-Status: No, score=-2.274 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.173, 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 aO1O5_Kvck_Z; Fri, 15 May 2020 08:56:40 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2048.outbound.protection.outlook.com [40.107.21.48]) (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 62AD63A0C57; Fri, 15 May 2020 08:56:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DziMQrcd4TKGBEQejN7aPW02fufnKDSPoxiF+OhYoSljcItgLl0gcBH73+/ZKFoIpFgO3KVf5vMl8d4z+VyTY7a3Kpii7kyxCbGSmOx3ze9QGxPIWX1gKn5nSTMY2JpDLp61GkKV8KJ2F9VmsasbBBug2h9s6nbPbRcT5Yc5AT9s7QZwJOdli/rLFRY8UbZvOoJ/mFNyt7wfmRiXXZACAbM7IfuvKkY19pfkj/DvHI9Sy6WJ7gdAER1g3bzn0ebWxhrY0li+B94Q+tFLST0RHYKZhHGiNUpH1jNNqaHr7Yezm7eiO0KBNF93plCwhxf3u6mZEb6QYrIjR4q9m0dwxw==
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=ynymxy5HIUGt5nr5N0BXOtOzu8AZrQGdn1UCH+OFe7Q=; b=kT9DzLUrDTZ8r50XUtM8qcD7ApvKaVNAvmduc00x6cCbzdfUOhK86uSmOh3XcXD1PKSMxyjLMJdgYQwVG0NPnPbVWXJ6naRl03PUuVAe/828GPetDXaNPNQkP2kDZOrio5A4iHcO+VHkw5m7nSfmuqWG/wwrHOJ6X8RZhJ5d2JeWTynPi0WRk4aFEkAfgLJ4FGz5GNW5k9pnOjq56ZNTiS+gmw8FluMeb9RnG1+THCtgoO0mqVFB4mtX1I01gA6AApThyJv6OcwEd8lU8X6YTnG1TnBWoZqTxFFUO+GSknSOdN7zC8Jklp4o3uf+9Ir4ShVct9Hxumu+nj9jIPpkYw==
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=ynymxy5HIUGt5nr5N0BXOtOzu8AZrQGdn1UCH+OFe7Q=; b=DrNXzLYx90zfBPvUvrOhP07MaJNFDO78OG05vpbh9ZfuDa60txGcAcuGp2HihrlqXQMMRx3NkYVtHa85PjBS1gp6B1WuZ4rBvKhaXRXjv0gUwZoWEkdN49y5wmiO6swhL2y+oQpP0k3t9VD0+Zkjl9TR6xADfrOe/Mcb2i8uoxo=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0702MB3817.eurprd07.prod.outlook.com (2603:10a6:7:86::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.11; Fri, 15 May 2020 15:56:35 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::ec28:2c21:6d78:917a]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::ec28:2c21:6d78:917a%2]) with mapi id 15.20.3000.016; Fri, 15 May 2020 15:56:34 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, "martin.h.duke@gmail.com" <martin.h.duke@gmail.com>, "tuexen@fh-muenster.de" <tuexen@fh-muenster.de>
CC: "draft-ietf-tsvwg-datagram-plpmtud.all@ietf.org" <draft-ietf-tsvwg-datagram-plpmtud.all@ietf.org>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: Update to draft QUIC DPLPMTUD text i draft-ietf-tsvwg-datagram-plpmtud
Thread-Topic: Update to draft QUIC DPLPMTUD text i draft-ietf-tsvwg-datagram-plpmtud
Thread-Index: AdYoOUazdCbDBFvtSKewbBJw2UYCnQB2qdQAAAMqLYAAAQF+gAArMpkA
Date: Fri, 15 May 2020 15:56:33 +0000
Message-ID: <425504a704c5b5ee6ea71fd23e9490cf8d79251a.camel@ericsson.com>
References: <HE1PR0702MB3772606AA3C6D808992C5DF595BE0@HE1PR0702MB3772.eurprd07.prod.outlook.com> <CAM4esxRZBehUOHpEg6E_p7bvY8CpK4oya7rfv4JVTkmAKfQ7jw@mail.gmail.com> <2643A40F-F0DC-45FF-A780-975D5568BE5B@fh-muenster.de> <03b92d83-b3f9-2fb3-c21c-5bf3fda767cb@erg.abdn.ac.uk>
In-Reply-To: <03b92d83-b3f9-2fb3-c21c-5bf3fda767cb@erg.abdn.ac.uk>
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: erg.abdn.ac.uk; dkim=none (message not signed) header.d=none;erg.abdn.ac.uk; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [46.59.126.139]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fb1f6d17-3e42-4ded-f0e4-08d7f8e88acb
x-ms-traffictypediagnostic: HE1PR0702MB3817:
x-microsoft-antispam-prvs: <HE1PR0702MB3817811CC2B79FDB468C450795BD0@HE1PR0702MB3817.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 04041A2886
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BE+OjsMpFYDkGelvh2hIX1bFwKxm+E8N9uLpwYXQV7l180Ev4CkqWxO1Ko/SGjdKx8P+csEhzlA5w6SCGCb+Ba3V52+lpZ1z165F7LOiOSX7arnPPp9vTG0lzbJTaH8DeqREcx9P5KMpjt0sNY7NXuNEJvGL7Tkk+xvS6Uroo7huKXBKFELizlr0lP/jdoDXsBACT08TNbXfFtJCd772SVJNAhQ9Ii0Kb5oBVDbM8fTXU6Fcua83+LXfnokpvyji4VysLXoThfs+T1l2Jnu77vB4cnwsbAIV0BgIvl0xo3G9V+r4Hu9yyNqdd9PJxmh/BbVyId2RslclWrvlCIEpLFvb55AAKYnbcBN0cIdTa/3GEVrGtVfLWos0JoSTGXsWcY1gnBCG73iBHsmbuNHiiJBP6gGPFQgckBtyDKDWqRlqQpG+T7bAtXQI8YrYnje7pCi/7+6ELVtrkn9RDirK/Q==
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)(376002)(396003)(346002)(136003)(366004)(39860400002)(316002)(296002)(186003)(66446008)(6486002)(26005)(66556008)(66476007)(66616009)(64756008)(478600001)(53546011)(6506007)(99936003)(110136005)(71200400001)(54906003)(86362001)(8936002)(4326008)(6512007)(2906002)(44832011)(36756003)(76116006)(66946007)(2616005)(8676002)(966005)(5660300002)(15650500001)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: zaXHc4SEVcuOzZnWaCinoNLkUjLkhhWW78WsfM9xE6hDQW0uSuEh3qAVvOhtZ5GQl1jyZYrXiv+/Ds0RDjJBFml+835/vrCslOTYON5XXtgjybGuJMLADlQXQp/q/orZjW6hxblmYw185GFUPwf9CfmffYLWOupwPOLrbG5hxnBVHOCj8PEUMivF8L6eF8qLrfaoxcoAPLRvYTGkVlTTEInfr4KN8QJJRrev7d7UrV3obPjJs08szDuk1vm2ZyAXLjuogTwdcAEouhO8c0kIReJcxgsTqB1mXu93aCRs4aYsQEES0ersPtcJKoQGILhVdZ+vdND354Tf+ixLgpyzIZ5a+aWOXuM31O90AJPyMOzTOhHjTx+m122DOVXatMyU+HkDwE99emX6R5rdYGgKfyz0vQQr9jzeLf41JJCn4N7RNkxD2NkZGrhsY+7EzMNpMfeayG4dyopVnf0gl8M1yc7X5R3HJJqLedf753kRROk=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-jlVBourLEujvbz73WXNO"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fb1f6d17-3e42-4ded-f0e4-08d7f8e88acb
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2020 15:56:33.9207 (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: Yd5U5nvqrSmVGYD2XtyCtGOWNrW/o7IAE2fBuex6TZ5UefcJKZav9L3nNJwH2AP+4G9m6fuH/H+IiKN3RESzIJ/HEBYaAc2romkEhAkWDi8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3817
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/agmkDHD_S6ERGqggyRjBratF-qA>
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, 15 May 2020 15:56:50 -0000

Hi,

So what Gorry says appear correct. And it is a constant but its value could in
worst case be not only interface but actually path dependent. The reason being
that if the lower layers adds headers in specific cases. 

Although use of IPv6 extension headers are not problem free there might be cases
where such a header is added for some paths but not others. Thus, specifying the
MIN_PLPMTU correctly to be stable acrosss interfaces and paths could be
problematic. But for QUIC as Gorry says the stake is already in the ground and
it is in fact reasonable maybe to be more precise to say that a default
MIN_PLPMTU to use can be 1200 bytes as we don't expect QUIC to work over paths
that don't support this. 

We might get some interesting questions on the padded handshake packets when
some want to run QUIC as IOT transport over radios such as what LPWAN WG
discusses where it is very costly to send 1200 bytes packets. The radio blocks
are more in the range of 32-64 bytes if I remember correctly. 

So I think this discussion is pointing to that we should actually move Section
6.3 from draft-ietf-tsvwg-datagram-plpmtud into draft-ietf-quic-transport so
that the details can still be polished. 

Cheers

Magnus Westerlund

On Thu, 2020-05-14 at 20:19 +0100, Gorry Fairhurst wrote:
> To me, this is a PL choice, and likley a constant for a PL.
> 
> The PL simply configures as an endpoint what size it needs. If you need 
> to work smaller than that size, then the PL has to utilise IP 
> fragmentation, etc. The DPLPMTUD alg won't probe for smaller sizes.
> 
> I expect most apps will actually use a MIN value that is irrespective of 
> IP version, such as 1200B, but the app could choose a smaller number - 
> which is permitted for IPv4, but in reality 1200B is likely good. For 
> QUIC, I'd expect ~1200B and no IP Frag - but that's QUIC's decision. 
> BASE_PLPMTU and MIN_PLPMTU can be set the same.
> 
> Gorry
> 
> On 14/05/2020 19:50, Michael Tuexen wrote:
> > 
> > > On 14. May 2020, at 19:20, Martin Duke <martin.h.duke@gmail.com> wrote:
> > > 
> > > I don’t understand the MIN_PLPMTU language in 6.3.2. This is a constant
> > > set based on the IP version. I don’t understand how it can change on a
> > > path?
> > 
> > I guess it should state that if the PLPMTU falls below MIN_PLPMTU, you stop
> > sending packets.
> > 
> > Best regards
> > Michael
> > > On Tue, May 12, 2020 at 1:49 AM Magnus Westerlund <
> > > magnus.westerlund@ericsson.com> wrote:
> > > QUIC WG,
> > > 
> > >   
> > > 
> > > In response to the IESG evaluation of 
> > > https://datatracker.ietf.org/doc/draft-ietf-tsvwg-datagram-plpmtud/ some
> > > changes was made to the QUIC chapter.
> > > 
> > >   
> > > 
> > > The current text is included below. And a Diff for the changes in this
> > > section -19 to -21 is here:
> > > 
> > >   
> > > 
> > > QUIC related section is 6.3:
> > > 
> > > 
https://www.ietf.org/rfcdiff?url1=draft-ietf-tsvwg-datagram-plpmtud-19&url2=draft-ietf-tsvwg-datagram-plpmtud-21
> > > 
> > >   
> > > 
> > > My plan is to approve this document on Friday after 12:00 (CEST) if not
> > > anyone yells.
> > > 
> > >   
> > > 
> > >   
> > > 
> > > 6.3.  DPLPMTUD for QUIC
> > > 
> > >   
> > > 
> > >     QUIC [I-D.ietf-quic-transport] is a UDP-based transport that provides
> > > 
> > >     reception feedback.  The UDP payload includes the QUIC packet header,
> > > 
> > >     protected payload, and any authentication fields.  QUIC depends on a
> > > 
> > >     PMTU of at least 1280 bytes.
> > > 
> > >   
> > > 
> > >     Section 14 of [I-D.ietf-quic-transport] describes the path
> > > 
> > >     considerations when sending QUIC packets.  It recommends the use of
> > > 
> > >     PADDING frames to build the probe packet.  Pure probe-only packets
> > > 
> > >     are constructed with PADDING frames and PING frames to create a
> > > 
> > >     padding only packet that will elicit an acknowledgment.  Such padding
> > > 
> > >     only packets enable probing without affecting the transfer of other
> > > 
> > >     QUIC frames.
> > > 
> > >   
> > > 
> > >     The recommendation for QUIC endpoints implementing DPLPMTUD is that a
> > > 
> > >     MPS is maintained for each combination of local and remote IP
> > > 
> > >     addresses [I-D.ietf-quic-transport].  If a QUIC endpoint determines
> > > 
> > >     that the PMTU between any pair of local and remote IP addresses has
> > > 
> > >     fallen below the size required for an acceptable MPS, it immediately
> > > 
> > >     ceases to send QUIC packets on the affected path.  This could result
> > > 
> > >     in termination of the connection if an alternative path cannot be
> > > 
> > >     found [I-D.ietf-quic-transport].
> > > 
> > >   
> > > 
> > > 6.3.1.  Initial Connectivity
> > > 
> > >   
> > > 
> > >     The base protocol is specified in [I-D.ietf-quic-transport].  This
> > > 
> > >     provides an acknowledged PL.  A sender can therefore enter the BASE
> > > 
> > >     state as soon as connectivity has been confirmed.
> > > 
> > >   
> > > 
> > >     QUIC provides an acknowledged PL, a sender can therefore enter the
> > > 
> > >     BASE state as soon as the connection handshake has been completed and
> > > 
> > >     the endpoint has an 1-RTT key established.
> > > 
> > >   
> > > 
> > > 6.3.2.  Sending QUIC Probe Packets
> > > 
> > >   
> > > 
> > >     Probe packets consist of a QUIC Header and a payload containing a
> > > 
> > >     PING Frame and multiple PADDING Frames.  A PADDING Frame is
> > > 
> > >     represented by a single octet (0x00).  Several PADDING Frames are
> > > 
> > >     used together to control the length of the probe packet.  The PING
> > > 
> > >     Frame is used to trigger generation of an acknowledgement.
> > > 
> > >   
> > > 
> > >     The current specification of QUIC sets the following:
> > > 
> > >   
> > > 
> > >     *  BASE_PLPMTU: A QUIC sender pads initial packets to confirm the
> > > 
> > >        path can support packets of the required size, which sets the
> > > 
> > >        BASE_PLPMTU and MIN_PLPMTU.
> > > 
> > >   
> > > 
> > >     *  MIN_PLPMTU: A QUIC sender that determines the MIN_PLPMTU has
> > > 
> > >        fallen MUST immediately stop sending on the affected path.
> > > 
> > >   
> > > 
> > > 6.3.3.  Validating the Path with QUIC
> > > 
> > >   
> > > 
> > >     QUIC provides an acknowledged PL, therefore a sender does not
> > > 
> > >     implement the CONFIRMATION_TIMER while in the SEARCH_COMPLETE state.
> > > 
> > >   
> > > 
> > > 6.3.4.  Handling of PTB Messages by QUIC
> > > 
> > >   
> > > 
> > >     QUIC validates ICMP PTB messages.  In addition to UDP Port
> > > 
> > >    validation, QUIC can validate an ICMP message by using other PL
> > > 
> > >     information (e.g., validation of connection identifiers (CIDs) in the
> > > 
> > >     quoted packet of any received ICMP message).
> > > 
> > >   
> > > 
-- 
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
----------------------------------------------------------------------