Internet-Draft | QUIC BDP Tokens | January 2024 |
Misell | Expires 25 July 2024 | [Page] |
This document describes a method to store previously calculated Congestion Control parameters on a QUIC client to allow additional capacity on high Bandwidth Delay Product paths to be used with Careful Resume.¶
This note is to be removed before publishing as an RFC.¶
Source for this draft and an issue tracker can be found at https://github.com/theenbyperor/quic-bdp-token.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 25 July 2024.¶
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document describes a method for a QUIC server to send calculated Congestion Control parameters to a client for storage and later use on a future connection with Careful Resume [I-D.ietf-tsvwg-careful-resume]. It also allows the client to inspect CC parameters, and allows the client not use them with new connections if its aware of a change in the BDP of the path.¶
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in [BCP14] when, and only when, they appear in all capitals, as shown here.¶
The address validation token is overloaded to also store Congestion Control information. This has the neat advantage that a QUIC client unaware of this document will still be able to make use of this specification without modification. QUIC [RFC9000] defines an address validation token as an opaque blob that the client should not inspect. This document extends this by providing some structure to the token, whilst still providing fields for server specific information that is opaque to the client.¶
The format of a token containing BDP information is defined as follows:¶
The fields are as follows:¶
The Capacity and RTT fields are merely hints to the client and the server MUST not use these fields when priming its congestion controller state. If it wishes to use these parameters it will have to also include them in its CC Data structure, as data in this field is protected against modification by the client.¶
If the client becomes aware of a change in the available bandwidth of the path, it can use the Requested Capacity field to signal to the server a change it its available bandwidth. The server MUST not accept a value higher than that of the Capacity field, as this could cause an overload of the network path.¶
If the client sets the Requested Bandwidth field to 0 then it is signalling that the server should not attempt to prime its congestion controller from previous state and should instead treat this connection as an entirely new congestion control context.¶
If the server is unable to decode the token received from the client as a valid BDP token then this MUST be treated as a connection error BDP_TOKEN_ERROR (0x4143414213370002). A token which is merely expired MUST NOT trigger a connection error, instead it should be silently discarded.¶
The server can send the above extended BDP token to all clients without further negotiation. However a client needs some way to know that there is meaningful structure to a token its received from the server. To this end a new transport parameter is defined.¶
Per this document, one new entry has been added to the "QUIC Transport Parameters" registry defined in [RFC9000] section 22.3. This entry is defined below:¶
Value | Status | Specification | Parameter name |
---|---|---|---|
0x4143414213370002 | Provisional | This document | bdp_frame |
Per this document, one new entry has been added to the "QUIC Transport Error Codes" registry defined in [RFC9000] section 22.5. This entry is defined below:¶
Value | Status | Code | Description | Specification |
---|---|---|---|---|
0x4143414213370002 | Provisional | BDP_TOKEN_ERROR | The BDP token received from the client is invalid. | This document |
The Congestion Control Data field MUST be protected against manipulation by malicious or mis-behaving clients. A client that can modify Congestion Control calculations could cause an overload of the network path.¶
The Capacity and RTT fields are hints to the client and not protected from modification by a client. The server MUST ignore these when processing a received BDP token.¶