JP4235672B2 - Information processing apparatus, data communication method, program, and recording medium - Google Patents

Information processing apparatus, data communication method, program, and recording medium Download PDF

Info

Publication number
JP4235672B2
JP4235672B2 JP2007174586A JP2007174586A JP4235672B2 JP 4235672 B2 JP4235672 B2 JP 4235672B2 JP 2007174586 A JP2007174586 A JP 2007174586A JP 2007174586 A JP2007174586 A JP 2007174586A JP 4235672 B2 JP4235672 B2 JP 4235672B2
Authority
JP
Japan
Prior art keywords
communication
address
local address
local
communication partner
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.)
Expired - Fee Related
Application number
JP2007174586A
Other languages
Japanese (ja)
Other versions
JP2007252007A (en
Inventor
英彦 横山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2007174586A priority Critical patent/JP4235672B2/en
Publication of JP2007252007A publication Critical patent/JP2007252007A/en
Application granted granted Critical
Publication of JP4235672B2 publication Critical patent/JP4235672B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、ルータと呼ばれるデータ中継装置を介さずに直接通信が可能な、同一ネットワークに接続された情報処理装置の間で安全に通信を行う方法およびシステムに関するものである。   The present invention relates to a method and system for safely communicating between information processing apparatuses connected to the same network, which can directly communicate without going through a data relay apparatus called a router.

従来、任意の通信手段を介して接続された情報処理装置間で通信を行う場合、ルータと呼ばれるデータ中継装置を介して、異なるネットワークに接続された情報処理装置間で例えは非特許文献1に開示されるグローバルアドレスが用いられている。また、通信相手と同一のネットワークに接続され、ルータを介すことなく通信相手と直接通信が可能な場合には、例えば非特許文献2に開示されるリンクローカルアドレスを使用することができる。   Conventionally, when communication is performed between information processing apparatuses connected via an arbitrary communication means, for example, Non-Patent Document 1 between information processing apparatuses connected to different networks via a data relay apparatus called a router. The disclosed global address is used. In addition, when the communication partner is connected to the same network as the communication partner and direct communication with the communication partner is possible without using a router, for example, a link local address disclosed in Non-Patent Document 2 can be used.

R.Hinden、M.O'Dell、S.Deering、1998年7月、インターネット<URL:http://www.ietf.org/rfc/rfc2374.txt>R. Hinden, M.O'Dell, S. Deering, July 1998, Internet <URL: http://www.ietf.org/rfc/rfc2374.txt> R.Hinden、S.Deering、2003年4月、インターネット<URL: http://www.ietf.org/rfc/rfc3513.txt>R.Hinden, S.Deering, April 2003, Internet <URL: http://www.ietf.org/rfc/rfc3513.txt>

しかしながら、上記従来技術では、グローバルアドレスを用いる場合、異なるネットワークに属する情報処理装置から当該情報処理装置に接続できることから、悪意のある者が当該情報処理装置に対して、多量のデータを連続的に送信することにより通信不能にするDoS(Denial Of Service)攻撃の対象となったり、DNS(Domain Name Service)により広く公開されており、且つ固定であることから、通信データの盗聴に遭い易いという問題があった。   However, in the above prior art, when a global address is used, an information processing device belonging to a different network can connect to the information processing device, so that a malicious person continuously sends a large amount of data to the information processing device. The problem is that it is subject to DoS (Denial Of Service) attacks that make communication impossible by sending it, or it is widely disclosed by DNS (Domain Name Service) and is fixed, so it is easy to intercept communication data. was there.

そこで、本発明の目的は、グローバルアドレスを狙ったサービス不能(DoS)攻撃や通信の盗聴等に対する危険性を減少させることにある。   Therefore, an object of the present invention is to reduce the risk of a denial-of-service (DoS) attack aimed at global addresses and wiretapping of communications.

本発明の情報処理装置は、ローカルネットワーク内の通信相手とのみ通信可能な、ローカルアドレスを用いた通信を行なうローカルアドレス通信手段と、ローカルネットワーク内の通信相手及び他のローカルネットワークの通信相手と通信可能な、グローバルアドレスを用いた通信を行なうグローバルアドレス通信手段と、通信相手に対して前記グローバルアドレス通信手段によるグローバロアドレスを用いた通信により接続要求を行なう接続要求手段と、前記接続要求に応答して前記通信相手から送信される、ローカルアドレスを用いた通信へ移行する要求を受信したことに応答してローカルアドレスを生成する生成手段とを有し、前記ローカルアドレス通信手段は、前記生成手段が生成したローカルアドレスを前記通信相手へ送信することを特徴とする。
本発明のデータ通信方法は、ローカルネットワーク内の通信相手とのみ通信可能な、ローカルアドレスを用いた通信を行なうローカルアドレス通信手段と、ローカルネットワーク内の通信相手及び他のローカルネットワークの通信相手と通信可能な、グローバルアドレスを用いた通信を行なうグローバルアドレス通信手段とを有する情報処理装置によるデータ通信方法であって、通信相手に対して前記グローバルアドレス通信手段によるグローバルアドレスを用いた通信により接続要求を行なう接続要求ステップと、前記接続要求に応答して前記通信相手から送信される、ローカルアドレスを用いた通信へ移行する要求を受信したことに応答してローカルアドレスを生成する生成ステップとを含み、前記ローカルアドレス通信手段は、前記生成ステップで生成されたローカルアドレスを前記通信相手へ送信することを特徴とする。
The information processing apparatus of the present invention communicates with a local address communication means for performing communication using a local address, which can communicate only with a communication partner in the local network, and a communication partner in the local network and a communication partner of another local network. Possible global address communication means for performing communication using a global address, connection request means for making a connection request to a communication partner by communication using a global address by the global address communication means, and responding to the connection request And generating means for generating a local address in response to receiving a request to shift to communication using a local address transmitted from the communication partner, wherein the local address communication means is the generating means To send the local address generated by The features.
The data communication method of the present invention includes a local address communication means for performing communication using a local address, capable of communicating only with a communication partner in a local network, and communicating with a communication partner in the local network and a communication partner of another local network. A data communication method by an information processing apparatus having a global address communication means for performing communication using a global address, wherein a connection request is made by communication using the global address by the global address communication means to a communication partner A connection request step to be performed; and a generation step of generating a local address in response to receiving a request to move to communication using a local address transmitted from the communication partner in response to the connection request; The local address communication means is the live address The local address generated in step and transmits to the communication party.

本発明によれば、通信相手とのデータ通信がデータ中継装置を介して行うデータ通信となるか否かに応じて、グローバルアドレスではなく、データ通信装置を介してのデータ通信が不可なローカルアドレスによるデータ通信を開始するように構成したので、グローバルアドレスを狙ったサービス不能(DoS)攻撃や通信の盗聴等に対する危険性を減少させることが可能となる。   According to the present invention, depending on whether or not data communication with a communication partner is data communication performed via a data relay device, not a global address but a local address where data communication via a data communication device is not possible Therefore, it is possible to reduce the risk of a denial of service (DoS) attack targeting a global address and wiretapping of communication.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

<第1の実施形態>
図1は、本発明の一実施形態に係る通信システムの構成を示す図である。情報処理装置101および102は、Ethernet(登録商標)等のLAN(ローカルエリアネットワーク)103に接続されており、第三者の仲介なしに相互に直接通信することが可能である。ルータ104は、LAN103とLAN105の間のデータを中継したり、逆に中継しないように動作する。情報処理装置106はLAN105と接続されており、ルータ104を介してLAN103上の情報処理装置101及び102と通信を行うことが可能である。
<First Embodiment>
FIG. 1 is a diagram showing a configuration of a communication system according to an embodiment of the present invention. The information processing apparatuses 101 and 102 are connected to a LAN (local area network) 103 such as Ethernet (registered trademark), and can directly communicate with each other without mediation of a third party. The router 104 operates so as to relay data between the LAN 103 and the LAN 105 or not to relay the data. The information processing device 106 is connected to the LAN 105, and can communicate with the information processing devices 101 and 102 on the LAN 103 via the router 104.

図2は図1のシステム構成を基に、アドレスの種類によるデータ通信の可否を示した図である。情報処理装置101、102及び106には、同一ネットワーク上の装置とのみ通信が可能なローカルアドレス(それぞれ202、204、206に相当)と、同一ネットワーク上の装置に加えて、ルータ104を介して異なるネットワーク上の装置とも通信が可能なグローバルアドレス(それぞれ201、203、205に相当)が設定されている。同一ネットワークであるLAN103に接続された情報処理装置101と102の間で通信をする場合は、グローバルアドレス201と203を用いるか、ローカルアドレス202と204を用いて通信が可能である。しかし、情報処理装置106から101に対して通信を行う場合、情報処理装置106のローカルアドレス206はルータ104により通信が遮断されるため、情報処理装置101のローカルアドレス202とは通信ができない。一方、情報処理装置106のグローバルアドレス205を用いた場合、ルータ104を通過できるため、情報処理装置101のグローバルアドレス201との間で通信が可能である。   FIG. 2 is a diagram showing whether data communication is possible depending on the type of address based on the system configuration of FIG. The information processing apparatuses 101, 102, and 106 have local addresses (corresponding to 202, 204, and 206, respectively) that can communicate only with apparatuses on the same network, and via the router 104 in addition to the apparatuses on the same network. Global addresses (corresponding to 201, 203, and 205, respectively) that can communicate with devices on different networks are set. When communication is performed between the information processing apparatuses 101 and 102 connected to the LAN 103 that is the same network, the global addresses 201 and 203 can be used, or the local addresses 202 and 204 can be used for communication. However, when communication is performed from the information processing apparatus 106 to 101, the local address 206 of the information processing apparatus 106 is blocked from being communicated by the router 104, and therefore cannot communicate with the local address 202 of the information processing apparatus 101. On the other hand, when the global address 205 of the information processing apparatus 106 is used, since it can pass through the router 104, communication with the global address 201 of the information processing apparatus 101 is possible.

図3、図4及び図5は、図1の通信システム構成における、情報処理装置101、102及び106で動作する、通信アドレス変更処理の一例を示したフローチャートである。以下、図3及び図4のフローチャートを用いて、本発明の第1の実施形態を説明する。   3, 4, and 5 are flowcharts illustrating an example of a communication address change process that operates in the information processing apparatuses 101, 102, and 106 in the communication system configuration of FIG. 1. Hereinafter, the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. 3 and 4.

図3のステップS301で他の装置から接続要求があったかどうかを判定し、接続要求がなければ、図4のステップS401へ進む。接続要求があると、ステップS302で接続がグローバルアドレスに対するものかどうかを判定しグローバルアドレスで無い場合、即ちローカルアドレスである場合、ステップS310で、接続元の装置のローカルアドレスが、保存されているローカルアドレスと一致するかどうかを判定し、一致すれば、ステップS401へ進み、ローカルアドレスによるデータ通信が行われる。一方、一致しなければ、不当な接続であると推測されることから、ステップS311でコネクションを切断して、ステップS401へ進む。なお、ローカルアドレスは、RFC3513で規定されたIPv6(Internet Protocol Version 6)におけるリンクローカルアドレスに相当するものであると仮定する。   In step S301 in FIG. 3, it is determined whether or not there is a connection request from another device. If there is no connection request, the process proceeds to step S401 in FIG. If there is a connection request, it is determined in step S302 whether the connection is to a global address. If it is not a global address, that is, if it is a local address, the local address of the connection source device is stored in step S310. It is determined whether or not it matches the local address, and if it matches, the process proceeds to step S401, and data communication is performed using the local address. On the other hand, if they do not match, it is presumed that the connection is illegal, so the connection is disconnected in step S311 and the process proceeds to step S401. The local address is assumed to correspond to a link local address in IPv6 (Internet Protocol Version 6) defined by RFC3513.

ステップS302でグローバルアドレスであると判定されると、ステップS303で、接続元の装置とのデータ通信がルータを介して行うデータ通信となるか否かを、当該接続元の装置がローカルサブネットに接続されているかどうかで判定する。ローカルサブネットに接続されているかどうかは、IPパケットのソースアドレスに記述された接続元の装置のアドレスを設定した、ARP(Address Resolution Protocol/RFC826)パケットを発行し、有意なパケットが返ってきた場合に、ローカルサブネットに接続されていると判定する。   If it is determined in step S302 that the address is a global address, in step S303, whether or not the data communication with the connection source device is the data communication performed via the router, the connection source device connects to the local subnet. It is judged by whether it is done. Whether or not it is connected to the local subnet is determined by issuing an ARP (Address Resolution Protocol / RFC826) packet in which the address of the connection source device described in the source address of the IP packet is set and returning a significant packet It is determined that it is connected to the local subnet.

ステップS303で、ローカルサブネットに接続されていない、即ち、ルータを介して他のネットワークに接続された装置であると判定すると、ローカルアドレスによる通信を行えないことから、ステップS401に進む。ステップS303でローカルサブネットに接続されていると判定されると、ステップS304で、アドレス移行要求を送信する。アドレス移行要求には自機のローカルアドレスが設定されており、これを受信した装置がアドレス移行に許諾した場合、接続先とのコネクションが切断されると、このローカルアドレスに対して再接続を行う。そして、ステップS305で、アドレス移行要求に対応する応答があったかどうかを判定し、応答が無ければ、ステップS306で予め規定されたタイムアウト時間を経過したかどうかを判定する。   If it is determined in step S303 that the device is not connected to the local subnet, that is, is a device connected to another network via a router, communication using the local address cannot be performed, and the process proceeds to step S401. If it is determined in step S303 that it is connected to the local subnet, an address migration request is transmitted in step S304. In the address transfer request, the local address of its own device is set, and if the device that has received this permits the address transfer, if the connection with the connection destination is disconnected, the local address is reconnected. . In step S305, it is determined whether or not there is a response corresponding to the address transfer request. If there is no response, it is determined in step S306 whether or not a predefined timeout period has elapsed.

タイムアウト時間を経過していなければ、ステップS305に戻り、タイムアウト時間を経過していれば、何らかの障害が発生していると考えられることから、ステップS307でコネクションを切断して、ステップS401の処理に進む。ステップS305でアドレス移行要求に対応する応答を受信すると、ステップS308で、応答がアドレス移行許諾応答かどうかを判定する。アドレス移行許諾応答であれば、ステップS309で、アドレス許諾応答に含まれている、暗号化されたローカルアドレスを復号化して保存する。   If the time-out period has not elapsed, the process returns to step S305. If the time-out period has elapsed, it is considered that some kind of failure has occurred. Therefore, the connection is disconnected in step S307, and the process of step S401 is performed. move on. When a response corresponding to the address transfer request is received in step S305, it is determined in step S308 whether the response is an address transfer permission response. If it is an address migration permission response, the encrypted local address included in the address permission response is decrypted and stored in step S309.

アドレス許諾応答には、送信元のローカルアドレスが、盗聴防止のため(アドレス移行要求を送信した)当該装置の公開鍵により暗号化されていることから、当該装置の秘密鍵を用いて復号化する必要がある。ステップS309でローカルアドレスの復号化と保存を終えると、ステップS307に進み、コネクションを切断して、ステップS401に進む。アドレス移行要求とそれに対応したアドレス許諾応答が正常に処理されると、グローバルアドレスを用いたコネクションは切断し、次に、アドレス許諾応答に含まれていたローカルアドレスを用いて新しいコネクションが張られる。   In the address permission response, the local address of the transmission source is encrypted with the public key of the device to prevent eavesdropping (transmitting the address transfer request), and is decrypted using the private key of the device. There is a need. When the decryption and storage of the local address is completed in step S309, the process proceeds to step S307, the connection is disconnected, and the process proceeds to step S401. When the address transfer request and the corresponding address grant response are processed normally, the connection using the global address is disconnected, and then a new connection is established using the local address included in the address grant response.

続いて図4のステップS401で、アドレス移行要求を受信したかどうかを判定し、受信していなければステップS405へ進む。アドレス移行要求を受信すると、ステップS402で、ローカルアドレスを生成する。IPv6の場合、ローカルアドレスは、リンクローカルアドレスと呼ばれ、RFC3513で規定されているが、これは、上位64ビットが16進数で「fe80000000000000」、下位64ビットが、装置の固有ID(IEEE802 MACアドレス/48ビット)のうち、company_id(24ビット)とベンダーユニークID(24ビット)の間に16進数の「fffe」(16ビット)を挿入して64ビット化したものを合成することにより得られる。ステップS403では、ステップS402で生成したリンクローカルアドレスを、アドレス移行要求を送信した装置の公開鍵により暗号化し、ステップS404で、暗号化されたリンクローカルアドレスを含んだアドレス移行許諾応答を送信してステップS405に進む。ステップS405では、コネクションの切断が行われたかどうかを判定し、切断されていなければ、図3のステップS301の処理に戻り、切断されると、処理を終了する。   Subsequently, in step S401 in FIG. 4, it is determined whether an address transfer request has been received. If not received, the process proceeds to step S405. When the address transfer request is received, a local address is generated in step S402. In the case of IPv6, the local address is called a link local address and is defined in RFC3513. This is because the upper 64 bits are “fe80000000000000” in hexadecimal and the lower 64 bits are the unique ID (IEEE802 MAC address of the device). / 48 bits) is obtained by synthesizing 64 bits by inserting hexadecimal “fffe” (16 bits) between company_id (24 bits) and vendor unique ID (24 bits). In step S403, the link local address generated in step S402 is encrypted with the public key of the device that transmitted the address transfer request, and in step S404, an address transfer permission response including the encrypted link local address is transmitted. Proceed to step S405. In step S405, it is determined whether or not the connection has been disconnected. If the connection has not been disconnected, the process returns to step S301 in FIG. 3, and if disconnected, the process ends.

以上、説明したように本実施形態によれば、グローバルアドレスにより接続された情報処理装置において、接続してきた装置が、同一ネットワークに接続されていると判定すると、ローカルアドレス移行要求を送信し、これに対応したローカルアドレス移行許諾応答を受信すると、以降の通信がローカルアドレスを用いて行われる。このように、既知のグローバルアドレスは最初のネゴシエーション時のみに利用し、実際の通信をローカルアドレスで行うことから、グローバルアドレスを狙ったサービス不能(DoS)攻撃や通信の盗聴等に対する危険性を減少させることができる。   As described above, according to the present embodiment, when the information processing apparatus connected by the global address determines that the connected apparatus is connected to the same network, the local address migration request is transmitted, When the local address migration permission response corresponding to is received, the subsequent communication is performed using the local address. In this way, the known global address is used only during the initial negotiation, and the actual communication is performed using the local address, so the risk of denial of service (DoS) attacks targeting the global address and wiretapping of communication is reduced. Can be made.

<第2の実施形態>
第1の実施形態では、RFC3513で規定されたリンクローカルアドレス形式を利用していたが、リンクローカルアドレスは、下位64ビットが情報処理装置に装着されたネットワーク装置の固有アドレスより生成されることから、一旦情報処理装置とリンクローカルアドレスの対応付けが分かると、ルータを介して他のネットワーク上の情報処理装置からの攻撃や盗聴の危機を回避することは可能であるものの、依然として同一ネットワーク上の情報処理装置からの攻撃や盗聴に対する危険が存在する。
<Second Embodiment>
In the first embodiment, the link local address format defined in RFC3513 is used. However, the link local address is generated from the unique address of the network device in which the lower 64 bits are attached to the information processing device. Once the association between the information processing device and the link local address is known, it is possible to avoid an attack from an information processing device on another network or an eavesdropping crisis via a router, but it is still on the same network. There is a danger against attacks and eavesdropping from information processing devices.

リンクローカルアドレスは、同一ネットワーク上の装置間でしか利用されないことから、同一ネットワーク内で一意であれば運用上問題ない。このことから、リンクローカルアドレスの下位64ビットとして、通信装置の固有アドレスを用いずに任意の64ビット値を乱数発生関数を用いて生成し、これを前述の「fe80」から始まる上位64ビットと合成してリンクローカルアドレスを生成することが可能である。   Since the link local address is used only between devices on the same network, there is no operational problem as long as it is unique within the same network. From this, as the lower 64 bits of the link local address, an arbitrary 64-bit value is generated using the random number generation function without using the unique address of the communication device, and this is generated as the upper 64 bits starting from “fe80” described above. It is possible to generate a link local address by combining.

図5のフローチャートは、図4のフローチャートにおけるリンクローカルアドレス生成処理を乱数を用いて生成するように変更したものである。ステップS401でアドレス移行要求を受信すると、ステップS501で、乱数発生関数により64ビットの乱数を生成する。そしてステップS502で、生成した乱数を下位64ビットとしたリンクローカルアドレスを生成し、ステップS503で、ARPプロトコルを用いて、生成したリンクローカルアドレスがローカルネットワーク上で既に使用されているかどうかを判定し、もし使用されていれば、ステップS501の処理に戻り、乱数を生成してリンクローカルアドレスを合成し、衝突検知をする一連の処理を繰り返す。ステップS503で、合成したリンクローカルアドレスが使用されていなければ、ステップS403で、このリンクローカルアドレスを暗号化し、ステップS404でアドレス変更許諾応答に含めて送信する。   The flowchart of FIG. 5 is obtained by changing the link local address generation process in the flowchart of FIG. 4 to generate using a random number. When an address transfer request is received in step S401, a 64-bit random number is generated by a random number generation function in step S501. In step S502, a link local address with the generated random number as the lower 64 bits is generated. In step S503, it is determined whether the generated link local address is already used on the local network using the ARP protocol. If it is used, the process returns to step S501 to repeat the series of processes for generating a random number, synthesizing the link local address, and detecting the collision. If the combined link local address is not used in step S503, the link local address is encrypted in step S403, and transmitted in an address change permission response in step S404.

尚、リンクローカルアドレスは、機器による自動構成を目的とし、IPv6の仕様上では少なくとも一つのリンクローカルアドレスを使用することが規定されている。従って、通常は自動構成のリンクローカルアドレス1つと、例えば、DHCPサーバにより割り振られたり、OSの設定ツールにより設定された場合は更にグローバルアドレスが設定される。本実施形態では、グローバルアドレスからローカルアドレスに移行する場合、ローカルアドレスを乱数により変更するので、移行が発生する毎に異なるローカルアドレスを持つことになる。或る通信は別の通信が行われている間にも生じるため、ある時点で複数のローカルアドレスにより通信が行われている可能性があることから、一情報処理装置につき複数のローカルアドレスを同時に持つ場合がある。   The link local address is intended for automatic configuration by a device, and the IPv6 specification stipulates that at least one link local address is used. Accordingly, one link local address with automatic configuration is normally set, and for example, a global address is set when it is assigned by a DHCP server or set by an OS setting tool. In this embodiment, when shifting from a global address to a local address, the local address is changed by a random number, so that each time a shift occurs, the local address is different. Since some communication occurs even while another communication is performed, there is a possibility that communication is performed using a plurality of local addresses at a certain point in time. May have.

このように、本発明の第2の実施形態によれば、リンクローカルアドレスの下位64ビットを、固定である通信装置(情報処理装置)の固有アドレスを用いずに、呼出し毎に値が変化する乱数関数により得られた値を使用することにより、同一ネットワーク上の情報処理装置からの攻撃や盗聴の脅威に対する危険性も減少させることが可能になる。   As described above, according to the second embodiment of the present invention, the lower 64 bits of the link local address change for each call without using the fixed unique address of the communication device (information processing device). By using the value obtained by the random number function, it is possible to reduce the risk of attacks from information processing apparatuses on the same network and threats of eavesdropping.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施形態に係る通信システムの構成を示す図である。It is a figure which shows the structure of the communication system which concerns on one Embodiment of this invention. 図1の通信システムの構成を基に、アドレスの種類によるデータ通信の可否を示した図である。It is the figure which showed the propriety of the data communication by the kind of address based on the structure of the communication system of FIG. 本発明の一実施形態に係る通信システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る通信システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る通信システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication system which concerns on one Embodiment of this invention.

符号の説明Explanation of symbols

101、102、106:情報処理装置
103、105:LAN
104:ルータ
101, 102, 106: Information processing device 103, 105: LAN
104: Router

Claims (7)

ローカルネットワーク内の通信相手とのみ通信可能な、ローカルアドレスを用いた通信を行なうローカルアドレス通信手段と、
ローカルネットワーク内の通信相手及び他のローカルネットワークの通信相手と通信可能な、グローバルアドレスを用いた通信を行なうグローバルアドレス通信手段と、
通信相手に対して前記グローバルアドレス通信手段によるグローバロアドレスを用いた通信により接続要求を行なう接続要求手段と、
前記接続要求に応答して前記通信相手から送信される、ローカルアドレスを用いた通信へ移行する要求を受信したことに応答してローカルアドレスを生成する生成手段とを有し、
前記ローカルアドレス通信手段は、前記生成手段が生成したローカルアドレスを前記通信相手へ送信することを特徴とする情報処理装置。
A local address communication means for performing communication using a local address, capable of communicating only with a communication partner in the local network;
A global address communication means capable of communicating with a communication partner in a local network and a communication partner of another local network and performing communication using a global address;
Connection request means for making a connection request to a communication partner by communication using a global address by the global address communication means;
Generating means for generating a local address in response to receiving a request to shift to communication using a local address transmitted from the communication partner in response to the connection request;
The local address communication unit transmits the local address generated by the generation unit to the communication partner.
前記生成手段は、乱数に基づいてローカルアドレスを生成することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the generation unit generates a local address based on a random number. 前記生成手段が生成したローカルアドレスが当該ローカルアドレス内ですでに使用されていないかを判定する判定手段を更に有し、
前記判定手段は、前記生成手段が生成したローカルアドレスがすでに当該ローカルアドレス内で使用されている場合は前記生成手段に再度ローカルアドレスを生成させることを特徴とする請求項1又は2に記載の情報処理装置。
A determination unit for determining whether the local address generated by the generation unit is not already used in the local address;
3. The information according to claim 1, wherein the determination unit causes the generation unit to generate a local address again when the local address generated by the generation unit is already used in the local address. Processing equipment.
前記生成手段が生成したローカルアドレスを暗号化する暗号化手段を更に有し、
前記ローカルアドレス通信手段は、前記暗号化手段が暗号化したローカルアドレスを前記通信相手へ送信することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。
Further comprising encryption means for encrypting the local address generated by the generation means;
The information processing apparatus according to any one of claims 1 to 3, wherein the local address communication unit transmits the local address encrypted by the encryption unit to the communication partner.
ローカルネットワーク内の通信相手とのみ通信可能な、ローカルアドレスを用いた通信を行なうローカルアドレス通信手段と、ローカルネットワーク内の通信相手及び他のローカルネットワークの通信相手と通信可能な、グローバルアドレスを用いた通信を行なうグローバルアドレス通信手段とを有する情報処理装置によるデータ通信方法であって、
通信相手に対して前記グローバルアドレス通信手段によるグローバルアドレスを用いた通信により接続要求を行なう接続要求ステップと、
前記接続要求に応答して前記通信相手から送信される、ローカルアドレスを用いた通信へ移行する要求を受信したことに応答してローカルアドレスを生成する生成ステップとを含み、
前記ローカルアドレス通信手段は、前記生成ステップで生成されたローカルアドレスを前記通信相手へ送信することを特徴とするデータ通信方法。
A local address communication means for performing communication using a local address that can communicate only with a communication partner in the local network, and a global address that can communicate with a communication partner in the local network and a communication partner of another local network are used. A data communication method by an information processing apparatus having a global address communication means for performing communication,
A connection request step for making a connection request to a communication partner by communication using a global address by the global address communication means;
Generating a local address in response to receiving a request to shift to communication using a local address transmitted from the communication partner in response to the connection request;
The local address communication means transmits the local address generated in the generating step to the communication partner.
請求項5に記載のデータ通信方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the data communication method according to claim 5. 請求項6に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 6 is recorded.
JP2007174586A 2007-07-02 2007-07-02 Information processing apparatus, data communication method, program, and recording medium Expired - Fee Related JP4235672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007174586A JP4235672B2 (en) 2007-07-02 2007-07-02 Information processing apparatus, data communication method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007174586A JP4235672B2 (en) 2007-07-02 2007-07-02 Information processing apparatus, data communication method, program, and recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004167546A Division JP4027347B2 (en) 2004-06-04 2004-06-04 Information processing apparatus, data communication method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007252007A JP2007252007A (en) 2007-09-27
JP4235672B2 true JP4235672B2 (en) 2009-03-11

Family

ID=38595743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007174586A Expired - Fee Related JP4235672B2 (en) 2007-07-02 2007-07-02 Information processing apparatus, data communication method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4235672B2 (en)

Also Published As

Publication number Publication date
JP2007252007A (en) 2007-09-27

Similar Documents

Publication Publication Date Title
JP4033868B2 (en) Method and apparatus for processing authentication in IPv6 network
US7043633B1 (en) Method and apparatus for providing adaptive self-synchronized dynamic address translation
JP3740139B2 (en) User anonymity guarantee method and wireless LAN system therefor
US9300638B2 (en) Method and apparatus for providing adaptive self-synchronized dynamic address translation as an intrusion detection sensor
KR100728040B1 (en) Method and apparatus for generating ipv6 unique local address
US8631484B2 (en) Systems and methods for inhibiting attacks with a network
KR100814400B1 (en) apparatus and method of security communication in IPv4/IPv6 coordination network system
US9686279B2 (en) Method and system for providing GPS location embedded in an IPv6 address using neighbor discovery
EP2259542B1 (en) Method, apparatus and system for processing dynamic host configuration protocol message
JP2008541566A (en) Secure address proxy using multi-key encryption generated address
JP2009503916A (en) Multi-key encryption generation address
JP2010521846A (en) Securing IP traffic
CN101965722A (en) Re-establishment of a security association
JP4938408B2 (en) Address management system, address management method and program
WO2010054542A1 (en) Cga public key identification, cga public key determination method, system and device
Zhang et al. Research on IPv6 neighbor discovery protocol (NDP) security
US7596136B2 (en) Data communication apparatus, data communication method, program, and storage medium
JP2005236728A (en) Server apparatus, request issuing the apparatus, request accepting apparatus, communications system and communication method
KR100856918B1 (en) Method for IP address authentication in IPv6 network, and IPv6 network system
JP4235672B2 (en) Information processing apparatus, data communication method, program, and recording medium
JP2007258986A (en) Communication apparatus, communication method, and communication program
JP2007166552A (en) Communication apparatus and encryption communication method
JP2006197094A (en) Communication system
Song et al. Anonymous-address-resolution model
JP3911697B2 (en) Network connection device, network connection method, network connection program, and storage medium storing the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070702

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081209

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081215

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4235672

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121219

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131219

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees