Internet-Draft | Export of QUIC Information in IPFIX | February 2025 |
Lin, et al. | Expires 1 September 2025 | [Page] |
This document introduces new IP Flow Information Export (IPFIX) Information Elements to identify a set of QUIC related information which contained QUIC Header, QUIC Frame and Stream that traffic is being forwarded with.¶
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 1 September 2025.¶
Copyright (c) 2025 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.¶
QUIC Packets are carried in UDP datagrams and exchanged for communication of QUIC endpoints [RFC9000]. A QUIC packet consists of a QUIC header and a QUIC payload.¶
QUIC Header is divided into Long Header and Short Header. Long Headers are used for packets that are sent prior to the establishment of 1-RTT keys. The Long Header contains an 8-bit Public Flag, a 32-bit QUIC Version, a variable-length Destination Connection ID, a variable-length Source Connection ID and Type-Specific field which has different content based on the Packet type. The Packet types that use the long header contain Version Negotiation Packet, Initial Packet, 0-RTT Packet, Handshake Packet and Retry Packet. Once 1-RTT keys are available, a sender switches to sending packets using the Short Header. The Short Header includes an 8-bit Public Flag, a variable-length Destination Connection ID and a Packet Number.¶
QUIC payload MAY contain a sequence of Frames which begin with a Frame Type. In the generic Frame Layout, the Frame Type is followed by additional type-dependent fields. Since Stream in QUIC is the one core component to provide a lightweight, ordered byte-stream abstraction to an application, the Stream ID of Frames related to Stream is an important information that indicates the stream in which the Frame is located or that the Frame affects.¶
This document specifies several new IPFIX Information Elements (IEs) within the "IPFIX Information Elements" registry [RFC7012] for purposes of getting QUIC information. These IEs are used to export the main parameters of QUIC Header, QUIC Frame and Stream.¶
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 BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document makes use of the terms defined in [RFC7011] and [RFC9000].¶
This section specifies the new IPFIX QUIC IEs.¶
The IPFIX IEs listed in the Section 3, forwardingStatus (89) [RFC7270] and some existing counter information [IANA-IPFIX] provide answers to the following questions (amongst others).¶
How many packets are forwarded or dropped using QUIC in a network?¶
If dropped, for which reasons?¶
What is the type of QUIC packet?¶
What is the QUIC version that is in use?¶
What is the Destination or Source Connection ID of QUIC packet?¶
Have all the QUIC packets been fully received?¶
Which frames does the QUIC packet carry?¶
Which stream is the QUIC packet located in?¶
Which stream is affected by the QUIC packet?¶
There exists no extra security considerations regarding allocation of these new IPFIX IEs compared to [RFC7012].¶
This document requests IANA to add new IPFIX QUIC IEs to the "IPFIX Information Elements" registry [RFC7012] available at [IANA-IPFIX].¶
Table 1 lists the new IPFIX QUIC IEs:¶
+============+=============================+===============+ | Element ID | Name | Reference | +============+=============================+===============+ | TBD1 | quicHeaderFlag | This document | +------------+-----------------------------+---------------+ | TBD2 | quicVersion | This document | +------------+-----------------------------+---------------+ | TBD3 | quicDestinationConnectionID | This document | +------------+-----------------------------+---------------+ | TBD4 | quicSourceConnectionID | This document | +------------+-----------------------------+---------------+ | TBD5 | quicSupportedVersion | This document | +------------+-----------------------------+---------------+ | TBD6 | quicPacketNumber | This document | +------------+-----------------------------+---------------+ | TBD7 | quicFrameType | This document | +------------+-----------------------------+---------------+ | TBD8 | quicStreamID | This document | +------------+-----------------------------+---------------+ Table 1: New QUIC IEs in the "IPFIX Information Elements" Registry¶