rfc-4304

Extended Sequence Number (ESN) Addendum to IPsec Domain of Interpretation (DOI) for Internet Security Association and Key Management Protocol (ISAKMP)

S. Kent
date2005-12 streamIETF areasec wgipsec statusPROPOSED STANDARD pages5 canonicalhttps://www.rfc-editor.org/rfc/rfc4304 doi10.17487/RFC4304
The IP Security Authentication Header (AH) and Encapsulating Security Payload (ESP) protocols use a sequence number to detect replay. This document describes extensions to the Internet IP Security Domain of Interpretation (DOI) for the Internet Security Association and Key Management Protocol (ISAKMP). These extensions support negotiation of the use of traditional 32-bit sequence numbers or extended (64-bit) sequence numbers (ESNs) for a particular AH or ESP security association. [STANDARDS-TRACK]

Extracted elements (8)

design-rationale §1

The ESN option exists to permit transmission of very large volumes of data at high speeds over an IPsec Security Association without rekeying to avoid sequence number space exhaustion, addressing the limitations of traditional 32-bit sequence numbers.

ipsec, security

normative-requirement §2 MUST NOT

Attributes described as Basic MUST NOT be encoded as variable. This applies to the ESN attribute defined in this document.

ipsec, security

normative-requirement §3 SHOULD

If an implementation receives a defined IPsec DOI attribute or attribute value that it does not support, an ATTRIBUTES-NOT-SUPPORT SHOULD be sent and the security association setup MUST be aborted.

ipsec, security

normative-requirement §3 MUST

If an implementation receives any attribute value other than the value for 64-bit sequence numbers, the security association setup MUST be aborted.

ipsec, security

protocol-element §2

A new IPsec Security Association attribute 'Extended (64-bit) Sequence Number' is defined with attribute type value 11 and type Basic (B), for use in IKE Phase II negotiation. The attribute class value 1 indicates use of 64-bit sequence numbers; value 0 is RESERVED.

ipsec, security

registry §5

IANA has allocated an IPsec Security Attribute value for the 'Extended (64-bit) Sequence Number' Attribute Type, assigned value 11. No additional class values will be assigned for this attribute.

ipsec, registry, security

security-consideration §4

The integrity algorithm used with ESP or AH should be secure relative to the number of packets being protected. The SA lifetime may be set to limit the volume of data protected with a single key prior to reaching the 2^64 packet limit imposed by the ESN.

ipsec, security, crypto

security-consideration §4

When using ESNs with ESP, it is important to employ an encryption mode that is secure when very large volumes of data are encrypted under a single key. DES in CBC mode is explicitly noted as NOT suitable for use with ESN, because no more than 2^32 blocks should be encrypted under a single DES key in that mode.

ipsec, security, crypto