rfc-4636

Foreign Agent Error Extension for Mobile IPv4

C. Perkins
date2006-10 streamIETF areaint wgmip4 statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc4636 doi10.17487/RFC4636 errataview
This document specifies a new extension for use by Foreign Agents operating Mobile IP for IPv4. Currently, a foreign agent cannot supply status information without destroying the ability for a mobile node to verify authentication data supplied by the home agent. The new extension solves this problem by making a better place for the foreign agent to provide its status information to the mobile node. [STANDARDS-TRACK]

updates

Extracted elements (13)

design-rationale §1

By placing foreign agent status in a separate extension rather than overwriting the Registration Reply's Code field, the mobile node can independently verify the Home Agent's reply integrity via the Mobile-Home Authentication Extension while still receiving the foreign agent's error information.

mobility, security

design-rationale §3

The FA Error Extension is defined as non-skippable because a mobile node that cannot interpret it must not use the care-of address, ensuring that error status from the foreign agent is never silently ignored in a way that could lead to an inconsistent or insecure network attachment.

mobility, security

interoperability-note §4

This document updates RFC 3344: instead of the foreign agent modifying the 'status' field of the Registration Reply to contain value 68 (home agent failed authentication), the foreign agent should now append the FA Error Extension containing status value 68.

mobility

normative-requirement §4 MUST NOT

A mobile node that cannot correctly interpret the contents of the FA Error Extension MUST NOT use the care-of address provided in the Registration Reply message until another Registration Request has been sent and a successful Registration Reply received.

mobility

normative-requirement §5 SHOULD

If a mobile node receives a successful Registration Reply (status code 0 or 1) with a FA Error Extension indicating the foreign agent is not honoring the reply, the mobile node SHOULD send a deregistration message to the home agent to prevent inconsistent registration state.

mobility

normative-requirement §4 MUST NOT

Status codes allowable for use within the FA Error Extension are within the range 64-127, drawn from the Mobile IPv4 foreign agent status codes defined in RFC 3344. Status codes used in the FA Error Extension must not be differently defined for use in the Code field of Registration Reply messages.

mobility

normative-requirement §4 MUST

When a foreign agent appends a FA Error Extension to the Registration Reply, it MUST update the UDP Length field in the UDP header to account for the extra 4 bytes of extension length.

mobility, udp

normative-requirement §6 SHOULD

When denying a successful Registration Reply, the Foreign Agent SHOULD send a Registration Revocation message (RFC 3543) to the Home Agent if a mobility security association exists between them.

mobility, security

protocol-element §3

The FA Error Extension is a non-skippable Mobile IPv4 extension (Type 45) that allows a foreign agent to supply an error status code to the mobile node within a Registration Reply without modifying the Home Agent's data, preserving the Mobile-Home Authentication Extension integrity.

mobility, security

registry §7

This specification reserves Type 45 from the non-skippable mobility extensions number space (0-127) for the FA Error Extension, and creates a new sub-type number space for this extension type with Sub-Type 0 allocated for the protocol defined here. Future sub-type allocations require expert review.

mobility, registry

security-consideration §8 MAY

Because mobile nodes typically lack a security association with the foreign agent, a malicious foreign agent could send a FA Error Extension causing the mobile node to believe registration failed when both home agent and a legitimate foreign agent accepted it. The mobile node MAY delay processing denied Registration Reply messages briefly to check whether a successful reply arrives from the foreign agent.

mobility, security

security-consideration §8

The FA Error Extension improves Mobile IPv4 security by allowing the mobile node to verify Home Agent authenticity via the Mobile-Home Authentication Extension even when the foreign agent must supply error status. Previously, the foreign agent could only inject status by overwriting the reply code, destroying the mobile node's ability to verify the home agent's authentication data.

mobility, security

wire-format §3

The FA Error Extension uses the Short Extension format: Type (1 byte, value 45), Length (1 byte, value 2), Sub-Type (1 byte, value 0), and Status (1 byte) carrying the foreign agent's status code. Total extension length is 4 bytes.

mobility