| draft-ietf-avtcore-rfc7983bis-08.txt | draft-ietf-avtcore-rfc7983bis-09.txt | |||
|---|---|---|---|---|
| AVTCORE Working Group B. Aboba | AVTCORE Working Group B. Aboba | |||
| INTERNET-DRAFT Microsoft Corporation | INTERNET-DRAFT Microsoft Corporation | |||
| Updates: 7983, 5764 G. Salgueiro | Updates: 7983, 5764 G. Salgueiro | |||
| Category: Standards Track Cisco Systems | Category: Standards Track Cisco Systems | |||
| Expires: July 30, 2023 C. Perkins | Expires: September 30, 2023 C. Perkins | |||
| University of Glasgow | University of Glasgow | |||
| 28 January 2023 | 26 March 2023 | |||
| Multiplexing Scheme Updates for QUIC | Multiplexing Scheme Updates for QUIC | |||
| draft-ietf-avtcore-rfc7983bis-08.txt | draft-ietf-avtcore-rfc7983bis-09.txt | |||
| Abstract | Abstract | |||
| RFC 7983 defines a scheme for a Real-time Transport Protocol (RTP) | RFC 7983 defines a scheme for a Real-time Transport Protocol (RTP) | |||
| receiver to demultiplex Datagram Transport Layer Security (DTLS), | receiver to demultiplex Datagram Transport Layer Security (DTLS), | |||
| Session Traversal Utilities for NAT (STUN), Secure Real-time | Session Traversal Utilities for NAT (STUN), Secure Real-time | |||
| Transport Protocol (SRTP) / Secure Real-time Transport Control | Transport Protocol (SRTP) / Secure Real-time Transport Control | |||
| Protocol (SRTCP), ZRTP and Traversal Using Relays around NAT (TURN) | Protocol (SRTCP), ZRTP and Traversal Using Relays around NAT (TURN) | |||
| Channel packets arriving on a single port. This document updates RFC | Channel packets arriving on a single port. This document updates RFC | |||
| 7983 and RFC 5764 to also allow QUIC packets to be multiplexed on a | 7983 and RFC 5764 to also allow QUIC packets to be multiplexed on a | |||
| skipping to change at page 1, line 40 ¶ | skipping to change at page 1, line 40 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at http://datatracker.ietf.org/drafts/current/. | Drafts is at http://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| This Internet-Draft will expire on July 30, 2023. | This Internet-Draft will expire on September 30, 2023. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2022 IETF Trust and the persons identified as the | Copyright (c) 2023 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents | Provisions Relating to IETF Documents (https://trustee.ietf.org/ | |||
| (http://trustee.ietf.org/license-info) in effect on the date of | license-info) in effect on the date of publication of this document. | |||
| publication of this document. Please review these documents | Please review these documents carefully, as they describe your rights | |||
| carefully, as they describe your rights and restrictions with respect | and restrictions with respect to this document. Code Components | |||
| to this document. Code Components extracted from this document must | extracted from this document must include Revised BSD License text as | |||
| include Simplified BSD License text as described in Section 4.e of | described in Section 4.e of the Trust Legal Provisions and are | |||
| the Trust Legal Provisions and are provided without warranty as | provided without warranty as described in the Revised BSD License. | |||
| described in the Simplified BSD License. | ||||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 | 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 2. Multiplexing of TURN Channels . . . . . . . . . . . . . . . . 4 | 2. Multiplexing of TURN Channels . . . . . . . . . . . . . . . . 4 | |||
| 3. Updates to RFC 7983 . . . . . . . . . . . . . . . . . . . . . 5 | 3. Updates to RFC 7983 . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 4. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | 4. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | |||
| 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | |||
| 6. References . . . . . . . . . . . . . . . . . . . . . . . . . . 7 | 6. References . . . . . . . . . . . . . . . . . . . . . . . . . . 7 | |||
| 6.1. Normative References . . . . . . . . . . . . . . . . . . 7 | 6.1. Normative References . . . . . . . . . . . . . . . . . . 7 | |||
| 6.2. Informative References . . . . . . . . . . . . . . . . . 8 | 6.2. Informative References . . . . . . . . . . . . . . . . . 8 | |||
| Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 9 | Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 9 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 9 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 9 | |||
| 1. Introduction | 1. Introduction | |||
| "Multiplexing Scheme Updates for Secure Real-time Transport Protocol | "Multiplexing Scheme Updates for Secure Real-time Transport Protocol | |||
| (SRTP) Extension for Datagram Transport Layer Security (DTLS)" | (SRTP) Extension for Datagram Transport Layer Security (DTLS)" | |||
| [RFC7983] defines a scheme for a Real-time Transport Protocol (RTP) | [RFC7983] defines a scheme for a Real-time Transport Protocol (RTP) | |||
| [RFC3550] receiver to demultiplex DTLS [RFC9147], Session Traversal | [RFC3550] receiver to demultiplex DTLS [RFC9147], Session Traversal | |||
| Utilities for NAT (STUN) [RFC8489], Secure Real-time Transport | Utilities for NAT (STUN) [RFC8489], Secure Real-time Transport | |||
| Protocol (SRTP) / Secure Real-time Transport Control Protocol (SRTCP) | Protocol (SRTP) / Secure Real-time Transport Control Protocol (SRTCP) | |||
| [RFC3711], ZRTP [RFC6189] and TURN Channel packets arriving on a | [RFC3711], ZRTP [RFC6189] and Traversal Using Relays around NAT | |||
| single port. This document updates [RFC7983] and [RFC5764] to also | (TURN) Channel packets arriving on a single port. This document | |||
| allow QUIC [RFC9000] to be multiplexed on the same port. | updates [RFC7983] and "Datagram Transport Layer Security (DTLS) | |||
| Extension to Establish Keys for the Secure Real-time Transport | ||||
| Protocol (SRTP)" [RFC5764] to also allow QUIC [RFC9000] to be | ||||
| multiplexed on the same port. | ||||
| The multiplexing scheme described in this document supports multiple | The multiplexing scheme described in this document supports multiple | |||
| use cases. Peer-to-peer QUIC in WebRTC scenarios, described in | use cases. Peer-to-peer QUIC in WebRTC scenarios, described in | |||
| [P2P-QUIC] [P2P-QUIC-TRIAL], transports audio and video over SRTP, | [P2P-QUIC] [P2P-QUIC-TRIAL], transports audio and video over SRTP, | |||
| alongside QUIC, used for data exchange. For this use case, SRTP | alongside QUIC, used for data exchange. For this use case, SRTP | |||
| [RFC3711] is keyed using DTLS-SRTP [RFC5764] and therefore SRTP/SRTCP | [RFC3711] is keyed using DTLS-SRTP [RFC5764] and therefore SRTP/SRTCP | |||
| [RFC3550], STUN, TURN, DTLS and QUIC need to be multiplexed on the | [RFC3550], STUN, TURN, DTLS and QUIC need to be multiplexed on the | |||
| same port. Were SRTP to be keyed using QUIC-SRTP (not yet specified), | same port. Were SRTP to be keyed using QUIC-SRTP (not yet | |||
| SRTP/SRTCP, STUN, TURN and QUIC would need to be multiplexed on the | specified), SRTP/SRTCP, STUN, TURN and QUIC would need to be | |||
| same port. Where QUIC is used for peer-to-peer transport of data as well as RTP/RTCP | multiplexed on the same port. Where QUIC is used for peer-to-peer | |||
| [I-D.ietf-avtcore-rtp-over-quic] STUN, TURN and QUIC need to be | transport of data as well as RTP/RTCP [I-D.ietf-avtcore-rtp-over-quic] | |||
| multiplexed on the same port. | STUN, TURN and QUIC need to be multiplexed on the same port. | |||
| While the scheme described in this document is compatible with QUIC | While the scheme described in this document is compatible with QUIC | |||
| version 2 [I-D.ietf-quic-v2], it is not compatible with QUIC bit | version 2 [I-D.ietf-quic-v2], it is not compatible with QUIC bit | |||
| greasing [RFC9287]. As a result, endpoints that wish to use | greasing [RFC9287]. As a result, endpoints that wish to use | |||
| multiplexing on their socket MUST NOT send the grease_quic_bit | multiplexing on their socket MUST NOT send the grease_quic_bit | |||
| transport parameter. | transport parameter. | |||
| 1.1. Terminology | 1.1. Terminology | |||
| The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", | The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", | |||
| skipping to change at page 4, line 20 ¶ | skipping to change at page 4, line 20 ¶ | |||
| 64 to 79 in order to allow TURN channels to be demultiplexed when the | 64 to 79 in order to allow TURN channels to be demultiplexed when the | |||
| TURN Client does the channel binding request in combination with the | TURN Client does the channel binding request in combination with the | |||
| demultiplexing scheme described in [RFC7983]. | demultiplexing scheme described in [RFC7983]. | |||
| In the absence of QUIC bit greasing, the first octet of a QUIC packet | In the absence of QUIC bit greasing, the first octet of a QUIC packet | |||
| (e.g. a short header packet in QUIC v1 or v2) may fall in the range | (e.g. a short header packet in QUIC v1 or v2) may fall in the range | |||
| 64 to 127, thereby overlapping with the allocated range for TURN | 64 to 127, thereby overlapping with the allocated range for TURN | |||
| channels of 64 to 79. However, in practice this overlap does not | channels of 64 to 79. However, in practice this overlap does not | |||
| represent a problem. TURN channel packets will only be received from | represent a problem. TURN channel packets will only be received from | |||
| a TURN server to which TURN allocation and channel-binding requests | a TURN server to which TURN allocation and channel-binding requests | |||
| have been sent. Therefore a TURN client receiving packets from the | have been sent. Therefore, a TURN client receiving packets from the | |||
| source IP address and port of a TURN server only needs to | source IP address and port of a TURN server only needs to | |||
| disambiguate STUN (i.e. regular TURN) packets from TURN channel | disambiguate STUN (i.e. regular TURN) packets from TURN channel | |||
| packets; (S)RTP, (S)RTCP, ZRTP, DTLS or QUIC packets will not be sent | packets; (S)RTP, (S)RTCP, ZRTP, DTLS or QUIC packets will not be sent | |||
| from a source IP address and port that had previously responded to | from a source IP address and port that had previously responded to | |||
| TURN allocation or channel-binding requests. | TURN allocation or channel-binding requests. | |||
| As a result, if the source IP address and port of a packet does not | As a result, if the source IP address and port of a packet does not | |||
| match that of a responding TURN server, a packet with a first octet | match that of a responding TURN server, a packet with a first octet | |||
| of 64 to 127 can be unambiguously demultiplexed as QUIC. | of 64 to 127 can be unambiguously demultiplexed as QUIC. | |||
| skipping to change at page 7, line 22 ¶ | skipping to change at page 7, line 22 ¶ | |||
| the scheme defined in [RFC7983]. If mis-implemented, the logic could | the scheme defined in [RFC7983]. If mis-implemented, the logic could | |||
| potentially mis-classify packets, exposing protocol handlers to | potentially mis-classify packets, exposing protocol handlers to | |||
| unexpected input. | unexpected input. | |||
| When QUIC is used solely for data exchange, the TLS-within-QUIC | When QUIC is used solely for data exchange, the TLS-within-QUIC | |||
| exchange [RFC9001] derives keys used solely to protect QUIC data | exchange [RFC9001] derives keys used solely to protect QUIC data | |||
| packets. If properly implemented, this should not affect the | packets. If properly implemented, this should not affect the | |||
| transport of SRTP nor the derivation of SRTP keys via DTLS-SRTP. | transport of SRTP nor the derivation of SRTP keys via DTLS-SRTP. | |||
| However, if a future specification were to define use of the TLS- | However, if a future specification were to define use of the TLS- | |||
| within-QUIC exchange to derive SRTP keys, both transport and SRTP key | within-QUIC exchange to derive SRTP keys, both transport and SRTP key | |||
| derivation could be aversely impacted by a vulnerability in the QUIC | derivation could be adversely impacted by a vulnerability in the QUIC | |||
| implementation. | implementation. | |||
| 5. IANA Considerations | 5. IANA Considerations | |||
| This document does not require actions by IANA. | In the TLS ContentType registry, IANA will replace references to RFC | |||
| 7983 with references to this document. | ||||
| 6. References | 6. References | |||
| 6.1. Normative References | 6.1. Normative References | |||
| [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | |||
| Requirement Levels", BCP 14, RFC 2119, DOI | Requirement Levels", BCP 14, RFC 2119, DOI | |||
| 10.17487/RFC2119, March 1997, <http://www.rfc- | 10.17487/RFC2119, March 1997, <http://www.rfc- | |||
| editor.org/info/rfc2119>. | editor.org/info/rfc2119>. | |||
| End of changes. 12 change blocks. | ||||
| 25 lines changed or deleted | 28 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||