IPSECME Working Group A. Antony Internet-Draft S. Klassert Intended status: Standards Track secunet Expires: 27 May 2027 23 November 2026 IKEv2 negotiation for Bound End-to-End Tunnel (BEET) mode ESP draft-ietf-ipsecme-ikev2-beet-mode-05 Abstract This document specifies a new Notify Message Status Type for the Internet Key Exchange Protocol Version 2 (IKEv2), to negotiate IPsec ESP Bound End-to-End Tunnel (BEET) mode. BEET mode combines the benefits of tunnel mode with reduced overhead, making it suitable for applications requiring minimalistic end-to-end tunnels and multi- address multi-homing capabilities. The introduction of the USE_BEET_MODE Notify Message Status Type enables the negotiation and establishment of BEET mode security associations. 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." This Internet-Draft will expire on 27 May 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. Antony & Klassert Expires 27 May 2027 [Page 1] Internet-Draft IKEv2 for BEET mode ESP November 2026 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 1.1. Background . . . . . . . . . . . . . . . . . . . . . . . 3 1.2. Requirements Language . . . . . . . . . . . . . . . . . . 3 2. IKEv2 Negotiation . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Traffic Selectors . . . . . . . . . . . . . . . . . . . . 4 2.2. USE_BEET_MODE Notify Message Payload . . . . . . . . . . 5 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 4. Security Considerations . . . . . . . . . . . . . . . . . . . 6 5. Implementation Status . . . . . . . . . . . . . . . . . . . . 6 5.1. Linux XFRM . . . . . . . . . . . . . . . . . . . . . . . 7 5.2. strongSwan . . . . . . . . . . . . . . . . . . . . . . . 7 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 8 7. Normative References . . . . . . . . . . . . . . . . . . . . 8 8. Informative References . . . . . . . . . . . . . . . . . . . 8 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 9 1. Introduction The Bound End-to-End Tunnel (BEET) mode is specified in [I-D.ietf-ipsecme-rfc7402-beet-update]. BEET mode was first standardized in Appendix B of [RFC7402]. It offers an optimized approach for deploying IP Security (IPsec) [RFC4301] using Encapsulating Security Payload (ESP) [RFC4303] for end-to-end use cases. It combines the advantages of Tunnel and Transport modes specified in [RFC4301], while minimizing their overhead for end-to- end use cases. This document specifies the necessary code points to negotiate an ESP BEET mode SA using the Internet Key Exchange Protocol Version 2 (IKEv2) [RFC7296], by introducing a new Notify Message Status Type, USE_BEET_MODE, to facilitate the negotiation and establishment of BEET mode security associations in IKEv2. Antony & Klassert Expires 27 May 2027 [Page 2] Internet-Draft IKEv2 for BEET mode ESP November 2026 1.1. Background BEET mode is already used for end-to-end security in HIP environments [RFC7402], where it is set up by the HIP key exchange rather than by IKE. It is also deployed with IKEv2 using a private Notify Message Status Type, as implemented in [strongSwan]. This document defines the IKEv2 negotiation. This private-use deployment has been in use for a long time. This document requests an IANA-assigned Notify Message Status Type value, [TBD1], for the USE_BEET_MODE notification. Additionally, BEET mode ESP is valuable for low-power devices which usually use only one end-to-end IPsec tunnel, as it reduces power consumption [RFC9333] and complexity. In situations where devices or IPsec connections are dedicated to a single application or transport protocol, the use of BEET mode simplifies packet processing and conserves energy, especially benefiting lower-powered devices. 1.2. Requirements Language 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. 2. IKEv2 Negotiation When negotiating a Child SA using IKEv2, the new "USE_BEET_MODE" Notify Message Status Type is used to negotiate BEET mode for the Child SA pair. The method used is similar to how USE_TRANSPORT_MODE is negotiated, as described in [RFC7296]. To request a BEET-mode SA on the Child SA pair, the initiator MUST include the USE_BEET_MODE Notify Message Status Type when requesting a new Child SA, either during the IKE_AUTH or the CREATE_CHILD_SA exchanges to create a new Child SA. If the request is accepted, the response MUST also include a USE_BEET_MODE Notify Message Status Type. If the responder declines and does not include the USE_BEET_MODE notification in the response, the Child SA will be established in Tunnel mode. If Tunnel mode is unacceptable to the initiator, the initiator MUST delete the Child SA via a subsequent INFORMATIONAL exchange with a Delete payload, as specified in [RFC7296]. Antony & Klassert Expires 27 May 2027 [Page 3] Internet-Draft IKEv2 for BEET mode ESP November 2026 A responder for which Tunnel mode is not an acceptable fallback for this Child SA MAY, during a CREATE_CHILD_SA exchange, instead reject the request by returning a NO_PROPOSAL_CHOSEN notification, in which case no Child SA is created. During the IKE_AUTH exchange, the responder SHOULD instead follow the Tunnel-mode fallback described above, since rejecting the Child SA via NO_PROPOSAL_CHOSEN would leave the IKE SA established without any Child SA. When rekeying a Child SA that was established with BEET mode, the TSi and TSr of the replacement Child SA MUST be identical to those of the Child SA being replaced, since the inner addresses bound to a BEET mode Security Association are fixed for its lifetime [I-D.ietf-ipsecme-rfc7402-beet-update]. The USE_BEET_MODE notification MUST NOT be combined with other Child SA mode notifications, such as USE_TRANSPORT_MODE or USE_AGGFRAG [RFC9347], in the same request. As BEET mode is currently specified only in terms of Tunnel mode Security Association and Traffic Selector semantics [I-D.ietf-ipsecme-rfc7402-beet-update], its interaction with these other modes is not defined. If a responder nonetheless receives a request containing the USE_BEET_MODE notification together with one or more other Child SA mode notifications, it MUST select at most one of these notifications, or none of them -- in which case the Child SA is established in Tunnel mode -- and include only that single notification, if any, in its response. If, contrary to the above, the response includes the USE_BEET_MODE notification together with any other Child SA mode notification, the response is ambiguous as to which mode the responder has selected; the initiator MUST treat the response as invalid and MUST delete the Child SA. In either case -- whether the responder omitted USE_BEET_MODE (resulting in Tunnel mode, as described above) or returned such an ambiguous response -- the initiator can determine acceptability immediately upon processing the response. It MAY therefore delete the Child SA without first installing it. 2.1. Traffic Selectors A BEET mode Security Association binds the Child SA to a single, fixed pair of inner addresses for its lifetime [I-D.ietf-ipsecme-rfc7402-beet-update]. This is in contrast to Tunnel mode, where the Traffic Selectors negotiate address ranges and the inner addresses of any given packet may be any pair of addresses within those ranges. For this reason, the Traffic Selectors (TSi and TSr) of a Child SA negotiated with the USE_BEET_MODE notification MUST each specify, after narrowing if applicable, a single IP address Antony & Klassert Expires 27 May 2027 [Page 4] Internet-Draft IKEv2 for BEET mode ESP November 2026 -- that is, a Starting Address equal to the Ending Address (equivalent to a /32 or /128 prefix), as defined in Section 3.13.1 of [RFC7296] -- which become the inner addresses bound to the Child SA. The initiator MAY propose TSi and TSr that already each specify a single IP address, or MAY propose broader Traffic Selectors and rely on the responder to narrow them, as described in Section 2.9 of [RFC7296]. If the responder selects USE_BEET_MODE, the TSi and TSr returned in its response MUST each specify a single IP address, regardless of how the corresponding Traffic Selectors were proposed in the request. If the proposed Traffic Selectors cannot be narrowed to a single address acceptable to the responder's policy, the responder MUST NOT include the USE_BEET_MODE notification in its response, resulting in Tunnel mode (or NO_PROPOSAL_CHOSEN, per the responder's policy as described above). The initiator MUST verify that, when the response includes the USE_BEET_MODE notification, the TSi and TSr returned in the response each specify a single IP address. If they do not, the response is invalid; as with an ambiguous USE_BEET_MODE response described above, the initiator MUST delete the Child SA. A MOBIKE [RFC4555] address update for the IKE SA and its Child SAs changes only the outer addresses used to reach the peer. The TSi and TSr of a BEET mode Child SA, and the inner addresses they represent, are unaffected by such an update and MUST NOT be renegotiated as part of it. 2.2. USE_BEET_MODE Notify Message Payload The USE_BEET_MODE Notify Message Status Type uses the Notify Payload format defined in Section 3.10 of [RFC7296]. The Protocol ID and SPI Size fields MUST be set to 0 and MUST be ignored if not 0. The notification carries no Notification Data. 3. IANA Considerations This document defines a new Notify Message Status Type, to be added to the "Notify Message Status Types" registry [STATUSNOTIFY]. Value Notify Message Status Type Reference ----- --------------------------- --------------- [TBD1] USE_BEET_MODE [this document] Antony & Klassert Expires 27 May 2027 [Page 5] Internet-Draft IKEv2 for BEET mode ESP November 2026 4. Security Considerations This document defines only the IKEv2 negotiation of BEET mode. The security properties of BEET mode itself are discussed in [I-D.ietf-ipsecme-rfc7402-beet-update]. This section follows the guidelines of [RFC3552]. There are no known new vulnerabilities that the addition of the BEET mode to IKEv2 would create. An initiator whose USE_BEET_MODE request repeatedly results in a response it must reject, as described in Section 2, SHOULD NOT retry the request indefinitely, to avoid Child SA creation and deletion churn with that peer. Falling back to Tunnel mode when USE_BEET_MODE is not negotiated is functionally complete in most deployments, at the cost of the header- compression and address-mapping optimizations BEET mode provides. In some use cases, however -- such as Host Identity Protocol (HIP) deployments [RFC7401] that rely on these address mappings -- the fallback may result in a loss of functionality beyond these optimizations. Whether such a loss is acceptable for a given deployment is outside the scope of IKEv2 negotiation. 5. Implementation Status [Note to RFC Editor: Please remove this section and the reference to [RFC7942] before publication.] This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in [RFC7942]. The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs. Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist. According to [RFC7942], "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature. It is up to the individual working groups to use this information as they see fit". Antony & Klassert Expires 27 May 2027 [Page 6] Internet-Draft IKEv2 for BEET mode ESP November 2026 Authors are requested to add a note to the RFC Editor at the top of this section, advising the Editor to remove the entire section before publication, as well as the reference to [RFC7942]. 5.1. Linux XFRM Linux Organization: Linux kernel Project Name: Linux Kernel https://www.kernel.org/ Description: Implements BEET mode in ESP. The initial support was added in 2006. It is widely used. Level of maturity: Stable and used for over 15 years Licensing: GPLv2 Implementation experience: There is no support for IPv4 fragments yet. IPv6 fragments appear to work. The BEET mode code is in production for over a decade. And it appears stable. Contact: https://lore.kernel.org/netdev/ 5.2. strongSwan Organization: The strongSwan Project Name: strongSwan https://docs.strongswan.org/docs/5.9/swanctl/ swanctlConf.html Description: Implements IKE negotiation and ESP support for BEET mode Linux Level of maturity: Stable for a long time Coverage: Implements negotiating BEET mode support in Child SA negotiations and using it in ESP. The initial support was added in 2006. Does not support IPv4 fragments yet. IPv6 fragments appear to work. Licensing: GPLv2 Implementation experience: strongSwan uses a private Notify Message Status Type USE_BEET_MODE (40961) for IKE. As far as we know BEET is widely used. Antony & Klassert Expires 27 May 2027 [Page 7] Internet-Draft IKEv2 for BEET mode ESP November 2026 Contact: Tobias Brunner tobias@strongswan.org 6. Acknowledgments We extend our sincere gratitude to the authors and contributors who contributed to the standardization of BEET mode. Their insights and dedication have significantly influenced our work, as well as their contributions to the implementation of BEET mode many years ago. 7. Normative References [I-D.ietf-ipsecme-rfc7402-beet-update] Moskowitz, R., Laari, P., Melen, J., Antony, A., and A. Gurtov, "A Bound End-to-End Tunnel (BEET) mode for ESP", Work in Progress, Internet-Draft, draft-ietf-ipsecme- rfc7402-beet-update-00, 16 November 2026, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC7296] Kaufman, C., Hoffman, P., Nir, Y., Eronen, P., and T. Kivinen, "Internet Key Exchange Protocol Version 2 (IKEv2)", STD 79, RFC 7296, DOI 10.17487/RFC7296, October 2014, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . 8. Informative References [RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC Text on Security Considerations", BCP 72, RFC 3552, DOI 10.17487/RFC3552, July 2003, . [RFC4301] Kent, S. and K. Seo, "Security Architecture for the Internet Protocol", RFC 4301, DOI 10.17487/RFC4301, December 2005, . [RFC4303] Kent, S., "IP Encapsulating Security Payload (ESP)", RFC 4303, DOI 10.17487/RFC4303, December 2005, . Antony & Klassert Expires 27 May 2027 [Page 8] Internet-Draft IKEv2 for BEET mode ESP November 2026 [RFC4555] Eronen, P., "IKEv2 Mobility and Multihoming Protocol (MOBIKE)", RFC 4555, DOI 10.17487/RFC4555, June 2006, . [RFC7401] Moskowitz, R., Ed., Heer, T., Jokela, P., and T. Henderson, "Host Identity Protocol Version 2 (HIPv2)", RFC 7401, DOI 10.17487/RFC7401, April 2015, . [RFC7402] Jokela, P., Moskowitz, R., and J. Melen, "Using the Encapsulating Security Payload (ESP) Transport Format with the Host Identity Protocol (HIP)", RFC 7402, DOI 10.17487/RFC7402, April 2015, . [RFC7942] Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, DOI 10.17487/RFC7942, July 2016, . [RFC9333] Migault, D. and T. Guggemos, "Minimal IP Encapsulating Security Payload (ESP)", RFC 9333, DOI 10.17487/RFC9333, January 2023, . [RFC9347] Hopps, C., "Aggregation and Fragmentation Mode for Encapsulating Security Payload (ESP) and Its Use for IP Traffic Flow Security (IP-TFS)", RFC 9347, DOI 10.17487/RFC9347, January 2023, . [STATUSNOTIFY] IANA, "IKEv2 Notify Message Status Types", . [strongSwan] The strongSwan Project, "strongSwan swanctl.conf documentation", . Authors' Addresses Antony Antony secunet Security Networks AG Email: antony.antony@secunet.com Antony & Klassert Expires 27 May 2027 [Page 9] Internet-Draft IKEv2 for BEET mode ESP November 2026 Steffen Klassert secunet Security Networks AG Email: steffen.klassert@secunet.com Antony & Klassert Expires 27 May 2027 [Page 10]