JP2005210380A - Peer-to-peer communication method and communication system - Google Patents
Peer-to-peer communication method and communication system Download PDFInfo
- Publication number
- JP2005210380A JP2005210380A JP2004014297A JP2004014297A JP2005210380A JP 2005210380 A JP2005210380 A JP 2005210380A JP 2004014297 A JP2004014297 A JP 2004014297A JP 2004014297 A JP2004014297 A JP 2004014297A JP 2005210380 A JP2005210380 A JP 2005210380A
- Authority
- JP
- Japan
- Prior art keywords
- communication device
- communication
- peer
- address
- user data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
【課題】ピアツーピア(P2P)でのクローズドユーザグループ(CUG)通信を行う場合に、通信相手が多数となった場合でも、セキュアアソシエーション(SA)数の増加を回避できるP2PでのCUG通信方法及び通信システムを提供する。
【解決手段】ルータ装置1−1〜1−iが接続されるIP網のWAN回線4において、隣接するルータ装置1−1〜1−i間で、IPSecのトンネリングモードによりSAを確立しIPトンネルを生成する。これにより、ルータ装置1−1〜1−i間で論理的なリング網を構成する。
【選択図】図2P2P CUG communication method and communication capable of avoiding an increase in the number of secure associations (SA) even when the number of communication partners is large when performing peer-to-peer (P2P) closed user group (CUG) communication Provide a system.
In a WAN line 4 of an IP network to which router devices 1-1 to 1-i are connected, an SA is established between neighboring router devices 1-1 to 1-i by an IPSec tunneling mode, and an IP tunnel is established. Is generated. Thus, a logical ring network is configured between the router apparatuses 1-1 to 1-i.
[Selection] Figure 2
Description
本発明は、セキュアなクローズドユーザグループ(CUG/Closed Users Group/以下、「CUG」という。)におけるピアツーピア(P2P/Peer To Peer/以下、「P2P」という。)通信方式に関するものである。 The present invention relates to a peer-to-peer (P2P / Peer To Peer / hereinafter referred to as “P2P”) communication method in a secure closed user group (CUG / Closed Users Group / hereinafter referred to as “CUG”).
IP網による通信ネットワークにおいて、IPパケットの完全性や機密性を実現するために、暗号技術を用いたIPSec(Security Architecture for the Internet Protocol)が用いられる。このIPSecは、セキュリティサービスを提供するプロトコルであり、セキュアなIP通信を行うため、TCP/IPのIPユーザデータパケットに対する暗号化機能及び認証機能を備えている(非特許文献1,2を参照。)。
In a communication network using an IP network, IPSec (Security Architecture for the Internet Protocol) using encryption technology is used to realize the integrity and confidentiality of IP packets. This IPSec is a protocol that provides a security service, and has an encryption function and an authentication function for TCP / IP IP user data packets in order to perform secure IP communication (see Non-Patent
従来、IPSecによるCUG通信形態には、センタエンド型、ポイントツーポイント型及びフルメッシュ型がある。センタエンド型は、IPSecを終端する専用装置をセンタ拠点に設置し、この専用装置と、エンド拠点に設置した通信端末またはIPSecを有するルータ装置との間で通信を行うものである。このセンタエンド型は、センタ拠点が明確な企業網を構成するネットワークに用いられるが、各拠点が対等になっているP2P通信には適さない。 Conventionally, there are a center-end type, a point-to-point type, and a full mesh type in the form of CUG communication by IPSec. In the center end type, a dedicated device that terminates IPSec is installed at a center site, and communication is performed between the dedicated device and a communication terminal or a router device that has IPSec installed at the end site. This center end type is used for a network that forms a corporate network with a clear center location, but is not suitable for P2P communication in which each location is the same.
一方、ポイントツーポイント型は、各エンド拠点に設置した通信端末間またはIPSecを有するルータ装置間で通信を行うものである。また、フルメッシュ型は、ポイントツーポイント型の通信形態を複数対地に適用して通信を行うものである。このフルメッシュ型では、IPsecをP2P通信に適用すると、各ピアは他の全てのピアとの間でセキュアアソシエーション(SA/Security Association/以下、「SA」という。)を確立及び保持する必要がある。また、各ピアは、適切な対地に対してユーザデータパケットを送出するように、対地毎のルーティング規則を設定及び保持する必要もある。 On the other hand, the point-to-point type performs communication between communication terminals installed at each end site or between router devices having IPSec. Further, the full mesh type performs communication by applying a point-to-point type communication form to a plurality of grounds. In this full mesh type, when IPsec is applied to P2P communication, each peer needs to establish and maintain a secure association (SA / Security Association / hereinafter referred to as “SA”) with all other peers. . Each peer also needs to set and maintain a routing rule for each ground so that user data packets are sent to the appropriate ground.
しかしながら、上述したフルメッシュ型のCUGにおけるP2P通信(以下、「P2P/CUG通信」という。)では、確立及び保持しなければならないSAが対地数に比例して増加するため、通信端末及びルータ装置(通信装置)のプロセッサ資源及びメモリ資源を多く消費し、ユーザデータパケットの転送性能が劣化するという問題があった。また、対地数が増加するに従って、対地毎のルーティング規則の設定が煩雑になるという問題があった。 However, in the above-described P2P communication in the full mesh CUG (hereinafter referred to as “P2P / CUG communication”), the SA that needs to be established and held increases in proportion to the number of grounds. There is a problem that a large amount of processor resources and memory resources of the (communication device) are consumed, and the transfer performance of user data packets deteriorates. Further, as the number of grounds increases, there is a problem that the setting of routing rules for each ground becomes complicated.
このように、従来のフルメッシュ型のP2P/CUG通信では、通信端末や通信装置における資源の制約、及びユーザデータパケットの転送性能、及びルーティング規則の設定の観点から、大規模なP2P/CUG通信を実現することが困難であった。 As described above, in the conventional full mesh P2P / CUG communication, large-scale P2P / CUG communication is performed from the viewpoints of resource restrictions in the communication terminal and communication device, transfer performance of user data packets, and setting of routing rules. It was difficult to realize.
そこで、本発明は上記の問題に鑑みてなされたものであり、その第1の目的は、少数のSA及びIPトンネルにより、容易に通信規模を拡大可能なP2P/CUG通信方法及び通信システムを提供することにある。 Therefore, the present invention has been made in view of the above problems, and a first object thereof is to provide a P2P / CUG communication method and a communication system that can easily expand the communication scale with a small number of SAs and IP tunnels. There is to do.
また、本発明の第2の目的は、新たな通信装置をCUGに容易に追加可能なP2P/CUG通信方法及び通信システムを提供することにある。 A second object of the present invention is to provide a P2P / CUG communication method and a communication system that can easily add a new communication device to the CUG.
また、本発明の第3の目的は、CUGから通信装置が離脱した場合または通信装置が故障した場合に、通信を継続して維持可能なP2P/CUG通信方法及び通信システムを提供することにある。 A third object of the present invention is to provide a P2P / CUG communication method and communication system capable of continuously maintaining communication when the communication device is disconnected from the CUG or when the communication device fails. .
さらに、本発明の第4の目的は、IPトンネル以外の論理的通信手段を用いて、特定の通信装置間で高速に通信可能なP2P/CUG通信方法及び通信システムを提供することにある。 Furthermore, a fourth object of the present invention is to provide a P2P / CUG communication method and a communication system capable of performing high-speed communication between specific communication devices using logical communication means other than IP tunnels.
上記の第1の目的を達成するために、本発明によるP2P通信方法及び通信システムは、通信端末が接続される通信装置を複数備えたIP網の下で、送信元である通信装置または通信端末の発側装置から、送信先である通信装置または通信端末の着側装置へユーザデータパケットを送信する場合に、通信装置は、隣接する通信装置との間でIPSecによるIPトンネルを生成してリング網を構成し、着側装置のIPアドレスを着側IPアドレスとし、発側装置のIPアドレスを発側アドレスとして生成されたユーザデータパケットを暗号化し、当該通信装置に隣接する通信装置のIPアドレスをゲートウェイIPアドレスとしてユーザデータパケットに付与し、前記IPトンネルを用いてゲートウェイIPアドレス宛ての通信装置に前記ユーザデータパケットを送出することを特徴とする。また、ユーザデータパケットを受信した通信装置は、ユーザデータパケットを復号し、ユーザデータパケットの着側IPアドレスと当該自らの通信装置のIPアドレスとを比較し、前記IPアドレスが一致した場合、当該自らの通信装置が着側装置であるとしてユーザデータパケットを処理する。また、ユーザデータパケットの着側IPアドレスと当該通信装置の配下として接続される通信端末のIPアドレスとを比較し、前記IPアドレスが一致した場合、前記通信端末が着側装置であるとして、通信端末へユーザデータパケットを送信する。また、前記IPアドレスが一致しない場合、暗号化したユーザデータパケットまたは前記復号前のユーザデータパケットを、当該通信装置に隣接する通信装置へ送出する。また、ユーザデータパケットの発側IPアドレスと、当該自らの通信装置のIPアドレスまたは当該自らの通信装置の配下として接続される通信端末のIPアドレスとを比較し、前記IPアドレスが一致した場合、前記受信したユーザデータパケットを廃棄する。 In order to achieve the first object, a P2P communication method and communication system according to the present invention includes a communication device or a communication terminal that is a transmission source under an IP network including a plurality of communication devices to which communication terminals are connected. When the user data packet is transmitted from the originating device to the destination communication device or the destination device of the communication terminal, the communication device generates an IP tunnel by IPSec with the adjacent communication device to generate a ring. An IP address of a communication device adjacent to the communication device is configured by encrypting a user data packet generated by configuring the network and using the destination device IP address as the destination IP address and the source device IP address as the source address. Is assigned to the user data packet as a gateway IP address, and the user is transmitted to the communication device addressed to the gateway IP address using the IP tunnel. Characterized by delivering The data packets. The communication device that has received the user data packet decodes the user data packet, compares the destination IP address of the user data packet with the IP address of the communication device of its own, and if the IP address matches, The user data packet is processed assuming that its own communication device is the called device. Further, the destination IP address of the user data packet is compared with the IP address of the communication terminal connected as a subordinate of the communication device, and if the IP address matches, the communication terminal determines that the communication terminal is the destination device. A user data packet is transmitted to the terminal. If the IP addresses do not match, the encrypted user data packet or the undecrypted user data packet is sent to a communication device adjacent to the communication device. Further, when the IP address of the user data packet is compared with the IP address of the communication device connected to the IP address of the communication device or the IP address of the communication terminal connected under the control of the communication device, The received user data packet is discarded.
本発明の第1の特徴によれば、通信装置は、最小数2個のSA及びIPトンネルによって、CUG内の全てのピアと通信することができる。各ピアは、受信したユーザデータパケットが、自らの通信装置宛てであるか、自らの通信装置配下の通信端末宛てであるか、自らの通信装置から送出されたものであるか、自らの通信装置配下の通信端末を送信元として送出されたものであるかを判断することにより、そのユーザデータパケットの送出先を決定することが可能となる。 According to the first feature of the present invention, the communication device can communicate with all peers in the CUG by a minimum number of two SA and IP tunnels. Each peer receives its own user data packet, is addressed to its own communication device, is addressed to its own communication device, is transmitted from its own communication device, or is its own communication device It is possible to determine the transmission destination of the user data packet by determining whether or not the communication terminal is a transmission source.
また、上記の第2の目的を達成するために、本発明によるP2P通信方法及び通信システムは、前記リング網を構成する第1の通信装置と第2の通信装置との間に、新たな第3の通信装置を追加する場合に、第3の通信装置に、当該第3の通信装置に隣接する通信装置のIPアドレスとして第2の通信装置のIPアドレスが設定され、第1の通信装置に、当該第1の通信装置に隣接する通信装置のIPアドレスとして既に設定されている第2の通信装置のIPアドレスの代わりに、第3の通信装置のIPアドレスが設定され、第1の通信装置と第3の通信装置との間及び第3の通信装置と第2の通信装置との間に、それぞれIPSecによるIPトンネルを生成し、新たな第3の通信装置を追加したリング網を構成することを特徴とする。 In order to achieve the second object, a P2P communication method and a communication system according to the present invention provide a new first communication device between a first communication device and a second communication device constituting the ring network. When the third communication device is added, the IP address of the second communication device is set in the third communication device as the IP address of the communication device adjacent to the third communication device. The IP address of the third communication device is set instead of the IP address of the second communication device already set as the IP address of the communication device adjacent to the first communication device, and the first communication device And the third communication device and between the third communication device and the second communication device, an IP tunnel based on IPSec is generated, and a ring network in which a new third communication device is added is configured. It is characterized by that.
本発明の第2の特徴によれば、CUGへの新たな通信装置の追加は、リング網に追加される第3の通信装置と既存の第1の通信装置との2つの通信装置に、それぞれ隣接する通信装置の情報とSA及びIPトンネルの確立により行うことができる。このため、論理的なリング網を構成する通信装置が多数の場合であっても、通信装置のルーティング規則の変更は局所化され、リング網全体に対する影響を小さくすることができる。 According to the second feature of the present invention, the addition of a new communication device to the CUG is performed on two communication devices, a third communication device added to the ring network and an existing first communication device, respectively. This can be done by establishing information on adjacent communication devices and SA and IP tunnels. For this reason, even when there are a large number of communication devices constituting the logical ring network, the change of the routing rule of the communication device is localized, and the influence on the entire ring network can be reduced.
また、上記の第3の目的を達成するために、本発明によるP2P通信方法及び通信システムは、前記複数の通信装置のうちのいずれかの通信装置がリング網から離脱する場合に、前記リング網を構成する通信装置は、隣接する通信装置の離脱を検出し、前記生成した経路情報から、離脱した隣接する通信装置のIPアドレスを削除し、新たに隣接する通信装置を選択し、当該新たに隣接する通信装置との間にIPSecによるIPトンネルを生成し、離脱した通信装置を除いたリング網を構成することを特徴とする。 In order to achieve the third object, the P2P communication method and communication system according to the present invention provides a ring network when any one of the plurality of communication devices leaves the ring network. The communication device that constitutes the communication device detects the separation of the adjacent communication device, deletes the IP address of the separated adjacent communication device from the generated route information, selects a new adjacent communication device, and An IP tunnel based on IPSec is generated between adjacent communication devices, and a ring network excluding the disconnected communication device is configured.
本発明の第3の特徴によれば、離脱した通信装置に隣接していた通信装置が自律的にSAの確立とIPトンネルの生成を行うから、ネットワーク管理者等の手続きを必要としないでリング網を再構成することができる。また、通信装置自体の障害または通信ネットワークの障害によって通信装置が意図しないで離脱した場合にも、リング網を自律的に再構成することができ、CUG全体の通信が断状態にならないから、信頼性の高い通信ネットワークを実現することができる。 According to the third aspect of the present invention, since the communication device adjacent to the disconnected communication device autonomously establishes the SA and generates the IP tunnel, the ring is not required for the network administrator or the like. The net can be reconfigured. In addition, even when the communication device unintentionally leaves due to a failure of the communication device itself or a communication network, the ring network can be reconfigured autonomously, and communication of the entire CUG does not become disconnected. A highly reliable communication network can be realized.
また、上記の第4の目的を達成するために、本発明によるP2P通信方法及び通信システムは、前記発側装置である通信装置、または発側装置である通信端末に接続される通信装置は、所定の場合に、前記IPSecによるIPトンネルを用いることなく、着側装置である通信装置、または着側装置である通信端末に接続される通信装置へ、ユーザデータパケットを直接送出することを特徴とする。 In order to achieve the fourth object, a P2P communication method and communication system according to the present invention includes a communication device that is the calling side device or a communication device that is connected to a communication terminal that is the calling side device. In a predetermined case, a user data packet is directly transmitted to a communication device that is a destination device or a communication device that is connected to a communication terminal that is a destination device without using an IP tunnel based on IPSec. To do.
本発明の第4の特徴によれば、特定のピア間で高速な通信が可能になる。例えば、特定のピア間で大容量のファイルを交換する場合、IPトンネルによる論理的なリング網を介した通信を行うと、リング網は共用メディアであることから他のピア間の通信によって帯域が制限されてしまう。この場合、例えば特定のポート番号を用いたアプリケーションによりピア間で直接通信を行い、高速通信を実現する。 According to the fourth aspect of the present invention, high-speed communication is possible between specific peers. For example, when exchanging a large capacity file between specific peers, if communication is performed via a logical ring network using an IP tunnel, the ring network is a shared medium, so the bandwidth is reduced by communication between other peers. It will be restricted. In this case, for example, high-speed communication is realized by performing direct communication between peers by an application using a specific port number.
本発明によれば、隣接する通信装置との間でSAを確立し、IPトンネルを生成するようにしたから、対地数に比例した多数のSA及びIPトンネルは必要ない。これにより、通信装置における資源の制約、パケットの転送性能の劣化、及びルーティング規則の設定の煩雑さを回避できるから、スケーラブルなP2P通信でのセキュアなCUG通信網を構成することができる。また、SA及びIPトンネルを確立等するためのユーザ設定を簡単にすることができる。 According to the present invention, since an SA is established between adjacent communication devices and an IP tunnel is generated, a large number of SA and IP tunnels proportional to the number of grounds are not necessary. Accordingly, it is possible to avoid resource constraints, deterioration of packet transfer performance, and complicated setting of routing rules in the communication device, and thus a secure CUG communication network in scalable P2P communication can be configured. Also, user settings for establishing SA and IP tunnels can be simplified.
以下、図面を参照して、本発明のP2P/CUG通信方法及び通信システムの実施形態を説明する。
〔システム構成〕
図1は、本発明の実施の形態に係るP2P/CUG通信システムのリング網を簡略化した構成図である。このP2P/CUG通信システムは、ルータ装置1−1〜1−i、LAN装置2−1〜2−j及び情報端末3−1〜3−kから構成される(i,j,kは任意の自然数を表わす。)。ルータ装置1−1〜1−iはWAN回線4を介して接続され、ルータ装置1−1〜1−iはLAN装置2−1〜2−jにそれぞれ接続される。また、LAN装置2−1はLAN回線5−1を介して情報端末3−1,3−2に、LAN装置2−2はLAN回線5−2を介して情報端末3−3〜3−5に、LAN装置2−3はLAN回線5−3を介して情報端末3−6〜3−8に、LAN装置2−jはLAN回線5−mを介して情報端末3−kにそれぞれ接続される(mは任意の自然数を表わす。)。
Hereinafter, embodiments of a P2P / CUG communication method and a communication system according to the present invention will be described with reference to the drawings.
〔System configuration〕
FIG. 1 is a simplified configuration diagram of a ring network of a P2P / CUG communication system according to an embodiment of the present invention. This P2P / CUG communication system includes router devices 1-1 to 1-i, LAN devices 2-1 to 2-j, and information terminals 3-1 to 3-k (where i, j, and k are arbitrary). Represents a natural number.) The router devices 1-1 to 1-i are connected via the
ルータ装置1−1〜1−iは、インターネット、イントラネットまたは専用線等であるIP網であるルータ網を構成するWAN回線4を介して、他のルータ装置との間でSAを確立しIPトンネルを生成し通信を行う。また、ルータ装置は、LAN装置及びLAN回線を介して、またはLAN回線を介して、パーソナルコンピュータ(PC)等である情報端末と通信を行う。
The router apparatuses 1-1 to 1-i establish an SA with other router apparatuses via the
図2は、図1に示したルータ装置1−1〜1−i(以下、総称して「ルータ装置1」という。)の機能構成を説明するブロック図である。ルータ装置1は、WAN回線受信インタフェース11、WAN回線送信インタフェース12、SA処理部13、WAN側ルーティング処理部14、IPSec復号部15、IPSec暗号化部16、LAN側ルーティング処理部17、LAN回線送信インタフェース18及びLAN回線受信インタフェース19を備えている。
FIG. 2 is a block diagram illustrating a functional configuration of the router apparatuses 1-1 to 1-i (hereinafter collectively referred to as “
WAN回線受信インタフェース11は、他のルータ装置からWAN回線4を介してユーザデータパケット等を受信し、WAN回線送信インタフェース12は、WAN回線4を介して他のルータ装置へユーザデータパケット等を送出する。SA処理部13は、IPSecにおける論理的なコネクションであるSAを確立し、IPトンネルを生成し、SAの状態を監視する等の一連を処理を行う。
The WAN line reception interface 11 receives user data packets and the like from other router devices via the
WAN側ルーティング処理部14は、ユーザデータパケットの送出先となるゲートウェイIPアドレス20、自ルータ装置IPアドレス21、隣接するルータ装置のIPアドレス等のユーザデータパケットの宛先経路等に関する情報を有する経路情報テーブル22、ルータ装置1がWAN回線4側において実行する各種サービスに対応して割り振られた番号を有するポート番号テーブル25、及び特定のピア間で高速通信を行う場合に用いるデフォルトルータIPアドレス26を備え、ユーザデータパケット等の経路を決定する。
The WAN-side
IPSec復号部15は、暗号化されたユーザデータパケットを平文に復号し、IPSec暗号化部16は、平文のユーザデータパケットを暗号化する。LAN側ルーティング処理部17は、自らのルータ装置1の配下にある情報端末のIPアドレスを有するLAN側情報端末IPアドレステーブル23、及びルータ装置1がLAN回線5側において実行する各種サービスに対応して割り振られた番号を有するポート番号テーブル24を備え、ユーザデータパケット等の経路を決定する。
The IPSec decryption unit 15 decrypts the encrypted user data packet into plain text, and the IPSec encryption unit 16 encrypts the plain text user data packet. The LAN side
LAN回線送信インタフェース18は、LAN回線5を介して情報端末へデータパケットを送信し、LAN回線受信インタフェース19は、情報端末からLAN回線5を介してユーザデータパケットを受信する。
The LAN
〔通信方法〕
次に、情報端末3−1と情報端末3−6とを例にして、通信方法を具体的に説明する。ルータ装置1−1には、予め、WAN側ルーティング処理部14の経路情報テーブル22に、隣接ルータIPアドレスとしてルータ装置1−2のIPアドレス、次隣接ルータIPアドレスとしてルータ装置1−3のIPアドレス、その他のIPアドレスがそれぞれ格納され、LAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23に、自ルータ装置1−1配下の情報端末3−1,3−2のIPアドレスが格納されているものとする。同様に、ルータ装置1−2には、予め、WAN側ルーティング処理部14の経路情報テーブル22に、隣接ルータIPアドレスとしてルータ装置1−3のIPアドレス等が格納され、LAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23に、自ルータ装置1−2配下の情報端末3−3〜3−5のIPアドレスが格納されているものとする。また、ルータ装置1−3には、予め、WAN側ルーティング処理部14の経路情報テーブル22に、隣接ルータIPアドレスとしてルータ装置1−iのIPアドレス等が格納され、LAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23に、自ルータ装置1−3配下情報端末3−6〜3−8のIPアドレスが格納されているものとする。さらに、ルータ装置1−iには、予め、WAN側ルーティング処理部14の経路情報テーブル22に、隣接ルータIPアドレスとしてルータ装置1−1のIPアドレス等が格納され、LAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23に、自ルータ装置1−i配下の情報端末3−kのIPアドレスが格納されているものとする。尚、WAN側ルーティング処理部14の経路情報テーブル22に格納された経路情報は、後述する制御パケットの巡回により設定される。
〔Communication method〕
Next, the communication method will be specifically described using the information terminal 3-1 and the information terminal 3-6 as examples. The router apparatus 1-1 previously stores the IP address of the router apparatus 1-2 as the adjacent router IP address and the IP address of the router apparatus 1-3 as the next adjacent router IP address in the route information table 22 of the WAN side
情報端末3−1は、情報端末3−6のIPアドレスを着側IPアドレスとし、自IPアドレスを発側IPアドレスとするユーザデータパケットを作成する。そして、LAN回線5−1及びLAN装置2−1を介してルータ装置1−1へ当該ユーザデータパケットを送信する。 The information terminal 3-1 creates a user data packet having the IP address of the information terminal 3-6 as the destination IP address and the own IP address as the source IP address. Then, the user data packet is transmitted to the router device 1-1 via the LAN line 5-1 and the LAN device 2-1.
ルータ装置1−1のLAN回線受信インタフェース19は、ユーザデータパケットを受信し、LAN側ルーティング処理部17は、そのユーザデータパケットを解析する。具体的には、LAN側ルーティング処理部17は、ユーザデータパケットの着側IPアドレスがLAN側情報端末IPアドレステーブル23に格納されているか否かを確認し(着側IPアドレスとLAN側情報端末IPアドレステーブル23に格納されているIPアドレスとが一致するか否かを確認し)、ユーザデータパケットが自ルータ装置配下の情報端末宛てであるか否かを判断する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−6のIPアドレスが格納されていないことを確認し、ユーザデータパケットが自ルータ配下の情報端末宛てではないことを判断する。そして、LAN側ルーティング処理部17は、ユーザデータパケットをIPSec暗号化部16に出力し、IPSec暗号化部16は、IPSec暗号化を行う。
The LAN
ルータ装置1−1のWAN側ルーティング処理部14は、経路情報テーブル22から隣接ルータIPアドレスであるルータ装置1−2のIPアドレスを取得し、当該IPパケットをゲートウェイIPアドレス20として付与する。そして、WAN回線送信インタフェース12は、ユーザデータパケットをルータ装置1−2へ送出する。これにより、ユーザデータパケットは、ゲートウェイIPアドレス20であるルータ装置1−2へ送出されることになる。
The WAN side
次に、ルータ装置1−2のWAN回線受信インタフェース11は、ユーザデータパケットを受信し、IPSec復号部15は、WAN側ルーティング処理部14を介して入力したユーザデータパケットの復号を行う。LAN側ルーティング処理部17は、ユーザデータパケットを解析する。具体的には、LAN側ルーティング処理部17は、ユーザデータパケットの着側IPアドレスがLAN側情報端末IPアドレステーブル23に格納されているか否かを確認し、ユーザデータパケットが自ルータ装置配下の情報端末宛てであるか否かを判断する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−6のIPアドレスが格納されていないことを確認し、ユーザデータパケットが自ルータ配下の情報端末宛てではないことを判断する。そして、LAN側ルーティング処理部17は、ユーザデータパケットをIPSec暗号化部16に出力し、IPSec暗号化部16は、IPSec暗号化を行う。
Next, the WAN line reception interface 11 of the router device 1-2 receives the user data packet, and the IPSec decoding unit 15 decodes the user data packet input via the WAN side
ルータ装置1−2のWAN側ルーティング処理部14は、経路情報テーブル22から隣接ルータIPアドレスであるルータ装置1−3のIPアドレスを取得し、当該IPアドレスをゲートウェイIPアドレス20として付与する。そして、WAN回線送信インタフェース12は、ユーザデータパケットをルータ装置1−3へ送出する。
The WAN side
次に、ルータ装置1−3のWAN回線受信インタフェース11は、ユーザデータパケットを受信し、IPSec復号部15は、WAN側ルーティング処理部14を介して入力したユーザデータパケットの復号を行う。LAN側ルーティング処理部17は、上述したように、ユーザデータパケットを解析する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−6のIPアドレスが格納されていることを確認し、ユーザデータパケットが自ルータ配下の情報端末宛てであることを判断する。そして、LAN回線送信インタフェース18は、LAN装置2−3及びLAN回線5−3を介して情報端末3−6へ平文のユーザデータパケットを送信する。
Next, the WAN line reception interface 11 of the router apparatus 1-3 receives the user data packet, and the IPSec decoding unit 15 decodes the user data packet input via the WAN side
〔通信方法/受信側の情報端末が存在しない場合〕
次に、情報端末3−1とCUG内に存在しない情報端末3−xとを例にして、受信側の情報端末が存在しない場合の通信方法を具体的に説明する。ルータ装置1−1〜1−iにおけるWAN側ルーティング処理部14の経路情報テーブル22、及びLAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23には、それぞれ上述したデータが格納されているものとする。
[Communication method / when there is no information terminal on the receiving side]
Next, a communication method when there is no information terminal on the receiving side will be described in detail by taking the information terminal 3-1 and the information terminal 3-x that does not exist in the CUG as an example. The above-described data is stored in the route information table 22 of the WAN side
情報端末3−1は、情報端末3−xのIPアドレスを着側IPアドレスとし、自IPアドレスを発側IPアドレスとするユーザデータパケットを作成する。そして、情報端末3−1は、LAN回線5−1及びLAN装置2−1を介してルータ装置1−1へ当該ユーザデータパケットを送信する。 The information terminal 3-1 creates a user data packet having the IP address of the information terminal 3-x as the destination IP address and the own IP address as the source IP address. Then, the information terminal 3-1 transmits the user data packet to the router device 1-1 via the LAN line 5-1 and the LAN device 2-1.
ルータ装置1−1,1−2は、上述した処理と同じ処理をそれぞれ実行する。同様に、ルータ装置1−3,1−iも、上述したルータ装置1−1,1−2の処理と同じ処理を実行する。この場合、ユーザデータパケットの着側IPアドレスである情報端末3−xのIPアドレスが、それぞれのLAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23に格納されていない。従って、それぞれのLAN側ルーティング処理部17は、ユーザデータパケットが自ルータ配下の情報端末宛てではないことを判断する。そして、ルータ装置1−iのWAN回線送信インタフェース12は、ユーザデータパケットをルータ装置1−1へ送出する。
The router apparatuses 1-1 and 1-2 execute the same processes as those described above. Similarly, the router devices 1-3 and 1-i also execute the same processing as the processing of the router devices 1-1 and 1-2 described above. In this case, the IP address of the information terminal 3-x that is the destination IP address of the user data packet is not stored in the LAN-side information terminal IP address table 23 of each LAN-side
次に、ルータ装置1−1のWAN回線受信インタフェース11は、ユーザデータパケットを受信し、IPSec復号部15は、WAN側ルーティング処理部14を介して入力したユーザデータパケットの復号を行う。LAN側ルーティング処理部17は、ユーザデータパケットを解析する。具体的には、LAN側ルーティング処理部17は、ユーザデータパケットの発側IPアドレスである情報端末3−1のIPアドレスがLAN側情報端末IPアドレステーブル23に格納されているか否かを確認し、ユーザデータパケットがリング網のネットワークを巡回したか否かを判断する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−1のIPアドレスが格納されていることを確認し、ユーザデータパケットはリング網のネットワークを巡回したが宛先がないものであると判断する。そして、ルータ装置1−1のLAN側ルーティング処理部17は、そのユーザデータパケットを廃棄する。
Next, the WAN line reception interface 11 of the router device 1-1 receives the user data packet, and the IPSec decoding unit 15 decodes the user data packet input via the WAN side
〔経路情報取得方法〕
次に、ルータ装置1−1が経路情報を取得する方法を具体的に説明する。図3に、各ルータ装置から経路情報を収集するための制御パケットのフォーマットの例を示す。制御パケットは、宛先IPアドレス31及び送信元IPアドレス32を有するヘッダ30と、IPアドレステーブル34を有するペイロード33とから成る。
[Route information acquisition method]
Next, the method by which the router apparatus 1-1 acquires route information will be specifically described. FIG. 3 shows an example of a format of a control packet for collecting route information from each router device. The control packet includes a header 30 having a
ルータ装置1−1のWAN側ルーティング処理部14は、図3に示したペイロード33のIPアドレステーブル34の末尾に自IPアドレスを追記し、ヘッダ30の宛先IPアドレス31に隣接ルータ装置1−2のIPアドレスを付与し、ヘッダ30の送信元IPアドレス32に自IPアドレスを付与し、制御パケットを作成する。そして、WAN回線送信インタフェース12は、WAN回線4を介してルータ装置1−2へ制御パケットを送出する。この場合、ルータ装置1−1が制御パケットを初めて作成したとき、制御パケットのIPアドレステーブル34にはルータ装置1−1のIPアドレスのみが格納される。尚、ルータ装置1−1には、隣接するルータ装置1−2のIPアドレスが予め設定されているものとする。以下、同様に、ルータ装置1−2〜1−iにも、隣接するルータ装置1−3〜1−1のIPアドレスが予め設定されているものとする。
The WAN side
ルータ装置1−2のWAN回線受信インタフェース11は、WAN回線4を介して制御パケットを受信し、WAN側ルーティング処理部14は、ペイロード33のIPアドレステーブル34の末尾に自IPアドレスを追記し、ヘッダ30の宛先IPアドレス31に隣接ルータ装置1−3のIPアドレスを付与し、ヘッダ30の送信元IPアドレス32に自IPアドレスを付与し、制御パケットを作成する。そして、WAN回線送信インタフェース12は、WAN回線4を介してルータ装置1−3へ制御パケットを送出する。
The WAN line reception interface 11 of the router apparatus 1-2 receives the control packet via the
ルータ装置1−3,1−iは、ルータ装置1−1,1−2と同じ処理をそれぞれ実行する。これにより、制御パケットに各ルータ装置1−3,1−iのIPアドレスが順次追記される。そして、ルータ装置1−1のWAN回線受信インタフェース11は、WAN回線4を介してルータ装置1−iから制御パケットを受信する。図4に、リング網を巡回した後にルータ装置1−1が受信した制御パケットの構成を示す。ルータ装置1−1が受信した制御パケットは、宛先IPアドレス31にルータ装置1−1のIPアドレス、及び送信元IPアドレス32にルータ装置1−iのIPアドレスを有するヘッダ30と、ルータ装置1−1〜1−iのIPアドレスをIPアドレステーブル34に有するペイロード33とから成る。WAN側ルーティング処理部14は、受信した制御パケットのIPアドレステーブル34の先頭が自ルータ装置1−1のIPアドレスであると判断した場合は、当該IPアドレステーブル34に基づいて経路情報を生成し、WAN側ルーティング処理部14の経路情報テーブル22に格納する。
The router devices 1-3 and 1-i execute the same processing as the router devices 1-1 and 1-2, respectively. As a result, the IP addresses of the router apparatuses 1-3 and 1-i are sequentially added to the control packet. Then, the WAN line reception interface 11 of the router apparatus 1-1 receives the control packet from the router apparatus 1-i via the
次に、ルータ装置1−1のWAN側ルーティング処理部14は、制御パケットのIPアドレステーブル34の先頭の自ルータ装置1−1のIPアドレスを削除し、その末尾に自IPアドレスを追記し、再びヘッダ30の宛先IPアドレス31に隣接ルータ装置1−2のIPアドレスを付与し、ヘッダ30の送信元IPアドレス32に自IPアドレスを付与し、制御パケットを作成する。そして、WAN回線送信インタフェース12は、WAN回線4を介してルータ装置1−2へ制御パケットを送出する。
Next, the WAN-side
ルータ装置1−2〜1−iは、ルータ装置1−1と同じ処理を実行することにより、それぞれ経路情報を生成し、WAN側ルーティング処理部14の経路情報テーブル22に格納する。このような処理を繰り返すことにより、各ルータ装置1−1〜1−iは、制御パケットをリング網のネットワークに巡回させ、リング網全体の最新の経路情報に更新することができる。
The router devices 1-2 to 1-i execute the same processing as that of the router device 1-1 to generate route information and store the route information in the route information table 22 of the WAN side
〔ルータ装置の追加方法〕
次に、ルータ装置1−yを例にして、新規なルータ装置の追加方法について具体的に説明する。図5は、図1に示したP2P/CUG通信システムにおけるルータ装置1−3とルータ装置1−iとの間に、新規なルータ装置1−yを追加する場合のシステム構成図である。図5において、新規なルータ装置1−yには、ネットワーク管理者等により隣接するルータ装置1−iのIPアドレスが設定される。また、ルータ装置1−3には、隣接するルータ装置1−yのIPアドレスが設定される。そして、ルータ装置1−3,1−yのSA処理部13は、隣接するルータ装置1−y,1−iとの間でそれぞれSAを確立し、IPトンネルを生成することにより、新規なルータ装置1−yを追加した新たなリング網が再構成される。このように、これらの設定により、新規なルータ装置1−yをP2P/CUG通信システムのリング網に追加することができる。すなわち、ルータ装置1−1〜1−3,1−y,1−iは、それぞれ自らのIPアドレスを付記した制御パケットを、この順番に巡回させることができ、各ルータ装置1−1〜1−3,1−iにおけるWAN側ルーティング処理部14の経路情報テーブル22には、新規なルータ装置1−yを追加した経路情報が格納される。そして、これらの経路情報テーブル22に基づいて、ユーザデータパケットがリング網に送出される。
[How to add a router device]
Next, a method for adding a new router device will be specifically described with the router device 1-y as an example. FIG. 5 is a system configuration diagram when a new router device 1-y is added between the router device 1-3 and the router device 1-i in the P2P / CUG communication system shown in FIG. In FIG. 5, the IP address of the adjacent router device 1-i is set to the new router device 1-y by a network administrator or the like. The router device 1-3 is set with the IP address of the adjacent router device 1-y. Then, the
〔ルータ装置の離脱方法〕
次に、ルータ装置1−3を例にして、ルータ装置の離脱方法について具体的に説明する。図6は、図1に示したP2P/CUG通信システムにおけるルータ装置1−3がそのリング網から離脱する場合のシステム構成図である。ルータ装置1−2のSA処理部13は、ルータ装置1−3との間のSAが消失したことを検出する。ルータ装置1−2のWAN側ルーティング処理部14は、ルータ装置1−3との間のSAが消失しているため、ユーザデータパケットをWAN回線4へ送出する際に、経路情報テーブル22に格納された先頭の隣接ルータIPアドレスであるルータ装置1−3のIPアドレスを削除する。
[How to disconnect the router]
Next, taking the router apparatus 1-3 as an example, a method for detaching the router apparatus will be specifically described. FIG. 6 is a system configuration diagram when the router apparatus 1-3 in the P2P / CUG communication system shown in FIG. 1 leaves the ring network. The
次に、ルータ装置1−2のWAN側ルーティング処理部14は、上記削除後の経路情報テーブル22から、その先頭に格納されているルータ装置1−iのIPアドレスを取得し、ルータ装置1−iのIPアドレスを隣接ルータIPアドレスとして選択する。SA処理部13は、ルータ装置1−iとの間のSAを確立し、IPトンネルを生成する。そして、WAN側ルーティング処理部14は、ルータ装置1−iのIPアドレスをゲートウェイIPアドレス20として付与する。そして、WAN回線送信インタフェース12は、ユーザデータパケットをルータ装置1−iへ送出する。一方、各ルータ装置1−1〜1−iの経路情報は、上述した制御パケットの巡回により順次更新される。
Next, the WAN side
〔特定のピア間における高速通信方法〕
次に、情報端末3−1と情報端末3−6とを例にして、特定のピア間における高速通信方法を、図1を参照して具体的に説明する。尚、ルータ装置1−1〜1−iにおけるWAN側ルーティング処理部14の経路情報テーブル22、及びLAN側ルーティング処理部17のLAN側情報端末IPアドレステーブル23には、それぞれ上述したデータが格納されているものとする。また、ルータ装置1−1のデフォルトルータIPアドレス26には、ルータ装置1−3のIPアドレスが格納されているものとする。
[High-speed communication method between specific peers]
Next, taking the information terminal 3-1 and the information terminal 3-6 as examples, a high-speed communication method between specific peers will be specifically described with reference to FIG. The above-described data is stored in the route information table 22 of the WAN side
情報端末3−1は、情報端末3−6のIPアドレスを着側IPアドレスとし、自IPアドレスを発側IPアドレスとし、ポート番号をSとするユーザデータパケットを作成する。そして、情報端末3−1は、LAN回線5−1及びLAN装置2−1を介してルータ装置1−1へ当該ユーザデータパケットを送信する。 The information terminal 3-1 creates a user data packet with the IP address of the information terminal 3-6 as the called IP address, the own IP address as the calling IP address, and the port number as S. Then, the information terminal 3-1 transmits the user data packet to the router device 1-1 via the LAN line 5-1 and the LAN device 2-1.
ルータ装置1−1のLAN回線受信インタフェース19は、ユーザデータパケットを受信し、LAN側ルーティング処理部17は、そのユーザデータパケットを解析する。具体的には、LAN側ルーティング処理部17は、ユーザデータパケットの着側IPアドレスがLAN側情報端末IPアドレステーブル23に格納されているか否かを確認し、ユーザデータパケットが自ルータ装置配下の情報端末宛てであるか否かを判断する。また、ユーザデータパケットに特別なポート番号Sが設定されているか否かを確認し、ユーザデータパケットの直接通信、またはIPトンネルによるリング網を介した通信のいずれかを行うことを判断する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−6のIPアドレスが格納されていないことを確認し、ユーザデータパケットが自ルータ配下の情報端末宛てではないことを判断する。また、特別なポート番号Sが設定されていることを確認し、ポート番号テーブル24に格納されたポート番号Sに対応する機能を実現するため、暗号化及びWAN側ルーティング処理を行うことなく直接通信を行うことを判断する。そして、WAN回線送信インタフェース12は、デフォルトルータIPアドレス26であるルータ装置1−3のIPアドレスを取得し、当該IPアドレスをゲートウェイアドレスとして付与し、ユーザデータパケットをルータ装置1−3へ送出する。
The LAN
次に、ユーザデータパケットは、WAN回線4のIP転送機能により転送される。ルータ装置1−3のWAN回線受信インタフェース11は、ユーザデータパケットを受信し、WAN側ルーティング処理部14は、ユーザデータパケットに特別なポート番号が設定されていることを確認すると、ポート番号テーブル25に格納されたポート番号Sに対応する機能を実現するため、IPSec復号部15を介することなくLAN側ルーティング処理部17にユーザデータパケットを直接出力する。LAN側ルーティング処理部17は、ユーザデータパケットの着側IPアドレスがLAN側情報端末IPアドレステーブル23に格納されているか否かを確認し、ユーザデータパケットが自ルータ装置配下の情報端末宛てであるか否かを判断する。この場合、LAN側ルーティング処理部17は、LAN側情報端末IPアドレステーブル23に情報端末3−6のIPアドレスが格納されていることを確認し、ユーザデータパケットが自ルータ配下の情報端末宛てであることを判断する。そして、LAN回線送信インタフェース18は、LAN装置2−3及びLAN回線5−3を介して情報端末3−6へユーザデータパケットを送信する。
Next, the user data packet is transferred by the IP transfer function of the
以上のように、本発明の実施形態によれば、ルータ装置1−1は、IPSecのトンネリングモードによるIPトンネルを用いてルータ装置1−2,1−iと接続され、ルータ装置1−2は、IPSecのトンネリングモードによるIPトンネルを用いてルータ装置1−3,1−1と接続され、ルータ装置1−3は、IPSecのトンネリングモードによるIPトンネルを用いてルータ装置1−i,1−2と接続され、ルータ装置1−iは、IPSecのトンネリングモードによるIPトンネルを用いてルータ装置1−1,1−3と接続され、ルータ装置1−1〜1−iから成る論理的なリング網を構成するようにした。これにより、各ルータ装置1−1〜1−iは、2個のSA及びIPトンネルによってCUG内の全てのルータ装置とP2P通信を行うことができる。 As described above, according to the embodiment of the present invention, the router device 1-1 is connected to the router devices 1-2 and 1-i using the IP tunnel in the tunneling mode of IPSec, and the router device 1-2 is Are connected to router apparatuses 1-3 and 1-1 using IP tunnels in IPSec tunneling mode, and router apparatus 1-3 is connected to router apparatuses 1-i and 1-2 using IP tunnels in IPSec tunneling mode. The router device 1-i is connected to the router devices 1-1 and 1-3 using an IP tunnel in IPSec tunneling mode, and is a logical ring network including the router devices 1-1 to 1-i. Was configured. Thereby, each router apparatus 1-1 to 1-i can perform P2P communication with all the router apparatuses in the CUG through two SA and IP tunnels.
また、本発明の実施形態によれば、ルータ装置1−1〜1−iは、自らのIPアドレスを追記して制御パケットをリング網に巡回させ、経路情報を取得するようにした。これにより、巡回後の制御パケットを受信する毎に、新たな経路情報に更新することができる。 Further, according to the embodiment of the present invention, the router apparatuses 1-1 to 1-i additionally write their own IP addresses to circulate control packets to the ring network and acquire route information. Thereby, whenever it receives the control packet after a circulation, it can be updated to new route information.
また、本発明の実施形態によれば、CUGに新規なルータ装置1−yがルータ装置1−3とルータ装置1−iとの間に追加される場合、新規なルータ装置1−y及びこれに隣接する2つのルータ装置1−3,1−iに対する経路情報を変更し、ルータ装置1−yからルータ装置1−i及びルータ装置1−3からルータ装置1−yへのSA及びIPトンネルを確立及び保持すれば済むようにした。これにより、論理的なリング網を構成するルータ装置が多数になっても、ルーティング規則の変更は局所化され、リング網全体に対する影響は小さくなるから、容易に新規なルータ装置を追加することができる。 According to the embodiment of the present invention, when a new router device 1-y is added to the CUG between the router device 1-3 and the router device 1-i, the new router device 1-y and The route information for the two router devices 1-3, 1-i adjacent to each other is changed, and the SA and IP tunnels from the router device 1-y to the router device 1-i and the router device 1-3 to the router device 1-y are changed. Can be established and maintained. As a result, even if there are a large number of router devices that make up a logical ring network, changes to the routing rules are localized and the effect on the entire ring network is reduced, so new router devices can be easily added. it can.
また、本発明の実施形態によれば、CUGからルータ装置1−3が離脱した場合、ルータ装置1−2がそのSAを検出し、経路情報テーブル22からルータ装置1−3のIPアドレスを削除し、新たなルータ装置1−iを選択してSAを確立しIPトンネルを生成するようにした。これにより、ルータ装置1−2は、通信システム全体の通信を切断することなく自律的にSAの確立とIPトンネルの生成を行うことができ、リング網を再構成することができる。 Further, according to the embodiment of the present invention, when the router device 1-3 is disconnected from the CUG, the router device 1-2 detects the SA and deletes the IP address of the router device 1-3 from the route information table 22. Then, a new router device 1-i is selected to establish an SA and generate an IP tunnel. Thereby, the router apparatus 1-2 can autonomously establish an SA and generate an IP tunnel without disconnecting the communication of the entire communication system, and can reconfigure the ring network.
また、本発明の実施形態によれば、特別なポート番号Sを用いることにより、IPトンネルによるリング網を介することなく、ルータ装置のピア間で直接通信を行うようにした。これにより、リング網の一部に輻輳が発生した場合であっても、広帯域を確保でき、高速通信を実現することができる。また、ピア間通信のセキュリティについては、例えばポート番号を暗号化しないセキュアソケットレイヤ(SSL/Secure Sockets Layer)を適用することにより、維持することができる。 In addition, according to the embodiment of the present invention, by using a special port number S, direct communication is performed between peers of the router device without going through a ring network using an IP tunnel. As a result, even when congestion occurs in a part of the ring network, a wide band can be secured and high-speed communication can be realized. Further, the security of peer-to-peer communication can be maintained by applying a secure socket layer (SSL / Secure Sockets Layer) that does not encrypt the port number, for example.
以上実施形態を挙げて本発明を説明したが、本発明は上記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。例えば、上記実施形態では、図1に示したように、ルータ装置1−1〜1−iがWAN回線4に接続され、情報端末3−1〜3−kがLAN回線5−1〜5−mに接続される構成としたが、情報端末にルータ装置の機能を実装させることにより、情報端末をWAN回線4に直接接続させる構成にしてもよい。この場合、ルータ装置及びルータ装置の機能を実装した情報端末によりリング網が構成される。すなわち、WAN回線4に直接接続された情報端末は、WAN回線4を介してユーザデータパケットを受信すると、ユーザデータパケットの着側IPアドレスと自らのIPアドレスとを比較し、ユーザデータパケットが自情報端末宛てであるか否かを判断する。IPアドレスが一致した場合には、自情報端末宛てのユーザデータパケットとして処理する。一方、IPアドレスが一致しない場合には、IPSec暗号化を行い、隣接するルータ装置、またはWAN回線4に直接接続された他の情報端末へユーザデータパケットを送出する。また、ユーザデータパケットの発側IPアドレスと自らのIPアドレスとを比較し、一致した場合には、受信側のルータ装置または情報端末が存在しないとして、当該ユーザデータパケットを廃棄する。
Although the present invention has been described with reference to the embodiments, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the technical idea thereof. For example, in the above embodiment, as illustrated in FIG. 1, the router devices 1-1 to 1-i are connected to the
また、上記実施形態では、ルータ装置1−1〜1−iは、WAN回線4から受信したユーザデータパケットが自ルータ配下の情報端末宛てではないことを判断すると、ユーザデータパケットのIPSec暗号化を行い、隣接するルータ装置に送出するようにしたが、WAN回線4から受信したユーザデータパケットを復号する前に保存しておき、IPSec暗号化を行わないで、当該保存した復号前のユーザデータパケットをWAN回線4に送出するようにしてもよい。
In the above embodiment, when the router apparatuses 1-1 to 1-i determine that the user data packet received from the
また、上記実施形態では、ルータ装置1−1〜1−iが自IPアドレスを追記した後に制御パケットを巡回させるようにしたが、その巡回周期が短く、経路情報の更新が頻繁に行われる場合には、適当なタイマ値に基づいて制御パケットを送出することにより、巡回制御を行うようにしてもよい。 Further, in the above embodiment, the router apparatus 1-1 to 1-i circulates the control packet after adding its own IP address. However, when the circulation cycle is short and the route information is frequently updated. Alternatively, cyclic control may be performed by sending a control packet based on an appropriate timer value.
また、上記実施形態では、ルータ装置1−3の離脱は、CUGから意図して物理的に取り外した場合について説明したが、ルータ装置1−3自体の障害やWAN回線4の障害により、ルータ装置1−3が意図しないで離脱した場合にも同じ動作となり、通信システム全体の通信を切断することなく自律的にSAの確立とIPトンネルの生成を行うことができ、リング網を再構成することができる。
In the above-described embodiment, the router device 1-3 has been detached from the CUG and physically removed. However, the router device 1-3 itself or a
1,1−1〜1−i,1−y ルータ装置
2,2−1〜2−j LAN装置
3,3−1〜3−k,3−x 情報端末
4 WAN回線
5,5−1〜5−m LAN回線
11 WAN回線受信インタフェース
12 WAN回線送信インタフェース
13 SA処理部
14 WAN側ルーティング処理部
15 IPSec復号部
16 IPSec暗号化部
17 LAN側ルーティング処理部
18 LAN回線送信インタフェース
19 LAN回線受信インタフェース
20 ゲートウェイIPアドレス
21 自ルータ装置IPアドレス
22 経路情報テーブル
23 LAN側情報端末IPアドレステーブル
24,25 ポート番号テーブル
26 デフォルトルータIPアドレス
30 ヘッダ
31 宛先IPアドレス
32 送信元IPアドレス
33 ペイロード
34 IPアドレステーブル
1, 1-1 to 1-i, 1-
Claims (16)
前記通信装置は、
隣接する通信装置との間でIPSecによるIPトンネルを生成してリング網を構成し、
着側装置のIPアドレスを着側IPアドレスとし、発側装置のIPアドレスを発側アドレスとして生成されたユーザデータパケットを暗号化し、
当該通信装置に隣接する通信装置のIPアドレスをゲートウェイIPアドレスとしてユーザデータパケットに付与し、
前記IPトンネルを用いてゲートウェイIPアドレス宛ての通信装置へ前記ユーザデータパケットを送出することを特徴とするピアツーピア通信方法。 User data packets from the communication device that is the transmission source or the originating device of the communication terminal to the communication device that is the transmission destination or the destination device of the communication terminal under an IP network including a plurality of communication devices to which the communication terminal is connected A peer-to-peer communication method for transmitting
The communication device
Create an IP tunnel by IPSec with an adjacent communication device to configure a ring network,
The user data packet generated using the IP address of the called device as the called IP address and the IP address of the calling device as the calling address is encrypted,
The IP address of the communication device adjacent to the communication device is assigned to the user data packet as a gateway IP address,
A peer-to-peer communication method, comprising: transmitting the user data packet to a communication device addressed to a gateway IP address using the IP tunnel.
前記ユーザデータパケットを受信した通信装置は、
ユーザデータパケットを復号し、ユーザデータパケットの着側IPアドレスと当該自らの通信装置のIPアドレスとを比較し、
前記IPアドレスが一致した場合、当該自らの通信装置が着側装置であるとしてユーザデータパケットを処理することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 1,
The communication device that has received the user data packet includes:
Decode the user data packet, compare the destination IP address of the user data packet with the IP address of the communication device of its own,
A peer-to-peer communication method characterized in that if the IP addresses match, the user data packet is processed assuming that the communication device is the called device.
前記ユーザデータパケットを受信した通信装置は、
ユーザデータパケットを復号し、ユーザデータパケットの着側IPアドレスと当該自らの通信装置の配下として接続される通信端末のIPアドレスとを比較し、
前記IPアドレスが一致した場合、当該自らの通信装置の配下として接続される通信端末が着側装置であるとして、当該通信端末へユーザデータパケットを送信することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 1 or 2,
The communication device that has received the user data packet includes:
Decoding the user data packet, comparing the destination IP address of the user data packet with the IP address of the communication terminal connected as the subordinate of the own communication device,
A peer-to-peer communication method comprising: transmitting a user data packet to a communication terminal assuming that the communication terminal connected as a subordinate of the communication apparatus is a destination apparatus when the IP addresses match.
前記ユーザデータパケットを受信した通信装置は、
前記IPアドレスが一致しない場合、暗号化したユーザデータパケットまたは前記復号前のユーザデータパケットを、当該通信装置に隣接する通信装置へ送出することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 2 or 3,
The communication device that has received the user data packet includes:
A peer-to-peer communication method, comprising: transmitting an encrypted user data packet or an undecrypted user data packet to a communication device adjacent to the communication device when the IP addresses do not match.
前記ユーザデータパケットを受信した通信装置は、
ユーザデータパケットを復号し、ユーザデータパケットの発側IPアドレスと、当該自らの通信装置のIPアドレスまたは当該自らの通信装置の配下として接続される通信端末のIPアドレスとを比較し、
前記IPアドレスが一致した場合、受信したユーザデータパケットを廃棄することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 2 or 3,
The communication device that has received the user data packet includes:
Decoding the user data packet, comparing the originating IP address of the user data packet with the IP address of the own communication device or the IP address of the communication terminal connected as a subordinate of the own communication device,
A peer-to-peer communication method, comprising: discarding a received user data packet when the IP addresses match.
前記リング網を構成する通信装置は、
自らの通信装置のIPアドレスを付加した制御パケットを順次巡回させ、前記リング網を構成する通信装置の経路情報を生成することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to any one of claims 1 to 5,
The communication device constituting the ring network is:
A peer-to-peer communication method characterized by sequentially circulating control packets to which an IP address of its own communication device is added to generate route information of the communication devices constituting the ring network.
前記リング網を構成する第1の通信装置と第2の通信装置との間に、新たな第3の通信装置を追加する場合に、
第3の通信装置に、当該第3の通信装置に隣接する通信装置のIPアドレスとして第2の通信装置のIPアドレスが設定され、
第1の通信装置に、当該第1の通信装置に隣接する通信装置のIPアドレスとして既に設定されている第2の通信装置のIPアドレスの代わりに、第3の通信装置のIPアドレスが設定され、
第1の通信装置と第3の通信装置との間及び第3の通信装置と第2の通信装置との間に、それぞれIPSecによるIPトンネルを生成し、新たな第3の通信装置を追加したリング網を構成することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 6,
When a new third communication device is added between the first communication device and the second communication device constituting the ring network,
The IP address of the second communication device is set as the IP address of the communication device adjacent to the third communication device in the third communication device,
In the first communication device, the IP address of the third communication device is set instead of the IP address of the second communication device already set as the IP address of the communication device adjacent to the first communication device. ,
An IP tunnel was created by IPSec between the first communication device and the third communication device and between the third communication device and the second communication device, and a new third communication device was added. A peer-to-peer communication method comprising a ring network.
前記複数の通信装置のうちのいずれかの通信装置がリング網から離脱する場合に、
前記リング網を構成する通信装置は、
隣接する通信装置の離脱を検出し、前記生成した経路情報から、離脱した隣接する通信装置のIPアドレスを削除し、新たに隣接する通信装置を選択し、当該新たに隣接する通信装置との間にIPSecによるIPトンネルを生成し、離脱した通信装置を除いたリング網を構成することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to claim 6,
When any one of the plurality of communication devices leaves the ring network,
The communication device constituting the ring network is:
Detects the separation of an adjacent communication device, deletes the IP address of the separated adjacent communication device from the generated route information, selects a new adjacent communication device, and establishes a connection with the newly adjacent communication device A peer-to-peer communication method comprising: forming an IP tunnel by IPSec and configuring a ring network excluding the disconnected communication device.
前記発側装置である通信装置、または発側装置である通信端末に接続される通信装置は、
所定の場合に、前記IPSecによるIPトンネルを用いることなく、着側装置である通信装置、または着側装置である通信端末に接続される通信装置へ、ユーザデータパケットを直接送出することを特徴とするピアツーピア通信方法。 The peer-to-peer communication method according to any one of claims 1 to 8,
The communication device connected to the communication device that is the calling device or the communication terminal that is the calling device is:
In a predetermined case, a user data packet is directly transmitted to a communication device that is a destination device or a communication device that is connected to a communication terminal that is a destination device without using an IP tunnel based on IPSec. To peer-to-peer communication method.
前記通信装置は、
隣接する通信装置との間でIPSecによるIPトンネルを生成してリング網を構成するセキュア処理部と、
着側装置のIPアドレスを着側IPアドレスとし、発側装置のIPアドレスを発側アドレスとして生成されたユーザデータパケットを暗号化する暗号化部と、
当該通信装置に隣接する通信装置のIPアドレスをゲートウェイIPアドレスとしてユーザデータパケットに付与する第1のルーティング処理部と、
前記IPトンネルを用いてゲートウェイIPアドレス宛ての通信装置へ前記ユーザデータパケットを送出する送信インタフェースとを備えたことを特徴とするピアツーピア通信システム。 User data packets from the communication device that is the transmission source or the originating device of the communication terminal to the communication device that is the transmission destination or the destination device of the communication terminal under an IP network including a plurality of communication devices to which the communication terminal is connected A peer-to-peer communication system for transmitting
The communication device
A secure processing unit that creates an IP tunnel by IPSec with an adjacent communication device to form a ring network;
An encryption unit for encrypting a user data packet generated using the IP address of the called device as the called IP address and the IP address of the calling device as the calling address;
A first routing processing unit that assigns an IP address of a communication device adjacent to the communication device to a user data packet as a gateway IP address;
A peer-to-peer communication system comprising: a transmission interface for transmitting the user data packet to a communication device addressed to a gateway IP address using the IP tunnel.
前記リング網を構成する通信装置は、さらに、
ユーザデータパケットを受信する受信インタフェースと、
前記受信したユーザデータパケットを復号する復号部と、
前記ユーザデータパケットの着側IPアドレスと当該自らの通信装置のIPアドレスまたは当該自らの通信装置の配下として接続される通信端末のIPアドレスとを比較し、当該当該自らの通信装置のIPアドレスが一致した場合、当該自らの通信装置が着側装置であるとしてユーザデータパケットを処理し、前記通信端末のIPアドレスが一致した場合、前記通信端末が着側装置であるとして、通信端末へユーザデータパケットを送信し、
前記IPアドレスが一致しない場合、
第1のルーティング処理部及び送信インタフェースを介して、暗号化部により暗号化されたユーザデータパケットまたは前記復号前のユーザデータパケットを、当該通信装置に隣接する通信装置へ送出する第2のルーティング処理部を備えたことを特徴とするピアツーピア通信システム。 The peer-to-peer communication system according to claim 10,
The communication device constituting the ring network further includes:
A receiving interface for receiving user data packets;
A decoding unit for decoding the received user data packet;
The destination IP address of the user data packet is compared with the IP address of the own communication device or the IP address of the communication terminal connected as a subordinate of the own communication device, and the IP address of the own communication device is If there is a match, the user data packet is processed as if the communication device of interest is the called device, and if the IP address of the communication terminal matches, the user data is transmitted to the communication terminal as if the communication terminal is the called device. Send a packet,
If the IP addresses do not match,
Second routing processing for sending the user data packet encrypted by the encryption unit or the user data packet before decryption to the communication device adjacent to the communication device via the first routing processing unit and the transmission interface A peer-to-peer communication system comprising a unit.
前記リング網を構成する通信装置の第2のルーティング処理部は、さらに、
ユーザデータパケットの発側IPアドレスと、当該自らの通信装置のIPアドレスまたは当該自らの通信装置の配下として接続される通信端末のIPアドレスとを比較し、
前記IPアドレスが一致した場合、前記受信したユーザデータパケットを廃棄することを特徴とするピアツーピア通信システム。 The peer-to-peer communication system according to claim 11,
The second routing processing unit of the communication device configuring the ring network further includes:
Compare the originating IP address of the user data packet with the IP address of the own communication device or the IP address of the communication terminal connected under the control of the own communication device,
A peer-to-peer communication system, wherein when the IP addresses match, the received user data packet is discarded.
前記リング網を構成する通信装置の第1のルーティング処理部は、さらに、
自らの通信装置のIPアドレスを付加した制御パケットを順次巡回させ、前記リング網を構成する通信装置の経路情報を生成することを特徴とするピアツーピア通信システム。 In the peer-to-peer communication system according to any one of claims 10 to 12,
The first routing processing unit of the communication device constituting the ring network further includes:
A peer-to-peer communication system characterized in that a control packet to which an IP address of its own communication device is added is sequentially circulated to generate route information of the communication device constituting the ring network.
前記リング網を構成する第1の通信装置と第2の通信装置との間に、新たな第3の通信装置を追加する場合に、
第3の通信装置のセキュア処理部は、当該第3の通信装置に隣接する通信装置のIPアドレスとして第2の通信装置のIPアドレスが設定され、当該IPアドレスを用いて隣接する第2の通信装置との間に、IPSecによるIPトンネルを生成し、
第1の通信装置のセキュア処理部は、当該第1の通信装置に隣接する通信装置のIPアドレスとして既に設定されている第2の通信装置のIPアドレスの代わりに、第3の通信装置のIPアドレスが設定され、当該IPアドレスを用いて隣接する第3の通信装置との間に、IPSecによるIPトンネルを生成し、新たな第3の通信装置を追加したリング網を構成することを特徴とするピアツーピア通信システム。 The peer-to-peer communication system according to claim 13,
When a new third communication device is added between the first communication device and the second communication device constituting the ring network,
In the secure processing unit of the third communication device, the IP address of the second communication device is set as the IP address of the communication device adjacent to the third communication device, and the second communication adjacent to the third communication device using the IP address. Create an IPSec IP tunnel with the device,
The secure processing unit of the first communication device uses the IP address of the third communication device instead of the IP address of the second communication device already set as the IP address of the communication device adjacent to the first communication device. A ring network in which an IP address is set, an IP tunnel by IPSec is generated between the adjacent third communication apparatuses using the IP address, and a new third communication apparatus is added is configured. Peer-to-peer communication system.
前記複数の通信装置のうちのいずれかの通信装置がリング網から離脱する場合に、
前記リング網を構成する通信装置の第1のルーティング処理部は、前記生成した経路情報から、離脱した隣接する通信装置のIPアドレスを削除し、新たに隣接する通信装置を選択し、
前記セキュア処理部は、隣接する通信装置の離脱を検出し、前記ルーティング処理部により選択された新たに隣接する通信装置との間にIPSecによるIPトンネルを生成し、離脱した通信装置を除いたリング網を構成することを特徴とするピアツーピア通信システム。 The peer-to-peer communication system according to claim 13,
When any one of the plurality of communication devices leaves the ring network,
The first routing processing unit of the communication device constituting the ring network deletes the IP address of the separated adjacent communication device from the generated route information, and selects a new adjacent communication device,
The secure processing unit detects a disconnection of an adjacent communication device, generates an IP tunnel by IPSec with the newly adjacent communication device selected by the routing processing unit, and removes the disconnected communication device A peer-to-peer communication system comprising a network.
前記発側装置である通信装置、または発側装置である通信端末に接続される通信装置は、
所定の場合に、前記IPSecによるIPトンネルを用いることなく、着側装置である通信装置、または着側装置である通信端末に接続される通信装置へ、ユーザデータパケットを直接送出することを特徴とするピアツーピア通信システム。 The peer-to-peer communication system according to any one of claims 10 to 15,
The communication device connected to the communication device that is the calling device or the communication terminal that is the calling device is:
In a predetermined case, a user data packet is directly transmitted to a communication device that is a destination device or a communication device that is connected to a communication terminal that is a destination device without using an IP tunnel based on IPSec. Peer-to-peer communication system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004014297A JP2005210380A (en) | 2004-01-22 | 2004-01-22 | Peer-to-peer communication method and communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004014297A JP2005210380A (en) | 2004-01-22 | 2004-01-22 | Peer-to-peer communication method and communication system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005210380A true JP2005210380A (en) | 2005-08-04 |
Family
ID=34900131
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004014297A Pending JP2005210380A (en) | 2004-01-22 | 2004-01-22 | Peer-to-peer communication method and communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005210380A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008003879A (en) * | 2006-06-23 | 2008-01-10 | Nec Corp | Group participation management method, system, and program |
| US20110167475A1 (en) * | 2003-12-10 | 2011-07-07 | Paul Lawrence Hoover | Secure Access to Remote Resources Over a Network |
| JP2013515326A (en) * | 2009-12-21 | 2013-05-02 | アービトロン インコーポレイテッド | Distributed viewer measurement system and method |
| JP2014078830A (en) * | 2012-10-10 | 2014-05-01 | Softbank Mobile Corp | Analysis device, analysis method, and analysis program |
| US9628489B2 (en) | 2003-12-10 | 2017-04-18 | Sonicwall Inc. | Remote access to resources over a network |
| US10003576B2 (en) | 2003-12-10 | 2018-06-19 | Sonicwall Inc. | Rule-based routing to resources through a network |
-
2004
- 2004-01-22 JP JP2004014297A patent/JP2005210380A/en active Pending
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110167475A1 (en) * | 2003-12-10 | 2011-07-07 | Paul Lawrence Hoover | Secure Access to Remote Resources Over a Network |
| US9407456B2 (en) * | 2003-12-10 | 2016-08-02 | Aventail Llc | Secure access to remote resources over a network |
| US9628489B2 (en) | 2003-12-10 | 2017-04-18 | Sonicwall Inc. | Remote access to resources over a network |
| US9906534B2 (en) | 2003-12-10 | 2018-02-27 | Sonicwall Inc. | Remote access to resources over a network |
| US10003576B2 (en) | 2003-12-10 | 2018-06-19 | Sonicwall Inc. | Rule-based routing to resources through a network |
| US10135827B2 (en) | 2003-12-10 | 2018-11-20 | Sonicwall Inc. | Secure access to remote resources over a network |
| US10313350B2 (en) | 2003-12-10 | 2019-06-04 | Sonicwall Inc. | Remote access to resources over a network |
| JP2008003879A (en) * | 2006-06-23 | 2008-01-10 | Nec Corp | Group participation management method, system, and program |
| JP2013515326A (en) * | 2009-12-21 | 2013-05-02 | アービトロン インコーポレイテッド | Distributed viewer measurement system and method |
| JP2014078830A (en) * | 2012-10-10 | 2014-05-01 | Softbank Mobile Corp | Analysis device, analysis method, and analysis program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3785412B1 (en) | Dynamic scaling of virtual private network connections | |
| US9509663B2 (en) | Secure distribution of session credentials from client-side to server-side traffic management devices | |
| JP4407452B2 (en) | Server, VPN client, VPN system, and software | |
| US7548556B1 (en) | Secure communication through a network fabric | |
| EP1446907B1 (en) | Enabling secure communication in a clustered or distributed architecture | |
| US12432042B2 (en) | Network traffic obfuscation | |
| JP7395455B2 (en) | Transfer device, key management server device, communication system, transfer method and program | |
| JP2007520797A (en) | System and method for managing proxy requests on a secure network using inherited security attributes | |
| KR20070053345A (en) | Routing and IP Security Protocol Integration Structure | |
| US12120028B1 (en) | Secure data routing with channel resiliency | |
| CN101510889A (en) | Method and equipment for obtaining dynamic route | |
| CN111194541B (en) | Apparatus and method for data transmission | |
| US20210058312A1 (en) | Discovery for token secured routing | |
| JP2005210380A (en) | Peer-to-peer communication method and communication system | |
| JP5131118B2 (en) | Communication system, management device, relay device, and program | |
| Tay et al. | An IKEv2-based Approach for Remote Access VPN on MikroTik Router. | |
| US20260025368A1 (en) | Load distribution of internet protocol security tunnel for multicore processing | |
| US20250007718A1 (en) | Endpoint validation security | |
| CN112997449A (en) | Security method for data communication network | |
| Luu et al. | Using OpenSSH to secure mobile LAN network traffic | |
| HK1161787B (en) | Proxy ssl handoff via mid-stream renegotiation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060405 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20070615 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070615 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071213 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071225 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080826 |