Firewall apparatus

Information

  • Patent Application
  • 20030070095
  • Publication Number
    20030070095
  • Date Filed
    July 19, 2002
    22 years ago
  • Date Published
    April 10, 2003
    21 years ago
Abstract
Communication using IPv6 is carried out, and conversion is given to a prefix of an IPv6 address in a firewall. A security channel for mutual authentication with an out-of-home apparatus or the like is carried out by the firewall, and only identification of an in-home apparatus is carried out on an in-home network by the firewall. A PC is connected to a PC in-home network different from the in-home network, and communication between the PC and the in-home apparatus is always carried out via the firewall.
Description


BACKGROUND OF THE INVENTION

[0001] The present invention relates to a device and a communication method by which an information apparatus connected to a network inside a firewall and another information apparatus connected to a network outside the firewall make communication with each other securely.


[0002] In recent years, the IP protocol which is a standard protocol of the Internet is practically a de facto standard protocol in communication among information apparatuses, and the IP protocol is also used domestically. Such an example is disclosed in JP-A-11-187061. In consideration of the starvation of numbers, the security, and so on, in a network inside a firewall and safe in terms of information security (hereinafter, referred to as “in-home network”), a local address is assigned to each of connected information apparatuses (hereinafter, referred to as “in-home apparatuses”) so as to be identified. To make communication with an information apparatus (hereinafter, “out-of-home apparatus”) connected to a network outside the firewall (hereinafter, referred to “out-of-home network”), the local address is converted to a global address in the firewall.


[0003] In addition, a security communication protocol typified by IPsec (IP Security) operates between terminals making communication with each other.


[0004] In addition, all the in-home information apparatuses are connected to the in-home network.


[0005] According to such a technique, the address of the in-home apparatus may change whenever communication is made. Thus, it is impossible to start communication from the out-of-home apparatus.


[0006] In addition, in order to perform communication securely, a security communication function is required to be mounted, and in order to keep the in-home network secure, all the in-home apparatuses that make communication with the out-of-home apparatus are required to have such a security communication function.


[0007] In addition, any PC is so sophisticated that it can operate various connection means or other apparatuses. Accordingly, even if unauthorized access from the outside is excluded by the firewall, there is a fear that the in-home apparatuses are damaged once the PC is infected with a virus.


[0008] In addition, when the Internet service provider is changed, the assigned address is changed. It is therefore necessary to reset the addresses of all the in-home apparatuses. Further, in order that each in-home apparatus knows the network to which the apparatus as a source of a received message belongs, it is necessary to mount a function of investigating the path history of the message.



SUMMARY OF THE INVENTION

[0009] An object of the present invention is to provide a mechanism by which secure communication can be made between an out-of-home apparatus and an in-home apparatus.


[0010] In order to solve the foregoing problems, according to the present invention, IPv6 is used as the IP protocol, and conversion of an IPv6 address is carried out in a firewall. The IPv6 address has 128-bit length, generally, the higher 64 bits of which are used as an identifier of a network and called a prefix. The lower 64 bits are used as an identifier of an apparatus in the network and called an interface ID. The prefix is generated on the basis of the network to which the apparatus is connected. By use of a stateless address automatic setting function, the interface ID is generated from the MAC address (Media Access Control address) of the in-home apparatus which is a target for communication. Conversion of the IPv6 address is applied only to the prefix. The prefix before the conversion is generated on the basis of the out-of-home network, while the prefix after the conversion is generated on the basis of the in-home network.


[0011] When the aforementioned address conversion system is used, any one of the in-home apparatuses can be specified individually from the out-of-home apparatus. It is therefore possible to start communication from the out-of-home apparatus. In addition, any communication between the out-of-home apparatus and the in-home apparatus is always made via the firewall. Accordingly, actions which may cause damage to the in-house apparatus are monitored by the firewall so that the damage can be prevented.


[0012] In addition, according to the present invention, a sophisticated security communication function such as mutual authentication with an out-of-home apparatus is mounted on the firewall, while in-home apparatuses are mounted with only a required minimum security communication function. Thus, even without mounting a sophisticated communication function on all the in-home apparatuses, communication with the out-of-home apparatus can be performed while the in-home network is kept secure.


[0013] In addition, according to the present invention, a PC is connected to a network different from the in-home network so that communication between the PC and the in-home apparatus is always performed via the firewall. Even if the PC is infected with a virus, there is no fear that the in-home apparatus is damaged easily.


[0014] In addition, even when the Internet service provider is changed, communication with the out-of-home apparatus can be made by a simple method of changing the address of the firewall and without any necessity to change the addresses of the in-home apparatuses.


[0015] In addition, by a simple method of mounting a function of extracting a prefix portion of a source address of a received message on each in-home apparatus, the in-home apparatus can easily judge whether the received message comes from an apparatus connected to the in-home network or not.


[0016] According to an embodiment of the present invention, it is possible to provide a mechanism in which communication between an out-of-home apparatus 1 and an in-home apparatus 3 can be performed securely, communication between a PC 4 and the in-home apparatus 3 can be performed securely, communication can be started from the out-of-home apparatus 1, and the security of an in-home network 6 can be kept even without mounting a security communication function on the in-home apparatus 3.


[0017] Other objects, features and advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0018]
FIG. 1 is a diagram showing the schematic configuration of a communication system according an embodiment of the invention;


[0019]
FIG. 2 is a diagram showing the schematic configuration of an IPv6 address according to the embodiment of the invention;


[0020]
FIG. 3 is a diagram showing the schematic configuration of an out-of-home apparatus 1 according to the embodiment of the invention;


[0021]
FIG. 4 is a diagram showing the schematic configuration of a firewall 2 according to the embodiment of the invention;


[0022]
FIG. 5 is a diagram showing the schematic configuration of an in-home apparatus 3 according to the embodiment of the invention;


[0023]
FIG. 6 is a flowchart for explaining the outline of the preparatory operation of the in-home apparatus 3 and the firewall 2 when the in-home apparatus 3 performs processing for generating an in-home network IPv6 address according to the embodiment of the invention;


[0024]
FIG. 7 is a flowchart for explaining the outline of the preparatory operation of the in-home apparatus 3 and the firewall 2 when the firewall 2 performs processing for generating an in-home network IPv6 address according to the embodiment of the invention;


[0025]
FIG. 8 is a flowchart for explaining the outline of the preparatory operation of the out-of-home apparatus 1 and the firewall 2 according to the embodiment of the invention;


[0026]
FIG. 9 is a flowchart for explaining the outline of the operation of normal communication carried out between the out-of-home apparatus 1 and the in-home apparatus 3 according to the embodiment of the invention; and


[0027]
FIG. 10 is a diagram showing an example of an in-home apparatus database 215 according to the embodiment of the invention.







DESCRIPTION OF THE EMBODIMENT

[0028] An embodiment of the present invention will be described below.


[0029] First, the schematic configuration of a communication system according to this embodiment will be described with reference to FIG. 1. In FIG. 1, reference numeral 1 represents an out-of-home apparatus. The out-of-home apparatus means an information apparatus connected to a network outside the firewall, and typically located outside the home. Examples of the out-of-home apparatus 1 include a server, a PC, a cellular phone, a PDA, etc. Numeral 2 represents a firewall. The firewall is a device for connecting the interior of the home with an external network. In the present invention, the firewall chiefly serves to monitor unauthorized communication and convert IPv6 addresses. Numeral 3 represents an in-home apparatus. The in-home apparatus means an information apparatus connected to a network inside the firewall 2. Examples of the in-home apparatus 3 include electrical household appliances or electronic equipment having communication facility, such as an air conditioner, a refrigerator, a microwave oven, a sensor device, a video tape recorder, a telephone set, etc. Numeral 4 represents a PC (personal computer). Numeral 5 represents an out-of-home network, which connects the out-of-home apparatus 1 with the firewall 2. Numeral 6 represents an in-home network, which connects the in-home apparatus 3 with the firewall 2. Numeral 7 represents a PC in-home network, which connects the PC 4 with the firewall 2.


[0030] Next, the configuration of an IPv6 address used for identifying an apparatus in the aforementioned communication system will be described with reference to FIG. 2.


[0031] As shown in FIG. 2, an IPv6 address 801 is constituted by a prefix 802 of higher 64 bits and an interface ID 803 of lower 64 bits. The prefix 802 is used as an identifier of a network to which an apparatus designated by the IPv6 address is connected, and the interface ID 803 is used as an identifier of the apparatus in the network. The interface ID 803 is generated from the MAC address of the apparatus by use of a stateless address automatic setting function.


[0032] Next, description will be made below about each apparatus constituting the aforementioned communication system. Incidentally, the description of the PC 4 will be omitted because it is a general apparatus. In addition, description will be made with a server as the out-of-home apparatus 1 and an air conditioner as the in-home apparatus 3 by way of example.


[0033]
FIG. 3 is a diagram showing the schematic configuration of the out-of-home apparatus 1 according to this embodiment.


[0034] As shown in FIG. 3, the out-of-home apparatus 1 in this embodiment has a CPU 101, a memory 102, a magnetic disk unit 103, an input unit 104, an output unit 105, a CD-ROM unit 106 and a communication unit 107.


[0035] The CPU 101 is a unit for controlling the operation of the out-of-home apparatus 1 as a whole. The memory 102 is a storage unit for loading various processing programs or data for use in controlling the operation of the out-of-home apparatus 1 as a whole. The magnetic disk unit 103 is a storage unit for storing the various processing programs or data. The input unit 104 is a unit for performing various inputs for setting or controlling in connection with execution of the various programs. The output unit 105 is a unit for performing various outputs accompanying the execution of the various programs or the various inputs. The CD-ROM unit 106 is a unit for reading the contents of CD-ROMs in which the various processing programs have been recorded. The communication unit 107 is a unit for making communication with the firewall 2 through the out-of-home network 5.


[0036] In addition, the out-of-home apparatus 1 has an out-of-home network IPv6 address generation processing portion 111, a security communication processing portion 112, an MAC address acquisition processing portion 113 and an out-of-home network IPv6 address retention portion 114.


[0037] The out-of-home network IPv6 address generation processing portion 111 is a processing portion for generating a prefix 802 on the basis of the out-of-home network 5 to which the firewall 2 is connected, and generating an interface ID 803 from the MAC address of the in-home apparatus 3 which is a target for communication by use of a stateless address automatic setting function, so as to generate an out-of-home network IPv6 address from the prefix 802 and the interface ID 803.


[0038] The security communication processing portion 112 is a processing portion for making communication securely in terms of information security by use of cipher or authentication when the out-of-home apparatus 1 makes communication with the firewall 2 through the out-of-home network 5 by use of the communication unit.


[0039] The MAC address acquisition processing portion 113 is a processing portion for acquiring the MAC address of the in-home apparatus 3 which is a target for communication. The MAC address is acquired from a sales record, a user registration database, or the like, in an air conditioner maker. Address directory service or the like may be used. The MAC address may be acquired via a network by use of the communication unit or inputted manually by use of the input unit.


[0040] The out-of-home network IPv6 address retention portion 114 is a retention portion for retaining the out-of-home network IPv6 address for identifying the in-home apparatus 3, which is a target for communication, on the out-of-home network 5.


[0041] Assume that programs for making the out-of-home apparatus 1 function as the out-of-home network IPv6 address generation processing portion 111, the security communication processing portion 112, the MAC address acquisition processing portion 113 and the out-of-home network IPv6 address retention portion 114 are recorded in a recording medium such as a CD-ROM, stored in a magnetic disk or the like, then loaded on the memory and executed. Incidentally, the recording medium for recording the programs may be any recording medium other than the CD-ROM.


[0042]
FIG. 4 is a diagram showing the schematic configuration of the firewall 2 according to this embodiment. As shown in FIG. 4, the firewall 2 in this embodiment has a CPU 201, a storage unit 202 and a communication unit 203.


[0043] The CPU 201 is a unit for controlling the operation of the firewall 2 as a whole. The storage unit 202 is a unit for storing various processing programs or data for controlling the operation of the firewall 2 as a whole. The communication unit 203 is a unit for making communication with the out-of-home apparatus 1 through the out-of-home network 5 and making communication with the in-home apparatus 3 through the in-home network 6.


[0044] In addition, the firewall 2 has an IPv6 address conversion processing portion 211, a security communication processing portion 212, an in-home apparatus registration processing portion 213, an in-home network defense processing portion 214, an in-home apparatus database 215 and an in-home network IPv6 address generation processing portion 216.


[0045] The IPv6 address conversion processing portion 211 is a processing portion by which the prefix portion of the destination IPv6 address of a message sent from the out-of-home apparatus 1 to the in-home apparatus 3 and received through the out-of-home network 5 by the communication unit 203 is converted into a prefix generated on the basis of the in-home network 6.


[0046] The security communication processing portion 212 is a processing portion for making communication securely in terms of information security by use of cipher or authentication when the firewall 2 makes communication with the out-of-home apparatus 1 through the out-of-home network 5 by use of the communication unit 203.


[0047] The in-home apparatus registration processing portion 213 is a processing portion by which it is confirmed whether the in-home apparatus 3 newly connected to the in-home network 6 is secure in terms of information security, and the in-home network IPv6 address of the in-home apparatus 3 concluded to be secure is registered in the in-home apparatus database 215. The in-home apparatus registration processing portion 213 also performs processing for registering the identification information of the out-of-home apparatus 1 having the authority to perform operation and maintenance for the in-home apparatus 3, such as reading data, operating by remote control, rewriting programs, and so on.


[0048] The in-home apparatus database 215 is a database for accumulating the in-home network IPv6 address of the in-home apparatus 3 and the identification information of the out-of-home apparatus 1 sent from the in-home apparatus registration processing portion 213. The in-home apparatus database 215 also accumulates information required for security communication such as key information, protocol information and the like when cipher or authentication is used in the communication on the in-home network 6.


[0049] The in-home network defense processing portion 214 is a processing portion for monitoring the communication between the out-of-home apparatus 1 and the in-home apparatus 3 as to processing having a damaging effect on the operation of the in-home apparatus, processing for leaking secret information, and the like, so as to prevent damage from occurring. By blocking communication onto the in-home network 6 from the out-of-home apparatus 1 which have not yet been concluded to be secure by the security communication processing portion 212, and by blocking communication onto the out-of-home network 5 from the in-home apparatus 3 which have not yet been registered in the in-home apparatus database 215, damage such as illegal operation, impersonation of an apparatus, peeping data through a channel, altering data, and so on, are prevented.


[0050] The in-home network IPv6 address generation processing portion 216 is a processing portion for generating a prefix 802 on the basis of the in-home network 6 to which the in-home apparatus 3 is connected, and generating an interface ID 803 from the MAC address of the in-home apparatus 3 by use of a stateless address automatic setting function, so as to generate an in-home network IPv6 address from the prefix 802 and the interface ID 803.


[0051]
FIG. 5 is a diagram showing the schematic configuration of the in-home apparatus 3 according to this embodiment.


[0052] As shown in FIG. 5, the in-home apparatus 3 according to the embodiment has a CPU 301, a storage unit 302, a communication unit 303 and an air conditioner processing unit 304.


[0053] The CPU 301 is a unit for controlling the operation of the in-home apparatus 3 as a whole. The storage unit 302 is a unit for storing various processing programs or data for use in controlling the operation of the in-home apparatus 3 as a whole. The communication unit 303 is a unit for making communication with the firewall 2 through the in-home network 6. The air conditioner processing unit 304 is a processing unit having an air conditioner function which is a processing peculiar to the in-home apparatus 3. Incidentally, although description is made on the case where an air conditioner is used as the in-home apparatus 3 in this embodiment by way of example, the in-home apparatus 3 may be an apparatus other than the air conditioner. In this case, the air conditioner processing unit 304 is replaced by a processing unit having a function peculiar to the in-home apparatus 3.


[0054] In addition, the in-home apparatus 3 has an MAC address retention portion 311, an in-home network IPv6 address generation processing portion 312 and an in-home network IPv6 address retention portion 313.


[0055] The MAC address retention portion 311 is a retention portion for retaining an MAC address assigned peculiarly to the in-home apparatus 3.


[0056] The in-home network IPv6 address generation processing portion 312 is a processing portion for generating a prefix 802 on the basis of the in-home network 6 to which the in-home apparatus 3 is connected, and generating an interface ID 803 from the MAC address of the in-home apparatus 3 retained by the MAC address retention portion 311 by use of a stateless address automatic setting function, so as to generate an in-home network IPv6 address from the prefix 802 and the interface ID 803.


[0057] The in-home network IPv6 address retention portion 313 is a retention portion for retaining the in-home network IPv6 address for identifying the in-home apparatus 3 on the in-home network 6. When the in-home network IPv6 address retention portion 313 retains the in-home network IPv6 address, the in-home apparatus can make communication using the IPv6 protocol.


[0058] Next, description will be made on the operation of the aforementioned communication system.


[0059] First, description will be made on the preparatory operation carried out prior to normal communication, such as the operation of registration, the reservation of a security channel, and the like.


[0060]
FIGS. 6 and 7 are flowcharts for explaining the outline of the preparatory operation of the in-home apparatus 3 and the firewall 2. FIG. 6 shows the case where the processing for generating an in-home network IPv6 address is performed by the in-home apparatus 3, while FIG. 7 shows the case where the same processing is performed by the firewall 2. First, the case where the processing for generating an in-home network IPv6 address is performed by the in-home apparatus 3 will be described with reference to FIG. 6.


[0061] First, the in-home apparatus 3 is newly connected to the in-home network 6 (Step 1001). Next, the in-home network IPv6 address generation processing portion 312 of the in-home apparatus 3 acquires the identification information of the in-home network 6 from another apparatus on the in-home network 6 (Step 1002), and generates an in-home network IPv6 address from the MAC address of the in-home apparatus 3 itself retained by the MAC address retention portion 311, and the identification information of the in-home network 6 (Step 1003). Next, the communication unit 303 transmits the in-home network IPv6 address to the firewall 2 through the in-home network 6 (Step 1004). Here, the transmitted information may include not only the in-home network IPv6 address but also information required for security communication, such as the identification information of the out-of-home apparatus 1 having authority to perform operation and maintenance for the in-home apparatus 3, key information when cipher or authentication is used in the communication on the in-home network 6, and the like. Next, the generated in-home network IPv6 address is stored in the in-home network IPv6 address retention portion 313 (Step 1005).


[0062] Next, the information transmitted by the in-home apparatus 3 is received by the communication unit 203 of the firewall 2 through the in-home network 6 (Step 1006). Next, the information received by the communication unit 203 is registered in the in-home apparatus database 215 by the in-home apparatus registration processing portion 213 (Step 1007).


[0063] Next, the case where the processing for generating an in-home network IPv6 address is performed by the firewall 2 will be described with reference to FIG. 7.


[0064] First, the in-home apparatus 3 is newly connected to the in-home network 6 (Step 2001).


[0065] Next, the MAC address of the in-home apparatus 3 itself retained by the MAC address retention portion 311 is transmitted from the communication unit 303 to the firewall 2 through the in-home network 6 (Step 2002). Here, the transmitted information may include not only the MAC address but also information required for security communication, such as the identification information of the out-of-home apparatus 1 having authority to perform operation and maintenance for the in-home apparatus 3, key information when cipher or authentication is used in the communication on the in-home network 6, and the like.


[0066] Next, the information transmitted by the in-home apparatus 3 is received by the communication unit 203 of the firewall 2 through the in-home network 6 (Step 2003). Next, the in-home network IPv6 address generation processing portion 216 in the firewall 2 acquires the identification information of the in-home network 6 (Step 2004), and generates an in-home network IPv6 address from the MAC address of the in-home apparatus 3 received by the communication unit 203, and the identification information of the in-home network 6 (Step 2005). Next, the communication unit 203 transmits the generated in-home network IPv6 address to the in-home apparatus 3 through the in-home network 6 (Step 2006). Next, the generated in-home network IPv6 address and the information received by the communication unit 203 are registered in the in-home apparatus database 215 by the in-home apparatus registration processing portion 213 (Step 2007).


[0067] Next, the in-home network IPv6 address transmitted by the firewall 2 is received by the communication unit 303 of the in-home apparatus 3 through the in-home network 6 (Step 2008). Next, the received in-home network IPv6 address is stored in the in-home network IPv6 address retention portion 313 (Step 2009).


[0068]
FIG. 8 is a flowchart for explaining the outline of the preparatory operation of the out-of-home apparatus 1 and the firewall 2.


[0069] First, the MAC address acquisition processing portion 113 of the out-of-home apparatus 1 acquires the MAC address of the in-home apparatus 3 which is a target for communication (Step 3001). The MAC address may be acquired via the out-of-home network 5 by use of the communication unit 107, or may be inputted manually by use of the input unit 104. The MAC address may be acquired from a sales record, a user registration database or the like in an air conditioner maker, or by use of address directory service or the like through the out-of-home network 5. Next, the out-of-home network IPv6 address generation processing portion 111 acquires the identification information of the out-of-home network 5, and generates an out-of-home network IPv6 address from the MAC address of the in-home apparatus 3 acquired by the MAC address acquisition processing portion 113, and the identification information of the out-of-home network 5 (Step 3002). Here, the address directory service or the like may be used through the out-of-home network 5. Next, the generated out-of-home network IPv6 address is stored in the out-of-home network IPv6 address retention portion 114 (Step 3003). Next, the communication unit 107 of the out-of-home apparatus 1 transmits a request to start communication to the firewall 2 through the out-of-home network 5 (Step 3004).


[0070] Next, the communication unit 203 of the firewall 2 receives the request to start communication (Step 3005), and delivers the received request to the security communication processing portion 212. Next, the security communication processing portion 212 transmits a request to reserve a security channel to the out-of-home apparatus 1 through the communication unit 203 and the out-of-home network 5 (Step 3006). Here, the request to reserve a security channel includes information required for security communication, such as key information, a protocol and so on when cipher or authentication is used in the communication.


[0071] Next, the communication unit 107 of the out-of-home apparatus 1 receives the request to reserve a security channel (Step 3007), and delivers the received request to the security communication processing portion 112. Next, the security communication processing portion 112 performs preparation for reserving a security channel in accordance with the delivered request (Step 3008). Next, a notice of the completion of preparation for reserving a security channel is transmitted to the firewall 2 through the communication unit 107 and the out-of-home network 5 (Step 3009).


[0072] Next, the communication unit 203 of the firewall 2 receives the notice of the completion of preparation for reserving a security channel (Step 3010), and delivers the received notice to the security communication processing portion 212. Next, the security communication processing portion 212 reserves a security channel (Step 3011).


[0073] Subsequently, a security channel is reserved between the out-of-home apparatus 1 and the firewall 2 so that secure communication can be performed by use of cipher or authentication.


[0074] Next, the operation of normal communication performed between the out-of-home apparatus 1 and the in-home apparatus 3 will be described. Assume that the preparatory operation described in FIG. 6 or 7 and FIG. 8 is completed prior to this communication.


[0075]
FIG. 9 is a flowchart for explaining the outline of the operation of normal communication performed between the out-of-home apparatus 1 and the in-home apparatus 3.


[0076] First, the communication unit 107 of the out-of-home apparatus 1 transmits a processing request message to the firewall 2 through the out-of-home network 5 (Step 4001). The processing request message includes the IPv6 address of the out-of-home apparatus 1 as a source and the in-home network IPv6 address as a destination.


[0077] Next, the communication unit 203 of the firewall 2 receives the processing request message from the out-of-home apparatus 1 (Step 4002), and delivers the received message to the in-home network defense processing portion 214 in the firewall 2. Next, the in-home network defense processing portion 214 confirms whether the processing contents included in the message is secure or not, and also confirms, with reference to the in-home apparatus database 215, whether the out-of-home apparatus 1 which is a source has authority to perform the processing upon the in-home apparatus 3 which is a destination (Step 4003). If there is a problem as the result of the confirmation (“No” in Step 4003), the firewall 2 terminates the processing. If there is no problem as the result of the confirmation (“Yes” in Step 4003), the IPv6 address conversion processing portion 211 in the firewall 2 converts the destination from the out-of-home network IPv6 address to the in-home network IPv6 address (Step 4004). Next, the communication unit 203 of the firewall 2 transmits a processing request message to the in-home apparatus 3 through the in-home network 6 (Step 4005). The processing request message includes the IPv6 address of the out-of-home apparatus 1 as a source and the in-home network IPv6 address as a destination.


[0078] Next, the communication unit 303 of the in-home apparatus 3 receives the message from the firewall 2 (Step 4006). Next, the air conditioner processing unit 304 performs processing peculiar to the in-home apparatus 3, such as start of heating operation (Step 4007).


[0079] Next, the communication unit 303 of the in-home apparatus 3 transmits a reply message to the firewall 2 through the in-home network 6 (Step 4008). The reply message is for replying to the aforementioned processing request message, and includes the in-home network IPv6 address as a source and the IPv6 address of the out-of-home apparatus 1 as a destination.


[0080] Next, the communication unit 203 of the firewall 2 receives the reply message from the in-home apparatus 3 (Step 4009), and delivers the received message to the in-home network defense processing portion 214. Next, the in-home network defense processing portion 214 confirms whether information contained in the message is secure or not, and also confirms, with reference to the in-home apparatus database 215, whether the out-of-home apparatus 1 which is a destination has authority to obtain information of the in-home apparatus 3 which is a source (Step 4010). If there is a problem as the result of the confirmation (“No” in Step 4010), the firewall 2 terminates the processing. If there is no problem as the result of the confirmation (“Yes” in Step 4010), the IPv6 address conversion processing portion 211 of the firewall 2 converts the source from the in-home network IPv6 address to the out-of-home network IPv6 address (Step 4011). Next, the communication unit 203 of the firewall 2 transmits a reply message to the out-of-home apparatus 1 through the out-of-home network 5 (Step 4012). The reply message includes the out-of-home network IPv6 address as a source and the IPv6 address of the out-of-home apparatus 1 as a destination.


[0081] Next, the communication unit 107 of the out-of-home apparatus 1 receives the reply message from the firewall 2 (Step 4013).


[0082] Next, description will be made on the in-home apparatus database 215 according to this embodiment.


[0083]
FIG. 10 is a diagram showing an example of the in-home apparatus database 215 according to this embodiment.


[0084] In-home network IPv6 addresses 901 of the in-home apparatuses 3 connected to the in-home network 6; identification information 902 of each of the out-of-home apparatuses 1 having authority to perform operation and maintenance for the corresponding in-home apparatus 3, such as reading data, operating by remote control, rewriting programs, and the like; and information 903 required for security communication, such as key information, protocol information and the like when cipher or authentication is used in the communication on the in-home network 6 are stored in the in-home apparatus database 215.


[0085] Next, description will be made on the case where the PC 4 is used at home with reference to FIG. 1.


[0086] The PC 4 is connected to a PC in-home network 7 different from the in-home network 6. The PC 4 generates a prefix 802 on the basis of the PC in-home network 7, and generates an interface ID 803 from the MAC address of the PC 4 by use of a stateless address automatic setting function, so as to generate an IPv6 address of the PC 4 from the prefix 802 and the interface ID 803.


[0087] Communication between the PC 4 and the in-home apparatus 3 is always carried out through the firewall 2 because they are connected to the different networks respectively. For the in-home apparatus 3, the PC 4 is handled in the same manner as the out-of-home apparatus 1. Incidentally, although description has been made on the PC by way of example, the same thing will be applied to any apparatus if it is in danger of infection with a virus in the same manner as the PC.


[0088] Description has been made above on the embodiment of the invention.


[0089] According to this embodiment, of the in-home network 6, only the firewall 2 is connected to the outside, and the firewall 2 identifies the in-home apparatus 3 on the in-home network 6. On the other hand, for communication on the out-of-home network 5, a security channel is reserved between the out-of-home apparatus 1 and the firewall 2. From the above description, the out-of-home apparatus 1 and the in-home apparatus 3 can make secure communication with each other. In addition, from the above description, it is not necessary to mount a security communication function on the in-home apparatus 3.


[0090] In addition, according to this embodiment, communication using IPv6 is performed, and conversion is given to the prefix 802 of the IPv6 address in the firewall 2. Accordingly, the out-of-home apparatus 1 can start communication with a specified in-home apparatus 3 which is a target for communication.


[0091] In addition, according to this embodiment, the PC 4 is connected to the PC in-home network 7 different from the in-home network 6, and communication between the PC 4 and the in-home apparatus 3 is always carried out via the firewall 2. Accordingly, communication between the PC 4 and the in-home apparatus 3 and communication between the out-of-home apparatus 1 and the in-home apparatus 3 is always made via the firewall 2. Thus, illegal processing is monitored so that damage can be prevented from occurring.


[0092] In addition, according to this embodiment, even when the network changes due to the change of the Internet service provider or the like, only the out-of-home network 5 changes, but the in-home network 6 and the PC in-home network 7 remain unchanged. Thus, communication via the out-of-home network 5 may be made by a simple method of changing the setting of the address of the firewall 2, and without any necessity to change the setting of the addresses of the in-home apparatus 3 and the PC 4.


[0093] Incidentally, although description has been made on the case where the out-of-home network 5 and the PC in-home network 7 are separated from each other, they may be the same one.


[0094] In addition, although the network to which an apparatus is connected is identified by converting the prefix 802 of the IPv6 address in the firewall, the prefix 802 may be fixed. In this case, the network to which an apparatus is connected can be identified by investigating the history of the path of a communication message so that effect equivalent to that in this embodiment can be obtained.


[0095] In addition, the out-of-home apparatus 1 does not have to be a server. The out-of-home apparatus 1 may be any information apparatus if the information apparatus can perform communication using the IPv6 protocol and includes the out-of-home network IPv6 address generation processing portion 111, the security communication processing portion 112, the MAC address acquisition processing portion 113 and the out-of-home network IPv6 address retention portion 114.


[0096] In addition, the out-of-home network IPv6 address generation processing portion 111, the security communication processing portion 112, the MAC address acquisition processing portion 113 and the out-of-home network IPv6 address retention portion 114 do not have to belong to one piece of hardware. Those processing portions may belong to different pieces of hardware so as to carry out processing organically by communication. In addition, the in-home apparatus 3 does not have to be an air conditioner. The in-home apparatus 3 may be any information apparatus if it has the MAC address retention portion 311 and can make communication using the IPv6 protocol.


[0097] It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.


Claims
  • 1. A firewall device comprising: first communication means connected to a first network for transmitting/receiving data through said first network by use of an Internet protocol (IP) protocol; means for acquiring a network identifier of said first network; second communication means connected to a second network for transmitting/receiving data through said second network by use of said IP protocol; means for acquiring a network identifier of said second network; and IP address converting means by which a portion of a destination IP address of a message received from an apparatus connected to said first network and corresponding to said first network identifier is converted to said second network identifier, and a portion of a source IP address of a message received from an apparatus connected to said second network and corresponding to said second network identifier is converted to said first network identifier; wherein communication can be provided between said apparatus connected to said first network and said apparatus connected to said second network.
  • 2. A firewall device according to claim 1, further comprising: means for performing security communication with said apparatus connected to said first network by use of a cipher communication function or an authentication function.
  • 3. A firewall device according to claim 1, wherein: said apparatus connected to said first network is a domestic personal computer.
  • 4. A firewall device according to claim 1, further comprising: a database for registering said apparatus connected to said second network; and means for performing processing of registration into said database; wherein processing and contents of information included in communication between an apparatus not registered in said database and an apparatus registered in said database are monitored.
  • 5. An information apparatus comprising: communication means for transmitting/receiving data to/from a firewall device according to claim 1 by use of an IP protocol; means for acquiring a network identifier of a first network according to claim 1;means for acquiring an apparatus identifier of an apparatus connected to a second network according to claim 1;means for generating an IP address by use of said network identifier and said apparatus identifier; and communication means for transmitting/receiving data to/from said apparatus connected to said second network through said firewall device by use of said IP protocol; wherein said information apparatus is connected to said first network.
  • 6. An information apparatus comprising: communication means for transmitting/receiving data to/from a firewall device according to claim 1 by use of an IP protocol; means for acquiring a network identifier of a second network according to claim 1;means for generating an IP address by use of said network identifier and an apparatus identifier of said information apparatus itself; and communication means for transmitting said IP address to said firewall device; communication means for transmitting/receiving data to/from an apparatus connected to a first network through said firewall device by use of said IP protocol; wherein said information apparatus is connected to said second network.
  • 7. A communication method for an information apparatus, comprising: the step in which a first apparatus connected to a first network transmits a processing request message to a firewall through said first network, said processing request message including an IP address of said first apparatus as a source and a first IP address as a destination; the step in which said firewall confirms whether processing contents contained in said processing request message are secure or not; the step in which said firewall converts said destination from said first IP address to a second IP address; the step in which said firewall transmits a processing request message to a second apparatus through a second network, said second apparatus being connected to said second network, said processing request message including said IP address of said first apparatus as a source and said second IP address as a destination; the step in which said second apparatus performs processing peculiar to said second apparatus; the step in which said second apparatus transmits a reply message to said firewall through said second network in response to said processing request message, said reply message including said second IP address as a source and said IP address of said first apparatus as a destination; the step in which said firewall confirms whether information contained in said reply message is secure or not; the step in which said firewall converts said source from said second IP address to said first IP address; and the step in which said firewall transmits a reply message to said first apparatus through said first network, said reply message including said first IP address as a source and said IP address of said first apparatus as a destination.
  • 8. A communication method for an information apparatus according to claim 7, wherein: communication between said first apparatus and said firewall is security communication using a cipher communication function or an authentication function; and communication between said second apparatus and said firewall is communication not using a cipher communication function or an authentication function.
  • 9. A firewall device comprising: first communication means connected to a first network for transmitting/receiving data through said first network by use of an IP address; second communication means connected to a second network for transmitting/receiving data through said second network by use of an IP address; and IP address converting means by which said IP address transmitted from one of said first communication means and said second communication means is converted into an IP address corresponding to one of said first and second networks.
  • 10. A firewall device comprising: first communication means by which a first apparatus connected to a first network transmits an IP address of said first apparatus to a firewall through said first network; security confirmation means by which said firewall confirms whether contents of said IP address of said first apparatus transmitted from said first communication means are secure or not; conversion means by which said firewall converts said IP address of said first apparatus from a first IP address to a second IP address; firewall communication means by which said firewall transmits said converted IP address of said first apparatus to a second apparatus through a second network, said second apparatus being connected to said second network; execution means by which said second apparatus performs processing peculiar to said second apparatus; second communication means by which said second apparatus transmits said second IP address to said firewall through said second network; said confirmation means by which said firewall confirms whether information of said transmitted IP address of said second apparatus is secure or not; said conversion means by which said firewall converts said IP address of said second apparatus from said second IP address to said first IP address; and said firewall communication means by which said firewall transmits said first IP address to said first apparatus through said first network.
  • 11. A firewall system comprising: a first apparatus connected to a first network; first communication means for transmitting/receiving data through said first network by use of an IP address second communication means connected to a second network for transmitting/receiving data through said second network by use of an IP address; and IP address converting means by which said IP address transmitted from one of said first communication means and said second communication means is converted into an IP address corresponding to one of said first and second networks.
  • 12. A communication method for an information apparatus, comprising: the step in which a first apparatus connected to a first network transmits an IP address of said first apparatus to a firewall through said first network; the step in which said firewall confirms whether processing contents of said transmitted IP address of said first apparatus are secure or not; the step in which said firewall converts said IP address of said first apparatus from a first IP address to a second IP address; the step in which said firewall transmits said converted IP address of said first apparatus to a second apparatus through a second network, said second apparatus being connected to said second network; the step in which said second apparatus performs processing peculiar to said second apparatus; the step in which said second apparatus transmits said second IP address to said firewall through said second network; the step in which said firewall confirms whether information of said transmitted IP address of said second apparatus is secure or not; the step in which said firewall converts said IP address of said second apparatus from said second IP address to said first IP address; and the step in which said firewall transmits said first IP address to said first apparatus through said first network.
Priority Claims (1)
Number Date Country Kind
2001-308155 Oct 2001 JP