view Side-By-Side changes
MIP4 Working Group E. Gustafsson Internet-Draft A. Jonsson Expires:May 23, 2005June 2, 2006 Ericsson C. Perkins Nokia Research Center November22, 200429, 2005 Mobile IPv4 Regional Registrationdraft-ietf-mip4-reg-tunnel-00draft-ietf-mip4-reg-tunnel-01 Status of this MemoThis document is an Internet-Draft and is subject to all provisions of section 3 of RFC 3667.By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or shebecomebecomes aware will be disclosed, in accordance withRFC 3668.Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents asInternet-Drafts.Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire onMay 23, 2005.June 2, 2006. Copyright Notice Copyright (C) The Internet Society(2004).(2005). Abstract Using Mobile IP, a mobile node registers with its home agent each time it changes care-of address.If the distance between the visited network and the home network of the mobile node is large, the signaling delay for these registrations may be long.This document describes a new kind of'regional' registrations,"regional registrations", i.e. registrationsGustafsson, et al. Expires May 23, 2005 [Page 1] Internet-Draft Mobile IPv4 Regional Registration November 2004local to the visited domain. The regionalsignaling isregistrations are performed via a new network entity called a Gateway Foreign Agent (GFA) andintroducesintroduce a layer of hierarchy in the visited domain. Regional registrations reduce the Gustafsson, et al. Expires June 2, 2006 [Page 1] Internet-Draft Mobile IPv4 Regional Registration November 2005 number of signaling messages to the home network, and reduce the signaling delay when a mobile node moves from one foreign agent to another within the same visited domain. This document is an optional extension to the Mobile IPv4 protocol. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4 2. Overview of Regional Registrations . . . . . . . . . . . . . . 5 3. Terminology . . . . . . . . . . . . . . . . . . . . . . . . .5 3.6 4. Description of the Protocol . . . . . . . . . . . . . . . . .6 3.18 4.1. General Assumptions . . . . . . . . . . . . . . . . . . .6 3.1.18 4.1.1. Visited Domain . . . . . . . . . . . . . . . . . . . .7 3.1.29 4.1.2. Authentication . . . . . . . . . . . . . . . . . . . .7 3.29 4.2. Protocol Overview . . . . . . . . . . . . . . . . . . . .8 3.310 4.3. Advertising Foreign Agent and GFA . . . . . . . . . . . .9 3.411 4.4. Backwards compatibility withRFC3344 .RFC 3344 . . . . . . . . . .10 4.11 5. Home Registration . . . . . . . . . . . . . . . . . . . . . .10 4.112 5.1. Mobile Node Considerations . . . . . . . . . . . . . . . .10 4.212 5.2. Foreign Agent Considerations . . . . . . . . . . . . . . .12 4.313 5.3. GFA Considerations . . . . . . . . . . . . . . . . . . . .13 4.414 5.4. Home Agent Considerations . . . . . . . . . . . . . . . .14 5.15 6. Regional Registration . . . . . . . . . . . . . . . . . . . . 155.16.1. Mobile Node Considerations . . . . . . . . . . . . . . . . 165.26.2. Foreign Agent Considerations . . . . . . . . . . . . . . . 175.36.3. GFA Considerations . . . . . . . . . . . . . . . . . . . . 176. Generalized NAI Extension7. Dynamic GFA Assignment . . . . . . . . . . . . . . . . . . . . 187.7.1. Mobile Node Considerations for Dynamic GFA Assignment . . 18 7.2. Foreign Agent Considerations for Dynamic GFA Assignment . 18 7.3. GFA Considerations for Dynamic GFA Assignment . . . . . . 19 7.4. Home Agent Considerations for Dynamic GFA Assignment . . . 19 7.5. Regional Registration . . . . . . . . . . . . . . . . . . 20 8. Router Discovery Extensions . . . . . . . . . . . . . . . . .19 7.120 8.1. Regional Registration Flag . . . . . . . . . . . . . . . .19 7.220 8.2. Foreign Agent NAI Extension . . . . . . . . . . . . . . .19 8.21 9. Regional Extensions to Mobile IPv4 Registration Messages . . .20 8.121 9.1. GFA IP Address Extension . . . . . . . . . . . . . . . . .20 8.221 9.2. Hierarchical Foreign Agent Extension . . . . . . . . . . .21 8.322 9.3. Replay Protection Style . . . . . . . . . . . . . . . . .22 8.423 9.4. New Code Values for Registration Reply . . . . . . . . . .23 9.24 10. Regional Registration Message Formats . . . . . . . . . . . .24 9.125 10.1. Regional Registration Request . . . . . . . . . . . . . .24 9.225 10.2. Regional Registration Reply . . . . . . . . . . . . . . .25 9.327 10.3. New Regional Registration Reply Code Values . . . . . . .26 10.28 11. Authentication Extensions . . . . . . . . . . . . . . . . .27 11.. 29 12. Security Considerations . . . . . . . . . . . . . . . . . .28 12.. 29 13. IANA Considerations . . . . . . . . . . . . . . . . . . . .28 13. Acknowledgements . . . . . ... . . . . . . . . . . . . . . 28 14. References . . . . . . . . . . . . . . . . . . . . . . . . . 29 14.1 Normative References . . . . . . . . . . . . . . . . . . . . 29 14.2 Informative References . . . . . . . . . . . . . . . . . . . 2930 Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page 2] Internet-Draft Mobile IPv4 Regional Registration November2004 Authors' Addresses . . . . . . .2005 14. Acknowledgements . . . . . . . . . . . . . . .30 A. Hierarchical Foreign Agents. . . . . . . . 30 15. References . . . . . . . . .30 1. Registration with Home Agent. . . . . . . . . . . . . . . . . 312. Handling Binding Updates . .15.1. Normative References . . . . . . . . . . . . . . . . .34 3. Regional Registration. . 31 15.2. Informative References . . . . . . . . . . . . . . . . . .35 4. Regional Registrations31 Appendix A. Authentication, Authorization andSmooth Handover . . . . . . . . . . 36 5. Co-located care of address . . . . . . . . . . . . . . . . . . 37 6. Data Traffic . . . . . . . .Accounting (AAA) Interactions . . . . . . . . . . . . . . . . .3731 Appendix B.Authentication, Authorization and Accounting (AAA) Interactions . .Anchoring at a GFA . . . . . . . . . . . . . . . . . 32 Authors' Addresses . . . . . .38 C. Anchoring at a GFA/RFA/FA. . . . . . . . . . . . . . . . . .3833 Intellectual Property and Copyright Statements . . . . . . . .40. . 34 Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page 3] Internet-Draft Mobile IPv4 Regional Registration November20042005 1. Introduction This document is an optional extension to the Mobile IPv4 protocol, and proposes a means for mobile nodes to register locally within a visited domain. By registering locally, the number of signaling messages to the home network are kept to a minimum, and the signaling delay is reduced. In Mobile IP, as specified in [RFC3344], a mobile node registers with its home agent each time it changes care-of address. If the distance between the visited network and the home network of the mobile node is large, the signaling delay for these registrations may be long. We propose a solution for performing registrations locally in the visited domain: regional registrations.The regional registration design introduces new Mobile IPv4 messages - Regional Registrations, new Mobile IPv4 extensions to convey information between the mobile node, foreign agent and home agent, and a new network entity: the Gateway Foreign Agent (GFA).Regional registrationsreduceminimize the number of signaling messages to the home network, and reduce the signaling delay when a mobile node moves from one foreign agent to another within the same visited domain. This will both decrease the load on the home network, and speed up the process of handover within the visited domain.When a mobile node first arrives at a visited domain, it performsRegional registrations introduce a_home_registrationnew network node: the Gateway Foreign Agent (GFA). The address of the GFA is advertised by the foreign agents in a visited domain. When a mobile node first arrives at this visited domain, it performs a home registration - that is, a registration with its home agent. At this registration,we assume that the home network generates a registration key (e.g. using [I-D.ietf-mip4-aaa-key]) for the mobile node. This registration key is distributed tothe mobile nodeand to the visited domain, and can be used for authentication of regional registrations. During a home registration, the home agentregisters thecare-ofaddress of themobile node. When the visited domain supports regional tunnel management, theGFA as its care-of addressthat is registered at thewith its homeagent is the publicly routable address of a Gateway Foreign Agent (GFA). This care-of address will not change when the mobile node changes foreign agent under the same GFA.agent. Whenchanging GFA, a mobile node MUST perform a home registration; when changingmoving between different foreignagent underagents within the sameGFA,visited domain, the mobile nodeMAY instead performonly needs to make a regional registrationwithinto thevisited domain.GFA. In its simplest form, regional registrations are performed transparently to the home agent. Additionally, regional registrations may also allow dynamic assignment of GFA. The solution for dynamic GFA assignment requires support in the mobile node, the foreign agent, the GFA and the home agent. The proposed regional registration protocol supports one level of foreign agent hierarchy beneath the GFA, but the protocol may be utilized to support several levels ofhierarchy, ashierarchy. Multiple levels of hierarchy is not discussed inAppendix A.this document. Foreign agents that support regional registrations are also required to support registrations according to Mobile IPv4 [RFC3344].If there is a foreign agent address announced in the AgentThe following section gives an overview of regional registrations. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page 4] Internet-Draft Mobile IPv4 Regional Registration November2004 Advertisement,2005 2. Overview of Regional Registrations In standard Mobile IP, there are three entities of interest. The Mobile Node (MN), themobile node may register that foreign agent care-of address with its home agent [RFC3344]. Similarly, ifForeign Agent (FA), and themobile node chooses not to employ regional registrations,Home Agent (HA). The MN communicates with the HA, either through an FA, or directly (if itmay registerhas a co-located care-ofaddress directly with its home agent, according to [RFC3344]. 2. Terminology In this document,address). With Regional Registrations, a new entity is defined: thekey words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY",Gateway Foreign Agent (GFA). The GFA sits between the MN/FA and"OPTIONAL" are to be interpreted as described in BCP 14, RFC 2119 [RFC2119]HA, andindicate requirement levels for compliant implementations. This document usesto thefollowing terms: Critical type A type value for an extension inHA, it appears as if therange 0-127, which indicatesMN's temporary care-of address is that of theextension MUST either be known toGFA. When a MN moves within a site, it only need interact with therecipient, orGFA, so that themessage containingGFA knows at what temporary address theextension MUST be rejected. In other words, an extension with a critical type valueMN isnon-skippable. Domain A collectioncurrently reachable. Two types ofnetworks sharingregistration messages are used. Regular [RFC3344] Registration Requests/Replies are still used for when the MN exchanges Registration Requests/Replies with the HA, but these messages get forwarded through acommon network administration. Foreign Agent (FA) As defined in [RFC3344]. Gateway Foreign Agent (GFA) A Foreign Agent which hasGFA, and include new extensions. In addition, apublicly routable IP address.new pair of registration messages, Regional Registration Requests/Replies, are used between MNs/FAs/GFAs for intra-site signaling. A MN uses these messages to communicate its new addresses to the GFAmay, for instance, be placed in or nearas it moves around within afirewall. Home Agent (HA) As defined in [RFC3344]. Home domainsite. There are two models of how the MN uses Regional Registrations. Thedomain whereFA can advertise a GFA to thehome network and home agent are located. Home network As defined in [RFC3344]. Home Registration A registration, processed byMN. Alternatively, thehome agent andFA can indicate that dynamic assignment of GFA is to be used. With dynamic GFA assignment, the MN does not choose the GFA,usingrather thespecification in [RFC3344] possibly with additional extensions definedFA (or GFA) does so after receiving a Registration Request from the MN. However, in thisdocument. Gustafsson, et al. Expires May 23, 2005 [Page 5] Internet-Draft Mobile IPv4mode the HA must understand (and support) RegionalRegistration November 2004 Local Care-of Address A Care-of Address which is either assigned to a mobile node, or to a foreign agent offering local connectivityRegistrations in order for them to be used. This last form is not transparent because the MN doesn't know in advance what GFA will be used, and cannot include it in amobile node. A registrationsigned messagefromto themobile node is subsequently sentHA. When a MN moves to aGFA (or another RFA, see Appendix A) vianew domain (determined by comparing its NAI with thelocal care-of address. Mobile Node (MN) As definedFA-NAI included in[RFC3344]. Mobilityreceived Agent(MA) As defined in [RFC3344]. Network Access Identifier(NAI) Some features of this protocol specification rely onAdvertisements), it can opt to useof the Network Access Identifier (NAI) [RFC2794].RegionalForeign Agent (RFA)Registrations. AForeign Agent which may be the target of a requestsite indicates support forregional registration.RegionalRegistration A mobile node performs registration locally at the visited domain,Registrations bysendingsetting the I-bit of the Mobile IP Agent Advertisement extension. In addition, such advertisements include aRegional Registration Request to a GFA, and receiving a Regional Registration Reply in return. Registration Key A key used by mobile nodes and mobility agents to secure certain signals and control messages specified by Mobile IP. Visited domain The domain wherelist of one or more care-of addresses. If there is only one care-of address, this is thevisited network,address of thecurrent foreign agent andFA itself. In addition, theGFA are located. Visited network As defined in [RFC3344]. 3. Description ofadvertisement may include theProtocol This section provides an overviewaddress of theregional registration protocol. 3.1 General Assumptions Our general modelGFA. A care-of address ofoperationall-ones indicates that dynamic assignment of GFA isillustrated in Figure 1, showing a visited domain with foreign agent and GFA, andsupported (and required). A MN requests initial Regional Registration by sending ahome network withnormal Registration Request to the FA, but setting the care-of address to that of the GFA (i.e., if it has selected it wishes to use this GFA) or all-zeros (which signals ahome agent:dynamic GFA assignment request). The Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page6]5] Internet-Draft Mobile IPv4 Regional Registration November2004 +---------------------------+ +----------------+ | Visited Domain | | Home | | | +---------+ | Network | | | | | | | | +------+ +-------+ | | Public | | +------+ | | |2005 FA|------| GFA |-------------------------| HA | | | +--+---+ +-------+ | | Network | | +------+ | | | | | | | | +-----|---------------------+ +---------+ +----------------+ | +--+---+ | MN | +------+ Figure 1 For mobile nodes that cannot processadds aNAI, or with mobility agents that are not configured to advertise their NAI, regional registration is still useful, butHierarchical FA (HFA) extension and relays thelack of certain features may result in less than optimal results. 3.1.1 Visited Domain We assume two hierarchy levels of foreign agents inrequest to thevisited domain. Atappropriate GFA. The HFA extension contains a single field: thetop levelIP address of thehierarchy, there is at least one GFA, which is a foreign agentFA. Note: the algorithm for MNs withadditional features. A GFA must have a publicly routable address. Beneath a GFA, there are one or more regional foreign agents (RFAs). We assumeco-located care-of addresses is similar, except that thereexist established security associations between a GFA andis no FA, so theRFAs beneath it. Multiple hierarchy levels of foreign agents are discussedMN behaves as the FA inAppendix A. When designing a domain supporting regional registrations,terms of theRFAs andmessages it sends. A GFAmust be compatible. That is, they should support the same encapsulation types, compression mechanisms etc. Whenreceives Registration Requests relayed from amobile node changesFA. If the care-of addressunder the same GFA, it MAY perform a regional registration. Ifin themobile node changes GFA, within a visited domain or between visited domains, it MUST perform a home registration. 3.1.2 Authentication Withreceived Registration Request is zero, theregional registration protocol, aGFAaddressassigns one. A GFA IP Address extension isregistered atthen added to thehome agent asRegistration Request, and thecare-ofmessage is forwarded to the HA. The GFA IP Address extension contains a single field: the IP address of themobile node. If a Mobile-Foreign Authentication extensionGFA. (A separate field ispresent in aneeded for this because the Registration Request messagedirected tobetween thehome agent, the GFA will perform the authentication. Similarly, if a Foreign-Home Authentication Gustafsson, et al. Expires May 23, 2005 [Page 7] Internet-Draft Mobile IPv4 Regional Registration November 2004 extension is present in a Registration Request message, the authenticationMN/HA isperformed between the GFAsigned andthe home agent. To summarise, the GFA takes the role of a foreign agent as regards to security associations in the home registrations. Regional Registration messages also have tocannot beprotected with authentication extensionsmodified.) HAs process received Registration Requests in the same way asregistrations with the home agent. This means that the mobile node andbefore, except in the case of dynamic GFAMUST have received the keys needed to constructassignment. In this case, theauthentication extensions before any Regional Registration is performed. As described above, sinceHA uses the GFA addressisfrom theregisteredGFA IP Address extension as the MN's current care-ofaddress ofaddress. In addition, themobile node at its home network,Registration Reply message must include the GFAis the agent within the visited domain which has to haveIP Address extension. The regular Registration Requests/Replies are protected as described in [RFC3344], by use of theappropriatemobility securityassociations withassociation between thehome agentMN and themobile node. The GFA'sHA. For regional registrations, it is assumed that a mobility security associationwith the mobile node is then used to enable proper authentication for regional registrations (see Section 5). How the keys are distributedisoutsideestablished between thescope of this draft. One example is thatMN and GFA during registration with thekeysHA. Regional Registration Requests/ Replies aredistributed as partprotected by use of this security association between theregistration atMN and thehome network, for example according to [I-D.ietf-aaa-diameter-mobileip], [I-D.ietf-mip4-aaa-key]. Another example is pre-configured keys. 3.2 Protocol Overview WhenGFA, e.g., by use of amobile node first arrives atMN-GFA Authentication extension. HFA extensions, added by avisited domain, it performsFA to a Registration Request or Regional Registration Request, are protected by an FA-FA Authentication extension. Security associations between FAs and GFAs within aregistration with its home network. At this registration, the home agent registers the care-of address of the mobile node. In case the visiteddomainsupportsare assumed to exist prior to regionalregistrations, the care-of address that is registered at the home agent is the address of a GFA. Theregistrations. Dynamic GFAkeeps a visitor list of all the mobile nodes currently registered with it. Since the care-of address registered at the home agent isassignment requires means for securely sending Registration Requests from the GFAaddress, it will not change whento themobile node changes foreign agent underHA, in order to protect thesame GFA. Thus,GFA IP Address extension. 3. Terminology In this document, thehome agent does not needkey words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" are to beinformed of any further mobile node movements within the visited domain. Figure 2 illustratesinterpreted as described in BCP 14, RFC 2119 [RFC2119] and indicate requirement levels for compliant implementations. Gustafsson, et al. Expires June 2, 2006 [Page 6] Internet-Draft Mobile IPv4 Regional Registration November 2005 This document uses thesignaling message flowfollowing terms: Critical type A type value forregistration withan extension in thehome network. Afterrange 0-127, which indicates that theregistration atextension MUST either be known to the recipient, or that the message containing the extension MUST be rejected. In other words, an extension with a critical type value is non-skippable. Domain A collection of networks sharing a common network administration. Foreign Agent (FA) As defined in [RFC3344]. Gateway Foreign Agent (GFA) A Foreign Agent which has a publicly routable IP address. A GFA may, for instance, be placed in or near a firewall. Home Agent (HA) As defined in [RFC3344]. Home domain The domain where the homeagent,network and home agent are located. Home network As defined in [RFC3344]. Home Registration A registration, processed by the home agentrecordsand theGFA address asGFA, using the specification in [RFC3344] possibly with additional extensions defined in this document. Local Care-of Address A care-of addressof the mobile node. If the GFA address was dynamicallywhich is either assigned tothea mobile node,the Registration Reply has an extension indicating the IP address of the GFAor tothea foreign agent offering local connectivity to a mobile node. A registration message from the mobile node is subsequently sent to a GFA via the local care-of address. Mobile Node (MN) As defined in [RFC3344]. Mobility Agent (MA) As defined in [RFC3344]. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page8]7] Internet-Draft Mobile IPv4 Regional Registration November20042005 Network Access Identifier(NAI) Some features of this protocol specification rely on use of the Network Access Identifier (NAI) [RFC2794]. Regional Registration A mobile node performs registration locally at theGFA and the home agent: MN FA1 GFA HA | | | | |visited domain, by sending a Regional Registration Request to a GFA, and receiving a Regional Registration Reply in return. Registration Key A key used by mobile nodes and mobility agents to secure certain signals and control messages specified by Mobile IP. Visited domain The domain where the visited network, the current foreign agent and the GFA are located. Visited network As defined in [RFC3344]. 4. Description of the Protocol This section provides an overview of the regional registration protocol. 4.1. General Assumptions Our general model of operation is illustrated in Figure 1, showing a visited domain with FA and GFA, and a home network with a HA: +---------------------------+ +----------------+ | Visited Domain | ||---------------------->| Reg. Request w/ext. | | | |---------------------->| Reg. Request | | | |--------------->| | | | Reg. ReplyHome | | |Reg. Reply w/ext. |<---------------|+---------+ |Registration Reply |<----------------------|Network ||<----------------------|| | | | | |Figure 2 Figure 3 illustrates the signaling message flow for regional registration. Even though the mobile node's local care-of address changes, the home agent continues to record the GFA address as the care-of address of the mobile node. We introduce two new message types for regional registrations: Regional Registration Request and Regional Registration Reply. Regional registration at the GFA: MN FA2 GFA HA| +------+ +-------+ | | Public | |Regional Reg. Req.+------+ | | ||---------------------->| Regional Reg. Req. w/ext.FA |------| GFA |-------------------------| HA | | ||----------------------------->|+--+---+ +-------+ | | Network | |Regional Reg. Reply w/ext.+------+ | | |Regional Reg. Reply |<-----------------------------|||<----------------------|| | | | +-----|---------------------+ +---------+ +----------------+ | +--+---+ | MN | +------+ Figure3 3.3 Advertising Foreign Agent and GFA A foreign agent typically announces its presence via an Agent Advertisement message [RFC3344]. If the domain to which a foreign agent belongs supports regional registrations, the following changes are applied to the Agent Advertisement message.1 Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page9]8] Internet-Draft Mobile IPv4 Regional Registration November2004 The 'I' flag (see Section 7) MUST be set to indicate2005 For MNs thatthe domain supportscannot process a NAI, or with mobility agents that are not configured to advertise their NAI, regionaltunnel management. If the 'I' flagregistration isset, there MUST be at least one care-of addressstill useful, but the lack of certain features may result in less than optimal results. 4.1.1. Visited Domain We assume two hierarchy levels of FAs in theAgent Advertisement message, but that address MAY be set tovisited domain. At the"all ones" address. Iftop level of the'I' flag is set, andhierarchy, there isonlyat least onecare-of address (which is not all ones), it is the address of the FA. If the 'I' flagGFA, which isset, anda FA with additional features. A GFA must have a publicly routable address. Beneath a GFA, there aremultiple care-of addresses,one or more FAs. We assume that there exist established security associations between a GFA and thefirst care-of address isFAs beneath it. When designing a domain supporting regional registrations, thelocal FA,FAs and GFAs in this domain must be compatible. That is, they should support thelastsame encapsulation types, compression mechanisms etc. When a MN changes care-of addressisunder theGFA. The FA-NAI (see Section 7.2) SHOULD also be present to enablesame GFA, it MAY perform a regional registration. If themobile node to decide whetherMN changes GFA, within a visited domain ornotbetween visited domains, itis in itsMUST perform a homedomain. The decisionregistration. 4.1.2. Authentication With regional registrations, a GFA address isbased on whetherregistered at therealm part ofHA as theadvertised FA-NAI matches the mobile node's realm. 3.4 Backwards compatibility with RFC3344 A domain that supports Regional Registrations SHOULD also be backwards compatible. If the Foreign Agent does not advertise an "all ones" care-of address, it MUST support registrations according to Mobile IPv4 as defined in [RFC3344]. This allows mobile nodes that don't support Regional Registrations to register via this Foreign Agent using standard Mobile IPv4. If the Foreign Agent advertises both its owncare-of addressand a GFA care-of address,of the MN. If amobile node that supports Regional Registrations but hasMobile-Foreign (MN-FA) Authentication extension is present in aHome Agent that doesn't, will still be ableRegistration Request message directed tomake use of Regional Registrations through thatthe HA, the GFAcare-of address. A Foreign Agent that advertises an "all ones" care-of addresswillnot be backwards compatible with [RFC3344]. In that case, and in other cases whenperform themobile node requests thatauthentication. Similarly, if aGFA addressForeign-Home (FA-HA) Authentication extension isdynamically assigned to it by setting the care-of addresspresent in a Registration Requestto zero,message, themobile nodeauthentication is performed between the GFA andits Home Agent MUST supportthe HA. To summarize, the GFAIP address extension. 4. Home Registration This section gives a detailed descriptiontakes the role of a FA with regard to security associations in the homeregistration, i.e.,registrations. Regional registration messages also need to be protected with authentication extensions in thehome agent (onsame way as registrations with thehome network). HomeHA. This means that the MN and the GFA MUST have received the keys needed to construct the authentication extensions before any regional registration isperformed when a mobile node first arrives at a visited domain, when it requests a newperformed. As described above, since the GFA address is the registered care-of address of the MN at its homeagent, or when it changes GFA. Home registrationnetwork, the GFA isalso performed to renew bindingsthe agent within the visited domain whichwould otherwise expire. 4.1 Mobile Node Considerations Upon receipt of an Agent Advertisement messagehas to have the appropriate security associations with the'I' flag setHA anda FA-NAI extension,themobile node comparesMN. The GFA's security association with thedomain part ofMN is then used to enable proper authentication for regional registrations (see Section 6). How theforeign agent NAI withkeys are distributed is outside thedomain partscope ofits own NAI, to determine whether itthis draft. One example isin its home domain or in a visited domain. Ifto distribute theNAIs do not match,keys as part of themobile node MUST assume ithome registration, for example according to [RFC4004], [RFC3957]. Another example isin apre- configured keys. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page10]9] Internet-Draft Mobile IPv4 Regional Registration November2004 foreign domain. Otherwise, if the mobile node determines that it is in its home domain, it acts as defined in [RFC3344]. If the mobile node determines that it is in2005 4.2. Protocol Overview When a MN first arrives at a visited domain, itSHOULD either useperforms a registration with its home network. At this registration, theadvertised GFA address inHA registers the care-of addressfield inof theRegistration Request message, or set this field to zero to request to be assigned a GFA. IfMN. In case themobile node setsvisited domain supports regional registrations, the care-of addressto zero, the mobile node and its home agent MUST support the GFA IP address extension (see Section 8.1). Inthatcase,is registered at themobile node MUST check to make sure that it receivesHA is the address of a GFA. The GFAIP address extension inkeeps a visitor list of all theRegistration Reply. IfMNs currently registered with it. Since theForeign Agent only advertises an "all ones"care-ofaddress, it only supports dynamically assignedaddress registered at the HA is the GFAcare-ofaddress,andit will not change when themobile node MUST setMN changes FA under thecare-of address insame GFA. Thus, theRegistration Request to zero. A mobile node with a co-located care-of address might also wantHA does not need touse Regional Registrations. It then finds out the addressbe informed ofa GFA, either from Agent Advertisements sent by a Foreign Agent, or by some means not described in this draft. The mobile node MAY then generate a Registration Request message, withfurther MN movements within the visited domain. Figure 2 illustrates the signaling message flow for home registration. At home registration, the HA records the GFA addressinas the care-of addressfield, and send it directly toof theGFA (not via a foreign agent). In this case,MN. Registration at themobile node MUST add a Hierarchical Foreign Agent extension (see Section 8.2), including its co-located care-of address, toGFA and the HA: MN FA1 GFA HA | | | | | Registration Requestbefore sending it. The Hierarchical Foreign Agent extension MUST be protected by an authentication extension. If the mobile node has established a mobility security association with the GFA, the Hierarchical Foreign Agent extension SHOULD be placed after the MN-HA authentication extension and before the MN-FA authentication extension. Otherwise the Hierarchical Foreign Agent extension MUST be placed before the MN-HA authentication extension. If the mobile node receives an Agent Advertisement with the 'R' bit set, even if it has a co-located care-of address, it still formulates the same Registration| | | |---------------------->| Reg. Requestmessage with extensions, but it sends| | | |---------------------->| Reg. Request | | | |--------------->| | | | Reg. Reply | | | Reg. Reply |<---------------| | Registration Reply |<----------------------| | |<----------------------| | | | | | | Figure 2 Figure 3 illustrates the signaling messageto the advertising foreign agent instead of to the GFA. If the home registration is about to expire, the mobile node performs a new home registration usingflow for regional registration. Even though thesame GFAMN's local care-of addressto refresh the binding [RFC3344]. If the mobile node has just moved to a new Foreign Agent and not yet sent a Regional Registration Request whenchanges, thehome registration is dueHA continues toexpire, the mobile node sends only a home Registration Request, as this will update bothrecord the GFAand the HA. This Registration Request MUST be constructedaddress asif it was the first registration in this domain. For example, if the new Foreign Agent only advertises an "all ones" care-of address, the mobile node MUST setthe care-of addressinof the MN. We introduce two new message types for regional registrations: Regional Registration Requestto zero, to avoid problems if this new Foregin Agent doesn't support the same GFAand Regional Registration Reply. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page11]10] Internet-Draft Mobile IPv4 Regional Registration November2004 as the mobile node had before. If the2005 Regional RegistrationReply includes a Replay Protection Style extension, the value in the Initial Identification field is the value to be used for replay protection inat thenextGFA: MN FA2 GFA HA | | | | | Regional Reg. Req. | | | |---------------------->| Regional RegistrationRequest (see Section 5.1). 4.2Req. | | | |----------------------------->| | | | Regional Registration Reply | | | Regional Reg. Reply |<-----------------------------| | |<----------------------| | | | | | | Figure 3 4.3. Advertising Foreign AgentConsiderations When the foreign agent receives a Registration Requestand GFA A FA typically announces its presence via an Agent Advertisement messagefrom a mobile node, it extracts the care-of address field in[RFC3344]. If theRegistration Request message,domain tofindwhich a FA belongs supports regional registrations, theGFAfollowing changes apply towhichthemessage shallAgent Advertisement. The 'I' flag (see Section 8.1) MUST berelayed. All Foreign Agentsset to indicate thatadvertisethe domain supports regional registrations. If the 'I' flag is set, there MUSTalsobeable to handle Registration Requests with a zeroat least one care-ofaddress.address in the Agent Advertisement. If the 'I' flag is set and there is only one care-of addressfield(which is not all-ones), it isset to zero,theforeign agent assigns a GFA toaddress of themobile node. A Foreign Agent can either have a default GFA that it assigns to all mobile nodes or it can assign a GFA by some means not described in this specification.FA. If theForeign Agent receives a Registration request where the care-of address'I' flag isset to "all ones" (which could happen if a mobile node that doesn't support Regional Registrations copied an "all ones" care-of address from an Agent Advertisement), it must reply with the Code field set to "poorly formed Request" [RFC3344]. If the Registration Request has the 'T' bitset, and there are multiple care-of addresses, themobile nodefirst care-of address isrequesting Reverse Tunneling [RFC3024]. In this case, the foreign agent has to tunnel packets fromthemobile node to the GFA for further handling. Iflocal FA, and the last care-of addressin the Registration Requestis theaddress of the foreign agent, the foreign agent relaysGFA. The FA-NAI (see Section 8.2) SHOULD also be present in themessage directlyAgent Advertisement to enable thehome agent, as described in [RFC3344]. For each pendingMN to decide whether orcurrent home registration, the foreign agent maintains a visitor list entry as described in [RFC3344]. If reverse tunnelingnot it isbeing used, the visitor list MUST,inaddition to the fields required in [RFC3344], containits home domain. The decision is based on whether theaddressrealm part of theGFA. Otherwise, ifadvertised FA-NAI matches the MN's realm. 4.4. Backwards compatibility with RFC 3344 A domain that supports regional registrations SHOULD also be backwards compatible. If a FA only advertises an all-ones care-of addressin the Registration Request is the address of a(i.e. for dynamic GFA(or zero), the foreign agent adds a Hierarchical Foreign Agent extension, including its own address, to the Registration Request message, and relaysassignment), ittowill not be backwards compatible with [RFC3344], since theGFA. The Hierarchical Foreign Agent extension MUSTMNs and HAs will also beappended atrequired to support theend of all previousregional registration extensionsthat were includeddefined in this document. In all other cases, theRegistration Request message when the foreign agent received it, and it SHOULD be protected by an FA-FA Authentication extension (see Section 10).FA MUST support registrations according to Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page12]11] Internet-Draft Mobile IPv4 Regional Registration November2004 4.3 GFA Considerations For each pending or current home registration, the GFA maintains a visitor list entry2005 Mobile IPv4 asdescribeddefined in [RFC3344]. Thisvisitor list entry is also updated for theallows MNs that don't support regional registrationsperformed by the mobile node. In additionto register via this FA using standard Mobile IPv4. If thefields required in [RFC3344], the list entry MUST contain: o the currentFA advertises both its own care-of address and a GFA care-of address, a MN that supports regional registrations but has a HA that doesn't, will still be able to make use of regional registrations through that GFA care-of address. 5. Home Registration This section gives a detailed description of home registration, i.e., registration with themobile node (i.e.,HA (on theforeign agenthome network). Home registration is performed when a MN first arrives at a visited domain, when it requests a new HA, orco-located address) in the Hierarchical Foreignwhen it changes GFA. Home registration is also performed to renew bindings which would otherwise expire. 5.1. Mobile Node Considerations Upon receipt of an Agentextension oAdvertisement message with theremaining Lifetime'I' flag set and a FA-NAI extension, the MN compares the domain part of theregional registration oFA NAI with thestyledomain part ofreplay protectionits own NAI, to determine whether it is inuse forits home domain or in a visited domain. If theregional registration oNAIs do not match, theIdentification value forMN MUST assume it is in a foreign domain. Otherwise, if theregional registration. The default replay protection style for Regional RegistrationsMN determines that it istimestamp-based replay protection,in its home domain, it acts as defined inMobile IPv4[RFC3344]. If thetimestamp sent byMN determines that it is in a visited domain, it SHOULD insert themobile nodeadvertised GFA address in the care-of address field in the Registration Requestis not close enoughmessage. A MN with a co-located care-of address might also want to use regional registrations. It then finds out theGFA's timeaddress ofday clock, the GFA addsaReplay Protection Style extension (see Section 8.3) to theGFA, either from Agent Advertisements sent by a FA, or by some means not described in this draft. The MN MAY then generate a RegistrationReply,Request message, with theGFAs time of dayGFA address in theIdentification fieldcare-of address field, and send it directly tosynchronize the mobile node withthe GFAfor the Regional Registrations. If nonce based reply protection is used,(not via a FA). In this case, theGFA addsMN MUST add aReplay Protection StyleHierarchical Foreign Agent (HFA) extension (see Section 9.2), including its co-located care-of address, to the RegistrationReply, where the high-order 32 bits in the Identification fields is the nonce that shouldRequest before sending it. The HFA extension MUST beusedprotected bythe mobile node in the following Regional Registration.an authentication extension. If theRegistration Request message contains a Replay Protection extension (see Section 8.3) requestingMN has established astyle of replay protection not supported bymobility security association with the GFA, theGFAHFA extension MUSTreject the Registration Request and send a Registration Reply with the value in the Code field set to REPLAY_PROT_UNAVAIL (see Section 8.4). If the care-of address field of the Registration Request is set to zero,be placed before theGFA assigns a GFA care-of address for this Mobile Node,MN-FA Authentication extension, andadds a GFA IP Address extension with this address of to the Registration Request message. The GFA MUST NOT insert the GFA address directly in the care-of address field in the Registration Request message, since that would cause the Mobile-Home authentication to fail. The GFA IP Address extension has to be protected so thatitcan'tSHOULD bechanged by a malicious node when the Registration Request is forwarded to the HA. Ifplaced after theHA andMobile-Home (MN-HA) Authentication extension. Otherwise, if theGFA have aMN has no established mobility securityassociation,association with theGFA IP AddressGFA, the HFA extension MUST beprotected byplaced before theHA-FAMN-HA authentication extension.OtherwiseIf theRegistration RequestMN receives an Agent Advertisement with the 'R' bit set, even Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page13]12] Internet-Draft Mobile IPv4 Regional Registration November2004 MUST be sent to the HA in a secure way, for example via2005 if it has asecure AAA protocol (see e.g. [I-D.ietf-aaa-diameter-mobileip], [I-D.ietf-mip4-aaa-key]). If the Hierarchical Foreign Agent extension comes after the MN-FA authentication extension, the GFA MUST removeco-located care-of address, itfromstill formulates the same Registration Requestmessage. The GFA thenmessage with extensions, but it sends therequestmessage to thehome agent. Upon receiptadvertising FA instead of to theRegistration Reply message,GFA. If theGFA consults its pendinghome registrationrecordis about tofindexpire, the MN performs a new home registration using the same GFA care-of addresswithin its domain that is currently used byto refresh themobile node, and sendsbinding [RFC3344]. If theRegistration ReplyMN has just moved tothat care-of address. Ifa new FA and not yet sent a Regional Registration Request when theReplay extension (see Section 8.3)home registration ispresent indue to expire, the MN sends only ahome registration,Registration Request, as this will update both the GFA andfollowstheMN-HA authenticationHA. If the Registration Reply includes a Replay Protection Style extension, theGFA SHOULD removevalue in theReplay extension after performing any necessary processing, before sendingInitial Identification field is thehome registrationvalue to be used for replay protection in thehome agent. Ifnext Regional Registration Request (see Section 6.1). 5.2. Foreign Agent Considerations When theGFAFA receives a Registration Request message from amobile node thatMN, italready has a mobility binding for, this is an update of a binding that is about to expire. Ifextracts the care-of addressinfield to find theHierarchical Foreign Agent extension isGFA to which thesame asmessage shall be relayed. All FAs that advertise thecurrent'I' flag MUST also be able to handle Registration Requests with an all-zeros care-of addressin the visitor list(used for dynamic GFA assignment). If themobile node, the entries inFA receives a Registration Request where thevisitor list concerning regional registrations are not changed, exceptcare-of address is set toupdate"all-ones" (which could happen if a MN that doesn't support Regional Registrations copied an "all-ones" care-of address from an Agent Advertisement), it MUST reply with thelifetime.Code field set to "poorly formed request" [RFC3344]. If theaddress inRegistration Request has theHierarchical Foreign Agent extension'T' bit set, the MN isa new address, the values for the regional registration are updated. If the Registration request has the 'T' bit set,requesting Reverse Tunneling [RFC3024]. In this case, theGFAFA has todecapsulate thetunnel packets from theforeign agent and re-encapsulate them for further delivery backMN to thehome agent. These actions are required because the home agent has to receive such packets fromGFA for further handling. If theexpectedcare-of address(i.e. that ofin theGFA) instead ofRegistration Request is thelocal care-ofaddress(thatof theFA). 4.4 Home Agent Considerations A Registration Request that does not contain a GFA IP Address extension is processed byFA, thehome agentFA relays the message directly to the HA, as described in [RFC3344].If a home agent receives a Registration Request with this extension, and the home agent does not allow the use of this extension, theFor each pending or current homeagent must return a Registration Reply withregistration, theCode value set to ZERO_COA_NOT_SUPP (see Section 8.4). (If a Home Agent that does not support Regional Registrations receives a Registration Request withFA maintains aGFA IP Address extension, the request will be processvisitor list entry as described in[RFC3344].)[RFC3344]. Ifa home agent receives a Registration Request message withreverse tunneling is being used, thecare-of address setvisitor list MUST, in addition tozero, and a GFA IP Address extension, it MUST registertheIPfields required in [RFC3344], contain the address of theGFA asGFA. Otherwise, if the care-of addressof the mobile nodeinits mobility binding list. Ifthe RegistrationGustafsson, et al. Expires May 23, 2005 [Page 14] Internet-Draft Mobile IPv4 Regional Registration November 2004Request isaccepted, the home agent MUST includethe address of a GFAIP Address extension in(or all-zeros), the FA adds a Hierarchical Foreign Agent (HFA) extension, including its own address, to the RegistrationReply, beforeRequest, and relays it to the GFA. The HFA extension MUST be appended at the end of all previous extensions that were included in theMobile-Home Authentication extension. If a home agent receives aRegistration Requestmessage withwhen thecare-of address set to zero, but no GFA IP Address extension,FA received it, and itMUST deny the requestSHOULD be protected bysendingaRegistration Reply message with the Code field set to ZERO_CAREOF_ADDRESSForeign-Foreign (FA-FA) Authentication extension (see Gustafsson, et al. Expires June 2, 2006 [Page 13] Internet-Draft Mobile IPv4 Regional Registration November 2005 Section8.4). Otherwise, the11). 5.3. GFA Considerations For each pending or current homeagent then generates a Registration Reply message, includingregistration, the GFAIP Address extension, and sends it back to the GFA. 5. Regional Registration This section describesmaintains a visitor list entry as described indetail[RFC3344]. This visitor list entry is also updated for the regionalregistration. Onceregistrations performed by thehome agent has registeredMN. In addition to theGFA address asfields required in [RFC3344], the list entry MUST contain: o the current care-of address of themobile node, the mobile node may perform regional registrations. When performing regional registrations,MN (i.e., themobile node may either register a foreign agent care-of addressFA oraco-locatedaddress withaddress) received in theGFA (or, another RFA - see Appendix A). InHFA extension o thefollowing, we assume that a homeremaining Lifetime of the regional registrationhas already occurred, as described in Section 4, and thato theGFA has a mobility security association withstyle of replay protection in use for themobile node (the MN-FA security association in the home registrations). Suppose the mobile node moves from one foreign agent to another foreign agent within the same visited domain. It will then receive an Agent Advertisement from the new foreign agent. Suppose further thatregional registration o theAgent Advertisement indicates thatIdentification value for thevisited domain supportsregionalregistrations, and that either the advertised GFA addressregistration. The default replay protection style for regional registrations isthe sametimestamp-based replay protection, as defined in Mobile IPv4 [RFC3344]. If theonetimestamp sent by themobile node has registered as its care-of address during its last home registration, orMN in therealm partRegistration Request is not close enough to the GFA's time of day clock, thenewly advertised FA-NAI matchesGFA adds a Replay Protection Style extension (see Section 9.3) to theFA-NAI advertised byRegistration Reply, with themobile node's previous foreign agent. Then,GFA's time of day in themobile node can perform a regional registration with this foreign agent and GFA. The mobile node issues a Regional Registration Request messageIdentification field to synchronize the MN with the GFAviafor thenew foreign agent. The requestregional registrations. If nonce-based replay protection isauthenticated using the existing mobility security association betweenused, the GFAand the mobile node (either usingadds a Replay Protection Style extension to theSA established duringRegistration Reply, where thehome registration, or using pre-configured keys) andhigh- order 32 bits in themessageIdentification fields isauthenticated bytheMN-GFA Authentication Extension (see Section 10). The care-of addressnonce that should beset to the address ofused by thelocal foreign agent, or else zero ifMN in thelocal foreign agent is not advertising its own care-of address.following regional registration. If theRegionalRegistration Requestdoescontains a Replay Protection Style extension (see Section 9.3) requesting a style of replay protection notcontain its care-of address,supported by theforeign agent addsGFA, the GFA MUST reject the Registration Request and send a Registration Reply with the value in the Code field set to REPLAY_PROT_UNAVAIL (see Section 9.4). If the Hierarchical Foreign Agent (HFA) extensiontocomes after themessage and relaysMN-FA Authentication extension, the GFA MUST remove it from the Registration Request. The GFA then sends the Registration Request to theGFA. Based onHA. Upon receipt of theinformationRegistration Reply, the GFA consults its pending registration record to find the care-of address within its domain that is currently used by the MN, and sends the Registration Reply to that care-of address. If the Replay Protection Style extension (see Section 9.3) is present in a Registration Request, and follows theHierarchical Foreign AgentMN-HA Authentication extension, the GFAupdatesSHOULD remove themobile node's current point of attachment in its visitorReplay Protection Style Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page15]14] Internet-Draft Mobile IPv4 Regional Registration November2004 list. The GFA then issues a Regional2005 extension after performing any necessary processing, before sending the RegistrationReplyRequest to themobile node via the foreign agent.HA. If theadvertisedGFA receives a Registration Request from a MN that it already has a mobility binding for, this isnot the same as the onean update of a binding that is about to expire. If themobile node has registered as its care-of address, and ifaddress in themobile nodeHierarchical Foreign Agent (HFA) extension isstill withinthe samedomainasit was when it registered that care-of address,themobile node MAY try to perform a regional registration with its registered GFA. Ifcurrent care-of address in theforeign agent cannot supportvisitor list for the MN, the entries in the visitor list concerning regionalregistrationregistrations are not changed, except to update the lifetime. If the address in the HFA extension is aGFA, other than advertised,new address, theforeign agent deniesvalues for the regional registrationwith code UNKNOWN_GFA (see Section 9.3). In this caseare updated. If theMNRegistration Request hasto do a new home registration viathenew GFA. It is essential for'T' bit set, themobile nodeGFA has todistinguish regional registrationsdecapsulate the packets fromhome registrations, since intheformer caseFA and re-encapsulate them for further delivery back to thenoncesHA. These actions arenot synchronized with its home agent. Furthermore, a home registration MUST be directedrequired because the HA has to receive such packets from thehome network beforeexpected care-of address (i.e. that of thelifetimeGFA) instead of theGFA's regionallocal care-of addressexpires. Since the mobile node can use a zero Care-of Address either to request a GFA (in a home registration) or to signify the use(that ofan unspecified (perhaps privately addressed) RFA (in a regional registration), it is necessary to distinguish regional registrations from home registration. Thus, we introduce new message types fortheRegional Registration messages. 5.1 Mobile NodeFA). 5.4. Home Agent ConsiderationsFor each pending or current home registration, the mobile node maintains the information described in [RFC3344].TheinformationRegistration Request isalso updated for the regional registrations performedprocessed by themobile node. In addition to the informationHA as described in[RFC3344], the mobile node MUST maintain[RFC3344]. 6. Regional Registration This section describes regional registrations. Once thefollowing information, if present: oHA has registered the GFA addressoas thestylecare-of address ofreplay protection in use for the regional registration otheIdentification value forMN, the MN may perform regionalregistration. The replay protection for registrations andregistrations. When performing regionalregistrations is performedregistrations, the MN may either register a FA care-of address or a co-located address with the GFA. In the following, we assume that a home registration has already occurred, as described in[RFC3344]. Since the mobile node performs regional registrations atSection 5, and that the GFAin parallelhas a mobility security association withregistrations at its home network,themobile node MUST be able to keepMN. Suppose the MN moves from onereplay protection mechanism and sequence forFA to another FA within theGFA, and a separate mechanism and sequence forsame visited domain. It will then receive an Agent Advertisement from thehome agent. Fornew FA. Suppose further that the Agent Advertisement indicates that the visited domain supports regional registrations,replay protection may also be provided atand that either theforeign agent byadvertised GFA address is thechallenge-response mechanism,same asdescribed in [RFC3012]. In this case, the mobile node inserts the 64 bit Gustafsson, et al. Expires May 23, 2005 [Page 16] Internet-Draft Mobile IPv4 Regional Registration November 2004 response value (timestamp or nonce, according to Mobile IPv4 [RFC3344]) in the Identification field intheRegional Registration Request. Thus,one theGFA SHOULD expect such an Identification field. When a mobile node, whichMN hasalreadyregistereda GFAas its care-of addresswithduring its last homeagent, changes foreign agent within the same domainregistration, or that the realm part of the newly advertised FA-NAI matches the FA- NAI advertised by the MN's previous FA. Then, the MN can perform a regional registration with this FA andreceives an Agent Advertisement which advertises another GFA address, it MAY still generateGFA. The MN issues a Regional Registration Requestmessage destinedtoits old GFA. 5.2 Foreign Agent Considerations Whentheforeign agent receives aGFA via the new FA. The request is authenticated using the existing mobility security association between the GFA and the MN (either using the security association established during home registration, or using pre-configured keys) Gustafsson, et al. Expires June 2, 2006 [Page 15] Internet-Draft Mobile IPv4 Regional RegistrationRequest message from a mobile node, addressed to a GFA, it processesNovember 2005 and the messagegenerally according tois authenticated by therules of processing a Registration Request message addressed to a home agentMN-GFA Authentication extension (see Section4.2).11). Theonly difference is that the GFA IPcare-of addressfield replacesshould be set to thehome agentaddressfield.of the local FA. Ifthat address belongs tothe Regional Registration Request contains aknown GFA,care-of address field of all-zeros, theforeign agent forwardsFA adds a Hierarchical Foreign Agent (HFA) extension to therequestmessage and relays it to theindicatedGFA.Otherwise,Based on theforeign agent MUST generateinformation in the HFA extension, the GFA updates the MN's current point of attachment in its visitor list. The GFA then issues a Regional Registration Replywith error code UNKNOWN_GFA. For each pending or current registration,to theforeign agent maintains a visitor list entry as described in [RFC3344].MN via the FA. Ifreverse tunnelingthe advertised GFA isbeing used,not thevisitor list MUST containsame as theaddress ofone theGFA, in addition toMN has registered as its care-of address, and if thefields required in [RFC3344]. ThisMN isrequired so thatstill within theforeign agent can tunnel datagrams, sent bysame domain as it was when it registered that care-of address, themobile node,MN MAY try totheperform a regional registration with its registered GFA.The GFA then decapsulates the datagrams, re-encapsulates them and sends them to the home agent. 5.3 GFA ConsiderationsIf theGFA accepts a request forFA cannot support regionalregistration, it MUST set the lifetimeregistration tobe no greatera GFA, other than advertised, theremaining lifetime ofFA denies themobile node's registrationRegional Registration Request withits home agent, and putcode UNKNOWN_GFA (see Section 10.3). In thislifetime intocase the MN has to do a new home registration via the new GFA. New message types are introduced for thecorrespondingRegional Registration Request and Reply. TheGFA MUST NOT accept a requestmotivation fora regional registration if the lifetime of the mobile node's registration with its home agent has expired. In that caseintroducing new message types, rather than using theGFA sends a RegionalRegistration Request and Replywith the valuedefined in [RFC3344] is: (1) theCode field setMN must be able toNO_HOME_REG. If the GFA receives a tunneled packetdistinguish regional registrations froma foreign agenthome registrations, since inits domain, then after decapsulationthe former case the timestamps/nonces are synchronized with its GFAlooks to see whether it has an entryand in the latter with itsvisitor list forHA; (2) a home registration MUST be directed to thesource IP addresshome network before the lifetime of theinner IP header after decapsulation. If so, then it checksGFA care-of address expires; and (3) thevisitor listMN can use an all-zeros care-of address either tosee whether reverse tunneling has been requested; if it was requested, therequest a dynamically assigned GFAre-encapsulates(in a home registration) or to signify thepacket with its own address asuse of an unspecified (perhaps privately addressed) FA (in a regional registration). 6.1. Mobile Node Considerations For each pending or current home registration, thesource IP address, andMN maintains the information described in [RFC3344]. The information is also updated for the regional registrations performed by the MN. In addition to the information described in [RFC3344], the MN MUST maintain the following information, if present: o the GFA address o the style of replay protection in use for the regional registration o the Identification value for the regional registration. The replay protection for homeagentregistrations and regional registrations is performed as described in [RFC3344]. Since thedestination IP address.MN Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page17]16] Internet-Draft Mobile IPv4 Regional Registration November2004 6. Generalized NAI Extension The revised specification for "IP Mobility Support for IPv4" [RFC3344] defines a new extension header format, that is intended to extend2005 performs regional registrations at theMobile IP extension address space. The use of a Network Access Identifier (NAI) [RFC2486] for mobile nodes is specified for Mobile IPv4 in [RFC2794]. The Generalized NAI (GNAI) extension, definedGFA inthis section, usesparallel with home registrations at thenew extension header format to extend this idea, enabling NAIs toHA, the MN MUST beusedable to keep one replay protection mechanism and sequence foridentifying IPv4 mobility agents (i.e.theForeign Agent orGFA, and a separate mechanism and sequence for theHome agent) or other possible network elements that may be involved with the processing of Registration Requests.HA. ForRegional Registration, only a single sub-type is defined; it is used to carry a Foreign Agent's NAI (see Section 7.2). The GNAI extension, illustrated below,regional registrations, replay protection may also becarried by Registration Request and Reply messages. The Generalized NAI (GNAI) Extension: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Sub-Type | NAI ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type (Type to be assignedprovided at the FA byIANA) (skippable) Length 8-bit unsigned integer. Length oftheextension,challenge-response mechanism, as described inoctets, excluding the extension Type and the extension Length fields, but including the Sub-Type field and the variable length NAI field. Sub-Type 8-bit unsigned integer identifying the specific sub-type of the GNAI extension, and thus be implication[RFC3012]. In this case, thetype ofMN inserts theentity which is64 bit response value (timestamp or nonce, according tobe identified by using the NAI. NAI A string containing the Network Access Identifier NAIMobile IPv4 [RFC3344]) in theformat prescribedIdentification field in[RFC2486]. When a mobile node or home agent adds a GNAI extension to a registration message,theextension MUST appear prior to any Gustafsson, et al. Expires May 23, 2005 [Page 18] Internet-Draft Mobile IPv4Regional RegistrationNovember 2004 authentication extensions. WhenRequest. Thus, the GFA SHOULD expect such an Identification field. 6.2. Foreign Agentadds an GNAI extensionConsiderations When the FA receives a Regional Registration Request from a MN, addressed to aregistration message,GFA, it generally processes theextension MUST appear priormessage according toany authentication extensions added bytheFA. 7. Router Discovery Extensions This section specifiesrules of processing anew flag within the Mobile IP Agent Advertisement, and an optional extension to the ICMP Router Discovery Protocol [RFC1256]. 7.1 RegionalRegistrationFlagRequest addressed to a HA (see Section 5.2). The onlychange to the Mobility Agent Advertisement Extension defined in [RFC3344]difference isa flag indicatingthat thedomain,GFA IP address field replaces the HA address field. If that address belongs towhicha known GFA, theforeign agent generatingFA forwards theAgent Advertisement belongs, supports regional registrations. The flag is inserted afterrequest to theflags defined in [RFC3344], [RFC3024] and [route-optim]. Regional registration flag: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Lifetime |R|B|H|F|M|G|V|T|S|I| reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | zero or more Care-of Addresses | | ... | The flag is defined as follows: I Regional registration. This domain supportsindicated GFA. Otherwise, the FA MUST generate a Regional Registrationas specified in this document. 7.2 Foreign Agent NAI Extension The FA-NAI extension is defined as a subtype 4 ofReply with error code UNKNOWN_GFA. For each pending or current registration, theGeneralized NAI Extension (GNAIE) (see Section 6). The foreign agent SHOULD include its NAIFA maintains a visitor list entry as described inthe Agent Advertisement Gustafsson, et al. Expires May 23, 2005 [Page 19] Internet-Draft Mobile IPv4 Regional Registration November 2004 message.[RFC3344]. Ifpresent,reverse tunneling is being used, theForeign Agent NAI (FA-NAI) extensionvisitor list MUSTappear incontain theAgent Advertisement message after anyaddress of theadvertisement extensions definedGFA, in addition to the fields required in [RFC3344].By comparingThis is required so that thedomain part ofFA can tunnel datagrams, sent by theforeign agent NAI withMN, to thedomain part of its own NAI,GFA. The GFA then decapsulates themobile node can determine whether it is in its home domain or in a visited domain,datagrams, re-encapsulates them andwhether it has changed domain since it last registered. 8. Regional Extensionssends them toMobile IPv4 Registration Messages In this section we specify new Mobile IP registration extensions forthepurpose of managing regional registrations. 8.1HA. 6.3. GFAIP Address ExtensionConsiderations If themobile node requests a dynamically assigned GFA, theGFAaddsaccepts aGFA IP Address extension to theRegional RegistrationRequest before relayingRequest, ittoMUST set theHA. The mobile node indicates that it wants a GFAlifetime of the registration to beassigned by sending a Registration Request messageno greater than the remaining lifetime of the MN's registration with its HA, and put this lifetime into thecare-of address field set to zero.corresponding Regional Registration Reply. The GFAIP Address extensionMUSTappear in the Registration Request message before the Foreign-Home Authentication extension, if present. If a home agent receivesNOT accept aRegistration Request message with the care-of address set to zero, andrequest for aGFA IP Address extension, it MUST registerregional registration if theIP addresslifetime of theGFA as the care-of address ofMN's registration with its HA has expired. In that case themobile node. When generatingGFA sends a Regional Registration Replymessage, the home agent MUST include the GFA IP Address extension fromwith theRegistration Requestvalue in theRegistration Reply message. TheCode field set to NO_HOME_REG. If the GFAIP Address extension MUST appearreceives a tunneled packet from a FA in its domain, then after decapsulation theRegistration Reply message before the Mobile-Home Authentication extension. TheGFA looks to see whether it has an entry in its visitor list for the source IPAddress extension is defined as follows: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | GFAaddress of the inner IPAddress .... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+header after decapsulation. If so, it checks the visitor list to see whether reverse tunneling has been requested; if it was requested, the GFAIP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+re-encapsulates the packet with its own address as the source Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page20]17] Internet-Draft Mobile IPv4 Regional Registration November2004 Type TBD (GFA IP Address) Length 4 GFA IP Address The GFA2005 IPAddress field containsaddress, and theGateway Foreign Agent's publicly routableaddress of the HA as the destination IP address.8.2 Hierarchical Foreign Agent Extension The Hierarchical Foreign Agent extension7. Dynamic GFA Assignment Regional registrations maybe present inalso allow dynamic assignment of aRegistration Request or Regional Registration Request message. When this extension is addedGFA to aRegistration Request by a foreign agent,MN. The visited network (i.e. thereceiving mobility agent sets up a pending registration recordFA) indicates support forthe mobile node, using the IPdynamic GFA assignment by advertising an all-ones care-of address in theHierarchical ForeignAgentextension asAdvertisement. The MN then sets the care-of addressfor the mobile node. Furthermore,inthis case, the extension MUST be appended at the end of all previous extensions that had been included in the registration message as received by the foreign agent. The Hierarchical Foreign Agent extension SHOULD be protected by an FA-FA Authentication extension. Whenthe Registration Request to all-zeros to request a dynamically assigned GFA. Upon receivingforeign agent receivesthis Registration Request, theregistration message,FA relays itMUST removeto theHierarchical Foreign Agent extension added byappropriate GFA, and thesending foreign agent. The Hierarchical Foreign Agent extension is defined as follows: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | FA IP Address .... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ FA IP Address .... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type TBD (Hierarchical Foreign Agent) Length 4 Gustafsson, et al. Expires May 23, 2005 [Page 21] Internet-Draft Mobile IPv4 Regional Registration November 2004 FA IP Address TheGFA assigns its address to the MN by means of a GFA IP Addressof the foreign agent relayingextension added to the Registration Request.8.3 Replay Protection Style When a mobile node uses MobileIn order for dynamic GFA assignment to work, the MN, GFA and HA respectively MUST support the GFA IP Address extension. Also, the FA MUST be able toregister aadvertise an all-ones care-of address and handle a Registration Request withits home agent, the style of replayan all-zeros care-of address. Note also that protectionused forof theregistration messages is assumedGFA IP Address extension, added tobe known by waythe Registration Request, requires either the use of aMobility Security Association that is requiredFA-HA Authentication extension or other means toexist betweensecure themobile node andRegistration Request when forwarded from thehome agent receivingGFA to therequest. No such pre-existing security association betweenHA. 7.1. Mobile Node Considerations for Dynamic GFA Assignment If themobile node'I' flag in the Agent Advertisement sent out by the FA is set, and theGFAcare-of address (or the care-of address indicating the GFA) islikelyset tobe available. By default, the mobile node SHOULD treat replay protection for Regional Registration messages exactly as specified in Mobile IPv4 [RFC3344]all-ones, this indicates support fortimestamp-based replay protection.dynamic GFA assignment. If themobile node requires nonce-based replay protection, also as specified in Mobile IPv4,MN determines that itMAY append a Replay Protection extension tois in ahome registration message. Since home registrations are forwarded tovisited domain, if it supports dynamic GFA assignment, and if thehome agent by way ofadvertised GFA address is all- ones, theGFA,MN SHOULD set theGFA will be able to establishcare-of address field in theselected replay protection (see Section 4.3). TheRegistration Request to all-zeros to request to be assigned a GFA. When requesting dynamic GFAalso uses this extension by addingassignment, the MN MUST check to make sure that it receives aReplay Protection StyleGFA IP Address extensiontoin the Registration Reply. 7.2. Foreign Agent Considerations for Dynamic GFA Assignment If an FA supports dynamic GFA assignment, and receives a RegistrationReplyRequest with the care-of address field set tosynchronizeall-zeros, thereplay protection for Regional registrations (see Section 4.3). The format ofFA assigns a GFA to theReplay Protection extension is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Replay Protection Style | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Initial Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type TBD (Replay Protection Style)MN. A FA can either have a default GFA that it assigns to all MNs or it can assign a GFA by some means not described in this specification. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page22]18] Internet-Draft Mobile IPv4 Regional Registration November2004 Length 2 Replay Protection Style An integer specifying the style of replay protection desired by the mobile node. Initial Identification The timestamp or nonce to be used for initial synchronization for the replay mechanism. Admissible values for the Replay Protection Style are as follows: +-------+-------------------------+ | Value | Replay Protection Style | +-------+-------------------------+ | 0 | timestamp [RFC3344] | | 1 | nonce [RFC3344] | +-------+-------------------------+ The Replay Protection Style extension MUST be protected by an authentication extension.2005 Ifthe mobile node has an established mobility security associationa FA that does not support dynamic GFA assignment receives a Registration Request with theGFA, the Replay Protection Style extension SHOULD be placed after the MN-HA authentication extension and before the MN-FA authentication extension. Otherwise the Replay Protection Style extension MUST be placed before the MN-HA authentication extension. Replay protection MAY also be provided through a challenge-response mechanism, atcare-of address field set to all-zeros, theforeign agent issuingFA will deny theAgent Advertisement,request as described in[RFC3012]. 8.4 New Code Values for[RFC3344], i.e. by sending a Registration ReplyThe values to use withinwith the Code fieldof the Registration Reply are defined in [RFC3344]. In addition, the following values are defined:set to "invalid care-of address". 7.3. GFA Considerations for Dynamic GFA Assignment If a GFA supports dynamic GFA assignment, and receives a Registrationdenied byRequest with the care-of address field set to all-zeros, the GFA assigns its own IP address as care-of address for this MN, and adds a a GFA IP Address extension with this address to theFA: +--------------------+-------+---------------------+ | Error Name | Value | Section of Document | +--------------------+-------+---------------------+ | SMOOTH_HO_REQUIRED | TBD | Section 4 | +--------------------+-------+---------------------+ Gustafsson, et al. Expires May 23, 2005 [Page 23] Internet-Draft Mobile IPv4 Regional Registration November 2004Registrationdenied byRequest. The GFA MUST NOT insert the GFA IP address directly in the care-of address field in theGFA: +---------------------+-------+---------------------+ | Error Name | Value | Section of Document | +---------------------+-------+---------------------+ | REPLAY_PROT_UNAVAIL | TBD | Section 8.3 | | GFA_ID_MISMATCH | TBD | Section 4.3 | +---------------------+-------+---------------------+RegistrationdeniedRequest, since that would cause the MN-HA authentication to fail. The GFA IP Address extension has to be protected so that it cannot be changed by a malicious node when theHA: +---------------------+-------+---------------------+ | Error Name | Value | Section of Document | +---------------------+-------+---------------------+ | ZERO_CAREOF_ADDRESS | TBD | Section 4.4 | | ZERO_COA_NOT_SUPP | TBD | Section 4.4 | +---------------------+-------+---------------------+ 9. Regional Registration Message Formats This section specifies two new registration message types: RegionalRegistration Request is forwarded to the HA. If the HA andRegional Registration Reply. These messages are usedthe GFA have a mobility security association, the GFA IP Address extension MUST be protected by themobile node instead ofFA-HA authentication extension. Otherwise, theexistingRegistration Requestand Registration Reply, in orderMUST be sent tomake registration work faster, and also to reduce network load for Mobile IP registration, as described in Section 5. Regional registration messages are protected by requiring authentication extensions, inthesame way as the existing Mobile IP registration messages are protected. The following rules apply to authentication extensions: o The Mobile-GFA Authentication extension [RFC3344] MUST be included in all regional registration messages. o The Mobile-Foreign Authentication extension [RFC3344] MAY be included in regional registration messages. o The Foreign-Home Authentication extension [RFC3344] MUST NOT be includedHA inany regional registration message. 9.1 Regional Registration Request The Regional Registration Request is used byamobile node to register with its current GFA. Regional Registration Request: Gustafsson, et al. Expires May 23, 2005 [Page 24] Internet-Draft Mobile IPv4 Regional Registration November 2004 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type |S|B|D|M|G|r|T|x| Lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Home Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GFA IP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Care-of Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extensions ... +-+-+-+-+-+-+-+- The Regional Registration Request message is defined as the Registration Request message in [RFC3344], but withsecure way, for example via a secure AAA protocol (see e.g. [RFC4004], [RFC3957]). If thefollowing changes: Type TBD (Regional Registration Request)GFAIP Address The IP address of the Gateway Foreign Agent. (Replaces Home Agent field in Registration Request message in [RFC3344].) Care-of Address Care-of address of local foreign agent; MAY be set to all ones. Extensions For the Regional Registration Request, the Hierarchical Foreign Agent Extension is also an allowable extension in addition to those which are allowable for the Registration Request message. 9.2 Regional Registration Reply The Regional Registration Reply message delivers the indication of regional registration acceptance or denial to a mobile node. In the Regional Registration Reply message, the UDP header is followed by the Mobile IP fields shown below: Gustafsson, et al. Expires May 23, 2005 [Page 25] Internet-Draft Mobile IPv4 Regional Registration November 2004 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Code | Lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Home Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Regional FA IP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extensions ... +-+-+-+-+-+-+-+- This message is defined as the Registration Reply message in [RFC3344], but with the following changes: Type TBD (Regional Registration Reply) Regional FA IP Address The IP address of the Gateway Foreign Agent. (Replaces Home Agent field specified in Mobile IPv4 [RFC3344]). Extensions The Regional FA IP Address is the address of the regional foreign agent generating the Regional Registration Reply message. For the two-level hierarchy specified here, it is the address of the GFA. For more levels of hierarchy, it may be the address of an intermediate RFA. 9.3 New Regional Registration Reply Code Values For a Regional Registration Reply, the following additional Code values are defined in addition to those specified in Mobile IPv4 [RFC3344]. Gustafsson, et al. Expires May 23, 2005 [Page 26] Internet-Draft Mobile IPv4 Regional Registration November 2004 Registration denied by the FA: +-----------------------+-------+---------------------+ | Error Name | Value | Section of Document | +-----------------------+-------+---------------------+ | UNKNOWN_GFA | TBD | Section 5.2 | | GFA_UNREACHABLE | TBD | | | GFA_HOST_UNREACHABLE | TBD | | | GFA_PORT_UNREACHABLE | TBD | | | SMOOTH_HO_REQUIRED | TBD | Section 4 | +-----------------------+-------+---------------------+ Registration denied by the GFA: +--------------+-------+---------------------+ | Error Name | Value | Section of Document | +--------------+-------+---------------------+ | NO_HOME_REG | TBD | Section 5.3 | +--------------+-------+---------------------+ The four first Code values are returned to the mobile node in response to ICMP errors that may be received by the foreign agent. 10. Authentication Extensions In this section, two new subtypes for the Generalized Authentication Extension [RFC3012] are specified. First, the FA-FA Authentication extension is used by regional foreign agents to secure the Hierarchical Foreign Agent (HFA) extension to the Registration Request and Regional Registration Request messages. A new authentication extension is necessary because the HFA extension is typically added after the Mobile-Home (or some other authorization-enabling [RFC3344] (e.g. MN-AAA [RFC2794], see Appendix B) authentication extension. The MN-GFA authentication extension is used whenever the mobile node has a co-located address. Furthermore, the MN-GFA extension is used to provide authentication for a Regional Registration Request. The subtype values for these new subtypes are as follows: +------------------------+-------+ | Subtype Name | Value | +------------------------+-------+ | FA-FA authentication | TBD | | MN-GFA authentication | TBD | +------------------------+-------+ Gustafsson, et al. Expires May 23, 2005 [Page 27] Internet-Draft Mobile IPv4 Regional Registration November 2004 The default algorithm for computation of the authenticator is the same as for the MN-AAA Authentication subtype defined in [RFC3012]. 11. Security Considerations This document proposes a method for a mobile node to register locally in a visited domain. The authentication extensions to be used are those defined either in [RFC3344], [I-D.ietf-aaa-diameter-mobileip] or [route-optim]. Key distribution is to be performed, for instance, according to [I-D.ietf-aaa-diameter-mobileip] or [I-D.ietf-mip4-aaa-key]. Or the keys can be pre-configured. If the Hierarchical Foreign Agent (HFA) extension is appended to a Registration Request message, that extension is to be followed by an FA-FA Authentication Extension (see Section 10) to prevent any modification to the data. Likewise, if the GFA IP Address extension is added to such a message, it is to be followed by an authentication extension. 12. IANA Considerations This document defines: o The Generalized NAI extension, specified in Section 6. The type number for this new extension is to be assigned from the number space for Mobile IPv4 skippable extensions (128-255). o A Sub-Type for the GNAI extension is specified in Section 7.2, which needs to have a value assigned from the space of GNAI subtypes. o Three new extensions to Mobile IP Registration messages: GFA IP Address, Hierarchical Foreign Agent, and Replay Protection Style (see Section 8.1, Section 8.2 and Section 8.3). The Type values for the GFA IP Address extension must be within the range 0 through 127, while the other two must be within the range 128 through 255. o New Code values for Registration Reply messages (see Section 8.4). o Two new subtypes for the Generalized Authentication Extension [RFC3012]; see Section 10. o Two new message types for Mobile IP: Regional Registration Request and Regional Registration Reply (see Section 9.1 and Section 9.2). o Code values for Regional Registration Reply messages (see Section 9.3). 13. Acknowledgements This document is a logical successor to documents written with Pat Calhoun and Gabriel Montenegro; thanks to them and their many efforts to help explore this problem space. Many thanks also to Jari Malinen Gustafsson, et al. Expires May 23, 2005 [Page 28] Internet-Draft Mobile IPv4 Regional Registration November 2004 at the Nokia Research Center for his commentary on a rough version of this document, and providing motivation for Section 4. The text in Section 6 was taken directly from a previous Internet Draft [I-D.ietf-mobileip-gnaie] written by Mohamed M. Khalil, Emad Qaddoura, Haseeb Akhtar of Nortel Networks, along with Pat R. Calhoun of Airespace Networks. 14. References 14.1 Normative References [RFC1256] Deering, S., "ICMP Router Discovery Messages", RFC 1256, September 1991. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2486] Aboba, B. and M. Beadles, "The Network Access Identifier", RFC 2486, January 1999. [RFC2794] Calhoun, P. and C. Perkins, "Mobile IP Network Access Identifier Extension for IPv4", RFC 2794, March 2000. [RFC3012] Perkins, C. and P. Calhoun, "Mobile IPv4 Challenge/Response Extensions", RFC 3012, November 2000. [RFC3024] Montenegro, G., "Reverse Tunneling for Mobile IP, revised", RFC 3024, January 2001. [RFC3344] Perkins, C., "IP Mobility Support for IPv4", RFC 3344, August 2002. 14.2 Informative References [I-D.ietf-aaa-diameter-mobileip] Calhoun, P., Johansson, T., Perkins, C. and T. Hiller, "Diameter Mobile IPv4 Application", draft-ietf-aaa-diameter-mobileip-20 (work in progress), August 2004. [I-D.ietf-mobileip-gnaie] Khalil, M., Qaddoura, E., Akhtar, H. and P. Calhoun, "Generalized NAI (GNAIE) Extension for Mobile IPv4", draft-ietf-mobileip-gnaie-05 (work in progress), October 2001. [I-D.ietf-mip4-aaa-key] Gustafsson, et al. Expires May 23, 2005 [Page 29] Internet-Draft Mobile IPv4 Regional Registration November 2004 Perkins, C. and P. Calhoun, "AAAdoes not support dynamic GFA assignment, it will deny the request by sending a RegistrationKeysReply with the Code field set to ZERO_COA_NOT_SUPP (see Section 9.4). 7.4. Home Agent Considerations forMobile IPv4", draft-ietf-mip4-aaa-key-06 (work in progress), June 2004. [route-optim] Perkins, C.Dynamic GFA Assignment If a HA receives a Registration Request with a GFA IP Address extension, andD. Johnson, "Route Optimization in Mobile IP", September 2001, <http://www.watersprings.org/pub/id/draft-ietf-mobileip-op tim-11.txt>. Authors' Addresses Eva Gustafsson Ericsson Torshamnsgatan 23 SE-164 80 Stockholm Sweden EMail: eva.gustafsson@ericsson.com Annika Jonsson Ericsson Torshamnsgatan 23 SE-164 80 Stockholm Sweden EMail: annika.jonsson@ericsson.com Charles E. Perkins Nokia Research Center 313 Fairchild Drive Mountain View, California 94043 USA EMail: charles.perkins@nokia.com Appendix A. Hierarchical Foreign Agents The main bodythe HA does not allow the use of thisspecification assumes two hierarchy levels of foreign agents inextension, thevisited domain. AtHA MUST return a Registration Reply with thetop level, there is one or several GFAs, and onCode value set to ZERO_COA_NOT_SUPP (see Section 9.4). If a HA receives a Registration Request message with thelower level, there iscare-of address set to all-zeros, but no GFA IP Address extension, it MUST deny the request by sending anumber of foreign agents. The structure canRegistration Reply message with the Code field set to ZERO_CAREOF_ADDRESS (see Section 9.4). If a HA that does not support dynamic GFA assignment receives a Registration Request with a GFA IP Address extension, the request will beextendeddenied by the HA, as described in [RFC3344]. If a HA that supports dynamic GFA assignment receives a Registration Request with the care-of address set toinclude multiple hierarchy levelsall-zeros and a GFA IP Address extension, it MUST register the IP address offoreign agents beneaththe GFAlevel (Figure 5). Such multiple hierarchy levels are discussedas the care-of address of the MN inthis appendix.its mobility binding list. If the Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page30]19] Internet-Draft Mobile IPv4 Regional Registration November2004 We assume that security associations have been established among a2005 Registration Request is accepted, the HA MUST include the GFA IP Address extension in the Registration Reply, before the MN-HA Authentication extension. 7.5. Regional Registration If the MN receives an Agent Advertisement with the care-of address field indicating the GFA set to all-ones, andallif theforeign agents beneathMN determines that itinis within thehierarchy. As before, we assume thatsame visited domain as whena mobile node performs registration atit did its last homenetwork, registration keys are generated and distributedregistration, it MAY send a Regional Registration Request to its current GFA. Otherwise, it MUST send a Registration Request to its HA as described in Section 7.1. 8. Router Discovery Extensions This section specifies a new flag within themobile nodeMobile IP Agent Advertisement, and an optional extension to theGFA.ICMP Router Discovery Protocol [RFC1256]. 8.1. Regional Registration Flag TheGFA may thenonly change to the Mobility Agent Advertisement Extension defined inturn distribute[RFC3344] is a flag indicating that the domain, to which the FA generating the Agent Advertisement belongs, supports regional registrations. The flag is inserted after the flags defined in [RFC3344] and [RFC3024]. Regional Registration flag: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Lifetime |R|B|H|F|M|G|V|T|S|I| reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | zero or more Care-of Addresses | | ... | The flag is defined as follows: Type 16 (Mobility Agent Advertisement) I Regional Registration. This domain supports regional Gustafsson, et al. Expires June 2, 2006 [Page 20] Internet-Draft Mobile IPv4 Regional Registration November 2005 registrationkeys to the foreign agents beneath it in the hierarchy, using methods notas specified in this document.We also assume that all foreign agents and the mobile node support smooth handover as specified in [route-optim], with some modifications as explained below. 1 Registration with Home8.2. Foreign AgentAs described in this specification, a foreign agent announces itself andNAI Extension The FA-NAI extension is defined as aGFAsubtype TBD of the NAI Carrying Extension [RFC3846]. The FA SHOULD include its NAI in the Agent Advertisementin the first and last address inmessage. If present, thecare-of address fieldForeign Agent NAI (FA-NAI) extension MUST appear in theMobilityAgent Advertisementextensionmessage after any of the advertisement extensions defined in [RFC3344].If thereBy comparing the domain part of the FA-NAI with the domain part of its own NAI, the MN can determine whether it is in its home domain or in ahierarchyvisited domain, and whether it has changed domain since it last registered. 9. Regional Extensions to Mobile IPv4 Registration Messages In this section we specify new Mobile IP registration extensions for the purpose offoreign agents betweenmanaging regional registrations. 9.1. GFA IP Address Extension The GFA IP Address extension is defined for the purpose of supporting dynamic GFAandassignment. If theannouncing foreign agent,MN requests a dynamically assigned GFA, the GFA adds a GFA IP Address extension to the Registration Request before relaying it to the HA. The MN indicates that it wants a GFA to be assigned by sending a Registration Request with theforeign agentcare-of address field set to all-zeros. The GFA IP Address extension MUSTsupport smooth handover (specifically, the Previous Foreign Agent Notification extension) as describedappear in[route-optim]. The foreign agent MAY also includetheaddresses ofRegistration Request before theforeign agents inFA-HA Authentication extension, if present. If a HA receives a Registration Request message with thehierarchy in order between its owncare-of address(first)set to all-zeros, andthea GFAaddress (last): o Address of announcing foreign agent oIP Addressofextension, it MUST register thenext higher-level Regional Foreign Agent (RFA) o ... o AddressIP address of the GFAIfas the care-of address of the MN. When generating aforeign agent advertisesRegistration Reply message, theentire hierarchy between itself andHA MUST include theGFA,GFA IP Address extension from the Registration Requestmessagesin the Registration Reply message. The GFA IP Address extension MUSTbe delivered to each RFA addressappear inturn within that hierarchy.the Registration Reply message before the MN-HA Authentication extension. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page31]21] Internet-Draft Mobile IPv4 Regional Registration November20042005 Thefigure below shows a domain with a GFA and multiple hierarchies of FAs, enabled for regional registrations: +--------+ | | |GFA| | | +--------+ / | \ ... ... ... | +--------+ | | | RFA3 | | | +--------+ / \ +--------+ +--------+ | | | | | FA2 | | FA1 | | | | | +--------+ +--------+ | | | +--------+ ... | | | MN | | | +--------+ FigureIP Address Extension is defined as follows: 0 1 2 3 0 1 2 3 4 5When newly arriving at a visited domain, the mobile node sends a Registration Request, with the care-of address set to the6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GFAaddress announced in the Agent Advertisement. The mobile node may also request aIP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type TBD (GFA IP Address) (non-skippable) Length 6 GFAto be assigned, as described earlier in this specification.IP Address Theregistration Request MUST includeGFA IP Address field contains thePreviousGateway Foreign Agent's (GFA) publicly routable address. 9.2. Hierarchical Foreign AgentNotificationExtensiondefined in [route-optim].TheBinding Update that results is processed as describedHierarchical Foreign Agent (HFA) extension may be present inSection 2.a Registration Request or Regional Registration Request. When a FA adds this extension to a Registration Request, theforeignreceiving mobility agentclosest tosets up a pending registration record for themobile node receivesMN, using theRegistration Request, processing is as describedIP address inSection 4.2. It adds a Hierarchical Foreign Agentthe HFA extensiontoas theRegistration Request, including its own address, and relayscare-of address for theRegistration Request toMN. Furthermore, in this case, thenext RFAextension MUST be appended at the end of all previous extensions that had been included in thehierarchy towardregistration message as received by theGFA. It also constructs a Binding Update and sendsFA. The HFA extension SHOULD be protected by an FA-FA Authentication extension. When the receiving FA receives the registration message, ittoMUST remove theprevious foreign agent, asHFA extension added by the sending FA. The Hierarchical Foreign Agent (HFA) Extension is definedin [route-optim].as follows: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FA IP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page32]22] Internet-Draft Mobile IPv4 Regional Registration November20042005 Type TBD (Hierarchical Foreign Agent) Length 6 FA IP Address Thenext RFA receivesIP Address of the FA relaying the Registration Request.For each pending or current registration, an RFA maintains9.3. Replay Protection Style When avisitor list entry. In additionMN uses Mobile IPv4 tothe list entry contents (described in [RFC3344]), the list entry for regional registrations MUST contain: o theregister a care-of addressof the next lower-level RFA, or FA, in the hierarchy o the remaining Lifetime of the regional registration owith its HA, the style of replay protectionin useused for theregionalregistrationo the Identification value for the regional registration. The RFA removes the Hierarchical Foreign Agent extension that the last FA or RFA added, and adds a new Hierarchical Foreign Agent extension with its own address. This procedure is repeated at each RFA, or FA, in the hierarchy under the GFA. When the GFA receives the Registration Request, it removes the Hierarchical Foreign Agent extension and caches information about the next lower-level RFA in the hierarchy. It then relays the Registration Request to the home agent, possibly via AAA servers. For each pending or current home registration, the GFA maintains a visitor list entry as described in [RFC3344]. The list entrymessages isalso updated for regional registrations reaching the GFA. In additionassumed tothe list entry contents required in [RFC3344], the list entry MUST contain: o the address of the next lower-level RFA in the hierarchy o the remaining Lifetime of the regional registration o the stylebe known by way ofreplay protection in use for the regional registration oa mobility security association that is required to exist between theIdentification value forMN and theregional registration. If there is only one level of hierarchy beneathHA receiving theGFA,request. No such pre-existing security association between theaddress ofMN and thenext lower-level RFAGFA is likely to be available. By default, thecurrent care-of address of the mobile node,MN SHOULD treat replay protection for Regional Registration messages exactly asstatedspecified inSection 4.3. The home agent, as described before, processes the Registration Request, storesMobile IPv4 [RFC3344] for timestamp-based replay protection. If theGFA addressMN requires nonce-based replay protection, also asthe current care-of address of the mobile node, generates a Registration Reply, and sendsspecified in Mobile IPv4, it MAY append a Replay Protection Style extension tothe GFA. The home agent also distributesaregistration keyRegistration Request. Since Registration Requests are forwarded to themobile node, perhaps with the assistance of the GFA, for instanceHA by way ofother AAA functions [I-D.ietf-mip4-aaa-key]. WhentheGFA receivesGFA, theRegistration Reply, it checks its pending Registration Request record to see which next lower-level RFAGFA will be able tosendestablish theRegistration Reply message to. It SHOULD then add, for instance,selected replay protection (see Section 5.3). The GFA also uses this extension by adding anew FA-FA Key ReplyReplay Protection Style extension tothea Registration Replymessage, before relaying itto synchronize thenext foreign agent.replay protection for Regional Registrations (see Section 5.3). Thenew FA-FA Agent Key Replyformat of the Replay Protection Style extension is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Replay Protection Style | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Initial Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page33]23] Internet-Draft Mobile IPv4 Regional Registration November2004 contains the registration key, encrypted with a secret shared between the GFA and2005 Type TBD (Replay Protection Style) Length 2 Replay Protection Style An integer specifying thenext lower-level RFA instyle of replay protection desired by thehierarchy. Similar procedures areMN. Initial Identification The timestamp or nonce to be usedwith [I-D.ietf-mip4-aaa-key]. The next lower-level RFA receives the Registration Reply and checks its pending Registration Request record to see which lower-level foreign agent should next receive the Registration Reply. It extracts, decrypts and caches the registration key, and relays the Registration Reply to the next foreign agent. This procedure is repeated in every foreign agent in the hierarchy, until the message reaches the foreign agent closest to the mobile node. Whenfor initial synchronization for thelowest-level foreign agent receivesreplay mechanism. Admissible values for theRegistration Reply, it checks its cached information,Replay Protection Style are asdescribed in [RFC3344], and relays the Registration Reply to the mobile node. 2 Handling Binding Updates Meanwhile, when the previous foreign agent receives the Binding Update, it will process it according to [route-optim], except that instead of sending back a Binding Acknowledge message, it sendsfollows: +-------+-------------------------+ | Value | Replay Protection Style | +-------+-------------------------+ | 0 | timestamp [RFC3344] | | 1 | nonce [RFC3344] | +-------+-------------------------+ The Replay Protection Style extension MUST be protected by an authentication extension. If theBinding Update toMN has an established mobility security association with thenext RFA inGFA, thehierarchy towardsReplay Protection Style extension MUST be placed before theGFA. This is done to make sure that all RFAsMN-FA Authentication extension in thepath toRegistration Request, and SHOULD be placed after theprevious FA are notified thatMN-HA Authentication extension. Otherwise, themobile node has moved. The previous foreign agent mustReplay Protection Style extension MUST besure thatplaced before thenext RFA receivedMN-HA Authentication extension in theBinding Update, thereforeRegistration Request. If theRFA MUST sendGFA adds aBinding Acknowledge message backReplay Protection Style extension tothe foreign agent thata Registration Reply, itgotSHOULD be placed before theBinding Update from. Note that this isMN-FA Authentication extension. The MN-FA Authentication extension should be based on security associations between thesame Binding Acknowledge message thanMN and GFA established during home registration. Replay protection MAY also be provided through a challenge-response mechanism, at theone definedFA issuing the Agent Advertisement, as described in[route-optim], but this one is addressed[RFC3012]. 9.4. New Code Values for Registration Reply The values to use within theIP addressCode field of theForeign Agent that sent the Binding Update instead of toRegistration Reply are defined in [RFC3344]. In addition, themobile node. The RFA that receivedfollowing values are defined: Gustafsson, et al. Expires June 2, 2006 [Page 24] Internet-Draft Mobile IPv4 Regional Registration November 2005 Registration denied by theBinding Update sendsGFA: +---------------------+-------+---------------------+ | Error Name | Value | Section of Document | +---------------------+-------+---------------------+ | REPLAY_PROT_UNAVAIL | TBD | Section 5.3 | | ZERO_COA_NOT_SUPP | TBD | Section 7.3 | +---------------------+-------+---------------------+ Registration denied by theBinding AcknowledgeHA (for dynamic GFA assignment): +---------------------+-------+---------------------+ | Error Name | Value | Section of Document | +---------------------+-------+---------------------+ | ZERO_CAREOF_ADDRESS | TBD | Section 7.4 | | ZERO_COA_NOT_SUPP | TBD | Section 7.4 | +---------------------+-------+---------------------+ 10. Regional Registration Message Formats This section specifies two new registration messageback to the lower-layer Foreign Agent,types: Regional Registration Request andrelaysRegional Registration Reply. These messages are used by theBinding Update toMN instead of thenext RFAexisting Mobile IPv4 Registration Request and Registration Reply, as described inthe hierarchy towards the GFA. The RFA will also update the binding cache for the mobile node so that it will expire according to the lifetimeSection 6. Regional registration messages are protected by required authentication extensions, in theBinding Update, butsame way as thebinding cache entry will still pointexisting Mobile IPv4 registration messages are protected. The following rules apply tothe same lower-level foreign agent.authentication extensions: o Thecrossover FA is the foreign agent lowestMN-GFA Authentication extension [RFC3344] MUST be included inthe hierarchy which is part of both the old and the new path to the mobile node. When the Binding Update reaches the crossover FA, which mightall regional registration messages. o The MN-FA Authentication extension [RFC3344] MAY bean RFA or the GFA, it will,included inaddition to sending a Binding Acknowledge back to the sending RFA, also send a Binding Acknowledge to the mobile node. This Binding Acknowledge message is the one definedregional registration messages. o The FA-HA Authentication extension [RFC3344] MUST NOT be included in[route-optim] and itany regional registration message. 10.1. Regional Registration Request The Regional Registration Request isaddressedused by a MN tothe mobile node and sent down the hierarchy via the old path and the previous Foreign Agent, whoregister with its current GFA. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page34]25] Internet-Draft Mobile IPv4 Regional Registration November2004 tunnels it to the new Foreign Agent.2005 Regional Registration Request: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type |S|B|D|M|G|r|T|x| Lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Home Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GFA IP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Care-of Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extensions ... +-+-+-+-+-+-+-+- Thecrossover FA will receive both aRegional Registration Requestand a Binding Update for the mobile node. When the crossover FA receives the Registration Request, it continues to send traffic viais defined as theold path until it receives a validRegistrationReplyRequest in [RFC3344], but witha Code indicating success. Then it starts sending traffic via the new route. In the unlikely event that the crossover FA receives the Binding Update before it receivesthe following changes: Type TBD (Regional RegistrationRequest, it doesn't know that it is the crossover FA yet, and therefore relays the Binding Update to the next Foreign Agent. When the crossover FA later receivesRequest) Lifetime The number of seconds remaining before the Regional RegistrationRequest, it will know that itisthe crossover FA, and will sendconsidered expired. A value of zero indicates aBinding Acknowledge message to the mobile node (via the old route). It also forwards the Registration Request up torequest for deregistration with thenext FA.GFA. A value of 0xffff indicates infinity. GFA IP Address Theforeign agents aboveIP address of thecrossover FAGateway Foreign Agent (GFA). (Replaces Home Agent field inthe hierarchy that already got the Binding Update will see that theRegistration Requestdoes not supply any new care-of address information (the care-of address is the same as the addressmessage inthe Binding Update) and will therefor ignore the previous Binding Update and update the mobility binding according[RFC3344].) Care-of Address Care-of address of local FA; MAY be set to all-ones. Identification A 64-bit number, constructed by theRegistration Request. 3MN, used for matching Regional RegistrationARequests with Regional RegistrationRequest is forwarded to the GFA by wayReplies, and for protecting against replay attacks ofone or more intermediateregionalforeign agents. When theregistration messages. Gustafsson, et al. Expires June 2, 2006 [Page 26] Internet-Draft Mobile IPv4 Regional RegistrationRequest message arrives at the first foreign agent, the foreign agent checks its visitor list to see if this mobile node is already registered with it. If it is not, the foreign agent checks which next higher-level RFA to relayNovember 2005 Extensions For the Regional RegistrationRequest to. It adds aRequest, the Hierarchical Foreign Agent (HFA) Extension is an allowable extension (in addition to those which are allowable for the Registration Request). 10.2. Regional RegistrationRequest, including its address, and relays the message to the next RFA in the hierarchy toward the GFA.Reply Thenext RFA checks its visitor list to see if the mobile node is already registered with it. If it is not, the RFA removes the Hierarchical Foreign Agent extension and adds a new one, with its own address, and relaysRegional Registration Reply delivers themessageindication of regional registration acceptance or denial to a MN. In thenext higher-level RFA in the hierarchy towardRegional Registration Reply, theGFA. This processUDP header isrepeated in each RFA in the hierarchy, until an RFA recognizesfollowed by themobile node as already registered.Mobile IP fields shown below: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Code | Lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Home Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GFA IP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Identification + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extensions ... +-+-+-+-+-+-+-+- ThisRFA may be the GFA, or any RFA beneath it in the hierarchy. If the mobile nodemessage isalready registered with this RFA, the RFA generates a Regional Registration Reply and sends it todefined as thenext lower-level RFARegistration Reply message in [RFC3344], but with thehierarchy. The lifetime field infollowing changes: Type TBD (Regional Registration Reply) Code A value indicating the result of the Regional RegistrationReply isRequest. See [RFC3344] for a list of currently defined Code values. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page35]27] Internet-Draft Mobile IPv4 Regional Registration November2004 set to the remaining lifetime that was earlier agreed upon between the mobile node and the GFA.2005 Lifetime If thelifetime ofCode field indicates that theGFAregional registrationhas expired,was accepted, theRegional Registration RequestLifetime field isrelayed all the wayset to theGFA. The Previous Foreign Agent Notification Extension, Binding Updates and Binding Acknowledge messages are used for Regional Registrations in the same way as for Home Registrations. That means that if the crossover FA receives the Binding Updatenumber of seconds remaining beforeit receives the Registration Request, it forwards the Registration Request tothehigher level FA, so thatregional registration is considered expired. A value of zero indicates thatFA updates its visitor list according totheRegistration Request, and ignoresMN has been deregistered with theBinding Update. That FA also forwardsGFA. A value of 0xffff indicates infinity. If theRegistration Request to any FA or GFACode field indicates thatit has sentthecorresponding Binding Update to. Ifregional registration was denied, thehierarchy betweencontents of theadvertising foreign agentLifetime field are unspecified andtheMUST be ignored on reception. GFAis announced inIP Address The IP address of the Gateway Foreign AgentAdvertisement,(GFA) generating themobile node may generate aRegional RegistrationRequest not destined to the GFA, but to the closest RFAReply. (Replaces Home Agent field specified in Mobile IPv4 [RFC3344]). Identification A 64-bit number used for matching Regional Registration Requests withwhich it can register. Replay protection can be provided atRegional Registration Replies, and for protecting against replay attacks of regional registration messages. The value is based on theannouncing foreign agent, throughIdentification field from thechallenge-response mechanism described in [RFC3012]. IfRegional Registration Request message from theGFA,MN, and on theRFAsstyle of replay protection used in thehierarchy, trust the announcing foreign agent to perform the replay protection, timestamps or noncessecurity context between themobile nodeMN and its GFA (defined by theGFA, ormobility security association between them). 10.3. New Regional Registration Reply Code Values For a Regional Registration Reply, themobile node and each RFA,following additional Code values arenot needed. If the challenge-response mechanism is used for replay protection, the mobile node inserts the 64 bit response valuedefined inthe Identification fieldaddition to those specified in Mobile IPv4 [RFC3344]. Registration denied by the FA: +----------------------+-------+---------------------+ | Error Name | Value | Section of Document | +----------------------+-------+---------------------+ | UNKNOWN_GFA | TBD | Section 6.2 | | GFA_UNREACHABLE | TBD | | | GFA_HOST_UNREACHABLE | TBD | | | GFA_PORT_UNREACHABLE | TBD | | +----------------------+-------+---------------------+ Gustafsson, et al. Expires June 2, 2006 [Page 28] Internet-Draft Mobile IPv4 Regional RegistrationRequest message. If a mobile node includes a Hierarchical Foreign Agent extension in itsNovember 2005 RegistrationRequest message, it MAY insert the extension beforedenied by theMN-HA or MN-FA authentication extension. In this case,GFA: +-------------+-------+---------------------+ | Error Name | Value | Section of Document | +-------------+-------+---------------------+ | NO_HOME_REG | TBD | Section 6.3 | +-------------+-------+---------------------+ The four first Code values are returned to theHierarchical Foreign Agent extension MUST NOTMN in response to ICMP errors that may beremovedreceived by theGFA or any other RFA prior to the generation ofFA. 11. Authentication Extensions In this section, two new subtypes for theRegistration Reply message. If more than one Hierarchical Foreign AgentGeneralized Authentication Extension [RFC3012] are specified. First, the FA-FA Authentication extension isinsertedused by FAs to secure themobile node into the registration message, the order of the extensions MUST be maintained throughHFA extension to thehierarchy. When sending aRegistration Request and Regional RegistrationReply,Request messages. A new authentication extension is necessary because theGFA MUST ensure thatHFA extension is typically added after theorder ofMN-HA Authentication extension or, e.g., theHierarchical Foreign Agent extensionsMN-AAA Authentication extension [RFC3012]. The MN-GFA Authentication extension isreversed from the order found inused whenever the MN has a co- located address. The MN-GFA Authentication extension is also used to provide authentication for a Regional Registration Request.4 Regional Registrations and Smooth Handover Multiple hierarchy levelsThe subtype values for these new subtypes are as follows: +-----------------------+-------+ | Subtype Name | Value | +-----------------------+-------+ | FA-FA authentication | TBD | | MN-GFA authentication | TBD | +-----------------------+-------+ The default algorithm for computation offoreign agents requirestheuse of smooth handover from [route-optim],authenticator is the same asdiscussedfor the MN-AAA Authentication subtype defined inAppendix A.[RFC3012]. 12. Security Considerations Thisis not needed indocument proposes atwo level hierarchy. Butmethod for amobile node might not know how many levels of hierarchyMN to register locally in anetwork has, so ifvisited domain. The authentication extensions to be used are those defined in [RFC3344] [RFC3012]. Key distribution, assumed to take place during home registration, is to be performed, for instance, according to [RFC4004] or [RFC3957]. Alternatively, theforeignkeys can be pre-configured. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page36]29] Internet-Draft Mobile IPv4 Regional Registration November2004 agents in one network support both Regional Registrations and Smooth Handover a mobile node MAY try to use Regional Registrations without Smooth Handover. If the network requires the use of Smooth Handover (because it has more than two levels of hierarchy, or for other reasons)2005 If the Hierarchical Foreign AgentMUST deny the request by sending back(HFA) extension is appended to a RegistrationReply message with the Code field set to SMOOTH_HO_REQUIRED. The Foreign Agent NAIRequest, this extension(see Section 7.2)isalso used during Smooth Handover. If Smooth Handovers are used, and the foreign agent does not advertise its own address in the Agent Advertisement message, the FA-NAI will be usedtoidentify the Previous Foreign agent instead. This willbedonefollowed byaddinganFA-NAIFA-FA Authentication extension(defined in(see Section6)11) to prevent any modification to theRegistration Request (together with the Previous Foreign Agent Notification extension) and in the Binding Updatedata. Security associations between FAs andsetting the care-of address to zero. 5 Co-located care of address If a mobile node usesGFAs within aco-located care-of address, it MAY use Regional Registrations directlydomain are assumed to exist prior to regional registrations. If the GFA(see Section 4.1 and Section 5). It MAY also use the same methodIP Address extension is added tomake use of multiple levels of Foreign Agents, if it can find out about the hierarchy, either from Mobility Agent Advertisements, or in some other way outside the scope of this specification. 6 Data Traffic Whenacorrespondent node sends traffic to the mobile node, the traffic arrives at the home agent, and the home agent tunnels the trafficregistration message, it is tothe GFA. The GFA or RFA at each level of the hierarchy hasbe followed by avisitor list for the mobile node, showing the addressauthentication extension. In case of thenext lower-level RFA or FA in the hierarchy. Thus,GFA IP Address extension being added to adatagram arriving atRegistration Request, it should be protected by a FA-HA Authentication extension. If no security association exists between thetop level ofGFA and thehierarchy, that is,HA, theGFA, willRegistration Request needs to bere-routedprotected by other means not defined in this document. When a GFA IP Address extension is added to a Registration Reply, it is protected by thenext lower-level RFAMobile-Home Authentication extension as defined inthe hierarchy. This re-routing occurs at each level of the hierarchy, until the datagram reaches the last point which[RFC3344]. Replay protection for regional registrations iseitherdefined similarly to [RFC3344], with themobile node itself (in caseaddition of aco-located care-of address) orReplay Protection Style extension. If this extension is added to aforeign agent that can deliverRegistration Reply by a GFA, it needs to be protected by a MN-FA Authenticaion extension. 13. IANA Considerations This document defines: o A subtype for thedatagramNAI Carrying Extension [RFC3846]is specified in Section 8.2, which needs to have a value assigned from themobile node with no further specialspace of NAI Carrying Extension subtypes. o Three new extensions to Mobile IPhandling. In case of decapsulationRegistration messages: GFA IP Address, Hierarchical Foreign Agent, andre-encapsulation, it shouldReplay Protection Style (see Section 9.1, Section 9.2 and Section 9.3). The Type values for the GFA IP Address extension must benoted thatwithin theactual decapsulation need not occur at each step ofrange 0 through 127, while thehierarchy. Instead,other two must be within theforeign agent at that level can merely changerange 128 through 255. o New Code values for Registration Reply messages (see Section 9.4). o Two new subtypes for thesourceGeneralized Authentication Extension [RFC3012]; see Section 11. o Two new message types for Mobile IP: Regional Registration Request anddestination IP addresses of the encapsulating IP header. Traffic from the mobile nodeRegional Registration Reply (see Section 10.1 and Section 10.2). o Code values for Regional Registration Reply messages (see Section 10.3). 14. Acknowledgements This document issent as described in [RFC3344] ora logical successor to documents written with Pat Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page37]30] Internet-Draft Mobile IPv4 Regional Registration November2004 [RFC3024]. According2005 Calhoun and Gabriel Montenegro; thanks tothe Route Optimization specification [route-optim], Binding Updates sendthem and their many efforts tothe correspondent node from the Home Agent will contain the address of the GFA, sincehelp explore thisis the only care-of address known to the Home Agent. Therefore, Binding Updates from the mobile node sent to the correspondent node SHOULD also have the care-of address belonging to the GFA. Thisproblem space. Many thanks alsohas the advantage of reducing the number of Binding Update messages that have to be senttothe correspondent node, atJari Malinen for his commentary on amodest increaserough version of this document. 15. References 15.1. Normative References [RFC1256] Deering, S., "ICMP Router Discovery Messages", RFC 1256, September 1991. [RFC2119] Bradner, S., "Key words for use inrouting path length. Furthermore, the local network domain may be configured to admit such traffic into the local domain only if packets are tunneled directlyRFCs tothe GFA.Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2486] Aboba, B. and M. Beadles, "The Network Access Identifier", RFC 2486, January 1999. [RFC2794] Calhoun, P. and C. Perkins, "Mobile IP Network Access Identifier Extension for IPv4", RFC 2794, March 2000. [RFC3012] Perkins, C. and P. Calhoun, "Mobile IPv4 Challenge/ Response Extensions", RFC 3012, November 2000. [RFC3024] Montenegro, G., "Reverse Tunneling for Mobile IP, revised", RFC 3024, January 2001. [RFC3344] Perkins, C., "IP Mobility Support for IPv4", RFC 3344, August 2002. [RFC3846] Johansson, F. and T. Johansson, "Mobile IPv4 Extension for Carrying Network Access Identifiers", RFC 3846, June 2004. 15.2. Informative References [RFC3957] Perkins, C. and P. Calhoun, "Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4", RFC 3957, March 2005. [RFC4004] Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, "Diameter Mobile IPv4 Application", RFC 4004, August 2005. AppendixB.A. Authentication, Authorization and Accounting (AAA) Interactions When the mobile node has to obtain authorization by way of Gustafsson, et al. Expires June 2, 2006 [Page 31] Internet-Draft Mobile IPv4 Regional Registration November 2005 Authentication, Authorization and Accounting (AAA) infrastructure services, the control flow implicit in the main body of this specification is likely to be modified. Typically, the mobile node will supply credentials for authorization by AAA as part of its registration messages. The GFA will parse the credentials supplied by the mobile and forward the appropriate authorization request to a local AAA server (see [RFC3012],[I-D.ietf-aaa-diameter-mobileip]).[RFC4004]). Concretely, this means that: o The GFA MAY include the Mobile IP Registration Request data inside an authorization request, directed to a local AAA server. o The GFA MAY receive the Mobile IP Registration Reply data from a message granting authorization, received from the AAA infrastructure. AppendixC.B. Anchoring at aGFA/RFA/FAGFA As described earlier in this draft, once a mobile node has registered the address of a GFA as its care-of address with its home agent, it MAY perform regional registrations when changing foreign agent under the same GFA. When detecting that is has changed foreign agent, and if the new foreign agent advertises the 'I' flag, the mobile node MAY address a Regional Registration Request message to its registered GFA, even if the address of that particular GFA is not advertised by the new foreign agent. The foreign agent MAY then relay the request to the GFA in question, or deny the request with error code 'unknown GFA'.Similarly, a mobile node MAY address a Regional Registration RequestGustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page38]32] Internet-Draft Mobile IPv4 Regional Registration November2004 message to any Regional Foreign Agent or foreign agent that it has registered as the current care-of address with its home agent. Assume that a mobile node has registered the address of an RFA or foreign agent as its care-of address with its home agent. When detecting that it changes foreign agent, and if the new foreign agent advertises the 'I' flag, the mobile node MAY address a Regional Registration Request to that RFA/FA. The new foreign agent MAY then relay the request to the RFA/FA in question, or deny the request with error code "unknown GFA". If the Regional Registration Request reaches the RFA/FA, and if the RFA/FA also has the capability to act as a GFA, it MAY accept the request and generate a Regional Registration Reply to the mobile node. This scenario assumes that keys have been distributed to the RFA/FA and to the mobile node prior to the regional registration, so that the Regional Registration Request message can be authenticated with the MN-GFA Authentication extension.2005 Authors' Addresses Eva Gustafsson Ericsson Torshamnsgatan 23 SE-164 80 Stockholm Sweden Email: eva.gustafsson@ericsson.com Annika Jonsson Ericsson Goetalandsvaegen 230 SE-125 82 Aelvsjoe Sweden Email: annika.jonsson@ericsson.com Charles E. Perkins Nokia Research Center 313 Fairchild Drive Mountain View, California 94043 USA Email: charles.perkins@nokia.com Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page39]33] Internet-Draft Mobile IPv4 Regional Registration November20042005 Intellectual Property Statement 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. Disclaimer of Validity 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. Copyright Statement Copyright (C) The Internet Society(2004).(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. Acknowledgment Funding for the RFC Editor function is currently provided by the Internet Society. Gustafsson, et al. ExpiresMay 23, 2005June 2, 2006 [Page40]34] ----