Network Working Group                                         S. Vaarala
Request for Comments: 5265                                       Codebay
Category: Standards Track                                    E. Klovning
                                                               June 2008
         Mobile IPv4 Traversal across IPsec-Based VPN Gateways

Status of This Memo


This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

この文書は、インターネットコミュニティのためのインターネット標準トラックプロトコルを指定し、改善のための議論と提案を要求します。このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD 1)の最新版を参照してください。このメモの配布は無制限です。



This document outlines a solution for the Mobile IPv4 (MIPv4) and IPsec coexistence problem for enterprise users. The solution consists of an applicability statement for using Mobile IPv4 and IPsec for session mobility in corporate remote access scenarios, and a required mechanism for detecting the trusted internal network securely.


Table of Contents


   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1.  Overview . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.2.  Scope  . . . . . . . . . . . . . . . . . . . . . . . . . .  5
     1.3.  Related Work . . . . . . . . . . . . . . . . . . . . . . .  5
     1.4.  Terms and Abbreviations  . . . . . . . . . . . . . . . . .  5
     1.5.  Requirement Levels . . . . . . . . . . . . . . . . . . . .  6
     1.6.  Assumptions and Rationale  . . . . . . . . . . . . . . . .  7
     1.7.  Why IPsec Lacks Mobility . . . . . . . . . . . . . . . . .  8
   2.  The Network Environment  . . . . . . . . . . . . . . . . . . .  9
     2.1.  Access Mode: 'c' . . . . . . . . . . . . . . . . . . . . . 12
     2.2.  Access Mode: 'f' . . . . . . . . . . . . . . . . . . . . . 13
     2.3.  Access Mode: 'cvc' . . . . . . . . . . . . . . . . . . . . 13
     2.4.  Access Mode: 'fvc' . . . . . . . . . . . . . . . . . . . . 14
     2.5.  NAT Traversal  . . . . . . . . . . . . . . . . . . . . . . 14
   3.  Internal Network Detection . . . . . . . . . . . . . . . . . . 15
     3.1.  Assumptions  . . . . . . . . . . . . . . . . . . . . . . . 16
     3.2.  Implementation Requirements  . . . . . . . . . . . . . . . 16
       3.2.1.  Separate Tracking of Network Interfaces  . . . . . . . 16
       3.2.2.  Connection Status Change . . . . . . . . . . . . . . . 16
       3.2.3.  Registration-Based Internal Network Detection  . . . . 17
       3.2.4.  Registration-Based Internal Network Monitoring . . . . 17
     3.3.  Proposed Algorithm . . . . . . . . . . . . . . . . . . . . 19
     3.4.  Trusted Networks Configured (TNC) Extension  . . . . . . . 20
     3.5.  Implementation Issues  . . . . . . . . . . . . . . . . . . 20
     3.6.  Rationale for Design Choices . . . . . . . . . . . . . . . 21
       3.6.1.  Firewall Configuration Requirements  . . . . . . . . . 21
       3.6.2.  Registration-Based Internal Network Monitoring . . . . 22
       3.6.3.  No Encryption When Inside  . . . . . . . . . . . . . . 22
     3.7.  Improvements . . . . . . . . . . . . . . . . . . . . . . . 22
   4.  Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 23
     4.1.  Mobile Node Requirements . . . . . . . . . . . . . . . . . 23
     4.2.  VPN Device Requirements  . . . . . . . . . . . . . . . . . 23
     4.3.  Home Agent Requirements  . . . . . . . . . . . . . . . . . 24
   5.  Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
     5.1.  Comparison against Guidelines  . . . . . . . . . . . . . . 24
     5.2.  Packet Overhead  . . . . . . . . . . . . . . . . . . . . . 26
     5.3.  Latency Considerations . . . . . . . . . . . . . . . . . . 27
     5.4.  Firewall State Considerations  . . . . . . . . . . . . . . 27
     5.5.  Intrusion Detection Systems (IDSs) . . . . . . . . . . . . 28
     5.6.  Implementation of the Mobile Node  . . . . . . . . . . . . 28
     5.7.  Non-IPsec VPN Protocols  . . . . . . . . . . . . . . . . . 28
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 29
     6.1.  Internal Network Detection . . . . . . . . . . . . . . . . 29
     6.2.  Mobile IPv4 versus IPsec . . . . . . . . . . . . . . . . . 30
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 31
   8.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 31
   9.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 32
     9.1.  Normative References . . . . . . . . . . . . . . . . . . . 32
     9.2.  Informative References . . . . . . . . . . . . . . . . . . 33
   Appendix A.  Packet Flow Examples  . . . . . . . . . . . . . . . . 34
     A.1.  Connection Setup for Access Mode 'cvc' . . . . . . . . . . 34
1. Introduction
1. はじめに

The Mobile IP working group set out to explore the problem and solution spaces of IPsec and Mobile IP coexistence. The problem statement and solution requirements for Mobile IPv4 case were first documented in [RFC4093]. This document outlines a solution for IPv4.


The document contains two parts:


o a basic solution that is an applicability statement of Mobile IPv4 and IPsec to provide session mobility between enterprise intranets and external networks, intended for enterprise mobile users; and


o a technical specification and a set of requirements for secure detection of the internal and the external networks, including a new extension that must be implemented by a mobile node and a home agent situated inside the enterprise network.


There are many useful ways to combine Mobile IPv4 and IPsec. The solution specified in this document is most applicable when the assumptions documented in the problem statement [RFC4093] are valid; among others that the solution:


o must minimize changes to existing firewall/VPN/DMZ (DeMilitarized Zone) deployments;

oは既存のファイアウォール/ VPN / DMZ(非武装地帯)の展開への変更を最小限に抑える必要があります。

o must ensure that traffic is not routed through the DMZ when the mobile node is inside (to avoid scalability and management issues);


o must support foreign networks with only foreign agent access;


o should not require changes to existing IPsec or key exchange protocols;


o must comply with the Mobile IPv4 protocol (but may require new extensions or multiple instances of Mobile IPv4); and


o must propose a mechanism to avoid or minimize IPsec re-negotiation when the mobile node moves.


1.1. Overview
1.1. 概要

Typical corporate networks consist of three different domains: the Internet (untrusted external network), the intranet (trusted internal network), and the DMZ, which connects the two networks. Access to the internal network is guarded both by a firewall and a VPN device;


access is only allowed if both firewall and VPN security policies are respected.


Enterprise mobile users benefit from unrestricted seamless session mobility between subnets, regardless of whether the subnets are part of the internal or the external network. Unfortunately, the current Mobile IPv4 and IPsec standards alone do not provide such a service [tessier].


The solution is to use standard Mobile IPv4 (except for a new extension used by the home agent in the internal network to aid in network detection) when the mobile node is in the internal network, and to use the VPN tunnel endpoint address for the Mobile IPv4 registration when outside. IPsec-based VPN tunnels require re-negotiation after movement. To overcome this limitation, another layer of Mobile IPv4 is used underneath IPsec, in effect making IPsec unaware of movement. Thus, the mobile node can freely move in the external network without disrupting the VPN connection.

溶液は、モバイルノードが内部ネットワークにある場合(ネットワーク検出を助けるために、内部ネットワーク内のホームエージェントによって使用される新しい拡張を除く)標準モバイルIPv4を使用すること、およびモバイルVPNトンネルのエンドポイントアドレスを使用することですIPv4の登録時に外。 IPsecベースのVPNトンネルは、移動後に再交渉を要求します。この制限を克服するために、モバイルIPv4の他の層は、運動を知らないIPsecを作る実際に、IPsecの下に使用されます。したがって、モバイルノードは、自由にVPN接続を中断することなく外部のネットワークに移動することができます。

Briefly, when outside, the mobile node:


o detects that it is outside (Section 3);


o registers its co-located or foreign agent care-of address with the external home agent;


o establishes a VPN tunnel using, e.g., Internet Key Exchange Protocol (IKE) (or IKEv2) if security associations are not already available;


o registers the VPN tunnel address as its co-located care-of address with the internal home agent; this registration request is sent inside the IPsec tunnel.


The solution requires control over the protocol layers in the mobile node. It must be capable of (1) detecting whether it is inside or outside in a secure fashion, and (2) controlling the protocol layers accordingly. For instance, if the mobile node is inside, the IPsec layer needs to become dormant.


Except for the new Mobile IPv4 extension to improve security of internal network detection, current Mobile IPv4 and IPsec standards, when used in a suitable combination, are sufficient to implement the solution. No changes are required to existing VPN devices or foreign agents.


The solution described is compatible with different kinds of IPsec-based VPNs, and no particular kind of VPN is required. Because the appropriate Security Policy Database (SPD) entries and other IKE and IPsec specifics differ between deployed IPsec-based VPN products, these details are not discussed in the document.


1.2. Scope
1.2. 範囲

This document describes a solution for IPv4 only. The downside of the described approach is that an external home agent is required and that the packet overhead (see Section 5) and overall complexity increase. Optimizations would require significant changes to Mobile IPv4 and/or IPsec, and are out of scope of this document.


VPN, in this document, refers to an IPsec-based remote access VPN. Other types of VPNs are out of scope.

VPNは、この文書では、IPsecベースのリモートアクセスVPNを指します。 VPNの他のタイプの範囲外です。

1.3. Related Work
1.3. 関連作業

Related work has been done on Mobile IPv6 in [RFC3776], which discusses the interaction of IPsec and Mobile IPv6 in protecting Mobile IPv6 signaling. The document also discusses dynamic updating of the IPsec endpoint based on Mobile IP signaling packets.


The "transient pseudo-NAT" attack, described in [pseudonat] and [mipnat], affects any approach that attempts to provide security of mobility signaling in conjunction with NAT devices. In many cases, one cannot assume any cooperation from NAT devices, which thus have to be treated as any other networking entity.


The IKEv2 Mobility and Multihoming Protocol (MOBIKE) [RFC4555] provides better mobility for IPsec. This would allow the external Mobile IPv4 layer described in this specification to be removed. However, deploying MOBIKE requires changes to VPN devices, and is thus out of scope of this specification.


1.4. Terms and Abbreviations
1.4. 用語と略語

co-CoA: co-located care-of address.


DMZ: (DeMilitarized Zone) a small network inserted as a "neutral zone" between a company's private network and the outside public network to prevent outside users from getting direct access to the company's private network.


external network: the untrusted network (i.e., Internet). Note that a private network (e.g., another corporate network) other than the mobile node's internal network is considered an external network.


FA: mobile IPv4 foreign agent.


FA-CoA: foreign agent care-of address.


FW: firewall.


internal network: the trusted network; for instance, a physically secure corporate network where the i-HA is located.


i-FA: Mobile IPv4 foreign agent residing in the internal network.


i-HA: Mobile IPv4 home agent residing in the internal network; typically has a private address [privaddr].


i-HoA: home address of the mobile node in the internal home agent.


MN: mobile node.


NAI: Network Access Identifier [RFC4282].


R: router.


VPN: Virtual Private Network based on IPsec.


VPN-TIA: VPN tunnel inner address, the address(es) negotiated during IKE phase 2 (quick mode), assigned manually, using IPsec-DHCP [RFC3456], using the "de facto" standard Internet Security Association and Key Management Protocol (ISAKMP) configuration mode, or by some other means. Some VPN clients use their current care-of address as their Tunnel Inner Address (TIA) for architectural reasons.

VPN-TIA:VPNトンネル内部アドレス、アドレス(複数可)は、「事実上の」標準的なインターネットセキュリティアソシエーションおよび鍵管理プロトコルを(使用して、IPsecでDHCP [RFC3456]を使用して、手動で割り当てられたIKEフェーズ2(クイックモード)、中にネゴシエートISAKMP)コンフィギュレーションモード、または何らかの他の手段によって。一部のVPNクライアントは、建築的な理由のための彼らのトンネル内部アドレス(TIA)として彼らの現在の気付アドレスを使用します。

VPN tunnel: an IPsec-based tunnel; for instance, IPsec tunnel mode IPsec connection, or Layer 2 Tunneling Protocol (L2TP) combined with IPsec transport connection.


x-FA: Mobile IPv4 foreign agent residing in the external network.


x-HA: Mobile IPv4 home agent residing in the external network.


x-HoA: home address of the mobile node in the external home agent.


1.5. Requirement Levels
1.5. 要件レベル

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, RFC 2119 [RFC2119].

この文書のキーワード "MUST"、 "MUST NOT"、 "REQUIRED"、、、、 "べきではない" "べきである" "ないもの" "ものとし"、 "推奨"、 "MAY"、および "OPTIONAL" はありますBCP 14、RFC 2119 [RFC2119]に記載されているように解釈されます。

1.6. Assumptions and Rationale
1.6. 仮定と理論的根拠

The solution is an attempt to solve the problem described in [RFC4093]. The major assumptions and their rationale is summarized below.


Changes to existing firewall and VPN deployments should be minimized:


o The current deployment of firewalls and IPsec-based VPNs is much larger than corresponding Mobile IPv4 elements. Thus, a solution should work within the existing VPN infrastructure.


o Current enterprise network deployments typically centralize management of security and network access into a compact DMZ.


When the mobile node is inside, traffic should not go through the DMZ network:


o Routing all mobile node traffic through the DMZ is seen as a performance problem in existing deployments of firewalls. The more sophisticated firewall technology is used (e.g., content scanning), the more serious the performance problem is.


o Current deployments of firewalls and DMZs in general have been optimized for the case where only a small minority of total enterprise traffic goes through the DMZ. Furthermore, users of current VPN remote access solutions do not route their traffic through the DMZ when connected to an internal network.


A home agent inside the enterprise cannot be reached directly from outside, even if the home agent contains IPsec functionality:


o Deployment of current combined IPsec/MIPv4 solutions are not common in large installations.

O現在の組み合わせのIPsec / MIPv4のソリューションの展開は、大規模なインストールでは一般的ではありません。

o Doing decryption in the home agents "deep inside" the enterprise effectively means having a security perimeter much larger than the typical, compact DMZ used by a majority of enterprises today.


o In order to maintain a security level equal to current firewall/ DMZ deployments, every home agent decapsulating IPsec would need to do the same firewalling as the current DMZ firewalls (content scanning, connection tracking, etc.).

O現在のファイアウォール/ DMZの展開と同等のセキュリティレベルを維持するために、IPsecをデカプセル化すべてのホームエージェントは、現在のDMZファイアウォール(コンテンツスキャン、接続の追跡など)と同じファイアウォールを実行する必要があります。

Traffic cannot be encrypted when the mobile node is inside:


o There is a considerable performance impact on home agents (which currently do rather light processing) and mobile nodes (especially for small devices). Note that traffic throughput inside the enterprise is typically an order (or more) of magnitude larger than the remote access traffic through a VPN.


o Encryption consumes processing power and has a significant impact on device battery life.


o There is also a usability issue involved; the user needs to authenticate the connection to the IPsec layer in the home agent to gain access. For interactive authentication mechanisms (e.g., SecurID), this always means user interaction.


o Furthermore, if there is a separate VPN device in the DMZ for remote access, the user needs to authenticate to both devices, and might need to have separate credentials for both.


o Current Mobile IPv4 home agents do not typically incorporate IPsec functionality, which is relevant for the solution when we assume zero or minimal changes to existing Mobile IPv4 nodes.


o Note, however, that the assumption (no encryption when inside) does not necessarily apply to all solutions in the solution space; if the above mentioned problems were resolved, there is no fundamental reason why encryption could not be applied when inside.


1.7. Why IPsec Lacks Mobility
1.7. IPsecは、モビリティが欠けているのはなぜ

IPsec, as currently specified [RFC4301], requires that a new IKE negotiation be done whenever an IPsec peer moves, i.e., changes care-of address. The main reason is that a security association is unidirectional and identified by a triplet consisting of (1) the destination address (which is the outer address when tunnel mode is used), (2) the security protocol (Encapsulating Security Payload (ESP) or Authentication Header (AH)), and (3) the Security Parameter Index (SPI) ([RFC4301], Section 4.1). Although an implementation is not required to use all of these for its own Security Associations (SAs), an implementation cannot assume that a peer does not.


When a mobile IPsec peer sends packets to a stationary IPsec peer, there is no problem; the SA is "owned" by the stationary IPsec peer, and therefore the destination address does not need to change. The (outer) source address should be ignored by the stationary peer (although some implementations do check the source address as well).

モバイルIPSecピアが静止IPsecピアにパケットを送信するとき、問題はありません。 SAは、静止したIPsecピアによって「所有」されているため、宛先アドレスは変更する必要はありません。 (外側の)ソースアドレスが固定のピア(いくつかの実施態様は、同様に送信元アドレスを確認しないが)によって無視されるべきです。

The problem arises when packets are sent from the stationary peer to the mobile peer. The destination address of this SA (SAs are unidirectional) is established during IKE negotiation, and is effectively the care-of address of the mobile peer at time of negotiation. Therefore, the packets will be sent to the original care-of address, not a changed care-of address.


The IPsec NAT traversal mechanism can also be used for limited mobility, but UDP tunneling needs to be used even when there is no NAT in the route between the mobile and the stationary peers. Furthermore, support for changes in current NAT mapping is not required by the NAT traversal specification [RFC3947].


In summary, although the IPsec standard does not as such prevent mobility (in the sense of updating security associations on-the-fly), the standard does not include a built-in mechanism (explicit or implicit) for doing so. Therefore, it is assumed throughout this document that any change in the addresses comprising the identity of an SA requires IKE re-negotiation, which implies too heavy computation and too large latency for useful mobility.


The IKEv2 Mobility and Multihoming Protocol (MOBIKE) [RFC4555] provides better mobility for IPsec. This would allow the external Mobile IPv4 layer described in this specification to be removed. However, deploying MOBIKE requires changes to VPN devices, and is thus out of scope of this specification.


2. The Network Environment

Enterprise users will access both the internal and external networks using different networking technologies. In some networks, the MN will use FAs and in others it will anchor at the HA using co-located mode. The following figure describes an example network topology illustrating the relationship between the internal and external networks, and the possible locations of the mobile node (i.e., (MN)).


      (MN) {fvc}                            {home} (MN)   [i-HA]
       !                                             \     /
    .--+---.                                        .-+---+-.
   (        )                                      (         )
    `--+---'                      [VPN]             `--+----'
        \                           !                  !
      [R/FA]        [x-HA]       .--+--.              [R]
           \         /          (  DMZ  )              !
          .-+-------+--.         `--+--'         .-----+------.
         (              )           !           (              )
         ( external net +---[R]----[FW]----[R]--+ internal net )
         (              )                       (              )
          `--+---------'                         `---+---+----'
            /                                       /     \
  [DHCP]  [R]                              [DHCP] [R]     [R]    [i-FA]
     \    /                                   \   /         \    /
     .+--+---.                               .-+-+--.     .--+--+-.
    (         )                             (        )   (         )
     `---+---'                               `--+---'     `---+---'
         !                                      !             !
        (MN) {cvc}                             (MN) {c}      (MN) {f}

Figure 1: Basic topology, possible MN locations, and access modes


In every possible location described in the figure, the mobile node can establish a connection to the corresponding HA(s) by using a suitable "access mode". An access mode is here defined to consist of:


1. a composition of the mobile node networking stack (i-MIP or x-MIP/VPN/i-MIP); and

1.モバイルノードネットワークスタックの組成物(I-MIPまたはX-MIP / VPN / I-MIP)。そして

2. registration mode(s) of i-MIP and x-MIP (if used); i.e., co-located care-of address or foreign agent care-of address.


Each possible access mode is encoded as "xyz", where:


o "x" indicates whether the x-MIP layer is used, and if used, the mode ("f" indicates FA-CoA, "c" indicates co-CoA, absence indicates not used);

O、X-MIP層が使用されているか否かを示す "×" と使用される場合、モード( "F" はFA-CoAを示し、 "c" は、不在を使用しない示しCO-CoAが示します)。

o "y" indicates whether the VPN layer is used ("v" indicates VPN used, absence indicates not used); and


o "z" indicates mode of i-MIP layer ("f" indicates FA-CoA, "c" indicates co-CoA).

O "Z" は( "F" は、FA-CoAを示し、 "C" は、CO-CoAを示す)I-MIP層のモードを示します。

This results in four access modes:


         c:  i-MIP with co-CoA
         f:  i-MIP with FA-CoA
       cvc:  x-MIP with co-CoA, VPN-TIA as i-MIP co-CoA
       fvc:  x-MIP with FA-CoA, VPN-TIA as i-MIP co-CoA

This notation is more useful when optimizations to protocol layers are considered. The notation is preserved here so that work on the optimizations can refer to a common notation.


The internal network is typically a multi-subnetted network using private addressing [privaddr]. Subnets may contain internal home agent(s), DHCP server(s), and/or foreign agent(s). Current IEEE 802.11 wireless LANs are typically deployed in the external network or the DMZ because of security concerns.

内部ネットワークは、典型的には、[privaddr]アドレッシングプライベート用いたマルチサブネットのネットワークです。サブネットは内部ホームエージェント(s)は、DHCPサーバ(複数可)、および/または外部エージェント(複数可)を含んでいてもよいです。現在のIEEE 802.11無線LANは、通常、セキュリティ保護のため、外部ネットワークまたはDMZ内に展開されています。

The figure leaves out a few details worth noticing:


o There may be multiple NAT devices anywhere in the diagram.


* When the MN is outside, the NAT devices may be placed between the MN and the x-HA or the x-HA and the VPN.


* There may also be NAT(s) between the VPN and the i-HA, or a NAT integrated into the VPN. In essence, any router in the figure may be considered to represent zero or more routers, each possibly performing NAT and/or ingress filtering.


* When the MN is inside, there may be NAT devices between the MN and the i-HA.

* MNが内部にある場合には、MNとI-HAとの間にNATデバイスがあるかもしれません。

o Site-to-site VPN tunnels are not shown. Although mostly transparent, IPsec endpoints may perform ingress filtering as part of enforcing their policy.


o The figure represents a topology where each functional entity is illustrated as a separate device. However, it is possible that several network functions are co-located in a single device. In fact, all three server components (x-HA, VPN, and i-HA) may be co-located in a single physical device.


The following issues are also important when considering enterprise mobile users:


o Some firewalls are configured to block ICMP messages and/or fragments. Such firewalls (routers) cannot be detected reliably.


o Some networks contain transparent application proxies, especially for HTTP. Like firewalls, such proxies cannot be detected reliably in general. IPsec and Mobile IPv4 are incompatible with such networks.

Oネットワークによっては、特にHTTPのために、透明アプリケーションプロキシが含まれています。ファイアウォールのように、そのようなプロキシは、一般的に確実に検出することはできません。 IPsecとモバイルIPv4は、ネットワークと互換性がありません。

Whenever a mobile node obtains either a co-CoA or an FA-CoA, the following conceptual steps take place:


o The mobile node detects whether the subnet where the care-of address was obtained belongs to the internal or the external network using the method described in Section 3 (or a vendor-specific mechanism fulfilling the requirements described).


o The mobile node performs necessary registrations and other connection setup signaling for the protocol layers (in the following order):


* x-MIP (if used);

* X-MIP(使用する場合)。

* VPN (if used); and

* VPN(使用する場合)。そして

* i-MIP.

* I-MIP。

Note that these two tasks are intertwined to some extent: detection of the internal network results in a successful registration to the i-HA using the proposed network detection algorithm. An improved network detection mechanism not based on Mobile IPv4 registration messages might not have this side effect.


The following subsections describe the different access modes and the requirements for registration and connection setup phase.


2.1. Access Mode: 'c'
2.1. アクセスモード:「C」

This access mode is standard Mobile IPv4 [RFC3344] with a co-located address, except that:

このアクセスモードは点を除いて、同じ場所に配置アドレスを持つ標準モバイルIPv4 [RFC3344]です。

o the mobile node MUST detect that it is in the internal network; and


o the mobile node MUST re-register periodically (with a configurable interval) to ensure it is still inside the internal network (see Section 4).


2.2. Access Mode: 'f'
2.2. アクセスモード:「F」

This access mode is standard Mobile IPv4 [RFC3344] with a foreign agent care-of address, except that

このアクセス・モードは、ことを除いて、外国人のエージェントの気付アドレスを持つ標準のモバイルIPv4 [RFC3344]であります

o the mobile node MUST detect that it is in the internal network; and


o the mobile node MUST re-register periodically (with a configurable interval) to ensure it is still inside the internal network (see Section 4).


2.3. Access Mode: 'cvc'
2.3. アクセスモード:「CVC」



o The mobile node obtains a care-of address.


o The mobile node detects it is not inside and registers with the x-HA, where


* T-bit MAY be set (reverse tunneling), which minimizes the probability of firewall-related connectivity problems

* Tビットは、ファイアウォール関連の接続の問題の可能性を最小にする、(トンネリングを逆)に設定されるかもしれません

o If the mobile node does not have an existing IPsec security association, it uses IKE to set up an IPsec security association with the VPN gateway, using the x-HoA as the IP address for IKE/ IPsec communication. How the VPN-TIA is assigned is outside the scope of this document.

移動ノードが既存のIPsecセキュリティアソシエーションを有していない場合、Oは、IKE / IPsec通信のためのIPアドレスとして、XのHoAを使用して、VPNゲートウェイとのIPsecセキュリティアソシエーションを設定するためにIKEを使用します。どのようにVPN-TIAが割り当てられ、この文書の範囲外です。

o The mobile node sends a MIPv4 Registration Request (RRQ) to the i-HA, registering the VPN-TIA as a co-located care-of address, where


* T-bit SHOULD be set (reverse tunneling) (see discussion below)

* Tビットが設定されるべきである(逆トンネリング)(以下の議論を参照されたいです)

Reverse tunneling in the inner Mobile IPv4 layer is often required because of IPsec security policy limitations. IPsec selectors define allowed IP addresses for packets sent inside the IPsec tunnel. Typical IPsec remote VPN selectors restrict the client address to be VPN-TIA (remote address is often unrestricted). If reverse tunneling is not used, the source address of a packet sent by the MN will be the MN's home address (registered with i-HA), which is different from the VPN-TIA, thus violating IPsec security policy. Consequently, the packet will be dropped, resulting in a connection black hole.

内側のモバイルIPv4層におけるリバーストンネリングはしばしばIPsecのセキュリティポリシー制限の必要です。 IPsecのセレクタは、IPsecトンネル内で送信されたパケットのために許可されたIPアドレスを定義します。典型的なのIPsecリモートVPNセレクタVPN-TIA(リモートアドレスは、多くの場合、無制限である)であることをクライアントアドレスを制限します。リバーストンネリングを使用しない場合は、MNによって送信されたパケットの送信元アドレスは、このようにIPsecセキュリティポリシーに違反し、VPN-TIAは異なっている(I-HAに登録)MNのホームアドレスになります。したがって、パケットは、接続ブラックホールで、その結果、削除されます。

Some types of IPsec-based VPNs, in particular L2TP/IPsec VPNs (PPP-over-L2TP-over-IPsec), do not have this limitation and can use triangular routing.

IPsecベースのVPNの種類によっては、特に、L2TP / IPsecのVPNの(PPPオーバL2TPオーバーのIPsec)、この制限を持っていないと三角ルーティングを使用することができます。

Note that although the MN can use triangular routing, i.e., skip the inner MIPv4 layer, it MUST NOT skip the VPN layer for security reasons.


2.4. Access Mode: 'fvc'
2.4. アクセスモード:「FVC」



o The mobile node obtains a foreign agent advertisement from the local network.


o The mobile node detects it is outside and registers with the x-HA, where


* T-bit MAY be set (reverse tunneling), which minimizes the probability of firewall-related connectivity problems

* Tビットは、ファイアウォール関連の接続の問題の可能性を最小にする、(トンネリングを逆)に設定されるかもしれません

o If necessary, the mobile node uses IKE to set up an IPsec connection with the VPN gateway, using the x-HoA as the IP address for IKE/IPsec communication. How the VPN-TIA is assigned is outside the scope of this document.

必要に応じてO、モバイルノードがIKE / IPsec通信のためのIPアドレスとして、XのHoAを使用して、VPNゲートウェイとのIPsec接続をセットアップするためにIKEを使用します。どのようにVPN-TIAが割り当てられ、この文書の範囲外です。

o The mobile node sends a MIPv4 RRQ to the i-HA, registering the VPN-TIA as a co-located care-of address, where

モバイルノードOなどのVPN-TIAを登録、I-HAへのMIPv4 RRQを送り、同じ場所に配置、どこ気付アドレス

* T-bit SHOULD be set (reverse tunneling) (see discussion in Section 2.3)

* Tビットが設定されるべきである(逆トンネリング)(2.3節での議論を参照されたいです)

Note that although the MN can use triangular routing, i.e., skip the inner MIPv4 layer, it MUST NOT skip the VPN layer for security reasons.


2.5. NAT Traversal
2.5. NATトラバーサル

NAT devices may affect each layer independently. Mobile IPv4 NAT traversal [mipnat] SHOULD be supported for x-MIP and i-MIP layers, while IPsec NAT traversal [RFC3947][RFC3948] SHOULD be supported for the VPN layer.

NATデバイスは、独立してそれぞれの層に影響を与える可能性があります。 IPsecのNATトラバーサル[RFC3947]、[RFC3948]はVPN層のためにサポートされるべきであるモバイルIPv4 NATトラバーサルは、[mipnat]、X-MIPおよびI-MIP層のためにサポートされるべきです。

Note that NAT traversal for the internal MIPv4 layer may be necessary even when there is no separate NAT device between the VPN gateway and the internal network. Some VPN implementations NAT VPN tunnel inner addresses before routing traffic to the intranet. Sometimes this is done to make a deployment easier, but in some cases this approach makes VPN client implementation easier. Mobile IPv4 NAT traversal is required to establish a MIPv4 session in this case.

VPNゲートウェイと内部ネットワークとの間に別のNATデバイスが存在しない場合でも内部のMIPv4層用NATトラバーサルが必要であり得ることに留意されたいです。いくつかのVPNの実装NAT VPNトンネル内部アドレスイントラネットへのトラフィックをルーティングする前に。時には、これは、展開を容易にするために行われているが、いくつかのケースでは、このアプローチは、より簡単にVPNクライアントの実装を行います。モバイルIPv4 NATトラバーサルは、このケースでのMIPv4セッションを確立するために必要です。

3. Internal Network Detection

Secure detection of the internal network is critical to prevent plaintext traffic from being sent over an untrusted network. In other words, the overall security (confidentiality and integrity of user data) relies on the security of the internal network detection mechanism in addition to IPsec. For this reason, security requirements are described in this section.


In addition to detecting entry into the internal network, the mobile node must also detect when it has left the internal network. Entry into the internal network is easier security-wise: the mobile node can ensure that it is inside the internal network before sending any plaintext traffic. Exit from the internal network is more difficult to detect, and the MN may accidentally leak plaintext packets if the event is not detected in time.


Several events can cause the mobile node to leave the internal network, including:


o a routing change upstream;


o a reassociation of 802.11 on layer 2 that the mobile node software does not detect;


o a physical cable disconnect and reconnect that the mobile node software does not detect.


Whether the mobile node can detect such changes in the current connection reliably depends on the implementation and the networking technology. For instance, some mobile nodes may be implemented as pure layer three entities. Even if the mobile node software has access to layer 2 information, such information is not trustworthy security-wise, and depends on the network interface driver.


If the mobile node does not detect these events properly, it may leak plaintext traffic into an untrusted network. A number of approaches can be used to detect exit from the internal network, ranging from frequent re-registration to the use of layer two information.


A mobile node MUST implement a detection mechanism fulfilling the requirements described in Section 3.2; this ensures that basic security requirements are fulfilled. The basic algorithm described in Section 3.3 is one way to do that, but alternative methods may be used instead or in conjunction. The assumptions that the requirements and the proposed mechanism rely upon are described in Section 3.1.


3.1. Assumptions
3.1. 仮定

The enterprise firewall MUST be configured to block traffic originating from external networks going to the i-HA. In other words, the mobile node MUST NOT be able to perform a successful Registration Request/Registration Reply (RRQ/RRP) exchange (without using IPsec) unless it is connected to the trusted internal network; the mobile node can then stop using IPsec without compromising data confidentiality.

企業のファイアウォールがi-HAに行く外部のネットワークから発信されたトラフィックをブロックするように設定する必要があります。換言すれば、移動ノードは、それが信頼できる内部ネットワークに接続されていない場合(IPsecを使用せずに)成功した​​登録要求/登録応答(RRQ / RRP)交換を実行することができてはいけません。モバイルノードは、データの機密性を損なうことなく、IPsecを使用して停止することができます。

If this assumption does not hold, data confidentiality is compromised in a potentially silent and thus dangerous manner. To minimize the impact of this scenario, the i-HA is also required to check the source address of any RRQ to determine whether it comes from a trusted (internal network) address. The i-HA needs to indicate to the MN that it supports the checking of trusted source addresses by including a Trusted Networks Configured extension in its registration reply. This new extension, which needs to be implemented by both i-HA and the MN, is described in Section 3.4.

この仮定が成立しない場合は、データの機密性は、潜在的にサイレントので、危険な方法で損なわれています。このシナリオの影響を最小限に抑えるために、I-HAはまた、それが信頼できる(内部ネットワーク)アドレスから来ているかどうかを決定するために任意RRQの送信元アドレスをチェックする必要があります。 I-HAは、その登録応答で拡張子を設定した信頼できるネットワークを含むことにより、信頼できるソースアドレスのチェックをサポートしているMNに指示する必要があります。 I-HAとMNの両方で実装する必要があります。この新しい拡張機能は、3.4節に記述されています。

The firewall MAY be configured to block registration traffic to the x-HA originating from within the internal network, which makes the network detection algorithm simpler and more robust. However, as the registration request is basically UDP traffic, an ordinary firewall (even a stateful one) would typically allow the registration request to be sent and a registration reply to be received through the firewall.


3.2. Implementation Requirements
3.2. 実装要件

Any mechanism used to detect the internal network MUST fulfill the requirements described in this section. An example of a network detection mechanism fulfilling these requirements is given in Section 3.3.


3.2.1. Separate Tracking of Network Interfaces
3.2.1. ネットワークインターフェイスの別々の追跡

The mobile node implementation MUST track each network interface separately. Successful registration with the i-HA through interface X does not imply anything about the status of interface Y.


3.2.2. Connection Status Change
3.2.2. 接続ステータスの変更

When the mobile node detects that its connection status on a certain network interface changes, the mobile node MUST: o immediately stop relaying user data packets;


o detect whether this interface is connected to the internal or the external network; and


o resume data traffic only after the internal network detection and necessary registrations and VPN tunnel establishment have been completed.


The mechanisms used to detect a connection status change depends on the mobile node implementation, the networking technology, and the access mode.


3.2.3. Registration-Based Internal Network Detection
3.2.3. 登録ベースの内部ネットワーク検出

The mobile node MUST NOT infer that an interface is connected to the internal network unless a successful registration has been completed through that particular interface to the i-HA, the i-HA registration reply contained a Trusted Networks Configured extension (Section 3.4), and the connection status of the interface has not changed since.


3.2.4. Registration-Based Internal Network Monitoring
3.2.4. 登録ベースの内部ネットワークの監視

Some leak of plaintext packets to a (potentially) untrusted network cannot always be completely prevented; this depends heavily on the client implementation. In some cases, the client cannot detect such a change, e.g., if upstream routing is changed.


More frequent re-registrations when the MN is inside is a simple way to ensure that the MN is still inside. The MN SHOULD start re-registration every (T_MONITOR - N) seconds when inside, where N is a grace period that ensures that re-registration is completed before T_MONITOR seconds are up. To bound the maximum amount of time that a plaintext leak may persist, the mobile node must fulfill the following security requirements when inside:

MNは内部でより頻繁な再登録はMNが内部に残っていることを保証するための簡単な方法です。 MNは、再登録を開始すべきであるすべての(T_MONITOR - N)秒ときNはT_MONITOR秒がアップする前に再登録が完了していることを保証猶予期間である内部、。平文漏れが持続できる時間の最大量を結合するタイミング内部、モバイルノードは、以下のセキュリティ要件を満たさなければなりません。

o The mobile node MUST NOT send or receive a user data packet if more than T_MONITOR seconds have elapsed since the last successful (re-)registration with the i-HA.


o If more than T_MONITOR seconds have elapsed, data packets MUST be either dropped or queued. If the packets are queued, the queues MUST NOT be processed until the re-registration has been successfully completed without a connection status change.


o The T_MONITOR parameter MUST be configurable, and have the default value of 60 seconds. This default is a trade-off between traffic overhead and a reasonable bound to exposure.

O T_MONITORパラメータが設定可能で、60秒のデフォルト値を持たなければなりません。このデフォルトでは、トラフィックのオーバーヘッドと暴露に合理的なバウンドとのトレードオフです。

This approach is reasonable for a wide range of mobile nodes (e.g., laptops), but has unnecessary overhead when the mobile node is idle (not sending or receiving packets). If re-registration does not complete before T_MONITOR seconds are up, data packets must be queued or dropped as specified above. Note that re-registration packets MUST be sent even if bidirectional user data traffic is being relayed: data packets are no substitute for an authenticated re-registration.

このアプローチは、モバイルノード(例えば、ラップトップ)の広い範囲のために妥当であるが、モバイルノードが(パケットを送信または受信していない)アイドル状態のときに不要なオーバーヘッドを有します。 T_MONITOR秒がアップする前に再登録が完了しない場合、データパケットはキューに入れなければなりませんか、上記指定としてドロップ。双方向のユーザデータトラフィックが中継されている場合でも、その再登録パケットを送信する必要があります:データパケットが認証された再登録のための代替ではありません。

To minimize traffic overhead when the mobile node is idle, re-registrations can be stopped when no traffic is being sent or received. If the mobile node subsequently receives or needs to send a packet, the packet must be dropped or queued (as specified above) until a re-registration with the i-HA has been successfully completed. Although this approach adds packet processing complexity, it may be appropriate for small, battery-powered devices, which may be idle much of the time. (Note that ordinary re-registration before the mobility binding lifetime is exhausted should still be done to keep the MN reachable.)

トラフィックが送信されないまたは受信されているとき、移動ノードがアイドル状態のとき、トラフィックのオーバーヘッドを最小限に抑えるために、再登録を停止することができます。モバイルノードは、その後に受け取るか、またはパケットを送信する必要がある場合(上記のよう)は、i-HAによる再登録が正常に完了するまで、パケットは廃棄されるか、またはキューに登録する必要があります。このアプローチは、パケット処理の複雑さを追加しているが、それは多くの時間アイドル状態であってもよい小さな、バッテリ駆動デバイスに適切であり得ます。 (モビリティバインディング寿命が排出される前に、通常の再登録を注意することは、まだ到達可能なMNを維持するために行われる必要があります。)

T_MONITOR is required to be configurable so that an administrator can determine the required security level for the particular deployment. Configuring T_MONITOR in the order of a few seconds is not practical; alternative mechanisms need to be considered if such confidence is required.


The re-registration mechanism is a worst-case fallback mechanism. If additional information (such as layer two triggers) is available to the mobile node, the mobile node SHOULD use the triggers to detect MN movement and restart the detection process to minimize exposure.

再登録メカニズムは、最悪の場合のフォールバックメカニズムです。 (このような層の2つのトリガーなど)関連情報は、移動ノードに利用可能である場合、移動ノードはMNの動きを検出して露出を最小限にするために、検出プロセスを再起動するためにトリガーを使用すべきです。

Note that re-registration is required by Mobile IPv4 by default (except for the atypical case of an infinite binding lifetime); however, the re-registration interval may be much larger when using an ordinary Mobile IPv4 client. A shorter re-registration interval is usually not an issue, because the internal network is typically a fast, wired network, and the shortened re-registration interval applies only when the mobile node is inside the internal network. When outside, the ordinary Mobile IPv4 re-registration process (based on binding lifetime) is used.


3.3. Proposed Algorithm
3.3. 提案されたアルゴリズム

When the MN detects that it has changed its point of network attachment on a certain interface, it issues two simultaneous registration requests, one to the i-HA and another to the x-HA. These registration requests are periodically retransmitted if reply messages are not received.


Registration replies are processed as follows:


o If a response from the x-HA is received, the MN stops retransmitting its registration request to the x-HA and tentatively determines it is outside. However, the MN MUST keep on retransmitting its registration to the i-HA for a period of time. The MN MAY postpone the IPsec connection setup for some period of time while it waits for a (possible) response from the i-HA.


o If a response from the i-HA is received and the response contains the Trusted Networks Configured extension (Section 3.4), the MN SHOULD determine that it is inside. In any case, the MN MUST stop retransmitting its registration requests to both i-HA and x-HA.


o When successfully registered with the i-HA directly, MN SHOULD de-register with the x-HA.


If the MN ends up detecting that it is inside, it MUST re-register periodically (regardless of binding lifetime); see Section 3.2.4. If the re-registration fails, the MN MUST stop sending and receiving plaintext traffic, and MUST restart the detection algorithm.

MNは、それが内部であることを検出してしまう場合には(かかわらず、結合寿命の)定期的に再登録しなければなりません。 3.2.4項を参照してください。再登録が失敗した場合、MNは、平文トラフィックの送信と受信を停止しなければならない、と検出アルゴリズムを再起動する必要があります。

Plaintext re-registration messages are always addressed either to the x-HA or the i-HA, not to both. This is because the MN knows, after initial registration, whether it is inside or outside. (However, when the mobile node is outside, it re-registers independently with the x-HA using plaintext, and with the i-HA through the VPN tunnel.)

平文再登録メッセージは、常にではないの両方に、X-HAまたはI-HAのいずれかに対処しています。 MNは、それが内部または外部であるかどうか、初期登録後に、知っているからです。 (モバイルノードが外部である場合しかし、それは、VPNトンネルを介してX-HA平文を用いた、およびI-HAと独立してレジスタを再。)

Postponing the IPsec connection setup could prevent aborted IKE sessions. Aborting IKE sessions may be a problem in some cases because IKE does not provide a reliable, standardized, and mandatory-to-implement mechanism for terminating a session cleanly.

中止されたIKEセッションを防ぐことができるのIPsec接続設定を延期。 IKEがきれいにセッションを終了するため、信頼性の高い標準化、および実装に必須のメカニズムを提供していないため、IKEセッションを中止するいくつかのケースで問題になることがあります。

If the x-HA is not reachable from inside (i.e., the firewall configuration is known), a detection period of zero is preferred, as it minimizes connection setup overhead and causes no timing problems. Should the assumption have been invalid and a response from the i-HA received after a response from the x-HA, the MN SHOULD re-register with the i-HA directly.


3.4. Trusted Networks Configured (TNC) Extension
3.4. 信頼されたネットワーク構成済み(TNC)拡張

This extension is a skippable extension. An i-HA sending the extension must fulfill the requirements described in Section 4.3, while an MN processing the extension must fulfill the requirements described in Section 4.1. The format of the extension is described below. It adheres to the short extension format described in [RFC3344]:


       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   |   Reserved    |

Type 149


Length 2


Sub-Type 0


Reserved Set to 0 when sending, ignored when receiving


3.5. Implementation Issues
3.5. 実装の問題

When the MN uses a parallel detection algorithm and is using an FA, the MN sends two registration requests through the same FA with the same Media Acces Control (MAC) address (or equivalent) and possibly even the same home address. Although this is not in conflict with existing specifications, it is an unusual scenario; hence some FA implementations may not work properly in such a situation. However, testing against deployed foreign agents seems to indicate that a majority of available foreign agents handle this situation.


When the x-HA and i-HA addresses are the same, the scenario is even more difficult for the FA, and it is almost certain that existing FAs do not deal with the situation correctly. Therefore, it is required that x-HA and i-HA addresses MUST be different.


Regardless, if the MN detects that i-HA and x-HA have the same address, it MUST assume that it is in the external network and bypass network detection to avoid confusing the FA. Because the HA addresses are used at different layers, achieving connectivity is possible without address confusion.

MNは、I-HAおよびX-HAが同じアドレスを持っていることを検出した場合にかかわらず、それがFAを混乱を避けるために、外部ネットワークとバイパスネットワーク検出であると仮定しなければなりません。 HAアドレスが異なる層で使用されているので、接続性を実現することは、アドレスの混乱なしに可能です。

The mobile node MAY use the following hints to determine that it is inside, but MUST verify reachability of the i-HA anyway: o a domain name in a DHCPDISCOVER / DHCPOFFER message

モバイルノードは、それが内側にあることを決定するには、次のヒントを使用することができるが、とにかく-HAの到達可能性を検証しなければならない:ドメイン名O DHCPDISCOVER / DHCPOFFERメッセージで

o an NAI in a foreign agent advertisement

外国人のエージェント広告におけるNAI O

o a list of default gateway MAC addresses that are known to reside in the internal network (i.e., configured as such, or have been previously verified to be inside)


For instance, if the MN has reason to believe it is inside, it MAY postpone sending a registration request to the x-HA for some time. Similarly, if the MN has reason to believe it is outside, it may start IPsec connection setup immediately after receiving a registration reply from the x-HA. However, should the MN receive a registration reply from the i-HA after IPsec connection setup has been started, the MN SHOULD still switch to using the i-HA directly.

MNは、それが内部であると信じる理由がある場合たとえば、それはいくつかの時間のためのx-HAに登録要求を送信延期するかもしれません。 MNは、それが外であると信じる理由がある場合同様に、それは、x-HAからの登録応答を受信した直後にIPsec接続のセットアップを開始することができます。しかし、IPsec接続のセットアップが開始された後、MNは、I-HAからの登録応答を受信する必要があり、MNは、まだ直接I-HAの使用に切り替えるべきです。

3.6. Rationale for Design Choices
3.6. 設計上の選択の根拠
3.6.1. Firewall Configuration Requirements
3.6.1. ファイアウォールの構成要件

The requirement that the i-HA cannot be reached from the external network is necessary. If not, a successful registration with the i-HA (without IPsec) cannot be used as a secure indication that the mobile node is inside. A possible solution to the obvious security problem would be to define and deploy a secure internal network detection mechanism based on, e.g., signed FA advertisement or signed DHCP messages.


However, unless the mechanism is defined for both FA and DHCP messages and is deployed in every internal network, it has limited applicability. In other words, the mobile node MUST NOT assume it is in the internal network unless it receives a signed FA or DHCP message (regardless of whether or not it can register directly with the i-HA). If it receives an unsigned FA or DHCP message, it MUST use IPsec; otherwise, the mobile node can be easily tricked into using plaintext.


Assuming that all FA and DHCP servers in the internal network are upgraded to support such a feature does not seem realistic; it is highly desirable to be able to take advantage of existing DHCP and FA deployments. Similar analysis seems to apply regardless of what kind of additional security mechanism is defined.


Because a firewall configuration error can have catastrophic data security consequences (silent exposure of user data to external attackers), a separate protection mechanism is provided by the i-HA. The i-HA must be configured, by the administrator, with a list of trusted networks. The i-HA advertises that it knows which registration request source addresses are trusted, using a registration reply extension (Trusted Networks Configured extension, Section 3.4). Without this extension, an MN may not rely on a successful registration to indicate that it is connected to the internal network. This ensures that user data compromise does not occur unless both the firewall and the i-HA are configured incorrectly. Further, occurrences of registration requests from untrusted addresses should be logged by the i-HA, exposing them to administrator review.

ファイアウォールの設定エラーが壊滅的なデータセキュリティへの影響(外部の攻撃者にユーザーデータのサイレント露出)を持つことができるので、別の保護メカニズムは、I-HAによって提供されます。 I-HAは、信頼できるネットワークのリストで、管理者は、設定する必要があります。 I-HAは、登録要求の送信元アドレスが登録応答拡張子(拡張子を設定した信頼できるネットワーク、セクション3.4)を使用して、信頼されているかを知っていることを通知します。この拡張機能がなければ、MNは、それが内部ネットワークに接続されていることを示すために、登録が成功に依存しないことがあります。これは、ファイアウォールとI-HAの両方が正しく構成されていない限り、ユーザーデータの妥協が発生しないことを保証します。さらに、信頼されていないアドレスからの登録要求の発生は、管理者の審査にさらす、I-HAによってログに記録されなければなりません。

3.6.2. Registration-Based Internal Network Monitoring
3.6.2. 登録ベースの内部ネットワークの監視

This issue also affects IPsec client security. However, as IPsec specifications take no stand on how and when client IPsec policies are configured or changed (for instance, in response to a change in network connectivity), the issue is out of scope for IPsec. Because this document describes an algorithm and requirements for (secure) internal network detection, the issue is in scope of the document.


The current requirement for internal network monitoring was added as a fallback mechanism.


3.6.3. No Encryption When Inside
3.6.3. 暗号化なしたときインサイド

If encryption was applied also when MN was inside, there would be no security reason to monitor the internal network periodically.


The main rationale for why encryption cannot be applied when the MN is inside was given in Section 1.6. In short, the main issues are (1) power consumption; (2) extra CPU load, especially because internal networks are typically switched networks and a lot of data may be routinely transferred; (3) existing HA devices do not typically integrate IPsec functionality; (4) (IPsec) encryption requires user authentication, which may be interactive in some cases (e.g., SecurID) and thus a usability issue; and (5) user may need to have separate credentials for VPN devices in the DMZ and the HA.

MNが内部の場合に暗号化を適用することができない理由のための主な根拠は、1.6節で与えられました。要するに、主な問題は、(1)消費電力です。 (2)余分なCPU負荷、特に内部ネットワークは、典型的には、ネットワークを切り替えてデータの多くは、日常的に転送することができるからです。 (3)既存のHAデバイスは、通常のIPsec機能を統合していません。 (4)(IPsec)の暗号化がある場合には、対話型であってもよい、ユーザ認証を必要とする(例えば、SecurIDの)ので、ユーザビリティの問題。 (5)利用者は、DMZおよびHAにおけるVPNデバイス用に別の資格情報を持っている必要があるかもしれません。

3.7. Improvements
3.7. 改善

The registration process can be improved in many ways. One simple way is to make the x-HA detect whether a registration request came from inside or outside the enterprise network. If it came from inside the enterprise network, the x-HA can simply drop the registration request.


This approach is feasible without protocol changes in scenarios where a corporation owns both the VPN and the x-HA. The x-HA can simply determine based on the incoming interface identifier (or the router that relayed the packet) whether or not the registration request came from inside.


In other scenarios, protocol changes may be needed. Such changes are out of scope of this document.


4. Requirements
4.1. Mobile Node Requirements
4.1. モバイルノードの要件

The mobile node MUST implement an internal network detection algorithm fulfilling the requirements set forth in Section 3.2. A new configurable MN parameter, T_MONITOR, is required. The value of this parameter reflects a balance between security and the amount of signaling overhead, and thus needs to be configurable. In addition, when doing internal network detection, the MN MUST NOT disable IPsec protection unless the registration reply from the i-HA contains a Trusted Networks Configured extension (Section 3.4).


The mobile node MUST support access modes c, f, cvc, fvc (Section 2).


The mobile node SHOULD support Mobile IPv4 NAT traversal [mipnat] for both internal and external Mobile IP.

モバイルノードは、[mipnat】内部と外部の両方のモバイルIPのためのモバイルIPv4 NATトラバーサルをサポートしなければなりません。

The mobile node SHOULD support IPsec NAT traversal [RFC3947] [RFC3948].

モバイルノードは、IPsec NATトラバーサル[RFC3947]、[RFC3948]をサポートすべきです。

When the mobile node has direct access to the i-HA, it SHOULD use only the inner Mobile IPv4 layer to minimize firewall and VPN impact.


When the mobile node is outside and using the VPN connection, IPsec policies MUST be configured to encrypt all traffic sent to and from the enterprise network. The particular Security Policy Database (SPD) entries depend on the type and configuration of the particular VPN (e.g., plain IPsec vs. L2TP/IPsec, full tunneling or split tunneling).

モバイルノードは、外部とのVPN接続を使用している場合、IPSecポリシーは、企業ネットワークへ及びから送信されたすべてのトラフィックを暗号化するように構成されなければなりません。特定のセキュリティポリシーデータベース(SPD)エントリは、特定のVPN(L2TP / IPsecの対例えば、無地のIPsec、フルトンネリングまたはスプリットトンネリング)の種類や構成によって異なります。

4.2. VPN Device Requirements
4.2. VPNデバイスの要件

The VPN security policy MUST allow communication using UDP to the internal home agent(s), with home agent port 434 and any remote port. The security policy SHOULD allow IP-IP to internal home agent(s) in addition to UDP port 434.


The VPN device SHOULD implement the IPsec NAT traversal mechanism described in [RFC3947] and [RFC3948].

VPN装置は、[RFC3947]及び[RFC3948]に記載されたIPsec NATトラバーサル機構を実装する必要があります。

4.3. Home Agent Requirements
4.3. ホームエージェントの要件

The home agent SHOULD implement the Mobile IPv4 NAT traversal mechanism described in [mipnat]. (This also refers to the i-HA: NAT traversal is required to support VPNs that NAT VPN tunnel addresses or block IP-IP traffic.)

ホームエージェントは、[mipnat]で説明したモバイルIPv4 NATトラバーサルメカニズムを実装する必要があります。 (これはまた、I-HAを意味:NATトラバーサルは、そのNAT VPNトンネルアドレスまたはブロックIP-IPトラフィックのVPNをサポートするために必要とされます。)

To protect user data confidentiality against firewall configuration errors, the i-HA:


o MUST be configured with a list of trusted IP subnets (containing only addresses from the internal network), with no subnets being trusted by default.


o MUST reject (drop silently) any registration request coming from a source address that is not inside any of the configured trusted subnets. These dropped registration requests SHOULD be logged.


o MUST include a Trusted Networks Configured extension (Section 3.4) in a registration reply sent in response to a registration request coming from a trusted address.


5. Analysis

This section provides a comparison against guidelines described in Section 6 of the problem statement [RFC4093] and additional analysis of packet overhead with and without the optional mechanisms.


5.1. Comparison against Guidelines
5.1. ガイドラインとの比較

Preservation of existing VPN infrastructure


o The solution does not mandate any changes to existing VPN infrastructure, other than possibly changes in configuration to avoid stateful filtering of traffic.


Software upgrades to existing VPN clients and gateways


o The solution described does not require any changes to VPN gateways or Mobile IPv4 foreign agents.


IPsec protocol


o The solution does not require any changes to existing IPsec or key exchange standard protocols, and does not require implementation of new protocols in the VPN device.


Multi-vendor interoperability


o The solution provides easy multi-vendor interoperability between server components (VPN device, foreign agents, and home agents). Indeed, these components need not be aware of each other.


o The mobile node networking stack is somewhat complex to implement, which may be an issue for multi-vendor interoperability. However, this is a purely software architecture issue, and there are no known protocol limitations for multi-vendor interoperability.


MIPv4 protocol


o The solution adheres to the MIPv4 protocol, but requires the new Trusted Networks Configured extension to improve the trustworthiness of internal network detection.


o The solution requires the use of two parallel MIPv4 layers.


Handoff overhead


o The solution provides a mechanism to avoid VPN tunnel SA renegotiation upon movement by using the external MIPv4 layer.


Scalability, availability, reliability, and performance


o The solution complexity is linear with the number of MNs registered and accessing resources inside the intranet.


o Additional overhead is imposed by the solution.


Functional entities


o The solution does not impose any new types of functional entities or required changes to existing entities. However, an external HA device is required.


Implications of intervening NAT gateways


o The solution leverages existing MIPv4 NAT traversal [mipnat] and IPsec NAT traversal [RFC3947] [RFC3948] solutions and does not require any new functionality to deal with NATs.

Oソリューションは、既存のMIPv4 NATトラバーサル[mipnat]とIPsec NATトラバーサル[RFC3947] [RFC3948]のソリューションを活用し、NATのに対処するための新たな機能を必要としません。

Security implications


o The solution requires a new mechanism to detect whether the mobile node is in the internal or the external network. The security of this mechanism is critical in ensuring that the security level provided by IPsec is not compromised by a faulty detection mechanism.


o When the mobile node is outside, the external Mobile IPv4 layer may allow some traffic redirection attacks that plain IPsec does not allow. Other than that, IPsec security is unchanged.


o More security considerations are described in Section 6.


5.2. Packet Overhead
5.2. パケットオーバーヘッド

The maximum packet overhead depends on access mode as follows:


o f: 0 octets

O F:0オクテット

o c: 20 octets


o fvc: 77 octets

O FVC:77個のオクテット

o cvc: 97 octets

CVC O:97個のオクテット

The maximum overhead of 97 octets in the 'cvc' access mode consists of the following:


o IP-IP for i-MIPv4: 20 octets

I-MIPv4のためのIP-IP O:20個のオクテット

o IPsec ESP: 57 octets total, consisting of 20 (new IP header), 4+4+8 = 16 (SPI, sequence number, cipher initialization vector), 7+2 = 9 (padding, padding length field, next header field), 12 (ESP authentication trailer)

IPsecのESP O:57個のオクテット20(新しいIPヘッダ)からなる、合計4 + 4 + 8 = 16(SPI、シーケンス番号、暗号初期化ベクトル)、7 + 2 = 9(パディング、パディング長フィールド、次ヘッダフィールド)、12(ESP認証トレーラ)

o IP-IP for x-MIPv4: 20 octets

X-MIPv4のためのIP-IP O:20個のオクテット

When IPsec is used, a variable amount of padding is present in each ESP packet. The figures were computed for a cipher with 64-bit block size, padding overhead of 9 octets (next header field, padding length field, and 7 octets of padding; see Section 2.4 of [RFC4303]), and ESP authentication field of 12 octets (HMAC-SHA1-96 or HMAC-MD5-96). Note that an IPsec implementation MAY pad with more than a minimum amount of octets.

IPsecを使用する場合、パディングの可変量は、各ESPパケットの中に存在します。 ([RFC4303]のセクション2.4を参照して次のヘッダフィールド、パディング長フィールド、及びパディングの7つのオクテット)、および12オクテットのESP認証フィールドの数値は、64ビットのブロックサイズ、9つのオクテットのパディングオーバーヘッドで暗号について計算しました。 (HMAC-SHA1-96またはHMAC-MD5-96)。オクテットの最小量以上とのIPsec実装MAYパッドことに注意してください。

NAT traversal overhead is not included, and adds 8 octets when IPsec NAT traversal [RFC3947] [RFC3948] is used and 12 octets when MIP NAT traversal [mipnat] is used. For instance, when using access mode cvc, the maximum NAT traversal overhead is 12+8+12 = 32 octets. Thus, the worst case scenario (with the above mentioned ESP assumptions) is 129 octets for cvc.

NATトラバーサルオーバーヘッドが含まれており、MIP NATトラバーサルは、[mipnat】使用する場合にIPsec NATトラバーサル[RFC3947]、[RFC3948]が使用される8つのオクテット12個のオクテットを追加していません。アクセスモードCVCを使用する場合、例えば、最大NATトラバーサルオーバーヘッドは12 + 8 + 12 = 32オクテットです。従って、(上記ESP仮定で)最悪の場合のシナリオは、CVCのために129オクテットです。

5.3. Latency Considerations
5.3. レイテンシの考慮事項

When the MN is inside, connection setup latency does not increase compared to standard MIPv4 if the MN implements the suggested parallel registration sequence (see Section 3.3). Exchange of RRQ/ RRP messages with the i-HA confirms the MN is inside, and the MN may start sending and receiving user traffic immediately. For the same reason, handovers in the internal network have no overhead relative to standard MIPv4.

MNが内部にある場合は、接続設定待ち時間は、MNが提案パラレル登録シーケンスを実装している場合(3.3節を参照)は、標準のMIPv4に比べて増加しません。 I-HAとのRRQ / RRPメッセージの交換は、MNが内部で確認し、MNは、送信とすぐにユーザトラフィックの受信を開始することができます。同じ理由のために、内部ネットワークにおけるハンドオーバは、標準のMIPv4へのオーバーヘッド相対がありません。

When the MN is outside, the situation is slightly different. Initial connection setup latency essentially consists of (1) registration with the x-HA, (2) optional detection delay (waiting for i-HA response), (3) IPsec connection setup (IKE), and (4) registration with the i-HA. All but (4) are in addition to standard MIPv4.

MNが外にある場合は、状況は少し異なります。初期接続セットアップ待ち時間は、本質的に、X-HA、I(2)任意の検出遅れ(I-HAの応答を待っている)、(3)のIPsec接続設定(IKE)、および(4)登録を用いて(1)登録から成り - HA。すべてが、(4)は、標準のMIPv4に追加されます。

However, handovers in the external network have performance comparable to standard MIPv4. The MN simply re-registers with the x-HA and starts to send IPsec traffic to the VPN gateway from the new address.

しかし、外部ネットワークにおけるハンドオーバは、標準のMIPv4に匹敵する性能を持っています。 MNは、単にX-HAに再登録され、新しいアドレスからVPNゲートウェイへのIPsecトラフィックの送信を開始します。

The MN may minimize latency by (1) not waiting for an i-HA response before triggering IKE if the x-HA registration succeeds and (2) sending first the RRQ most likely to succeed (e.g., if the MN is most likely outside). These can be done based on heuristics about the network, e.g., addresses, MAC address of the default gateway (which the mobile node may remember from previous access); based on the previous access network (i.e., optimize for inside-inside and outside-outside movement); etc.

MNは、x-HAの登録が成功すると、(2)最初に成功する可能性が最も高いRRQを送信した場合、IKEをトリガーする前に、(1)は、i-HA応答を待っていないことで、待ち時間を最小限にすることができる(例えば、MNは、外部の最も可能性がある場合) 。これらは、ネットワークに関するヒューリスティック、例えば、アドレス、(モバイルノードが前のアクセスから思い出すことができる)デフォルトゲートウェイのMACアドレスに基づいて行うことができます。前のアクセスネットワークに基づいて(すなわち、インサイド内外-外移動のために最適化)。等

5.4. Firewall State Considerations
5.4. ファイアウォールの状態の考慮事項

A separate firewall device or an integrated firewall in the VPN gateway typically performs stateful inspection of user traffic. The firewall may, for instance, track TCP session status and block TCP segments not related to open connections. Other stateful inspection mechanisms also exist.


Firewall state poses a problem when the mobile node moves between the internal and external networks. The mobile node may, for instance, initiate a TCP connection while inside, and later go outside while expecting to keep the connection alive. From the point of view of the firewall, the TCP connection has not been initiated, as it has not witnessed the TCP connection setup packets, thus potentially resulting in connectivity problems.


When the VPN-TIA is registered as a co-located care-of address with the i-HA, all mobile node traffic appears as IP-IP for the firewall.


Typically, firewalls do not continue inspection beyond the IP-IP tunnel, but support for deeper inspection is available in many products. In particular, an administrator can configure traffic policies in many firewall products even for IP-IP encapsulated traffic. If this is done, similar statefulness issues may arise.


In summary, the firewall must allow traffic coming from and going into the IPsec connection to be routed, even though they may not have successfully tracked the connection state. How this is done is out of scope of this document.


5.5. Intrusion Detection Systems (IDSs)
5.5. 侵入検知システム(IDS;侵入)

Many firewalls incorporate intrusion detection systems monitoring network traffic for unusual patterns and clear signs of attack. Since traffic from a mobile node implementing this specification is UDP to i-HA port 434, and possibly IP-IP traffic to the i-HA address, existing IDSs may treat the traffic differently than ordinary VPN remote access traffic. Like firewalls, IDSs are not standardized, so it is impossible to guarantee interoperability with any particular IDS system.


5.6. Implementation of the Mobile Node
5.6. モバイルノードの実装

Implementation of the mobile node requires the use of three tunneling layers, which may be used in various configurations depending on whether that particular interface is inside or outside. Note that it is possible that one interface is inside and another interface is outside, which requires a different layering for each interface at the same time.


For multi-vendor implementation, the IPsec and MIPv4 layers need to interoperate in the same mobile node. This implies that a flexible framework for protocol layering (or protocol-specific APIs) is required.


5.7. Non-IPsec VPN Protocols
5.7. 非IPsecのVPNプロトコル

The solution also works for VPN tunneling protocols that are not IPsec-based, provided that the mobile node is provided IPv4 connectivity with an address suitable for registration. However, such VPN protocols are not explicitly considered.


6. Security Considerations
6.1. Internal Network Detection
6.1. 内部ネットワーク検出

If the mobile node by mistake believes it is in the internal network and sends plaintext packets, it compromises IPsec security. For this reason, the overall security (confidentiality and integrity) of user data is a minimum of (1) IPsec security and (2) security of the internal network detection mechanism.


Security of the internal network detection relies on a successful registration with the i-HA. For standard Mobile IPv4 [RFC3344], this means HMAC-MD5 and Mobile IPv4 replay protection. The solution also assumes that the i-HA is not directly reachable from the external network, requiring careful enterprise firewall configuration. To minimize the impact of a firewall configuration problem, the i-HA is separately required to be configured with trusted source addresses (i.e., addresses belonging to the internal network), and to include an indication of this in a new Trusted Networks Configured extension. The MN is required not to trust a registration as an indication of being connected to the internal network, unless this extension is present in the registration reply. Thus, to actually compromise user data confidentiality, both the enterprise firewall and the i-HA have to be configured incorrectly, which reduces the likelihood of the scenario.

内部のネットワーク検出のセキュリティがi-HAに登録が成功に依存しています。標準モバイルIPv4 [RFC3344]のために、これはHMAC-MD5およびモバイルIPv4リプレイ保護を意味します。溶液はまた、I-HAは注意企業ファイアウォールの設定を必要とする外部ネットワークから直接に到達できないことを想定しています。ファイアウォール構成の問題の影響を最小限に抑えるために、I-HAは、別々に、信頼できるソースアドレス(すなわち、内部ネットワークに属するアドレス)で設定する必要がある、と新たな信頼できるネットワーク設定さエクステンションでこの指示を含めること。 MNは、この拡張は、登録応答内に存在しない限り、内部ネットワークに接続されているの指標として登録を信用しないことが要求されます。したがって、実際にユーザデータの機密性を妥協する、企業のファイアウォールとI-HAの両方のシナリオの可能性を減少させる、正しく構成されなければなりません。

When the mobile node sends a registration request to the i-HA from an untrusted network that does not go through the IPsec tunnel, it will reveal the i-HA's address, its own identity including the NAI and the home address, and the Authenticator value in the authentication extensions to the untrusted network. This may be a concern in some deployments.


When the connection status of an interface changes, an interface previously connected to the trusted internal network may suddenly be connected to an untrusted network. Although the same problem is also relevant to IPsec-based VPN implementations, the problem is especially relevant in the scope of this specification.


In most cases, mobile node implementations are expected to have layer 2 information available, making connection change detection both fast and robust. To cover cases where such information is not available (or fails for some reason), the mobile node is required to periodically re-register with the internal home agent to verify that it is still connected to the trusted network. It is also required that this re-registration interval be configurable, thus giving the administrator a parameter by which potential exposure may be controlled.


6.2. Mobile IPv4 versus IPsec
6.2. IPsecの対モバイルIPv4

MIPv4 and IPsec have different goals and approaches for providing security services. MIPv4 typically uses a shared secret for authentication of signaling traffic, while IPsec typically uses IKE (an authenticated Diffie-Hellman exchange) to set up session keys. Thus, the overall security properties of a combined MIPv4 and IPsec system depend on both mechanisms.

MIPv4のとIPsecは、セキュリティサービスを提供するためのさまざまな目標とアプローチを持っています。 IPsecは、典型的には、セッション鍵をセットアップするためにIKE(認証されたDiffie-Hellman交換)を使用しながらのMIPv4は、典型的には、トラフィックシグナリングの認証のために共有秘密を使用します。したがって、組み合わされたMIPv4とIPsecシステムの全体的なセキュリティ特性は、両方のメカニズムに依存します。

In the solution outlined in this document, the external MIPv4 layer provides mobility for IPsec traffic. If the security of MIPv4 is broken in this context, traffic redirection attacks against the IPsec traffic are possible. However, such routing attacks do not affect other IPsec properties (confidentiality, integrity, replay protection, etc.), because IPsec does not consider the network between two IPsec endpoints to be secure in any way.

このドキュメントで概説ソリューションでは、外部のMIPv4層は、IPsecトラフィックのモビリティを提供します。 MIPv4ののセキュリティは、この文脈で壊れている場合は、IPsecトラフィックに対するトラフィックリダイレクション攻撃が可能です。 IPsecはどのような方法で安全であるために、2つのIPsecエンドポイント間のネットワークを考慮していないので、しかし、そのようなルーティング攻撃は、他のIPsecの特性(機密性、完全性、再生保護、など)には影響しません。

Because MIPv4 shared secrets are usually configured manually, they may be weak if easily memorizable secrets are chosen, thus opening up redirection attacks described above. Note especially that a weak secret in the i-HA is fatal to security, as the mobile node can be fooled into dropping encryption if the i-HA secret is broken.

MIPv4の共有秘密は通常、手動で設定されているので、容易に記憶可能秘密は、上述したリダイレクション攻撃を、選択されたこのよう開放されている場合、それらは弱いかもしれません。 I-HA秘密が壊れている場合、モバイルノードが落下暗号化にだまされることが可能とI-HAの弱い秘密は、セキュリティに致命的であることに特に注意してください。

Assuming the MIPv4 shared secrets have sufficient entropy, there are still at least the following differences and similarities between MIPv4 and IPsec worth considering:


o Both IPsec and MIPv4 are susceptible to the "transient pseudo NAT" attack described in [pseudonat] and [mipnat], assuming that NAT traversal is enabled (which is typically the case). "Pseudo NAT" attacks allow an attacker to redirect traffic flows, resulting in resource consumption, lack of connectivity, and denial of service. However, such attacks cannot compromise the confidentiality of user data protected using IPsec.

O IPsecとMIPv4の両方がNATトラバーサル(通常ケースである)が有効であると仮定すると、[mipnat] [pseudonat]および記載された「過渡疑似NAT」攻撃を受けやすいです。 「疑似NAT」攻撃では、攻撃者が資源消費、接続性の欠如、およびサービス拒否が生じ、トラフィックフローをリダイレクトすることができます。しかし、このような攻撃は、IPsecを使用して保護されたユーザデータの機密性を妥協することはできません。

o When considering a "pseudo NAT" attack against standard IPsec and standard MIP (with NAT traversal), redirection attacks against MIP may be easier because:


* MIPv4 re-registrations typically occur more frequently than IPsec SA setups (although this may not be the case for mobile hosts).

*のMIPv4(これはモバイルホストのための場合ではないかもしれないが)、再登録は、通常のIPsec SAのセットアップよりも頻繁に起こります。

* It suffices to catch and modify a single registration request, whereas attacking IKE requires that multiple IKE packets are caught and modified.


o There may be concerns about mixing of algorithms. For instance, IPsec may be using HMAC-SHA1-96, while MIP is always using HMAC-MD5 (RFC 3344) or prefix+suffix MD5 (RFC 2002). Furthermore, while IPsec algorithms are typically configurable, MIPv4 clients typically use only HMAC-MD5 or prefix+suffix MD5. Although this is probably not a security problem as such, it is more difficult to communicate to users.

Oアルゴリズムの混合についての懸念があるかもしれません。 MIPは常にHMAC-MD5(RFC 3344)または接頭辞+接尾MD5(RFC 2002)を使用している間、例えば、IPsecは、HMAC-SHA1-96を使用してもよいです。 IPsecアルゴリズムは、一般的に構成されている間、さらに、MIPv4のクライアントは、一般的にのみHMAC-MD5または接頭語+接尾MD5を使用します。これはおそらくのようなセキュリティ上の問題ではありませんが、ユーザーと通信することがより困難です。

o When IPsec is used with a Public Key Infrastructure (PKI), the key management properties are superior to those of basic MIPv4. Thus, adding MIPv4 to the system makes key management more complex.


o In general, adding new security mechanisms increases overall complexity and makes the system more difficult to understand.


7. IANA Considerations
7. IANAの考慮事項

This document specifies a new skippable extension (in the short format) in Section 3.4, whose Type and Sub-Type values have been assigned.


Allocation of new Sub-Type values can be made via Expert Review and Specification Required [RFC5226].


8. Acknowledgements

This document is a joint work of the contributing authors (in alphabetical order):


           - Farid Adrangi (Intel Corporation)
           - Nitsan Baider (Check Point Software Technologies, Inc.)
           - Gopal Dommety (Cisco Systems)
           - Eli Gelasco (Cisco Systems)
           - Dorothy Gellert (Nokia Corporation)
           - Espen Klovning (Birdstep)
           - Milind Kulkarni (Cisco Systems)
           - Henrik Levkowetz (ipUnplugged AB)
           - Frode Nielsen (Birdstep)
           - Sami Vaarala (Codebay)
           - Qiang Zhang (Liqwid Networks, Inc.)

The authors would like to thank the MIP/VPN design team, especially Mike Andrews, Gaetan Feige, Prakash Iyer, Brijesh Kumar, Joe Lau, Kent Leung, Gabriel Montenegro, Ranjit Narjala, Antti Nuopponen, Alan O'Neill, Alpesh Patel, Ilkka Pietikainen, Phil Roberts, Hans Sjostrand, and Serge Tessier for their continuous feedback and helping us improve this document. Special thanks to Radia Perlman for giving the document a thorough read and a security review. Tom

著者は、特にマイク・アンドリュース、ガエタンFeige、プラカシュアイヤル、Brijesh Kumar氏、ジョー・ラウ、ケントレオン、ガブリエルモンテネグロ、ランジットNarjala、アンティNuopponen、アラン・オニール、Alpeshパテル、イルッカ、MIP / VPNの設計チームに感謝したいと思いますPietikainen、フィル・ロバーツ、ハンスSjostrand、およびセルジュテッシェ彼らの継続的なフィードバックのために、私たちはこの文書を改善を支援。文書に徹底した読み取りおよびセキュリティレビューを与えるためのラディア・パールマンに感謝します。トム

Hiller pointed out issues with battery-powered devices. We would also like to thank the previous Mobile IP working group chairs (Gabriel Montenegro, Basavaraj Patil, and Phil Roberts) for important feedback and guidance.


9. References
9.1. Normative References
9.1. 引用規格

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119]ブラドナーの、S.、 "要件レベルを示すためにRFCsにおける使用のためのキーワード"、BCP 14、RFC 2119、1997年3月。

[RFC3344] Perkins, C., Ed., "IP Mobility Support for IPv4", RFC 3344, August 2002.

[RFC3344]パーキンス、C.、エド。、 "IPv4のIPモビリティサポート"、RFC 3344、2002年8月。

[RFC3947] Kivinen, T., Swander, B., Huttunen, A., and V. Volpe, "Negotiation of NAT-Traversal in the IKE", RFC 3947, January 2005.

[RFC3947] Kivinen、T.、Swander、B.、Huttunen、A.、およびV.ボルペ、 "IKEにおけるNATトラバーサルのネゴシエーション"、RFC 3947、2005年1月。

[RFC3948] Huttunen, A., Swander, B., Volpe, V., DiBurro, L., and M. Stenberg, "UDP Encapsulation of IPsec packets", RFC 3948, January 2005.

[RFC3948] Huttunen、A.、Swander、B.、ボルペ、V.、DiBurro、L.、及びM.ステンバーグ、 "IPsecパケットのUDPカプセル化"、RFC 3948、2005年1月。

[RFC4301] Kent, S. and K. Seo, "Security Architecture for the Internet Protocol", RFC 4301, December 2005.

[RFC4301]ケント、S.とK. Seo、 "インターネットプロトコルのためのセキュリティアーキテクチャ"、RFC 4301、2005年12月。

[RFC4303] Kent, S., "IP Encapsulating Security Payload (ESP)", RFC 4303, December 2005.

[RFC4303]ケント、S.、 "IPカプセル化セキュリティペイロード(ESP)"、RFC 4303、2005年12月。

[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 5226, May 2008.

[RFC5226] Narten氏、T.とH. Alvestrand、 "RFCsにIANA問題部に書くためのガイドライン"、BCP 26、RFC 5226、2008年5月。

[mipnat] Levkowetz, H. and S. Vaarala, "Mobile IP Traversal of Network Address Translation (NAT) Devices", RFC 3519, April 2003.

[mipnat] Levkowetz、H.とS. Vaarala、 "モバイルIPトラバーサルネットワークのアドレス変換(NAT)デバイス"、RFC 3519、2003年4月。

[privaddr] Rekhter, Y., Moskowitz, B., Karrenberg, D., de Groot, G., and E. Lear, "Address Allocation for Private Internets", BCP 5, RFC 1918, February 1996.

【privaddr] Rekhter、Y.、モスコウィッツ、B.、Karrenberg、D.、デ・グルート、G.、およびE.リア、 "個人的なインターネットのための配分"、BCP 5、RFC 1918、1996年2月。

9.2. Informative References
9.2. 参考文献

[RFC2002] Perkins, C., "IP Mobility Support", RFC 2002, October 1996.

[RFC2002]パーキンス、C.、 "IPモビリティサポート"、RFC 2002、1996年10月。

[RFC3456] Patel, B., Aboba, B., Kelly, S., and V. Gupta, "Dynamic Host Configuration Protocol (DHCPv4) Configuration of IPsec Tunnel Mode", RFC 3456, January 2003.

[RFC3456]パテル、B.、Aboba、B.、ケリー、S.、およびV.グプタ、 "IPsecのトンネルモードの動的ホスト構成プロトコル(DHCPv4の)設定"、RFC 3456、2003年1月。

[RFC3776] Arkko, J., Devarapalli, V., and F. Dupont, "Using IPsec to Protect Mobile IPv6 Signaling Between Mobile Nodes and Home Agents", RFC 3776, June 2004.

[RFC3776] Arkko、J.、Devarapalli、V.、およびF.デュポン、 "モバイルノードとホームエージェント間のモバイルIPv6シグナリングを保護するためにIPsecを使用する"、RFC 3776、2004年6月。

[RFC4093] Adrangi, F. and H. Levkowetz, "Problem Statement: Mobile IPv4 Traversal of Virtual Private Network (VPN) Gateways", RFC 4093, August 2005.

[RFC4093] Adrangi、F.およびH. Levkowetz、 "問題文:仮想プライベートネットワーク(VPN)ゲートウェイのモバイルIPv4トラバーサル"、RFC 4093、2005年8月。

[RFC4282] Aboba, B., Beadles, M., Arkko, J., and P. Eronen, "The Network Access Identifier", RFC 4282, December 2005.

[RFC4282] Aboba、B.、Beadles、M.、Arkko、J.、およびP. Eronen、 "ネットワークアクセス識別子"、RFC 4282、2005年12月。

[RFC4555] Eronen, P., "IKEv2 Mobility and Multihoming Protocol (MOBIKE)", RFC 4555, June 2006.

[RFC4555] Eronen、P.、 "IKEv2のモビリティとマルチホーミングプロトコル(MOBIKE)"、RFC 4555、2006年6月。

[pseudonat] Dupont, F. and J. Bernard, "Transient pseudo-NAT attacks or how NATs are even more evil than you believed", Work in Progress, June 2004.


[tessier] Tessier, S., "Guidelines for Mobile IP and IPsec VPN Usage", Work in Progress, December 2002.

[テッシェ]テッシェ、S.、 "モバイルIPおよびIPsec VPNの使用のためのガイドライン"、進歩、2002年12月の作業。

Appendix A. Packet Flow Examples


A.1. Connection Setup for Access Mode 'cvc'


The following figure illustrates connection setup when the mobile node is outside and using a co-located care-of address. IKE connection setup is not shown in full, and involves multiple round trips (4.5 round trips when using main mode followed by quick mode).

モバイルノードが外部と同一位置気付アドレスを使用している場合は、次の図は、接続設定を示します。 IKE接続設定をフルに示されており、(クイックモードが続くメインモードを使用するときに4.5往復)、複数のラウンドトリップを必要とされていません。

    MN-APP      MN        x-HA       VPN        i-HA        CN
     !          !          !          !          !          !
     !          ! -------> !          !          !          !
     !          !  rrq     !          !          !          !
     !          ! -----------------X  !          !          ! rrq not
     !          !  rrq     !          !          !          ! received
     !          !          !          !          !          ! by i-HA
     !          ! <------- !          !          !          !
     !          !  rrp     !          !          !          !
     !          !          !          !          !          !
     !  [wait for detection period for response from i-HA]  !
     !  [may also retransmit to i-HA, depending on config]  ! no rrp
     !          !          !          !          !          ! from i-HA
     !          ! ==(1)==> !          !          !          !
     !          !  ike {1a}! -------> !          !          !
     !          !          !  ike     !          !          !
     !          !          ! <------- !          !          !
     !          ! <==(1)== !  ike     !          !          !
     !          !  ike     !          !          !          !
     :          :          :          :          :          :
     :          :          :          :          :          :
     !          !          !          !          !          !
     !          ! ==(2)==> !          !          !          !
     !          !  rrq {2a}! ==(1)==> !          !          !
     !          !          !  rrq {2b}! -------> !          !
     !          !          !          !  rrq {2c}!          !
     !          !          !          ! <------- !          !
     !          !          ! <==(1)== !  rrp     !          !
     !          ! <==(2)== !  rrp     !          !          !
     !          !  rrp     !          !          !          !
     !          !          !          !          !          !
    [[--- connection setup ok, bidirectional connection up ---]]
     !          !          !          !          !          !
     ! -------> !          !          !          !          !
     !  pkt {3a}! ==(3)==> !          !          !          !
     !          !  pkt {3b}! ==(2)==> !          !          !
     !          !          !  pkt {3c}! ==(1)==> !          !
     !          !          !          !  pkt {3d}! -------> !
     !          !          !          !          !  pkt {3e}!
     !          !          !          !          ! <------- !
     !          !          !          ! <==(1)== !  pkt     !
     !          !          ! <==(2)== !  pkt     !          !
     !          ! <==(3)== !  pkt     !          !          !
     !  <------ !  pkt     !          !          !          !
     !   pkt    !          !          !          !          !
     :          :          :          :          :          :
     :          :          :          :          :          :

The notation "==(N)==>" or "<==(N)==" indicates that the innermost packet has been encapsulated N times, using IP-IP, ESP, or MIP NAT traversal.

表記 "==(N)==>" または "<==(N)==" 最も内側のパケットがIP-IP、ESP、またはMIP NATトラバーサルを使用して、N回カプセル化されたことを示します。

Packets marked with {xx} are shown in more detail below. Each area represents a protocol header (labeled). Source and destination addresses or ports are shown underneath the protocol name when applicable. Note that there are no NAT traversal headers in the example packets.


       Packet {1a}
           ! IP      ! IP      ! UDP   ! IKE    !
           !  co-CoA !  x-HoA  !  500  !        !
           !  x-HA   !  VPN-GW !  500  !        !
       Packet {2a}
           ! IP      ! IP      ! ESP   ! IP       ! UDP   ! MIP RRQ !
           !  co-CoA !  x-HoA  !       !  VPN-TIA !  ANY  !         !
           !  x-HA   !  VPN-GW !       !  i-HA    !  434  !         !
       Packet {2b}
           ! IP      ! ESP   ! IP       ! UDP   ! MIP RRQ !
           !  x-HoA  !       !  VPN-TIA !  ANY  !         !
           !  VPN-GW !       !  i-HA    !  434  !         !
       Packet {2c}
           ! IP       ! UDP   ! MIP RRQ !
           !  VPN-TIA !  ANY  !         !
           !  i-HA    !  434  !         !
       Packet {3a}
           ! IP     ! user     !
           !  i-HoA ! protocol !
           !  CN    !          !
       Packet {3b}
           .------------------------------------------------------- -
           ! IP      ! IP      ! ESP ! IP       ! IP     ! user      \
           !  co-CoA !  x-HoA  !     !  VPN-TIA !  i-HoA ! protocol../
           !  x-HA   !  VPN-GW !     !  i-HA    !  CN    !           \
           `------------------------------------------------------- -
              - - -----------------.
             \..user     ! ESP     !
             /  protocol ! trailer !
             \           !         !
              - - -----------------'
       Packet {3c}
           ! IP      ! ESP ! IP       ! IP     ! user     ! ESP     !
           !  x-HoA  !     !  VPN-TIA !  i-HoA ! protocol ! trailer !
           !  VPN-GW !     !  i-HA    !  CN    !          !         !
       Packet {3d}
           ! IP       ! IP     ! user     !
           !  VPN-TIA !  i-HoA ! protocol !
           !  i-HA    !  CN    !          !
       Packet {3e}
           ! IP     ! user     !
           !  i-HoA ! protocol !
           !  CN    !          !

Packet {3b} with all NAT traversal headers (x-MIP, ESP, and i-MIP) is shown below for comparison.


       Packet {3b} (with NAT traversal headers)
           .------------------------------------------------- -
           ! IP      ! UDP  ! MIP    ! IP      ! UDP   ! ESP.. \
           !  co-CoA !  ANY ! tunnel !  x-HoA  !  4500 !       /
           !  x-HA   !  434 ! data   !  VPN-GW !  4500 !       \
           `------------------------------------------------- -
            <=== external MIPv4 ====> <=== IPsec ESP ======== = =
              - - ------------------------------------------------ -
             \..ESP ! IP       ! UDP  ! MIP    ! IP     ! user      \
             /      !  VPN-TIA !  ANY ! tunnel !  i-HoA ! protocol../
             \      !  i-HA    !  434 ! data   !  CN    !           \
              - - ------------------------------------------------ -
              = ===> <==== internal MIPv4 ====> <== user packet == =
              - - -----------------.
             \..user     ! ESP     !
             /  protocol ! trailer !
             \           !         !
              - - -----------------'
              = = ======> <= ESP =>

Authors' Addresses


Sami Vaarala Codebay P.O. Box 63 Espoo 02601 FINLAND

サミVaarala Codebayの私書箱ボックス63エスポー02601 FINLAND

Phone: +358 (0)50 5733 862 EMail:

電話番号:+358(0)50 5733 862 Eメール

Espen Klovning Birdstep Bryggegata 7 Oslo 0250 NORWAY

エスペンKlovning BirdstepのBryggegata 7オスロ0250 NORWAY

Phone: +47 95 20 26 29 EMail:

電話:+47 95 20 26 29 Eメール

Full Copyright Statement


Copyright (C) The IETF Trust (2008).


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.

この文書では、BCP 78に含まれる権利と許可と制限の適用を受けており、その中の記載を除いて、作者は彼らのすべての権利を保有します。


この文書とここに含まれている情報は、基礎とCONTRIBUTOR「そのまま」、ORGANIZATION HE / SHEが表すまたはインターネットSOCIETY、(もしあれば)を後援し、IETF TRUST ANDインターネットエンジニアリングタスクフォース放棄ALLに設けられています。保証は、明示または黙示、この情報の利用および特定目的に対する権利または商品性または適合性の黙示の保証を侵害しない任意の保証がこれらに限定されません。

Intellectual Property


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.

IETFは、本書またはそのような権限下で、ライセンスがたりないかもしれない程度に記載された技術の実装や使用に関係すると主張される可能性があります任意の知的財産権やその他の権利の有効性または範囲に関していかなる位置を取りません利用可能です。またそれは、それがどのような権利を確認する独自の取り組みを行ったことを示すものでもありません。 RFC文書の権利に関する手続きの情報は、BCP 78および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


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は、その注意にこの標準を実装するために必要とされる技術をカバーすることができる任意の著作権、特許または特許出願、またはその他の所有権を持ってすべての利害関係者を招待します。 ietf-ipr@ietf.orgのIETFに情報を記述してください。