Abstract:
A method for communication of MIPv6 mobile nodes, comprising: the mobile node accesses network at access location and obtains care of address, calculating a privacy identifier PID using the care of address etc. the mobile node replaces its home address by the PID, and sends the PID and the care of address together as binding update message to the home agent and correspondent node, the home agent and correspondent node recover the home address for the mobile node using the PID after they have received the binding update message. The method for communication of MIPv6 mobile nodes according to the present invention uses that a configuring replaced identifier replacing the home address is sent, thereby hiding Ipv6 address. By setting PID and its algorithm, we improve the sequence number in the binding update messages enabling the sequence number has randomness, and prevent the intercepting person continue tracking the mobile node through the home address.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application is a continuation of International Patent Application No. PCT/CN2006/002120, filed Aug. 21, 2006, which claims priority to Chinese Patent Application No. 200610000541.X, filed Jan. 9, 2006, both of which are hereby incorporated by reference in their entirety. 
     
    
     FIELD OF THE INVENTION 
       [0002]    The present invention relates to the field of mobile communication technology, and more particularly to a method for communication of MIPv6 mobile nodes. 
       BACKGROUND 
       [0003]    The development trend of a Mobile IP Version 6 (Mobile IPv6, or MIPv6) network is to evolve towards varied seamless wide-band access network, and various wired or wireless access schemes have to provide a general mobility for user service experiences so that the users can enjoy consistent service properties anywhere and anytime. The communication between a mobile node (MN) and a correspondent node (CN) is carried out through conventional routing technologies when the mobile node is in its home network segment, without the involvement of the mobile IPv6. When the mobile node moves to a foreign link, the home address of the mobile node is kept unchanged while a temporary IP address, i.e., a care-of address (CoA), is allocated to the mobile node. The home address (HoA) is a unicast routable address allocated to the mobile node and is used as a permanent address of the mobile node. The mobile node informs a home agent (HA) of the binding message of the home address and the care-of address. In the communication between the mobile node and the correspondent node, the home address of the MN is still used, and the data packets are still sent to the home network segment of the mobile node. The home agent intercepts these data packets and forwards them to the care-of address of the mobile node by use of a tunneling manner, according to the acquired mapping relationship. Thus the mobile node can communicate directly with the correspondent node. The above basic operation process of the mobile IPv6 is discussed merely under the circumstance of ideal Internet without considering the security issues. There are various attacks, e.g., eavesdropping, tampering, etc., towards the message in a real network. If an attacker intercepts the binding message and changes the care-of address in the message to an address of the attacker, and then forwards the changed message to HA or CN, the attacker will be able to intercept the communication data destined to the mobile node. Meanwhile, attacks on the destination option or routing header of the mobile IPv6 can also affect the communication security. In order to assure that a system employing mobile IPv6 is as secure as that not employing mobile IPv6, the binding message must be protected so that it will not be modified illegally, thereby preventing malicious attack on the mobile node. In the communication scheme of the mobile node, the home address of the mobile node must be hidden so as to prevent tracking of the eavesdropper and malicious attack. 
         [0004]    Among the existing methods for communication of IPv6 mobile node, one configures a temporary home address and makes it change periodically, with a temporary mobile identifier (TMI). The TMI takes 16 bits out of the 128 bits of the IPv6 address space, as a prefix of the TMI. Any address having such prefix is considered as TMI, and a TMI is defined to be non-routable. A periodically variable TMI of 128 bits is assigned to each MN, and the algorithm of the TMI is that: digest=SHA-112 (Public Key|imprint), where the public key (kpm) and imprint are sent to the correspondent party and the message signed with a private key, and the imprint is a random number of 128 bits. The home agent and the correspondent node identify the MN by TMI. The CN identifies a corresponding IPsec security association (IPsec SA) with TMI, and a firewall performs filtering also using TMI. The MN makes use of a route optimal mode. In a binding update (BU), TMI is in the home address option, and the real home address is in a newly defined binding update sub-option. The CN binds the TMI, home address and care-of address together. Next, in the home address option and type 2 routing header, the data packets between the MN and CN include the TMI which is used to substitute for the current home address. Thus the eavesdropper can not identify data packets belonging to a specific node. However, in this scheme, the first 16 bits of the temporary mobile identifier are fixed, thus the attacker can easily identify the TMI. The TMI is the substitution for the home address, thus the update of the TMI must have the same security requirement as the update of the home address. As a result, the periodically updated TMI will cause the frequent execution of the return routability procedure (RRP). The sequence number of the binding update message is incremental, thus it can still be tracked. 
         [0005]    Another method for communication of the IPv6 mobile node substitutes a substituting privacy label (PL) for the home address, thereby hiding the home address. The privacy label is sent as a destination option instead of the home address, and its algorithm is that: 
         [0006]    Privacy−Label=String XOR HoA 
         [0007]    where, String=First (128, HMAC_SHA1 (Kbm, (CoA|Home Nonce Index|Care-of Nonce Index))) 
         [0008]    After the NM gets the new care-of address, it is necessary to perform binding update on the CN. When the CN receives the new destination option containing the PL, it first calculates the binding management key (Kbm), with the same algorithm as that for calculating Kpm. The CN calculates the character string using the Kbm and recovers HoA. MAC is then verified for the binding update using a home private key identifier and the Kbm. If the binding update is successful, then PL is regarded as valid and the CN stores the current directory and the Kbm. The CN then sends a regular BA to the MN. The PL is different after each binding update of the MN, thereby preventing eavesdroppers from tracking the NM through the home address. However, since the PL and the care-of address are updated asynchronously, the new care-of address bridges the new and old PLs. The privacy management key (the Kpm is the same as Kbm) is used in the calculation of the PL, then it is not possible to generate a new PL prior to the binding update message. When the MN acquires the new care-of address, it has to perform the RRP before binding update to the CN. In this process, the MN uses the new care-of address and the old PL, that is, the attacker can get to know the new care-of address of MN by means of the old PL. After binding update, the MN uses the new care-of address and the new PL; the attacker can now get the new PL using the new care-of address and continues to track the MN. 
       SUMMARY OF THE INVENTION 
       [0009]    The objective of the present invention is to provide a method for communication of a MIPv6 mobile node, in which the home address is hidden by using an identifier updated synchronously to the care-of address instead of the home address and has the identifier sent as a destination option, thus preventing malicious attack and tracking of the mobile node 
         [0010]    According to the present invention, a method for communication of a MIPv6 mobile node comprises: 
         [0011]    accessing, by the mobile node, a network at an access location and obtaining a new care-of address, and calculating a private identifier PID using the care-of address; 
         [0012]    replacing, by the mobile node, its home address with the PID, filling the PID into a binding update message, and sending the binding update message to a home agent and a correspondent node respectively; and 
         [0013]    recovering, by the home agent and the correspondent node, the home address HoA of the mobile node using the PID, after receiving the binding update message. 
         [0014]    Preferably, the update of the PID is synchronous to the update of the care-of address. 
         [0015]    Preferably, the PID=ClearWord XOR HoA, wherein the ClearWord is a random number updated synchronously to the update of the care-of address. 
         [0016]    Preferably, a new sequence number of the binding update message of the mobile node is a result of performing XOR operation on the ClearWord and the original sequence number of the binding update message, and the new sequence number is filled into the binding update message instead of the original sequence number. 
         [0017]    Preferably, the correspondent node changes the new sequence number back to the original sequence number, after recovering the ClearWord. 
         [0018]    Preferably, the method further comprises: when the mobile node moves to a foreign location, obtaining, by the correspondent node, the corresponding care-of address using an IPv6 neighbor discovery mechanism, and forwarding data packets to a foreign network segment to which the care-of address belongs, wherein the prefix of the care-of address is a prefix of a foreign network address. 
         [0019]    More preferably, the method further comprises: 
         [0020]    encrypting, by the mobile node, the ClearWord using a binding management key Kbm, and sending the encrypted ClearWord to the correspondent node via the binding update BU message; 
         [0021]    after receiving the binding update message, calculating, by the correspondent node, the Kbm and verifying the validity of Message Authentication Code MAC, then obtaining the ClearWord by decrypting the encrypted ClearWord after verifying the MAC. 
         [0022]    Comparing with prior arts, the method for communication of a MIPv6 mobile node according to the present invention configures the care-of address when the mobile node accesses a network link at the current access location. A private identifier PID updated synchronously to the care-of address is obtained using logic operations; the mobile node replaces its home address with the PID, and sends the binding update message containing the PID and the mapping of the care-of address to the home agent and correspondent node, respectively. In the return routability procedure among the mobile node, the home agent and the correspondent node, both a home test initialization (HoTI) and a home test (HoT) messages use the address of the home agent and the PID to perform communication. The correspondent node receives the binding update message and recovers the home address using the PID. Thus, the home address does not appear during the whole communication procedure. Moreover, the care-of address and the PID are updated synchronously, preventing eavesdroppers from performing a RRP-related attack and continuing to track the mobile node. 
         [0023]    At the mobile node, an XOR operation is performed using the random number updated synchronously to the care-of address and the original sequence number of the binding update message; and the new sequence number is filled into the binding update message instead of the original sequence number. The correspondent node receives the binding update message and recovers the original sequence number. In the Binding Acknowledgment message responded by the MN, the original sequence number is also replaced by the new sequence number, so that the BU sequence number is random and not trackable, thereby preventing the attacker from tracking the messages according to the BU sequence number. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0024]      FIG. 1  is a schematic diagram showing a mobile IPv6 communication procedure of route optimization mode; 
           [0025]      FIG. 2  is a schematic diagram showing application of the method for communication of the TPv6 mobile node according to an embodiment of the present invention in the return routability procedure; and 
           [0026]      FIG. 3  is a schematic diagram showing application of the method for communication of the IPv6 mobile node according to an embodiment of the present invention in the binding update procedure. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0027]    The embodiments of the present invention will be described in detail in the following with reference to the accompanying drawings. 
         [0028]    The basic thinking of hiding the home address of the IPv6 mobile node according to an embodiment of the present invention is as follows: after the mobile node accesses the network link at the current access location and gets the care-of address, it substitutes a private identifier (PID) for the home address and sends the binding update message containing the PID and the mapping of the care-of address to the home agent and the correspondent node. There is also a binding update procedure in the return routability procedure (RRP) among the mobile node, the home agent and the correspondent node. Both the home test initialization (HOTI) and the home test (HoT) messages use the address of the home agent and the PID to perform communication, so that the home address of the mobile node is hidden. 
         [0029]    If the mobile node is to maintain communication unblocked during the handover procedure of Layer 3 network, it must ensure that any movement is transparent to communication applications, that is, the network layer identifiers of the communication applications (i.e., IP addresses) are kept unchanged. The Internet routing mode selects the route according to the destination address of the network layer, and sends data packets to the network at which the destination address is located, so as to reach the node represented by the destination address. The movement of a network layer must solve the problem that at the same time of using a fixed IP address during a whole procedure of a communication application, the IP address accessible within the network segment where the routing node currently locates is used. 
         [0030]    The solution for maintaining communication unblocked in the course of the network layer movement by the mobile IPv6 is summarized as follows: (1). the home address HoA is defined and upper layer communication applications use the home address during the whole procedure, to ensure the movement transparency of the applications; (2). the care-of address is defined and obtained from a foreign network, which guarantees the communication accessibility under the current routing mode; (3). the mapping between the home address and care-of address establishes the relationship between the network layer identification used by the upper layer applications and the destination identification used by the network layer routing. When the mobile node moves to a foreign location, one or more care-of addresses are acquired by an IPv6 neighbor discovery mechanism, which is normally stateless address auto-configuration. The prefix of the care-of address is a prefix of a foreign sub-network. The mobile node informs the correspondent node of the binding message of the home address with the care-of address. When the correspondent node knows the care-of address of the mobile node, it can directly forward data packets to the foreign network segment at which the care-of address is located. As a result, a normal communication can be directly executed between the mobile node and the correspondent node. Such a communication procedure is referred to as a communication procedure of route optimization mode, which is shown in  FIG. 1 . After the mobile node acquires the care-of addresses, it must register one of the care-of addresses with its home agent. The registration is done by means of sending a binding update and a message to the home agent and returning a response “Binding Acknowledgement” from the home agent. 
         [0031]    After the correspondent node accomplishes its current binding, a packet destined from the correspondent node to the mobile node is directly delivered to the care-of address of the mobile node (route optimization mode). When delivering any mobile IPv6 packets, the correspondent node inquires the acquired binding cache according to the IP address of the packet. If a match exists in the binding cache, the correspondent node uses a type 2 routing header (a type of message header of mobile IP). The destination address of the packet is replaced with the care-of address acquired through the inquiry, and the address in the type 2 routing header is the home address of the mobile node. When the mobile node sends a packet to the correspondent node, in a destination option extension header, the source address of the packet is configured as the care-of address of the mobile node using a home address option; and the address in the home address option is the home address of the mobile node. 
         [0032]    The relationship between the mobile node and the correspondent node is arbitrary, and is not suitable when a security association is required to be previously established. The binding can be protected by use of a binding management key (Kbm) to ensure the security of the binding. The negotiation binding procedure of the mobile node with the correspondent node is established through the RRP. The mobile JPv6 protocol messages delivered between the MN and the CN include: Binding Update (BU) sent from the MN to the CN, and Binding Acknowledgment (BA) sent from the CN to the MN. The objective of the RRP is to ensure that both the home address and the care-of address in the binding update are actually accessible and they both belong to the mobile node. The principal objective of the RRP is to ensure that authenticity and reliability of the binding update received by the correspondent node, and the procedure comprises the home test procedure and the care-of test procedure. 
         [0033]    The home test procedure begins with initiating a home test initialization message by the mobile node, which is forwarded to the correspondent node via a tunnel by the home agent, thereby informing the correspondent node to initiate the necessary work for home test. Upon receiving the home test initialization message, the correspondent node performs operations to generate a “home keygen token” using the home address together with two random numbers “Kcn” and “nonce”, and then informs the mobile node of index numbers of the “home keygen token*” and the “nonce” by use of the home test message returned to the mobile node. 
         [0034]    The care-of test begins with sending the care-of test initialization message directly to the correspondent node by the mobile node. The correspondent node generates “care-of keygen token*” by performing corresponding operations using the care-of address contained in the care-of test init message together with the “ken” and “nonce”, and index numbers of the “care-of keygen token” and the “nonce” are then carried in the care-of test message returned to the mobile node. The mobile node first generates a binding management key (Kbm) using “home keygen token” and “care-of keygen token”, then performs corresponding operations using the kbm and the binding update message to generates an authorization code 1, which is carried in the binding update message. Upon receiving the binding update message, the correspondent node performs corresponding operations using the “home keygen token”, “care-of keygen token” and “nonce” to obtain an authorization code 2. The two authentication codes are compared, if they are the same, the correspondent node can then determine that the binding message is authentic; otherwise, the binding message is considered invalid. 
         [0035]      FIG. 2  is a schematic diagram showing the application of a method for communication of the JPv6 mobile node according to an embodiment of the present invention to the return routability procedure. As shown in  FIG. 2 , the RRP is realized with the exchange of signaling messages (HoTI and HoT messages, as well as CoTI and CoT messages) between the mobile node and the correspondent node. To speed up the processing of the RRP, the mobile node sends HoTI and CoTI messages almost at the same time. The mobile node first generates two random numbers of 64 bits, i.e., HoT cookie and CoT cookie, and sends them to the correspondent node as message parameters. The difference between the HoTI and CoTI messages lies in that, the HoTI message is first sent to the original agent by use of a reversed tunnel technology, and then forwarded to the correspondent node; while the CoTI message is directly sent to the correspondent node directly by use of a regular route mechanism. 
         [0036]    A new identifier, i.e., Privacy Identifier (PID) is defined, which changes with the care-of address. The PID is sent as destination option instead of the home address; and the correspondent node recovers the home address from the binding update data packet using the PID. The update of the PID is synchronous to the update of the care-of address, which will be described in detail in the following. 
         [0037]    The definition of the identifier is as follows: 
         [0038]    PID=ClearWord XOR HoA 
         [0039]    where, ClearWord=First (128, HMAC_SHA1 (CN|Seed|HoA|CoA)). 
         [0040]    where, Seed is a random number generated by the mobile node. Since Seed is not transmitted in a plain text, it is possible to use the same Seed for all the CNs/HAs. The introduction of Seed is for ensuring the randomness of ClearWord. When calculating ClearWord, it is ensured that each CN can get a different ClearWord by introducing the CN address, and ClearWord and CoA can be updated synchronously by introducing CoA. During the RRP of MN and CN or when using a bidirectional tunneling mode, neither the HoTI nor HoT message uses the home address, instead, they both execute communication using the address of the home agent and PID, so as to prevent the attacker from tracking MN by CN). 
         [0041]    The format of HoTI message sent from the mobile node to the home agent is as follows: 
         [0042]    IPv6 header(source=care-of address,
       destination=home agent)       
 
         [0044]    ESP header in tunnel mode 
         [0045]    IPv6 header (source=home address,
       destination=correspondent node)       
 
         [0047]    Mobility Header
       Home Test Init       
 
         [0049]    The format of HoTI message sent from the mobile node to the correspondent node is as follows: 
         [0050]    IPv6 header (source=home agent, destination=correspondent node) 
         [0051]    Destination Options header
       Home Address option (PID)       
 
         [0053]    Mobility Header
       Home Test Init       
 
         [0055]    The format of HoT message returned from the correspondent node to the home agent is as follows: 
         [0056]    IPv6 header (source=correspondent node,
       destination=home agent)       
 
         [0058]    Routing header (type 2)
       PID       
 
         [0060]    Mobility header
       Home Test       
 
         [0062]    The format of HoT message sent from the correspondent node to the mobile node is as follows: 
         [0063]    IPv6 header (source=home agent,
       destination=care-of address)       
 
         [0065]    ESP header in tunneling mode 
         [0066]    IPv6 header (source=correspondent node, destination=home address) 
         [0067]    Mobility Header
       Home Test       
 
         [0069]      FIG. 3  is a schematic diagram showing application of a method for communication of the mobile IPv6 mobile node according to an embodiment of the present invention to the binding update procedure. As shown in  FIG. 3 , a Word option whose content is ClearWord (or EncryptedWord) is newly added in the binding update message. At the mobile node side, the mobile node immediately calculates and uses a new PID upon acquiring the new care-of address. That is to say, the update of the PID is synchronous to the update of the care-of address. In binding update of HA, the PID is in the home address option (i.e., replacing the HoA); ClearWord is in a Word option of the BU; and the Word option is protected by the IPsec encryption. At the HA side, the BU message is protected by the ESP encryption (transmission mode), which ensures the security of ClearWord. Although SA is created on the home address in the transmission mode, the PID is used as a source address in the BU message, thus the new PID will not affect the IPsec operation. HA can get ClearWord from the Word option after decrypting the BU message, and recover HoA by an expression of: HoA=PID XOR ClearWord. 
         [0070]    For binding update of CN, the MN makes use of a new PID in the RRP, here CN does not need to verify the validity of PID. At the end of RRP, the MN acquires a binding management key (Kbm), and encrypts ClearWord by use of the Kbm, 
         [0071]    EncryptedWord=Encrypt (ClearWord) Kbm, 
         [0072]    where, “Encrypt ( ) Kbm” denotes using the Kbm to encrypt the content contained in brackets. The EncryptedWord is filled in the Word option in the BU message and sent to CN together with BU message. 
         [0073]    At the CN side, upon receiving the BU, the CN first calculates the Kbm and verifies the validity of the Message Authentication Code (MAC), and then decrypts EncryptedWord to get ClearWord, after the verification of MAC. 
         [0074]    ClearWord=Decrypt (EncryptedWord) Kbm, 
         [0075]    where, “Decrypt ( ) Kbm” denotes using the Kbm to decrypt the content within brackets. The CN can recover HoA using PID and Clearword by the following algorithm: 
         [0076]    HoA=PID XOR ClearWord; 
         [0077]    Most importantly, the correctness of the corresponding relation between the PID and HoA acquired in such a way can be guaranteed. 
         [0078]    Thus, the home address does not appear in the whole communication procedure. Moreover, the update of care-of address and the update of the PID are synchronous, so as to prevent eavesdroppers from performing RRP-related attack and continuing to track the mobile node. 
         [0079]    Since it is possible to continue to track the mobile node using the sequence number in BU message, an XOR operation is performed on the first 16 bits of ClearWord and the sequence number of BU message: 
         [0080]    newSequence#=clearword (16) XOR Sequence#, 
         [0081]    The newSequence# is filled in the BU message, replacing the original sequence number. At the correspondent node, after the CN recovers ClearWord, the newSequence# is recovered to be a real sequence number by the following algorithm: 
         [0082]    Sequence#=clearword (16) XOR newSequence#, 
         [0083]    In the BA message responded by the CN, the original sequence number also has to be replaced by newSequence#, thus causing the sequence number to be random and not trackable. 
         [0084]    In the method for communication of the IPv6 mobile node according to an embodiment of the present invention, the home address is replaced by the configured privacy label which is sent as the destination option; and the sequence number in the BU messages are improved to be random by setting PID and its algorithm, thus preventing eavesdroppers from continuing to track the mobile node via the home address. 
         [0085]    The present invention is described with reference to the above-mentioned embodiments, but is not limited to the scope of the disclosure. Those skilled in the art will appreciate that many modifications and changes may be made without departing from the spirit and scope of the present invention, and should fall within in the scope of the attached claims.