RFC 4304
Extended Sequence Number (ESN) Addendum to IPsec Domain of Interpretation (DOI) for Internet Security Association and Key Management Protocol (ISAKMP)
Network Working Group RFC 4304 β¨ Extended Sequence Number (ESN) Addendum to IPsec DOI for ISAKMP π
okay bestie, let's get into it π This one is by Stephen Kent of BBN Technologies π¦, filed in December 2005, and it's a Standards Track doc π. It's an addendum to the IPsec Domain of Interpretation for ISAKMP, and it does not obsolete anything and does not update anything π . It's a brand-new add-on, no drama.
Status of This Memo πΈ
okay so this one is an Internet standards track protocol for the Internet community π«Ά. It's asking for discussion and suggestions for improvements, and you should check the "Internet Official Protocol Standards" (STD 1) for the current standardization state and status of this protocol π. Distribution of this memo is unlimited, so share away π.
Copyright Notice π
Copyright (C) The Internet Society (2005) β¨.
Abstract π§
ngl the whole point here is replay detection π. The IP Security Authentication Header (AH) and Encapsulating Security Payload (ESP) protocols use a sequence number to catch replays π. This doc extends the IPsec DOI for ISAKMP so you can negotiate whether an AH or ESP security association uses the traditional 32-bit sequence numbers or the extended (64-bit) sequence numbers (ESNs) π. Iconic energy β¨.
1. Introduction π
So AH and ESP both have an option for extended (64-bit) sequence numbers π . Why do we want it? Because it lets you send huge amounts of data at high speed over an IPsec Security Association without having to rekey just to dodge running out of sequence number space π₯. This doc adds what the IPsec DOI for ISAKMP [DOI] needs so you can negotiate the ESN option π¦.
The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they show up in this document, are to be read as described in RFC 2119 [Bra97] π. Those capitalized words are the ones that really matter, so read them like they're underlined in red π.
2. IPsec Security Association Attribute πΈ
This SA attribute is used in Phase II of an Internet Key Exchange Protocol (IKE) negotiation π. The attribute type is Basic (B) β¨. How it gets encoded is defined in the base ISAKMP specification [ISAKMP]. Attributes that are basic MUST NOT be encoded as variable, so don't even try π ββοΈ. For more on attribute encoding in the IPsec DOI, check [IKE] π. And every restriction listed in [IKE] also applies to the IPsec DOI and to this addendum π.
Attribute Type π¦
class value type
---------------------------------------------------------
Extended (64-bit) Sequence Number 11 B
Class Values π
This class says the Security Association will be using 64-bit sequence numbers π . (See [AH] and [ESP] for a description of extended (64-bit) sequence numbers.)
RESERVED 0
64-bit Sequence Number 1
3. Attribute Negotiation π₯
Okay, so if an implementation gets a defined IPsec DOI attribute (or attribute value) that it doesn't support, it SHOULD send an ATTRIBUTES-NOT-SUPPORT, and the security association setup MUST be aborted π.
Wait, also: if an implementation receives any attribute value other than the one for 64-bit sequence numbers, the security association setup MUST be aborted π.
4. Security Considerations π
This memo is about the Internet Key Exchange protocol [IKE], which combines ISAKMP [ISAKMP] and Oakley [OAKLEY] to derive cryptographic keying material in a secure and authenticated way π. Specific discussion of the various security protocols and transforms in this document lives in the associated base documents and the cipher references π.
The addition of the ESN attribute does not change the underlying security characteristics of IKE π . But when you use ESNs with ESP, it's super important to use an encryption mode that stays secure when very large volumes of data are encrypted under one key π. So, for example, Data Encryption Standard (DES) in Cipher Block Chaining (CBC) mode would NOT be suitable for use with the ESN π«, because no more than 2^32 blocks should be encrypted under a single DES key in that mode π. Similarly, the integrity algorithm used with ESP or AH should be secure relative to the number of packets being protected π‘οΈ. To avoid potential security problems from algorithm limits, the SA lifetime MAY be set to limit how much data gets protected with a single key, before you hit the 2^64 packet limit that ESN imposes π§.
5. IANA Considerations π
This document contains a "magic" number to be maintained by the IANA β¨. No additional class values will be assigned for this attribute π ββοΈ. The IANA has allocated an IPsec Security Attribute value for "Attribute Type" π, and you can find it under the heading "value" in the table in Section 2 π.
Acknowledgements π«Ά
The author would like to thank the members of the IPsec working group π. The author also acknowledges Karen Seo for her help editing this spec πΈ.
Normative References π
[Bra97] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Level", BCP 14, RFC 2119, March 1997.
[AH] Kent, S., "IP Authentication Header", RFC 4302, December
2005.
[DOI] Piper, D., "The Internet IP Security Domain of
Interpretation for ISAKMP", RFC 2407, November 1998.
[ESP] Kent, S., "IP Encapsulating Security Payload (ESP)", RFC
4303, December 2005.
[IKE] Harkins, D. and D. Carrel, "The Internet Key Exchange
(IKE)", RFC 2409, November 1998.
[ISAKMP] Maughan, D., Schertler, M., Schneider, M., and J. Turner,
"Internet Security Association and Key Management Protocol
(ISAKMP)", RFC 2408, November 1998.
Informative References π§
[OAKLEY] Orman, H., "The OAKLEY Key Determination Protocol", RFC
2412, November 1998.
Author's Address π¦
Stephen Kent BBN Technologies 10 Moulton Street Cambridge, MA 02138 USA
Phone: +1 (617) 873-3988 EMail: kent@bbn.com
Full Copyright Statement π
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE π.
Intellectual Property πΈ
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document, or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79 π.
Copies of IPR disclosures made to the IETF Secretariat, and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification, can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr π.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org π.
Acknowledgement π
Funding for the RFC Editor function is currently provided by the Internet Society β¨.
π¦ where this page comes from
- ietf: rfc4304 2005-12
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms