NETCONF Working Group P. Andersson Internet-Draft Cisco Systems Updates: 6243 (if approved) 30 June 2024 Intended status: Standards Track Expires: 1 January 2025 YANG Groupings for QUIC clients and QUIC servers draft-andersson-netconf-quic-client-server-00 Abstract This document defines two YANG 1.1 modules to support the configuration of QUIC clients and QUIC servers. The modules include basic parameters for configuring QUIC based clients and servers. Editorial note (To be removed by the RFC Editor) This draft contains placeholder values that need to be replaced with finalized values at the time of publication. This note summarizes all of the substitutions that are needed. No other RFC Editor instructions are specified elsewhere in this document. Artwork in this document contains shorthand references to drafts in progress. Please apply the following replacements: * AAAA --> the assigned RFC value for this draft * BBBB --> the assigned RFC value for draft-ietf-netconf-tls-client- server * CCCC --> the assigned RFC value for draft-ietf-netconf-udp-client- server Status of This Memo 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." Andersson Expires 1 January 2025 [Page 1] Internet-Draft Groupings for QUIC clients and servers June 2024 This Internet-Draft will expire on 1 January 2025. Copyright Notice 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. The "ietf-quic-client" Module . . . . . . . . . . . . . . . . 3 2.1. Data model overview . . . . . . . . . . . . . . . . . . . 3 2.1.1. Features . . . . . . . . . . . . . . . . . . . . . . 3 2.1.2. Groupings . . . . . . . . . . . . . . . . . . . . . . 3 2.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 4 3. The "ietf-quic-server" Module . . . . . . . . . . . . . . . . 6 3.1. Data model overview . . . . . . . . . . . . . . . . . . . 6 3.1.1. Features . . . . . . . . . . . . . . . . . . . . . . 6 3.1.2. Groupings . . . . . . . . . . . . . . . . . . . . . . 6 3.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 7 4. Security Considerations . . . . . . . . . . . . . . . . . . . 9 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 9 5.1. The "IETF XML" Registry . . . . . . . . . . . . . . . . . 9 5.2. The "YANG Module Names" Registry . . . . . . . . . . . . 10 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.1. Normative References . . . . . . . . . . . . . . . . . . 10 6.2. Informative References . . . . . . . . . . . . . . . . . 12 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 12 1. Introduction This documents defines two YANG 1.1 [RFC7950] modules to support the configuration of QUIC clients and QUIC servers (QUIC is defined in [RFC9000]), either as standalone or in conjunction with configuration of other protocol layers. Andersson Expires 1 January 2025 [Page 2] Internet-Draft Groupings for QUIC clients and servers June 2024 2. The "ietf-quic-client" Module This section defines a YANG 1.1 module called "ietf-quic-client". 2.1. Data model overview This section presents an overview of of the "ietf-quic-client" module in terms of features and groupings. 2.1.1. Features The module itself does not define any features. However, in order to require TLS 1.3 the following "if-feature" is defined "tlscmn:tls13 not tlscmn:tls12". For QUIC TLS requirements see [RFC9001]. For further details about available features see the "ietf-tls- client" and "ietf-udp-client" modules. defined in [I-D.ietf-netconf-tls-client-server] and [I-D.ietf-netconf-udp-client-server] respectively. 2.1.2. Groupings The "ietf-quic-client" module defines the following "grouping" statement: * quic-client-grouping This grouping is presented in the following subsection. 2.1.2.1. The "quic-client-grouping" Grouping The following tree diagram [RFC8340] illustrates the "quic-client- grouping" grouping: module: ietf-quic-client grouping quic-client-grouping: +---u tlsc:tls-client-grouping | {tlscmn:tls13 and not tlscmn:tls12}? +---u udpc:udp-client-grouping Comments: * This grouping uses the "tls-client-grouping" grouping discussed in [I-D.ietf-netconf-tls-client-server]. Note that QUIC requires TLS 1.3 (or later), thus the "if-feature" invariant "tlscmn:tls13 and not tlscmn:tls12" is defined for this grouping. Andersson Expires 1 January 2025 [Page 3] Internet-Draft Groupings for QUIC clients and servers June 2024 * This grouping uses the "udp-client-grouping" grouping discussed in [I-D.ietf-netconf-udp-client-server]. 2.2. YANG Module This YANG module has normative references to [I-D.ietf-netconf-tls-client-server] and [I-D.ietf-netconf-udp-client-server]. file "ietf-quic-client@2024-06-30.yang" module ietf-quic-client { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-quic-client"; prefix quicc; import ietf-tls-client { prefix tlsc; reference "RFC BBBB: YANG Groupings for TLS Clients and TLS Servers"; } import ietf-tls-common { prefix tlscmn; reference "RFC BBBB: YANG Groupings for TLS Clients and TLS Servers"; } import ietf-udp-client { prefix udpc; reference "RFC CCCC: YANG Groupings for UDP Clients and UDP Servers"; } organization "IETF NETCONF (Network Configuration) Working Group"; contact "WG List: NETCONF WG list WG Web: https://datatracker.ietf.org/wg/netconf Author: Per Andersson "; description "This module defines reusable groupings for QUIC clients that can be used as a basis for specific QUIC client instances. Copyright (c) 2024 IETF Trust and the persons identified Andersson Expires 1 January 2025 [Page 4] Internet-Draft Groupings for QUIC clients and servers June 2024 as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC AAAA (https://www.rfc-editor.org/info/rfcAAAA); see the RFC itself for full legal notices. 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 (RFC 2119) (RFC 8174) when, and only when, they appear in all capitals, as shown here."; revision 2024-06-30 { description "Initial version"; reference "RFC AAAA: YANG Groupings for QUIC Clients and QUIC Servers"; } // Groupings grouping quic-client-grouping { description "Grouping to configure a QUIC client."; reference "RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport"; uses tlsc:tls-client-grouping { if-feature "tlscmn:tls13 and not tlscmn:tls12"; description "QUIC requires that TLS 1.3 (or later) is used."; reference "RFC 9001: Using TLS to Secure QUIC"; } uses udpc:udp-client-grouping; } } Andersson Expires 1 January 2025 [Page 5] Internet-Draft Groupings for QUIC clients and servers June 2024 3. The "ietf-quic-server" Module This section defines a YANG 1.1 module called "ietf-quic-server". 3.1. Data model overview This section presents an overview of of the "ietf-quic-server" module in terms of features and groupings. 3.1.1. Features The module itself does not define any features. However, in order to require TLS 1.3 the following "if-feature" is defined "tlscmn:tls13 not tlscmn:tls12". For QUIC TLS requirements see [RFC9001]. For further details about available features see the "ietf-tls- server" and "ietf-udp-server" modules, defined in [I-D.ietf-netconf-tls-client-server] and [I-D.ietf-netconf-udp-client-server] respectively. 3.1.2. Groupings The "ietf-quic-server" module defines the following "grouping" statement: * quic-server-grouping This grouping is presented in the following subsection. 3.1.2.1. The "quic-server-grouping" Grouping The following tree diagram [RFC8340] illustrates the "quic-server- grouping" grouping: module: ietf-quic-server grouping quic-server-grouping: +---u tlss:tls-server-grouping | {tlscmn:tls13 and not tlscmn:tls12}? +---u udps:udp-server-grouping Comments: * This grouping uses the "tls-server-grouping" grouping discussed in [I-D.ietf-netconf-tls-client-server]. Note that QUIC requires TLS 1.3 (or later), thus the "if-feature" invariant "tlscmn:tls13 and not tlscmn:tls12" is defined for this grouping. Andersson Expires 1 January 2025 [Page 6] Internet-Draft Groupings for QUIC clients and servers June 2024 * This grouping uses the "udp-server-grouping" grouping discussed in [I-D.ietf-netconf-udp-client-server]. 3.2. YANG Module This YANG module has normative references to [I-D.ietf-netconf-tls-client-server] and [I-D.ietf-netconf-udp-client-server]. file "ietf-quic-server@2024-06-30.yang" module ietf-quic-server { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-quic-server"; prefix quicc; import ietf-tls-server { prefix tlss; reference "RFC BBBB: YANG Groupings for TLS Clients and TLS Servers"; } import ietf-tls-common { prefix tlscmn; reference "RFC BBBB: YANG Groupings for TLS Clients and TLS Servers"; } import ietf-udp-server { prefix udps; reference "RFC CCCC: YANG Groupings for UDP Clients and UDP Servers"; } organization "IETF NETCONF (Network Configuration) Working Group"; contact "WG List: NETCONF WG list WG Web: https://datatracker.ietf.org/wg/netconf Author: Per Andersson "; description "This module defines reusable groupings for QUIC servers that can be used as a basis for specific QUIC server instances. Copyright (c) 2024 IETF Trust and the persons identified Andersson Expires 1 January 2025 [Page 7] Internet-Draft Groupings for QUIC clients and servers June 2024 as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC AAAA (https://www.rfc-editor.org/info/rfcAAAA); see the RFC itself for full legal notices. 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 (RFC 2119) (RFC 8174) when, and only when, they appear in all capitals, as shown here."; revision 2024-06-30 { description "Initial version"; reference "RFC AAAA: YANG Groupings for QUIC Clients and QUIC Servers"; } // Groupings grouping quic-server-grouping { description "Grouping to configure a QUIC server."; reference "RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport"; uses tlss:tls-server-grouping { if-feature "tlscmn:tls13 and not tlscmn:tls12"; description "QUIC requires that TLS 1.3 (or later) is used."; reference "RFC 9001: Using TLS to Secure QUIC"; } uses udps:udp-server-grouping; } } Andersson Expires 1 January 2025 [Page 8] Internet-Draft Groupings for QUIC clients and servers June 2024 4. Security Considerations This section follows the template defined in Section 3.7.1 of [RFC8407]. The YANG modules specified in this document defines a schema for data that is designed to be accessed via network management protocols such as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer is the secure transport layer, and the mandatory-to-implement secure transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer is HTTPS, and the mandatory-to-implement secure transport is TLS [RFC8446]. The Network Configuration Access Control Model (NACM) [RFC8341] provides the means to restrict access for particular NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. The modules presented in this draft does not contain any protocol accessible nodes, and thus the security considerations for such are not provided here. Furthermore, the modules defines groupings, these considerations are primarily for the designers of other modules that use these groupings. Security considerations for the groupings used in the modules are discussed in [I-D.ietf-netconf-tls-client-server] and [I-D.ietf-netconf-udp-client-server], refer to these documents for further details. Since the modules does not define any RPCs or actions or notifications, and thus the security considerations for such are not provided here. 5. IANA Considerations 5.1. The "IETF XML" Registry This document registers two URIs in the "ns" subregistry of the IETF XML Registry [RFC3688] maintained at https://www.iana.org/assignments/xml-registry/xml-registry.xhtml#ns. Following the format in [RFC3688], the following registration is requested: Andersson Expires 1 January 2025 [Page 9] Internet-Draft Groupings for QUIC clients and servers June 2024 URI: urn:ietf:params:xml:ns:yang:ietf-quic-client Registrant Contact: The IESG. XML: N/A, the requested URI is an XML namespace. URI: urn:ietf:params:xml:ns:yang:ietf-quic-server Registrant Contact: The IESG. XML: N/A, the requested URI is an XML namespace. 5.2. The "YANG Module Names" Registry This document registers two YANG modules in the YANG Module Names registry [RFC6020] maintained at https://www.iana.org/assignments/ yang-parameters/yang-parameters.xhtml. Following the format defined in [RFC6020], the below registration is requested: name: ietf-quic-client namespace: urn:ietf:params:xml:ns:yang:ietf-quic-client prefix: quicc RFC: AAAA name: ietf-quic-server namespace: urn:ietf:params:xml:ns:yang:ietf-quic-server prefix: quics RFC: AAAA 6. References 6.1. Normative References [I-D.ietf-netconf-tls-client-server] Watsen, K., "YANG Groupings for TLS Clients and TLS Servers", Work in Progress, Internet-Draft, draft-ietf- netconf-tls-client-server-41, 16 March 2024, . [I-D.ietf-netconf-udp-client-server] Feng, A. H., Francois, P., and K. Watsen, "YANG Groupings for UDP Clients and UDP Servers", Work in Progress, Internet-Draft, draft-ietf-netconf-udp-client-server-02, 18 June 2024, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . Andersson Expires 1 January 2025 [Page 10] Internet-Draft Groupings for QUIC clients and servers June 2024 [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, . [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, . [RFC6243] Bierman, A. and B. Lengyel, "With-defaults Capability for NETCONF", RFC 6243, DOI 10.17487/RFC6243, June 2011, . [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10.17487/RFC7950, August 2016, . [RFC7951] Lhotka, L., "JSON Encoding of Data Modeled with YANG", RFC 7951, DOI 10.17487/RFC7951, August 2016, . [RFC7952] Lhotka, L., "Defining and Using Metadata with YANG", RFC 7952, DOI 10.17487/RFC7952, August 2016, . [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration Access Control Model", STD 91, RFC 8341, DOI 10.17487/RFC8341, March 2018, . [RFC8407] Bierman, A., "Guidelines for Authors and Reviewers of Documents Containing YANG Data Models", BCP 216, RFC 8407, DOI 10.17487/RFC8407, October 2018, . Andersson Expires 1 January 2025 [Page 11] Internet-Draft Groupings for QUIC clients and servers June 2024 [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, . [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based Multiplexed and Secure Transport", RFC 9000, DOI 10.17487/RFC9000, May 2021, . [RFC9001] Thomson, M., Ed. and S. Turner, Ed., "Using TLS to Secure QUIC", RFC 9001, DOI 10.17487/RFC9001, May 2021, . 6.2. Informative References [RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, DOI 10.17487/RFC6020, October 2010, . [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, . Author's Address Per Andersson Cisco Systems Email: per.ietf@ionio.se Andersson Expires 1 January 2025 [Page 12]