<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="std" docName="draft-ietf-ipsecme-ikev2-reliable-transport-09" ipr="trust200902" submissionType="IETF" updates="9329" xml:lang="en" tocInclude="true" symRefs="true" sortRefs="false" version="3">
  <!-- xml2rfc v2v3 conversion 3.35.0 -->
  <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

  <front>
    <title abbrev="Separate IKE and ESP Transports">Separate Transports for
    IKE and ESP</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-ipsecme-ikev2-reliable-transport-09"/>
    <author fullname="Valery Smyslov" initials="V." surname="Smyslov">
      <organization>ELVIS-PLUS</organization>
      <address>
        <postal>
          <street/>
          <city/>
          <code/>
          <country>RU</country>
        </postal>
        <phone/>
        <email>svan@elvis.ru</email>
      </address>
    </author>
    <author fullname="Tirumaleswar Reddy" initials="T." surname="Reddy">
      <organization>Nokia</organization>
      <address>
        <postal>
          <street/>
          <country>India</country>
        </postal>
        <email>kondtir@gmail.com</email>
      </address>
    </author>
    <date/>
    <abstract>
      <t>The Internet Key Exchange protocol version 2 (IKEv2) can operate
      either over unreliable (UDP) transport or over reliable (TCP) transport.
      If TCP is used, then IPsec tunnels created by IKEv2 also use TCP. This
      document specifies how to decouple IKEv2 and IPsec transports so that
      IKEv2 can operate over TCP, while IPsec tunnels use unreliable
      transport. This feature allows IKEv2 to effectively exchange large blobs
      of data (e.g., when post-quantum algorithms are employed) while avoiding
      performance problems that arise when IPsec uses TCP. This document
      updates RFC 9329.</t>
    </abstract>
  </front>
  <middle>
    <section anchor="intro">
      <name>Introduction</name>
      <t>The Internet Key Exchange protocol version 2 (IKEv2) <xref target="RFC7296"/> originally used unreliable transport (UDP) for
      its messages. Later it was extended to use TCP <xref target="RFC9329"/> where UDP is blocked. UDP remains the preferred
      transport for IKEv2, and TCP is only used if UDP datagrams cannot get
      through.</t>
      <t>Originally IKEv2 peers exchanged only a small amount of data, so that
      simple retransmission mechanism on top of UDP with no congestion control
      sufficed. The situation has changed when post-quantum cryptographic
      (PQC) algorithms began to be incorporated into IKEv2 using multiple key
      exchanges <xref target="RFC9370"/>. Most post-quantum algorithms
      require IKE peers to exchange much more data, than classical algorithms,
      up to tens or even hundreds of Kbytes. A few proposals exist that allow
      overcoming the 64 Kbytes limitation on the size of an IKE payload (see,
      for example, <xref target="I-D.ietf-ipsecme-big-payload"/>, <xref target="I-D.smyslov-ipsecme-ikev2-extended-pld"/>, and <xref target="I-D.tjhai-ikev2-beyond-64k-limit"/>).</t>
      <t>When IKE messages grow to tens or even hundreds of kilobytes, using
      UDP as a transport becomes challenging. The use of IKE fragmentation
      <xref target="RFC7383"/> helps mitigate IP fragmentation issues
      and ensures that each IKE message fragment fits into a UDP datagram,
      even if the original message does not. However, all IKE fragments are
      always sent (and retransmitted) simultaneously and without congestion
      control, so as the number of fragments increases, the simple
      retransmission mechanism of IKEv2 performs poorly and can cause more
      problems for the network.</t>
      <t>If a pure PQC key exchange is required, then a larger amount of
      data needs to be sent in the IKE_SA_INIT exchange, which makes using
      UDP problematic. For PQ KEM algorithms, if TCP is used for IKEv2 and peers
      do not require traditional algorithms, then PQ KEM can be used directly
      within the IKE_SA_INIT message when TCP transport is enabled for IKEv2.
      This approach allows IKEv2 to avoid UDP fragmentation concerns while
      enabling a purely post-quantum key exchange for deployments requiring
      exclusive PQC use.</t>
      <t>Using reliable transport (e.g., TCP) for IKEv2 could be a solution to
      the problem. However, the current use of TCP for IKE and ESP <xref target="RFC9329"/> implies that ESP SAs are also encapsulated in
      TCP, which has a negative impact on IPsec performance (see Section 9 of
      TCP encapsulation of IKE and ESP packets <xref target="RFC9329"/>).</t>
      <t>This specification allows IKE and IPsec transports to be decoupled,
      making it possible to use a reliable transport for IKEv2 while
      continuing to use an unreliable transport for IPsec. The resulting
      updates to <xref target="RFC9329"/> are summarized in <xref target="updates"/>.</t>
      <t>The proposed mechanism would enable the use of all parameter sets of
      a post-quantum key exchange algorithm in IKE_SA_INIT as a
      quantum-resistant-only key exchange. <!-- Unlike approaches that limit the
      parameter sets based on message size constraints, this specification
      supports the use of larger parameter sets when IKEv2 is transported over
      TCP. --> This allows deployments requiring a pure post-quantum key
      exchange to establish keys during the IKE_SA_INIT exchange without
      concerns about exceeding typical network MTUs.</t>
      <t>The idea to decouple IKE and IPsec transports was originally
      presented in <xref target="I-D.tjhai-ikev2-beyond-64k-limit"/>.</t>
      <t>This specification requires support for NAT Traversal as defined in
      Section 2.23 of <xref target="RFC7296"/>. </t>
    </section>
    <section anchor="mustshouldmay">
      <name>Terminology and Notation</name>
      <t>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
      <xref target="RFC2119"/> <xref target="RFC8174"/> when, and
      only when, they appear in all capitals, as shown here.</t>
    </section>
    <section anchor="protocol">
      <name>Protocol Details</name>
      <t>This section describes two modes of operation. In the first mode
      (<xref target="protocol_udp"/>), IKE_SA_INIT is sent over UDP and
      the initiator switches to TCP after discovering responder support. In
      the second mode (<xref target="protocol_tcp"/>), IKE_SA_INIT is
      sent directly over TCP.</t>
      <section anchor="protocol_udp">
        <name>Discovery of TCP Transport Support for IKEv2</name>
        <t>If the initiator supports this extension, is configured to use it,
        and does not know whether the responder supports IKEv2 over TCP, the
        initiator starts the IKE_SA_INIT exchange over UDP to responder's port
        4500, as per IKEv2 <xref target="RFC7296"/>. In this case, the
        initiator includes the SEPARATE_TRANSPORTS notification (&lt;TBA by
        IANA&gt;) in the IKE_SA_INIT request. This allows the initiator to
        discover whether the responder supports the use of separate transports
        for IKE (over TCP) and ESP (over UDP). Using UDP port 4500 ensures
        that IPsec traffic can traverse NATs and intermediate devices that
        allow UDP encapsulation. If the responder has this extension enabled
        and receives the SEPARATE_TRANSPORTS notification in the IKE_SA_INIT
        request, it <bcp14>MUST</bcp14> respond with the same notification in
        the IKE_SA_INIT response. Upon receiving the SEPARATE_TRANSPORTS
        notification in the response, the initiator <bcp14>MUST</bcp14> switch
        to TCP port 4500 for subsequent exchanges (IKE_INTERMEDIATE or
        IKE_AUTH). The responder <bcp14>MUST</bcp14> be prepared to receive
        these exchanges over TCP. When establishing the TCP connection, the
        initiator <bcp14>MUST</bcp14> include the IKETCP prefix as specified
        in Section 4 of <xref target="RFC9329"/>. If the initiator is
        unable to establish a TCP connection to port 4500, it
        <bcp14>MUST</bcp14> cancel the current IKE SA establishment. The
        initiator in this case can restart the IKE_SA_INIT exchange over UDP
        without proposing separate transports, provided that UDP unreliability
        is not a critical issue for the proposed transforms.</t>
        <artwork align="center"><![CDATA[
Initiator (UDP)                    Responder (UDP:4500)
-------------------------------------------------------------------
IKE_SA_INIT request:
HDR , SAi1, KEi1, Ni,
[N(NAT_DETECTION_SOURCE_IP),
N(NAT_DETECTION_DESTINATION_IP),]
N(SEPARATE_TRANSPORTS)  --->
                                   IKE_SA_INIT response:
                                   HDR, SAr1, KEr1, Nr,
                                   [N(NAT_DETECTION_SOURCE_IP),
                                   N(NAT_DETECTION_DESTINATION_IP),]
                             <---  N(SEPARATE_TRANSPORTS)

=> Initiator switches to TCP:4500 for IKE_INTERMEDIATE / 
   IKE_AUTH / subsequent IKEv2 exchanges (with IKETCP prefix) 
=> ESP directly over IP or ESP with UDP encapsulation 
   depending on the presence of NATs
          ]]></artwork>
        <t>In this mode the IKE_SA_INIT exchange is performed over UDP; per <xref target="RFC9370"/> the first key exchange always takes place in
        IKE_SA_INIT and cannot be deferred to a later exchange. This mode
        therefore supports a hybrid key exchange, in which a traditional key
        exchange is performed in IKE_SA_INIT over UDP and one or more
        post-quantum key exchanges are performed in IKE_INTERMEDIATE exchanges
        <xref target="RFC9370"/> over TCP, as well as a post-quantum-only key
        exchange when the IKE_SA_INIT payloads fit within the limits of UDP. A
        post-quantum-only key exchange whose payloads do not fit within those
        limits requires reliable transport from the start and uses the mode
        described in <xref target="protocol_tcp"/>. When multiple key
        exchanges are used, key derivation follows <xref target="RFC9370"/>
        and is independent of the transport used for each exchange.</t>
      </section>
      <section anchor="protocol_tcp">
        <name>Using TCP Transport for IKEv2 from the Start</name>
        <t>Alternatively, the initiator <bcp14>MAY</bcp14> start IKE_SA_INIT
        over TCP port 4500 directly, as specified in TCP encapsulation of IKE
        and ESP packets <xref target="RFC9329"/>, for example, when large key
        exchange payloads (with large public keys) are used in IKE_SA_INIT. In
        this case, the initiator includes the SEPARATE_TRANSPORTS notification
        in the IKE_SA_INIT request to indicate its preference to use separate
        transports; IKEv2 over TCP and ESP over UDP, provided that UDP is not
        blocked in the network path.</t>
        <t>If the responder supports this extension, it includes the
        SEPARATE_TRANSPORTS notification in the IKE_SA_INIT response. In this
        case, Child SAs are created as specified in IKEv2 <xref target="RFC7296"/>, with ESP sent over UDP (or directly over IP)
        if possible. If both UDP and IP are blocked, ESP is sent over TCP as
        described in TCP encapsulation of IKE and ESP packets <xref target="RFC9329"/>.</t>
        <t>If the responder does not return the SEPARATE_TRANSPORTS
        notification in the IKE_SA_INIT response, the initiator
        <bcp14>MUST</bcp14> treat this as an indication that the responder
        does not support separate transports. In this case, both IKEv2
        messages and ESP packets <bcp14>MUST</bcp14> be sent over TCP as
        specified in <xref target="RFC9329"/>.</t>
        <artwork align="center"><![CDATA[
Initiator (TCP)                     Responder (TCP:4500)
-------------------------------------------------------------------
IKE_SA_INIT request:
HDR , SAi1, KEi1, Ni,
[N(NAT_DETECTION_SOURCE_IP),
N(NAT_DETECTION_DESTINATION_IP),]
N(SEPARATE_TRANSPORTS)  --->
                                   IKE_SA_INIT response:                                   
                                   HDR, SAr1, KEr1, Nr,
                                   [N(NAT_DETECTION_SOURCE_IP),
                                   N(NAT_DETECTION_DESTINATION_IP),]
                             <---  N(SEPARATE_TRANSPORTS)


=> All subsequent IKEv2 exchanges continue over TCP  
=> ESP directly over IP or ESP with UDP encapsulation 
   depending on the presence of NATs, else over TCP
          ]]></artwork>
      </section>
      <section>
        <name>Subsequent IKEv2 Exchanges</name>
        <t>In both scenarios described above (<xref target="protocol_udp"/>
        and <xref target="protocol_tcp"/>), once the IKEv2 SA switches to TCP
        transport, either after IKE_SA_INIT or if TCP was used from the
        beginning, all subsequent IKEv2 exchanges <bcp14>MUST</bcp14> continue
        to use TCP. The interaction with MOBIKE is described in <xref target="mobike"/>.</t>
      </section>
      <section>
        <name>Notification Format</name>
        <t>The SEPARATE_TRANSPORTS notification has Protocol ID set to 0 and
        SPI Size set to 0. This specification does not define any notification
        data, the notification is sent with no data. Future specifications may
        define data for this notification. Peers conforming to this
        specification <bcp14>MUST</bcp14> ignore any data if present.</t>
      </section>
      <section anchor="esp">
        <name>ESP Behavior</name>
        <t>Child SAs are created as specified in IKEv2 <xref target="RFC7296"/>. ESP packets either use direct transport over IP
        or are UDP encapsulated if NAT is detected. If UDP transport for ESP
        becomes unavailable (e.g., blocked by a firewall), peers
        <bcp14>MAY</bcp14> switch ESP to use TCP transport as specified in
        <xref target="RFC9329"/>. If ESP is transported over a different
        protocol than IKE, intermediate devices might apply different
        filtering rules. If traffic is bidirectional, the absence of incoming 
        ESP packets indicates a possible connectivity issue with ESP.  
        Alternatively, an encrypted ESP ping mechanism, for example, the one
        defined in <xref target="I-D.ietf-ipsecme-encrypted-esp-ping"/>,
        might be used to check ESP connectivity.</t>
      </section>
      <section anchor="nat">
        <name>NAT Considerations</name>
        <t>NAT detection follows the standard mechanism defined in Section
        2.23 of <xref target="RFC7296"/>. The initiator <bcp14>SHOULD</bcp14>
        include NAT_DETECTION_SOURCE_IP and NAT_DETECTION_DESTINATION_IP
        notifications in IKE_SA_INIT, regardless of whether IKE_SA_INIT is
        sent over UDP or TCP. NAT detection <bcp14>MAY</bcp14> be omitted only
        if it is known by other means that no NAT is present on the path
        between the peers. If a NAT is detected, ESP <bcp14>MUST</bcp14> use
        UDP encapsulation on port 4500 <xref target="RFC3948"/>. 
        </t>
        <t>However, when separate transports are used for IKEv2 and ESP, NAT traversal
        for each transport <bcp14>MUST</bcp14> be handled independently, as intermediate
        devices maintain NAT state per transport. Peers
        <bcp14>MUST</bcp14> maintain NAT mappings for the ESP path by sending
        NAT keepalive packets as specified in Section 2.23 of <xref target="RFC7296"/>, and <bcp14>MUST NOT</bcp14> assume that the TCP
        connection used for IKEv2 provides any keepalive benefit for the ESP
        UDP path. 
        </t>
        <t> In addition, dynamic update of peer IP address and port 
        by the host that is not behind a NAT (as specified in Section 2.23 of <xref target="RFC7296"/>) <bcp14>MUST</bcp14> be done
        separately for IKE and ESP. In particular, if such a host receives a new ESP packet 
        whose integrity protection validates and source IP address and port are 
        different from the current saved ones for the ESP SA, it updates them only for 
        this ESP SA and all other ESP SAs created by the same IKE SA as this ESP SA,
        but it <bcp14>MUST NOT</bcp14> update peer IP address and port used by this IKE SA. 
        Alternatively, if the host receives a protected IKE message 
        on a new TCP connection (with different source IP address and/or port), it 
        uses this TCP connection only for the IKE SA and
        <bcp14>MUST NOT</bcp14> change source IP and port for any ESP SA created by this IKE SA.
        </t>
      </section>
      <section anchor="udp-reach">
        <name>UDP Reachability Verification</name>
        <t>When IKEv2 starts over UDP (<xref target="protocol_udp"/>),
        the successful exchange of IKE_SA_INIT messages implicitly
        demonstrates that UDP is reachable and NAT detection results can be
        used to determine whether ESP should be sent directly over IP or UDP
        encapsulated. No additional verification is needed.</t>
        <t>When IKEv2 starts over TCP (<xref target="protocol_tcp"/>), there
        is no implicit evidence that ESP traffic is reachable. After the Child
        SA is established, the initiator <bcp14>SHOULD</bcp14> verify ESP
        reachability, unless it has other means to do so (for example, the
        presence of incoming ESP traffic). If ESP reachability cannot be
        confirmed, the initiator <bcp14>MUST</bcp14> delete the current IKE SA
        (with DELETE payload) and re-establish it over TCP without proposing
        separate transport for ESP, as specified in <xref target="RFC9329"/>.
        The ESP transport to probe is determined by the NAT detection results
        as follows:</t>
        <ul spacing="normal">
          <li>
            <t>If a NAT was detected, the initiator <bcp14>SHOULD</bcp14>
            probe ESP using UDP encapsulation on port 4500 <xref target="RFC3948"/>.</t>
          </li>
          <li>
            <t>If no NAT was detected, the initiator <bcp14>SHOULD</bcp14>
            probe ESP directly over IP. If no response is received after a
            short delay, the initiator <bcp14>SHOULD</bcp14> also probe using
            UDP encapsulation on port 4500 <xref target="RFC3948"/>, since
            some middleboxes do not allow IP traffic without UDP or TCP
            transport. The initiator <bcp14>MUST</bcp14> use the transport for
            which a response is received first. This approach is analogous to
            the Happy Eyeballs algorithm <xref target="RFC8305"/>, giving
            preference to ESP sent directly over IP while avoiding excessive
            delay if it is not reachable.</t>
          </li>
        </ul>
        <t>One example might be to perform this verification using an
        ESP Echo Request <xref target="I-D.ietf-ipsecme-encrypted-esp-ping"/>.</t>
      </section>
    </section>
    <section anchor="interaction">
      <name>Interaction with IKEv2 Extensions</name>
      <section anchor="mobike">
        <name>Interaction with MOBIKE</name>
        <t>MOBIKE <xref target="RFC4555"/> allows an IKE SA, along with its
        Child SAs, to migrate from one IP address to another. Section 7.1 of
        TCP encapsulation of IKE and ESP packets <xref target="RFC9329"/>
        specifies that when using TCP as the IKE transport, a peer should
        attempt to switch back to UDP in the event of an IP address change.
        This specification updates that requirement of <xref target="RFC9329"/> (see <xref target="updates"/>): when separate
        transports are used for IKE and ESP, peers <bcp14>MUST NOT</bcp14> attempt to
        switch the IKE SA transport from TCP to UDP. However, an ESP SA
        <bcp14>MAY</bcp14> switch from UDP to TCP if UDP is blocked at the new
        IP address.</t>
        <t>Similarly, when ESP is running over TCP and the initiator detects
        an IP address change, the initiator <bcp14>MUST</bcp14> perform UDP
        reachability verification as described in <xref target="udp-reach"/>
        on the new path. If ESP reachability is confirmed, the ESP SA switches
        from TCP to the verified path.</t>
        <t> When separate transports are in use and there is a NAT between the peers, 
        NAT mappings for IKE and ESP are maintained separately. After switching to new IP addresses via MOBIKE 
        (using the UPDATE_SA_ADDRESSES notification), the new NAT mapping becomes known only for the IKE SA 
        and not for the ESP SA(s). If UDP transport is still available on a new network path, the peer that is not behind a NAT 
        <bcp14>MUST</bcp14> use the procedure defined in <xref target="nat"/> for IP and port updating for ESP SA(s)
        (note that this is permitted by MOBIKE, see Section 3.8 of <xref target="RFC4555"/>). 
        If no incoming ESP traffic is available to trigger this update, an ESP Echo Request 
        <xref target="I-D.ietf-ipsecme-encrypted-esp-ping"/> might be used. 
        The peer that is behind a NAT <bcp14>MUST NOT</bcp14> update the IP address and port of its peer for ESP SA(s).
        </t>
      </section>
      <section anchor="resume">
        <name>Interaction with IKE Session Resumption</name>
        <t>IKE session resumption <xref target="RFC5723"/> allows peers to
        quickly re-establish an IKE SA after the connection is broken. Since
        network conditions may change while the client is inactive, the use of
        separate transports <bcp14>MUST NOT</bcp14> be stored in the
        resumption ticket and <bcp14>MUST</bcp14> be re-negotiated during
        session resumption. When resuming an IKE session, the initiator
        <bcp14>MUST</bcp14> start with UDP to destination port 4500, unless it
        is configured to use only TCP. This is because the IKE_SESSION_RESUME
        exchange does not transfer large public keys.</t>
      </section>
    </section>
    <section anchor="updates">
      <name>Updates to RFC 9329</name>
      <t>When separate transports are negotiated, this document updates
      <xref target="RFC9329"/> as follows:</t>
      <ul spacing="normal">
        <li>
          <t>Section 5: ESP is not required to use TCP when IKE uses TCP
          (<xref target="protocol"/>).</t>
        </li>
        <li>
          <t>Section 7.1: After an IP address change, the IKE SA stays on TCP while ESP SAs still migrate between TCP and UDP based on UDP availability on a new path
          (<xref target="mobike"/>).</t>
        </li>
      </ul>
    </section>
    <section anchor="ops">
      <name>Operational Considerations</name>
      <t>If ESP reachability cannot be confirmed when IKEv2 is carried over
      TCP, this can affect availability and may cause the IKE SA to be
      re-established using the fallback behavior described in <xref target="udp-reach"/>. It is recommended that implementations log
      this condition and make it visible to operators. It is also recommended
      that deployments define a local policy governing whether fallback to ESP
      over TCP is acceptable or whether IKE SA establishment is to be
      aborted.</t>
    </section>
    <section anchor="security">
      <name>Security Considerations</name>
      <t>Section 10 of TCP encapsulation of IKE and ESP packets <xref target="RFC9329"/> discusses security implications of using TCP as
      IKE transport. Failure to confirm ESP reachability does not by itself
      weaken IKEv2 authentication or the cryptographic protection of the
      negotiated Child SA.</t>
      <t>An attacker that blocks ESP sent over UDP or directly over IP, while
      allowing the TCP connection used by IKE, causes a denial of service
      that IKE liveness checks do not detect.
      <xref target="esp"/> describes how peers detect this condition
      and switch ESP to TCP.</t>
    </section>
    <section anchor="iana">
      <name>IANA Considerations</name>
      <t>This document defines a new Notify Message Type in the "IKEv2 Notify
      Message Status Types" registry:</t>
      <artwork align="left"><![CDATA[
<TBA>         SEPARATE_TRANSPORTS
            ]]></artwork>
    </section>
    <section anchor="ACK">
      <name>IAcknowledgments</name>
      <t>Thanks to Hannes Tschofenig, Dan Wing, Songbo Bu, Wang Guilin and
      Andrew Cagney for the discussion and comments.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t>RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC7296" target="https://www.rfc-editor.org/info/rfc7296" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7296.xml">
          <front>
            <title>Internet Key Exchange Protocol Version 2 (IKEv2)</title>
            <author fullname="C. Kaufman" initials="C." surname="Kaufman"/>
            <author fullname="P. Hoffman" initials="P." surname="Hoffman"/>
            <author fullname="Y. Nir" initials="Y." surname="Nir"/>
            <author fullname="P. Eronen" initials="P." surname="Eronen"/>
            <author fullname="T. Kivinen" initials="T." surname="Kivinen"/>
            <date month="October" year="2014"/>
            <abstract>
              <t>This document describes version 2 of the Internet Key Exchange (IKE) protocol. IKE is a component of IPsec used for performing mutual authentication and establishing and maintaining Security Associations (SAs). This document obsoletes RFC 5996, and includes all of the errata for it. It advances IKEv2 to be an Internet Standard.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="79"/>
          <seriesInfo name="RFC" value="7296"/>
          <seriesInfo name="DOI" value="10.17487/RFC7296"/>
        </reference>
        <reference anchor="RFC9329" target="https://www.rfc-editor.org/info/rfc9329" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9329.xml">
          <front>
            <title>TCP Encapsulation of Internet Key Exchange Protocol (IKE) and IPsec Packets</title>
            <author fullname="T. Pauly" initials="T." surname="Pauly"/>
            <author fullname="V. Smyslov" initials="V." surname="Smyslov"/>
            <date month="November" year="2022"/>
            <abstract>
              <t>This document describes a method to transport Internet Key Exchange Protocol (IKE) and IPsec packets over a TCP connection for traversing network middleboxes that may block IKE negotiation over UDP. This method, referred to as "TCP encapsulation", involves sending both IKE packets for Security Association (SA) establishment and Encapsulating Security Payload (ESP) packets over a TCP connection. This method is intended to be used as a fallback option when IKE cannot be negotiated over UDP.</t>
              <t>TCP encapsulation for IKE and IPsec was defined in RFC 8229. This document clarifies the specification for TCP encapsulation by including additional clarifications obtained during implementation and deployment of this method. This documents obsoletes RFC 8229.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9329"/>
          <seriesInfo name="DOI" value="10.17487/RFC9329"/>
        </reference>
        <reference anchor="RFC3948" target="https://www.rfc-editor.org/info/rfc3948" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3948.xml">
          <front>
            <title>UDP Encapsulation of IPsec ESP Packets</title>
            <author fullname="A. Huttunen" initials="A." surname="Huttunen"/>
            <author fullname="B. Swander" initials="B." surname="Swander"/>
            <author fullname="V. Volpe" initials="V." surname="Volpe"/>
            <author fullname="L. DiBurro" initials="L." surname="DiBurro"/>
            <author fullname="M. Stenberg" initials="M." surname="Stenberg"/>
            <date month="January" year="2005"/>
            <abstract>
              <t>This protocol specification defines methods to encapsulate and decapsulate IP Encapsulating Security Payload (ESP) packets inside UDP packets for traversing Network Address Translators. ESP encapsulation, as defined in this document, can be used in both IPv4 and IPv6 scenarios. Whenever negotiated, encapsulation is used with Internet Key Exchange (IKE). [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3948"/>
          <seriesInfo name="DOI" value="10.17487/RFC3948"/>
        </reference>
        <reference anchor="RFC4555" target="https://www.rfc-editor.org/info/rfc4555" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.4555.xml">
          <front>
            <title>IKEv2 Mobility and Multihoming Protocol (MOBIKE)</title>
            <author fullname="P. Eronen" initials="P." surname="Eronen"/>
            <date month="June" year="2006"/>
            <abstract>
              <t>This document describes the MOBIKE protocol, a mobility and multihoming extension to Internet Key Exchange (IKEv2). MOBIKE allows the IP addresses associated with IKEv2 and tunnel mode IPsec Security Associations to change. A mobile Virtual Private Network (VPN) client could use MOBIKE to keep the connection with the VPN gateway active while moving from one address to another. Similarly, a multihomed host could use MOBIKE to move the traffic to a different interface if, for instance, the one currently being used stops working. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4555"/>
          <seriesInfo name="DOI" value="10.17487/RFC4555"/>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <reference anchor="RFC5723" target="https://www.rfc-editor.org/info/rfc5723" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.5723.xml">
          <front>
            <title>Internet Key Exchange Protocol Version 2 (IKEv2) Session Resumption</title>
            <author fullname="Y. Sheffer" initials="Y." surname="Sheffer"/>
            <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
            <date month="January" year="2010"/>
            <abstract>
              <t>The Internet Key Exchange version 2 (IKEv2) protocol has a certain computational and communication overhead with respect to the number of round trips required and the cryptographic operations involved. In remote access situations, the Extensible Authentication Protocol (EAP) is used for authentication, which adds several more round trips and consequently latency.</t>
              <t>To re-establish security associations (SAs) upon a failure recovery condition is time consuming especially when an IPsec peer (such as a VPN gateway) needs to re-establish a large number of SAs with various endpoints. A high number of concurrent sessions might cause additional problems for an IPsec peer during SA re-establishment.</t>
              <t>In order to avoid the need to re-run the key exchange protocol from scratch, it would be useful to provide an efficient way to resume an IKE/IPsec session. This document proposes an extension to IKEv2 that allows a client to re-establish an IKE SA with a gateway in a highly efficient manner, utilizing a previously established IKE SA.</t>
              <t>A client can reconnect to a gateway from which it was disconnected. The proposed approach encodes partial IKE state into an opaque ticket, which can be stored on the client or in a centralized store, and is later made available to the IKEv2 responder for re-authentication. We use the term ticket to refer to the opaque data that is created by the IKEv2 responder. This document does not specify the format of the ticket but examples are provided. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5723"/>
          <seriesInfo name="DOI" value="10.17487/RFC5723"/>
        </reference>
        <reference anchor="RFC8305" target="https://www.rfc-editor.org/info/rfc8305" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8305.xml">
          <front>
            <title>Happy Eyeballs Version 2: Better Connectivity Using Concurrency</title>
            <author fullname="D. Schinazi" initials="D." surname="Schinazi"/>
            <author fullname="T. Pauly" initials="T." surname="Pauly"/>
            <date month="December" year="2017"/>
            <abstract>
              <t>Many communication protocols operating over the modern Internet use hostnames. These often resolve to multiple IP addresses, each of which may have different performance and connectivity characteristics. Since specific addresses or address families (IPv4 or IPv6) may be blocked, broken, or sub-optimal on a network, clients that attempt multiple connections in parallel have a chance of establishing a connection more quickly. This document specifies requirements for algorithms that reduce this user-visible delay and provides an example algorithm, referred to as "Happy Eyeballs". This document obsoletes the original algorithm description in RFC 6555.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8305"/>
          <seriesInfo name="DOI" value="10.17487/RFC8305"/>
        </reference>
        <reference anchor="RFC7383" target="https://www.rfc-editor.org/info/rfc7383" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7383.xml">
          <front>
            <title>Internet Key Exchange Protocol Version 2 (IKEv2) Message Fragmentation</title>
            <author fullname="V. Smyslov" initials="V." surname="Smyslov"/>
            <date month="November" year="2014"/>
            <abstract>
              <t>This document describes a way to avoid IP fragmentation of large Internet Key Exchange Protocol version 2 (IKEv2) messages. This allows IKEv2 messages to traverse network devices that do not allow IP fragments to pass through.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7383"/>
          <seriesInfo name="DOI" value="10.17487/RFC7383"/>
        </reference>
        <reference anchor="RFC9370" target="https://www.rfc-editor.org/info/rfc9370" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9370.xml">
          <front>
            <title>Multiple Key Exchanges in the Internet Key Exchange Protocol Version 2 (IKEv2)</title>
            <author fullname="CJ. Tjhai" initials="CJ." surname="Tjhai"/>
            <author fullname="M. Tomlinson" initials="M." surname="Tomlinson"/>
            <author fullname="G. Bartlett" initials="G." surname="Bartlett"/>
            <author fullname="S. Fluhrer" initials="S." surname="Fluhrer"/>
            <author fullname="D. Van Geest" initials="D." surname="Van Geest"/>
            <author fullname="O. Garcia-Morchon" initials="O." surname="Garcia-Morchon"/>
            <author fullname="V. Smyslov" initials="V." surname="Smyslov"/>
            <date month="May" year="2023"/>
            <abstract>
              <t>This document describes how to extend the Internet Key Exchange Protocol Version 2 (IKEv2) to allow multiple key exchanges to take place while computing a shared secret during a Security Association (SA) setup.</t>
              <t>This document utilizes the IKE_INTERMEDIATE exchange, where multiple key exchanges are performed when an IKE SA is being established. It also introduces a new IKEv2 exchange, IKE_FOLLOWUP_KE, which is used for the same purpose when the IKE SA is being rekeyed or is creating additional Child SAs.</t>
              <t>This document updates RFC 7296 by renaming a Transform Type 4 from "Diffie-Hellman Group (D-H)" to "Key Exchange Method (KE)" and renaming a field in the Key Exchange Payload from "Diffie-Hellman Group Num" to "Key Exchange Method". It also renames an IANA registry for this Transform Type from "Transform Type 4 - Diffie- Hellman Group Transform IDs" to "Transform Type 4 - Key Exchange Method Transform IDs". These changes generalize key exchange algorithms that can be used in IKEv2.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9370"/>
          <seriesInfo name="DOI" value="10.17487/RFC9370"/>
        </reference>
        <reference anchor="I-D.ietf-ipsecme-big-payload" target="https://datatracker.ietf.org/doc/html/draft-ietf-ipsecme-big-payload-00" xml:base="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-ipsecme-big-payload.xml">
          <front>
            <title>A Larger Internet Key Exchange version 2 (IKEv2) Payload</title>
            <author fullname="Yoav Nir" initials="Y." surname="Nir">
              <organization>Dell Technologies</organization>
            </author>
            <date day="18" month="October" year="2026"/>
            <abstract>
              <t>The messages of the Internet Key Exchange version 2 (IKEv2) protocol are made up of payloads. The current protocol limits each of these payloads to 64KB by having a 2-byte length field. While this is usually enough, several of the payloads may need to be larger. This document updates RFC 7296 by defining an extension that allows larger payloads.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-ipsecme-big-payload-00"/>
        </reference>
        <reference anchor="I-D.tjhai-ikev2-beyond-64k-limit" target="https://datatracker.ietf.org/doc/html/draft-tjhai-ikev2-beyond-64k-limit-03" xml:base="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.tjhai-ikev2-beyond-64k-limit.xml">
          <front>
            <title>Beyond 64KB Limit of IKEv2 Payloads</title>
            <author fullname="C. Tjhai" initials="C." surname="Tjhai">
              <organization>Post-Quantum</organization>
            </author>
            <author fullname="Tobias Heider" initials="T." surname="Heider">
              <organization>genua GmbH</organization>
            </author>
            <author fullname="Valery Smyslov" initials="V." surname="Smyslov">
              <organization>ELVIS-PLUS</organization>
            </author>
            <date day="28" month="July" year="2022"/>
            <abstract>
              <t>The maximum Internet Key Exchange Version 2 (IKEv2) payload size is limited to 64KB. This makes IKEv2 not usable for conservative post- quantum cryptosystem whose public-key is larger than 64KB. This document discusses the considerations and defines a mechanism to exchange large post-quantum public keys and signatures in IKEv2.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-tjhai-ikev2-beyond-64k-limit-03"/>
        </reference>
        <reference anchor="I-D.smyslov-ipsecme-ikev2-extended-pld" target="https://datatracker.ietf.org/doc/html/draft-smyslov-ipsecme-ikev2-extended-pld-01" xml:base="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.smyslov-ipsecme-ikev2-extended-pld.xml">
          <front>
            <title>Extended IKEv2 Payload Format</title>
            <author fullname="Valery Smyslov" initials="V." surname="Smyslov">
              <organization>ELVIS-PLUS</organization>
            </author>
            <date day="6" month="March" year="2023"/>
            <abstract>
              <t>This document describes an extended payload format for the Internet Key Exchange protocol version 2 (IKEv2) messages. This format allows both to decrease an overhead many IKEv2 payloads have and to overcome the current 64 Kbytes limit on the maximum payload size.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-smyslov-ipsecme-ikev2-extended-pld-01"/>
        </reference>
        <reference anchor="I-D.ietf-ipsecme-encrypted-esp-ping" target="https://datatracker.ietf.org/doc/html/draft-ietf-ipsecme-encrypted-esp-ping-05" xml:base="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-ipsecme-encrypted-esp-ping.xml">
          <front>
            <title>ESP Echo Protocol</title>
            <author fullname="Antony Antony" initials="A." surname="Antony">
              <organization>secunet Security Networks AG</organization>
            </author>
            <author fullname="Steffen Klassert" initials="S." surname="Klassert">
              <organization>secunet Security Networks AG</organization>
            </author>
            <author fullname="Lorenzo Colitti" initials="L." surname="Colitti">
              <organization>Google</organization>
            </author>
            <author fullname="Jen Linkova" initials="J." surname="Linkova">
              <organization>Google</organization>
            </author>
            <author fullname="Nathan Harold" initials="N." surname="Harold">
              <organization>Google</organization>
            </author>
            <date day="2" month="November" year="2026"/>
            <abstract>
              <t>This document defines the ESP Echo Protocol, an extension to the ESP AGGFRAG protocol [RFC9347] that provides an Echo Request and Echo Reply mechanism for IP Security (IPsec) link diagnostics. It enables endpoints to assess end-to-end path reachability, and it defines probe packets that can be used for path Maximum Transmission Unit (MTU) discovery, using Encapsulating Security Payload (ESP) packets. The protocol supports two modes of operation: an encrypted mode used over established IPsec Security Associations (SAs), with an option to specify a preferred reply path when multiple SAs exist between the peers, and an unencrypted mode used outside the context of a negotiated ESP SA. In addition to bidirectional echo probing, the protocol supports sending one-way ESP packets without eliciting a reply, primarily for keepalives, NAT and firewall pinhole maintenance, and unidirectional link diagnostics. A peer can announce support for ESP Echo using a new IKEv2 Status Notification ESP_ECHO_SUPPORTED.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-ipsecme-encrypted-esp-ping-05"/>
        </reference>
      </references>
    </references>
  </back>
</rfc>
