rfc-5778

Diameter Mobile IPv6: Support for Home Agent to Diameter Server Interaction

J. Korhonen (Editor), H. Tschofenig, J. Bournelle, G. Giaretta, M. Nakhjiri
date2010-02 streamIETF areaops wgdime statusPROPOSED STANDARD pages34 canonicalhttps://www.rfc-editor.org/rfc/rfc5778 doi10.17487/RFC5778 errataview
Mobile IPv6 deployments may want to bootstrap their operations dynamically based on an interaction between the home agent and the Diameter server of the Mobile Service Provider. This document specifies the interaction between a Mobile IP home agent and a Diameter server. This document defines the home agent to the Diameter server communication when the mobile node authenticates using the Internet Key Exchange v2 protocol with the Extensible Authentication Protocol or using the Mobile IPv6 Authentication Protocol. In addition to authentication and authorization, the configuration of Mobile IPv6- specific parameters and accounting is specified in this document. [STANDARDS-TRACK]

Extracted elements (30)

design-rationale §5.1.1

Mobile IPv6 bootstrapping AVPs are only included in the first DER message; subsequent DER messages required by the EAP method do not include them, because authentication and authorization for the mobility service occur together during EAP authentication.

diameter, mobility

design-rationale §4.4

The preferred accounting model is the split accounting model using the Diameter Base Accounting Application Identifier (value 3), because it permits centralized accounting for several applications by routing accounting messages independently from Mobile IPv6 application messages.

diameter, mobility

interoperability-note §4.1

When the HA also acts as an IKEv2 responder for conventional IPsec VPN access, it may not know whether IKEv2 is being used for Mobile IPv6 or VPN. One solution is to use different responder identities for each role, allowing the MN to indicate the preferred type via the IDr payload in IKE_AUTH.

mobility, ipsec, vpn, interoperability

normative-requirement §5.2.2 MUST

An MIA message with Result-Code set to DIAMETER_SUCCESS MUST include the MIP-Mobile-Node-Address AVP.

diameter, mobility

normative-requirement §6.6 MUST

If the MIP6-Agent-Info AVP is present in an answer message and Result-Code is DIAMETER_SUCCESS_RELOCATE_HA, the HA MUST initiate an HA switch procedure towards the MN. For any other result code, the HA SHOULD initiate the switch.

diameter, mobility

normative-requirement §4.1 RECOMMENDED

It is RECOMMENDED that the HA sends an accounting request message every time it receives a Binding Update, for both the IKEv2/EAP and the Mobile IPv6 Authentication Protocol scenarios.

diameter, mobility

normative-requirement §5.1.1 MUST

The Application-ID field of the Diameter Header in a DER message MUST be set to the Diameter Mobile IPv6 IKE Application ID (value 7).

diameter, mobility

normative-requirement §6.11 MUST NOT

The associated session key (MIP-Session-Key) MUST NOT be used if the MIP-MSA-Lifetime has expired.

diameter, mobility, crypto, security

normative-requirement §5.1.1 MUST

The Auth-Request-Type AVP in the DER message MUST be set to AUTHORIZE_AUTHENTICATE, since the MN is both authenticated and authorized for the mobility service during EAP authentication.

diameter, mobility

normative-requirement §4.4 MUST

The HA MUST be able to act as a Diameter client collecting accounting records and MUST support the accounting procedures and the Accounting Session State Machine as defined in RFC 3588.

diameter, mobility

normative-requirement §4.2 MUST

The HA MUST copy the MN-NAI mobility option value to the User-Name AVP in subsequent Diameter request messages when the Mobile IPv6 Authentication Protocol is used.

diameter, mobility

normative-requirement §4.3 MUST

The HA MUST support the Authorization Session State Machine defined in RFC 3588. Each SA created between the MN and HA as a result of IKEv2 negotiation or a Mobile IPv6 Authentication Protocol exchange corresponds to one Diameter session.

diameter, mobility

normative-requirement §4.3.3 MUST

When the HA receives an Abort-Session-Request (ASR) message, it MUST terminate the corresponding SA and MUST take further actions to terminate the corresponding Mobile IPv6 binding.

diameter, mobility

normative-requirement §4.3.1 MUST

When the HA receives an STR (Session-Termination-Request), it MUST terminate the corresponding Mobile IPv6 binding and also terminate the corresponding SA.

diameter, mobility, security

normative-requirement §6.20 MUST

When the MIP6-Auth-Mode AVP is set to MIP6_AUTH_MN_AAA, the Auth-Request-Type AVP MUST be set to AUTHORIZE_AUTHENTICATE. If the Diameter server does not support the proposed mode, it MUST fail authentication and MUST set Result-Code to DIAMETER_ERROR_MIP6_AUTH_MODE.

diameter, mobility, security

normative-requirement §4.1 SHOULD NOT

When using IKEv2 with EAP for Mobile IPv6 bootstrapping, EAP methods that do not establish a shared key SHOULD NOT be used, as they are subject to man-in-the-middle attacks.

diameter, mobility, security, crypto

protocol-element §6.8

The MIP-Authenticator AVP (AVP Code 488, OctetString) carries the Authenticator Data extracted from the MN-AAA Mobility Message Authentication Option in the received Binding Update. It MUST be present in the MIR when MIP6-Auth-Mode is MIP6_AUTH_MN_AAA.

diameter, mobility, security

protocol-element §6.9

The MIP-MAC-Mobility-Data AVP (AVP Code 489, OctetString) contains the MAC_Mobility_Data calculated by the HA for the MN-AAA Mobility Message Authentication Option as defined in RFC 4285. It MUST be present in the MIR when MIP6-Auth-Mode is MIP6_AUTH_MN_AAA.

diameter, mobility, security

protocol-element §6.12

The MIP-MN-HA-MSA AVP (AVP Code 492, Grouped) contains session-related information for the Mobile IPv6 Authentication Protocol, including MIP-Session-Key (mandatory), MIP-MSA-Lifetime (mandatory), and optionally MIP-MN-HA-SPI, MIP-Algorithm-Type, and MIP-Replay-Mode. Absence of MIP-Replay-Mode MUST be treated as no replay protection selected.

diameter, mobility, crypto

protocol-element §6.16

The MIP-Timestamp AVP (AVP Code 490, OctetString) contains an 8-octet (64-bit) timestamp value extracted from the Mobility message replay protection option defined in RFC 4285.

diameter, mobility

protocol-element §6.20

The MIP6-Auth-Mode AVP (AVP Code 494, Enumerated) conveys the Mobile IPv6 Authentication Protocol mode used. This specification defines only one value, MIP6_AUTH_MN_AAA (value 1), for the case where the MN-AAA security association is used to authenticate the Binding Update.

diameter, mobility, security

protocol-element §6.2

The Service-Selection AVP (AVP Code 493, UTF8String) identifies the service or external network with which the mobility service should be associated; it can be extracted from the IKEv2 IDr payload or the Service Selection Mobility Option in the BU. If present in both request and reply, it SHOULD contain the same service name.

diameter, mobility

protocol-element §3

Two new Diameter application identifiers are defined: Diameter Mobile IPv6 IKE (MIP6I) with value 7, used when the MN authenticates via IKEv2, and Diameter Mobile IPv6 Auth (MIP6A) with value 8, used when the MN authenticates via the Mobile IPv6 Authentication Protocol.

diameter, mobility, realtime

registry §9.5

IANA created a new 'MIP6 Authentication Mode Registry' for the enumerated MIP6-Auth-Mode AVP, initially containing MIP6_AUTH_MN_AAA (value 1). New values require Specification Required policy. Value 0 is reserved; maximum is 2^32-1.

registry, diameter, mobility

registry §9.1

IANA registered a new Command Code for MIP6-Request/Answer (MIR/MIA) with value 325, and two new Application Identifiers: Diameter Mobile IPv6 IKE (MIP6I) = 7 and Diameter Mobile IPv6 Auth (MIP6A) = 8, in the Diameter namespace.

registry, diameter, mobility

registry §9.2

IANA registered new AVP Codes for MIP-Careof-Address (487), MIP-Authenticator (488), MIP-MAC-Mobility-Data (489), MIP-Timestamp (490), MIP-MN-HA-SPI (491), MIP-MN-HA-MSA (492), Service-Selection (493), and MIP6-Auth-Mode (494).

registry, diameter, mobility

registry §9.3

IANA registered two new Result-Code AVP values: DIAMETER_SUCCESS_RELOCATE_HA (2009), indicating the MN must be switched to another HA, and DIAMETER_ERROR_MIP6_AUTH_MODE (5041), indicating the requested auth mode is unsupported.

registry, diameter, mobility

security-consideration §10

Diameter messages between the HA and Diameter server may traverse AAA brokers or Diameter agents, so security relies on the properties of those intermediary networks and agents. The specification does not define how the Diameter server derives MN-HA session keys, leaving security properties deployment-specific.

security, diameter, mobility, crypto

wire-format §5.2.2

The MIP6-Answer (MIA) command uses Command-Code 325 with the 'R' bit cleared. A successful MIA (Result-Code DIAMETER_SUCCESS) MUST include the MIP-Mobile-Node-Address AVP.

diameter, mobility

wire-format §5.2.1

The MIP6-Request (MIR) command uses Command-Code 325 with the 'R' bit set. It is mandatory to include User-Name, Auth-Application-Id, Destination-Realm, Origin-Host, Origin-Realm, Auth-Request-Type, MIP6-Auth-Mode, 1-2 MIP-Mobile-Node-Address AVPs, MIP6-Agent-Info, and MIP-Careof-Address.

diameter, mobility