rfc-4877

Mobile IPv6 Operation with IKEv2 and the Revised IPsec Architecture

V. Devarapalli, F. Dupont
date2007-04 streamIETF areaint wgmip6 statusPROPOSED STANDARD pages26 canonicalhttps://www.rfc-editor.org/rfc/rfc4877 doi10.17487/RFC4877 errataview
This document describes Mobile IPv6 operation with the revised IPsec architecture and IKEv2. [STANDARDS-TRACK]

updates

Extracted elements (31)

design-rationale §4.3

Anti-replay protection via ESP sequence numbers is optional for Binding Updates because sequence numbers in the BU itself provide anti-replay. However, complete anti-replay protection can only be guaranteed by dynamic keying (IKEv2), since SA state may be lost on a home agent reboot.

ipsec, mobility, security

design-rationale §4.2

Per-interface configuration of security policies is no longer required for protecting mobility header messages because the Mobility Header message type can now be used directly as a selector. Without per-interface policies, however, payload packet protection is limited to packets originating or terminating at the home address.

ipsec, mobility

design-rationale §1

The revised IPsec architecture (RFC 4301) expanded selectors to include Mobility Header message type and ICMPv6 message type and code, making it easier to differentiate between individual mobility header messages without requiring per-interface security policy configuration as RFC 3776 did.

ipsec, mobility

interoperability-note §5

IPsec implementations lacking fine-grain selectors such as Mobility Header message type and ICMPv6 message type are compatible with this document but are not compliant with RFC 4301. Coarser implementations can use protocol-level or tunnel-all approaches as described in Section 5.

ipsec, mobility

interoperability-note §5

When all tunneled traffic is protected by a single IPsec SA (selector set to 'any'), that SA MUST fulfill the confidentiality requirements for Return Routability messages. Special handling is needed so that a Binding Update updating the tunnel endpoint is not dropped while the SA endpoint is being changed.

ipsec, mobility

normative-requirement §4.1 MUST

ESP encapsulation for Binding Updates and Binding Acknowledgements MUST be supported and used.

ipsec, mobility, security

normative-requirement §4.1 MUST

ESP encapsulation in tunnel mode for HoTi and HoT messages tunneled between the mobile node and the home agent MUST be supported and SHOULD be used.

ipsec, mobility, security

normative-requirement §4.1 MUST

ESP encapsulation of ICMPv6 messages related to mobile prefix discovery MUST be supported and SHOULD be used.

ipsec, mobility, security

normative-requirement §10 MUST

If the home address is dynamically assigned as described in Section 9, the home agent MUST associate the home address with the identity used in IKE negotiation to prevent address hijacking.

ipsec, mobility, security

normative-requirement §9 MUST

If the home agent is unable to allocate a home address during IKE_AUTH, it MUST send a Notify Payload with INTERNAL_ADDRESS_FAILURE; on receipt, the mobile node SHOULD terminate the IKE_AUTH exchange.

ipsec, mobility, ip

normative-requirement §7.4 MUST

If the mobile node or home agent does not support IKE endpoint mobility capability and has no other means to update addresses, then an IKEv2 exchange MUST be initiated to re-establish a new IKE SA after a care-of address change.

ipsec, mobility, vpn

normative-requirement §4.3 MUST

Mobile IPv6 implementations MUST use the Alternate Care-of Address mobility option in Binding Updates sent by mobile nodes while away from home, in order to prevent tampering with the care-of address outside the ESP-protected region.

ipsec, mobility, security

normative-requirement §8 MUST NOT

The EAP-generated shared key, if used to generate AUTH payloads in IKEv2, MUST NOT be used for any other purpose.

ipsec, mobility, security, crypto

normative-requirement §4.2 MUST

The home agent MUST be able to prevent a mobile node from using its security association to send a Binding Update on behalf of another mobile node. With manual IPsec configuration, the home agent MUST verify that an SA was created for a particular home address; with dynamic keying, the home agent MUST verify the IKE_AUTH identity is authorized for that home address.

ipsec, mobility, security

normative-requirement §4.3 MUST

The home agent MUST set the new care-of address as the destination address of tunnel packets after an accepted Binding Update changes the care-of address, and similarly starts to expect the new source address in tunnel packets from the mobile node.

ipsec, mobility, ip

normative-requirement §4.2 MUST

The home agent MUST use the Type 2 Routing header in Binding Acknowledgements and Mobile Prefix Advertisements sent to the mobile node when transport mode IPsec protection is used.

ipsec, mobility, ip

normative-requirement §4.4 MUST

The mobile node and home agent MUST create security associations based on the home address so that SAs survive changes in care-of address; when using IKEv2, the home address should be carried as the initiator IP address in the TSi payload during CREATE_CHILD_SA exchange.

ipsec, mobility, vpn

normative-requirement §4.4 MUST

The mobile node MUST use its care-of address as source address in protocol exchanges when using dynamic keying.

ipsec, mobility, vpn

normative-requirement §7.3 MUST

The mobile node MUST use its home address as the initiator IP address in the TSi payload in the CREATE_CHILD_SA exchange in order to create IPsec SAs bound to the home address.

ipsec, mobility, vpn

normative-requirement §4.2 MUST

The mobile node MUST use the Home Address destination option in Binding Updates and Mobile Prefix Solicitations when transport mode IPsec protection is used, so that the home address is visible during IPsec policy checks.

ipsec, mobility, ip

normative-requirement §4.3 MUST

Tunnel mode IPsec ESP MUST be supported and SHOULD be used for protection of return routability procedure packets; a non-null encryption transform and a non-null authentication algorithm MUST be applied.

ipsec, mobility, security

normative-requirement §4.2 MUST

When a packet destined to the receiving node is matched against IPsec security policy or SA selectors, an address appearing in a Home Address destination option is considered as the source address of the packet.

ipsec, mobility, ip

normative-requirement §8 MUST

When EAP is used and the mobile node's actual identity is carried inside EAP and not visible in the IDi field, the home agent MUST acquire the mobile node's identity from the corresponding AAA server.

ipsec, mobility, security

normative-requirement §7.3 MUST

When PKI-based authentication is used and the mobile node presents its home address in the IDi payload, the home agent MUST verify that the home address matches the address in an iPAddress field in the SubjectAltName extension of the certificate.

ipsec, pkix, mobility, security

normative-requirement §4.3 MUST

When securing Binding Updates, Binding Acknowledgements, and Mobile Prefix Discovery messages, both mobile node and home agent MUST support ESP in transport mode and MUST use a non-null payload authentication algorithm to provide data origin authentication, connectionless integrity, and optional anti-replay protection.

ipsec, mobility, security

protocol-element §9

Dynamic home address configuration uses the IKEv2 Configuration Payload: the mobile node includes a zero-length INTERNAL_IP6_ADDRESS attribute in a CFG_REQUEST; the home agent replies in CFG_REPLY with a 128-bit home address plus prefix length. The home address lifetime is tied to the IKEv2 SA lifetime.

ipsec, mobility, ip

protocol-element §7.2.1

The Mobility Header message type is negotiated in IKEv2 by placing it in the most significant eight bits of the 16-bit local 'port' selector in TSi/TSr payloads during the IKEv2 exchange.

ipsec, mobility, vpn

protocol-element §4.2

The Peer Authorization Database (PAD) is used by the home agent to store per-mobile-node state, including authentication credentials and the binding between a mobile node's identity and its home address. In dynamic home address assignment, a temporary PAD entry links the authenticated peer identity to the newly allocated home address.

ipsec, mobility, security

security-consideration §10

A misbehaving mobile node could create IPsec SAs for a home address belonging to another mobile node. The home agent must verify that a mobile node is authorized to use a given home address before creating SAs for it, and must associate dynamically assigned home addresses with the authenticated IKE identity.

ipsec, mobility, security

security-consideration §4.3

Address modifications to IPsec SA tunnel endpoints MUST only be performed based on Binding Updates received and protected by IPsec. Modifications based on other sources (e.g., unprotected BUs to correspondent nodes, or open API access) may introduce security vulnerabilities.

ipsec, mobility, security

state-machine §4.2

When the mobile node returns home and de-registers, the tunnel between HA and care-of address is torn down. SPD entries for tunneled traffic SHOULD be made inactive; SAs for BU/BAck/MPD SHOULD NOT be deleted. Manually-configured SAs MUST be retained for reuse when the MN moves away again.

ipsec, mobility