Relay device, relay method, and relay program
The relay device addresses communication control issues by using frame processing lists and analysis units to manage communication based on day, time, or volume, ensuring secure and flexible communication management.
Patent Information
- Application Number
- JP2023036113
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2036-08-24
AI Technical Summary
Existing relay devices fail to handle communication control for specific terminals that do not want to communicate during normal times but only at certain times, and they cannot adjust communication flow when volume increases or decreases, lacking flexibility in bandwidth control and detouring capabilities.
A relay device with a storage mechanism for frame processing lists, a PLC, and analysis units to check frames against these lists, allowing for conditional processing based on day of the week, time, or communication volume, enabling blocking, detouring, and bandwidth control.
Enables appropriate communication processing by allowing specific terminals to communicate only at designated times and adjusting communication flow based on volume, enhancing security and control.
Smart Images

Figure 0007553624000017 
Figure 0007553624000023 
Figure 0007553624000009
Abstract
Description
[Technical field]
[0001] The present invention relates to a relay device, a communication system, a relay method, and a relay program for relaying data in data communication. [Background technology]
[0002] In recent years, everything is becoming connected to the Internet, collectively known as IoT (Internet of Things). For example, factory and plant control networks that previously communicated using proprietary protocols are now being connected to the Internet.
[0003] While being connected to the Internet in this way brings about a variety of benefits, such as new added value and device management, it also exposes devices to threats from malicious individuals, such as unauthorized access and Denial of Service attacks.
[0004] However, it is not easy to implement measures against threats from malicious individuals for each of the devices, such as machine tools, sensors, and cameras, installed in factories and plants, because the devices, such as machine tools, sensors, and cameras, may not be equipped with the functionality for implementing such measures in the first place.
[0005] For this reason, it is important that relay devices that relay communications between these devices, rather than the devices themselves, have security functions to deal with threats from malicious parties.
[0006] In this situation, for example, Patent Document 1 discloses a network switch that stores in advance a list of packets that match permitted communication restrictions and allows communication of packets that match the list. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2015-050767 A [Patent Document 2] JP 2014-1201381 A Summary of the Invention [Problem to be solved by the invention]
[0008] However, the device according to Patent Document 1 has a problem in that it cannot handle cases where a specific terminal is not to be allowed to communicate during normal times, but is allowed to communicate only at a certain time on a certain day of the week.Furthermore, when the amount of communication to a specific port in a regular communication flow increases or decreases compared to normal times, it is not possible to block the regular communication flow or to perform communication control including detouring or bandwidth control.
[0009] In this regard, for example, Patent Document 2 discloses an invention in which a list is generated in which the correspondence between user operations and abnormalities that occurred when the operations were performed is recorded together with the date and time of the abnormality, and a warning is given to user operations that are likely to cause abnormalities based on the list. However, in the invention of Patent Document 2, the date and time recorded in the list are merely past times, and the data in the list is merely an accumulation of past results, so operations are not controlled according to a schedule from the present time onwards. Furthermore, the list to be referred to is not switched depending on the current date and time.
[0010] Therefore, an object of the present invention is to provide a relay device that can control communications depending on the day of the week and time of day during operation, and further to provide a relay device that can implement controls such as blocking, detouring, bandwidth control, and monitoring of a regular communication flow when the traffic volume of the regular communication flow increases or decreases compared to normal times. [Means for solving the problem]
[0011] According to a first aspect of the present invention, there is provided a relay device comprising: a storage means for storing a list of frames to be subjected to a first processing after being received by the relay device; a first connection port connecting to only one PLC (Programmable Logic Controller); a second connection port connecting to only one IoT device; analysis means for comparing a frame received from the first or second connection port against the list; and control means for performing the first processing on the received frame if the received frame matches a frame listed in the list when compared by the analysis means, and performing a second processing on the received frame if there is no match, wherein the list includes information identifying the first or second connection port, and the analysis means further uses the information identifying the first or second connection port as a condition when comparing.
[0012] According to a second aspect of the present invention, there is provided a communication system comprising: a relay device; and a setting terminal connected to the relay device, wherein the relay device comprises: a storage means for storing a list of frames to be subjected to a first process after reception by the relay device; a first connection port connected to only one PLC; a second connection port connected to only one IoT device; analysis means for comparing a frame received from the first or second connection port with the list; and control means for performing the first process on the received frame if the received frame matches a frame listed in the list when compared by the analysis means, and performing a second process on the received frame if the received frame does not match a frame listed in the list, wherein the list includes information identifying the first or second connection port, and the analysis means further uses the information identifying the first or second connection port as a condition when comparing, and the setting terminal changes the content of each of the processes and part or all of the content of the list in response to an operation from a user received by the setting terminal.
[0013] According to a third aspect of the present invention, there is provided a relay method for use in a relay device, comprising the steps of: storing a list of frames to be subjected to a first processing after reception by the relay device; comparing a frame received from a first connection port connected to only one PLC or a second connection port connected to only one IoT device against the list; and if the received frame matches a frame listed in the list during the comparing step, performing the first processing on the received frame, and if there is no match, performing a second processing on the received frame, wherein the list includes information identifying the first or second connection port, and the comparing step further uses the information identifying the first or second connection port as a condition during the comparing step.
[0014] According to a fourth aspect of the present invention, there is provided a relay program that causes a computer to function as a relay device, the relay program comprising: a storage means for storing a list of frames that are to be subjected to a first processing after being received by the relay device; an analysis means for comparing a frame received from a first connection port that connects to only one PLC or a second connection port that connects to only one IoT device against the list; and a control means for performing the first processing on the received frame if the received frame matches a frame listed in the list when compared by the analysis means, and performing a second processing on the received frame if there is no match, wherein the list includes information identifying the first or second connection port, and the analysis means further uses the information identifying the first or second connection port as a condition when comparing. Effect of the Invention
[0015] According to the present invention, it is possible to carry out appropriate processing during relay. [Brief description of the drawings]
[0016] [Figure 1] FIG. 1 is a diagram illustrating a basic configuration of each embodiment of the present invention. [Diagram 2] FIG. 4 is a diagram illustrating an example of communication for each day of the week and each time in the first embodiment of the present invention. [Diagram 3] FIG. 4 is a diagram showing a permission list for each day of the week and time in the first embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing an example of a permission list in the first embodiment of the present invention. [Diagram 5] FIG. 4 is a diagram showing an example of a permission list in the first embodiment of the present invention. [Figure 6] FIG. 4 is a diagram illustrating an example of operation settings in the first embodiment of the present invention. [Figure 7] 1 is a diagram illustrating an example of a configuration of a relay device according to a first embodiment of the present invention. [Figure 8-1] 5 is a flowchart showing an operation flow of the relay device in the first embodiment of the present invention. [Figure 8-2] 5 is a flowchart showing an operation flow of the relay device in the first embodiment of the present invention. [Figure 9] FIG. 11 is a diagram illustrating an example of communication for each communication amount in the second embodiment of the present invention. [Figure 10] FIG. 11 is a diagram showing a list of permission lists for each communication amount in the second embodiment of the present invention. [Figure 11] FIG. 11 is a diagram showing an example of a permission list in the second embodiment of the present invention. [Figure 12] FIG. 11 is a diagram showing an example of a permission list in the second embodiment of the present invention. [Figure 13] FIG. 11 is a diagram illustrating an example of a configuration of a relay device according to a second embodiment of the present invention. [Figure 14-1] 10 is a flowchart showing an operation flow of a relay device in the second embodiment of the present invention. [Figure 14-2] 10 is a flowchart showing an operation flow of a relay device in the second embodiment of the present invention. [Figure 15] FIG. 13 is a diagram illustrating an example of communication for each day of the week, time, and communication amount in the third embodiment of the present invention. [Figure 16]FIG. 13 is a diagram showing a list of permission lists for each day of the week, time, and communication volume in the third embodiment of the present invention. [Figure 17] FIG. 13 is a diagram showing an example of a permission list in the third embodiment of the present invention. [Figure 18] FIG. 13 is a diagram showing an example of a permission list in the third embodiment of the present invention. [Figure 19] FIG. 13 is a diagram showing an example of a permission list in the third embodiment of the present invention. [Figure 20] FIG. 13 is a diagram illustrating an example of the configuration of a relay device according to a third embodiment of the present invention. [Figure 21-1] 13 is a flowchart showing an operation flow of a relay device in the third embodiment of the present invention. [Figure 21-2] 13 is a flowchart showing an operation flow of a relay device in the third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] <Outline of each embodiment of the present invention> First, an overview of each embodiment of the present invention will be described.
[0018] In an embodiment of the present invention, a method is adopted in which information identifying communication destinations that are considered to be problem-free is made into a list (such a list will be referred to hereinafter as an "allowance list"), and frames that match this allowance list are allowed to be forwarded, and frames that do not match this allowance list are discarded.
[0019] Here, in the present invention, a plurality of permission lists are prepared. For example, a permission list for each day of the week from 8:30 to 17:29 and a permission list for each day of the week from 17:30 to 8:29 are prepared according to the day of the week and the time. This makes it possible to provide a security switch that switches the communication control method according to the day of the week and the time.
[0020] Alternatively, an allow list for when the traffic volume is normal and an allow list for when the traffic volume is abnormal can be prepared according to the traffic volume. This makes it possible to provide a security switch that can control the legitimate traffic flow by blocking it or the like when an abnormality is detected in the traffic volume.
[0021] Additionally, embodiments of the present invention provide the ability to automatically generate at least a portion of such permission lists.
[0022] Specifically, a registration period and an operation period are set for the relay device. Then, the allowance list is automatically generated by adding frames input to the relay device during the registration period to the allowance list. At this time, the automatically generated allowance list may be manually added or deleted by a user operation.
[0023] Thereafter, the registration period is switched to the operation period, and the frame input to the relay device is compared with the permission list automatically generated during the registration period. If there is a match, the frame is allowed to pass, and if there is a mismatch, the frame is discarded, etc.
[0024] This enables automatic generation of an authorization list and security management using the authorization list.
[0025] The above is an outline of the embodiment of the present invention.
[0026] Next, embodiments of the present invention will be described in detail with reference to the drawings. Here, three embodiments of the present invention will be described below. First, the first embodiment is a form in which an allowance list is generated for each day of the week and time, and the allowance list to be referenced is switched depending on the day of the week and time during operation. Next, in the second embodiment, an allowance list is generated for each communication volume, and the allowance list to be referred to is switched depending on the communication volume during operation. Furthermore, the third embodiment is a configuration in which an allowance list is generated for each day of the week, time, and communication volume, and the allowance list to be referenced is switched depending on the day of the week, time, and communication volume during operation. Below, these three embodiments will be described in turn.
[0027] <First embodiment> Hereinafter, a first embodiment of the present invention will be described in detail with reference to FIGS.
[0028] 1, this embodiment includes a security switch 100, a plurality of communication terminals 10-1 to 10-n (collectively referred to herein as "communication terminals 10"), a setting terminal 50, a firewall 500, and the Internet 700. (Note that the security switch is also referred to as a "relay device" in this specification.)
[0029] Here, the security switch 100 is a security switch for relaying communications between the communication terminals 10 and communications by the communication terminals 10 via a firewall 500 and the Internet 700.
[0030] In this regard, in this embodiment, as shown in the figure, a firewall 500 is provided between the security switch 100 and the Internet 700. Then, by configuring this firewall 500 in accordance with a user's policy, it is possible to prevent the inflow of malicious data such as viruses from the Internet 700 and the outflow of unintended data to the Internet 700.
[0031] However, although the firewall 500 functions for communication with devices on the Internet 700, it does not function for communication between the communication terminals 10. Therefore, in this embodiment, in order to prevent inappropriate communication between the communication terminals 10, a security switch 100 equipped with a security function is connected instead of a simple relay device.
[0032] The security switch 100 performs processing using the above-mentioned permission list to prevent the forwarding of malicious frames. The security switch 100 is provided with a plurality of connection ports, to which the communication terminals 10 and the firewall 500 are connected.
[0033] Each of the multiple communication terminals 10 has a communication function. The communication terminals 10 communicate with the other communication terminals 10 via the security switch 100. Such communication is performed in accordance with a general protocol such as IP (Internet Protocol), TCP (Transmission Control Protocol), or FTP (File Transfer Protocol). There are no particular limitations on the content of the data that is actually exchanged, that is, the content that is included in the payload portion.
[0034] Also, for example, some of the communication terminals 10 may have a function of communicating with terminals on the Internet 700. Furthermore, the communication terminals 10 may be realized as terminals that are directly operated by users, or may be realized as devices such as machine tools, sensors, and cameras installed in factories and plants. Also, the communication terminals 10 may be devices such as PLCs (Programmable Logic Controllers) that control machine tools.
[0035] The setting terminal 50 is a terminal for configuring the security switch 100. The setting terminal 50 is used by an administrator or the like who manages this embodiment. The setting terminal 50 may be realized as a dedicated terminal for configuring the security switch 100, or may be realized as a general-purpose terminal such as a personal computer to which software or the like for configuring the security switch 100 is added.
[0036] The Internet 700 is connected to the security switch 100 via a firewall 500 so that the communication terminals 10 and the like can communicate with the outside.
[0037] The firewall 500 has the function of monitoring data sent to and received from the Internet 700, and discarding data that is deemed to be malicious.
[0038] Here, as shown in Fig. 2(A), for example, during the time period from 8:30 to 17:29 on weekdays (Monday to Friday), only communications are permitted between PC10-1 and server PC10-3, and between PC10-2 and server PC10-3. On the other hand, during the time period from 17:30 to 8:29 on weekdays (Monday to Friday), as shown in Fig. 2(B), only communications are permitted between server PC10-3 and backup server PC10-4.
[0039] Therefore, as shown in FIG. 3, a plurality of permission lists are prepared. That is, a permission list is generated for each time period of 8:30 to 17:29 and 17:30 to 8:29 on each day of the week, and is referred to during operation. For example, a permission list "day-day" is generated for the operation of the security switch 100 during the time period of 8:30 to 17:29 on Sunday, and communication is controlled by referring to the permission list "day-day" during that time period. Similarly, a permission list "day-night" is generated for the operation of the security switch 100 during the time period of 17:30 to 8:29 on Sunday, and communication is controlled by referring to the permission list "day-night" during that time period. Similarly, a permission list is generated for each time period of 8:30 to 17:29 and 17:30 to 8:29 on each day of the week, from Monday to Saturday, and the security switch 100 is operated by referring to the permission list during the time period corresponding to each permission list.
[0040] Figure 4 shows an example of an allowance list for the time period 8:30-17:29 on weekdays (Monday-Friday), i.e., for the allowance lists named "Monday-afternoon", "Tuesday-afternoon", "Wednesday-afternoon", "Thursday-afternoon", and "Friday-afternoon" in the table of Figure 3.
[0041] Specifically, for example, item number 1 indicates a frame received from receiving port 1 with a MAC-DA (destination address) of "M-PC3", a MAC-SA (source address) of "M-PC1", a Type of "0x0800" (IPv4), a VID of "0", an IP-SA (source IP address) of "IP-PC1", an IP-DA (destination IP address) of "IP-PC3", a protocol of "6" (TCP), an L4SP (source port number in the TCP header) of "3000", and an L4DP (destination port number in the TCP header) of "23".
[0042] 5 shows an example of an allowance list for the time period from 17:30 to 8:29 on weekdays (Monday to Friday). That is, this is an example of an allowance list for "Monday night", "Tuesday night", "Wednesday night", "Thursday night", and "Friday night" in the table of FIG. 3.
[0043] Specifically, for example, item number 5 indicates a frame received from receiving port 3 with a MAC-DA (destination MAC address) of "M-PC4", a MAC-SA (source MAC address) of "M-PC3", a Type of "0x0800" (IPv4), a VID of "0", an IP-SA (source IP address) of "IP-PC3", an IP-DA (destination IP address) of "IP-PC4", a protocol of "6" (TCP), an L4SP (source port number in the TCP header) of "any", and an L4DP (destination port number in the TCP header) of "any".
[0044] The permission list contains, for example, frame information of frames that are to pass through the security switch 100. Specifically, the permission list contains frame information for identifying frames of protocols used in each communication terminal 10 and frame information for identifying frames that include addresses indicating destinations and sources used in each communication terminal 10.
[0045] In this example, the elements that make up the permission list are device, layer 2, layer 3, and layer 4. However, as mentioned above, it is not necessary to include all of these as elements; some of them may be combined, or other elements may be added.
[0046] Fig. 6 shows a table showing an example of operation settings when a frame matches the permission list shown in Fig. 4 and Fig. 5, and when it does not match. Specifically, the table in Fig. 6 shows that a frame that matches the permission list is allowed to pass through the security switch 100, and the setting terminal 50 is not notified. On the other hand, a frame that does not match the permission list is discarded, and the setting terminal 50 is notified of the fact that it has been discarded.
[0047] Next, functional blocks included in the security switch 100 according to the first embodiment will be described with reference to Fig. 7. Referring to Fig. 7, the security switch 100 includes a frame analysis unit 110, an allowance list generation unit 120, an allowance list storage unit 130, a day / time management unit 140, and a communication control unit 150. Note that, in this specification, the frame analysis unit 110 is also referred to as "analysis means", the allowance list storage unit 130 as "storage means", and the communication control unit 150 as "control means".
[0048] The frame analysis unit 110 analyzes an input frame every time the security switch 100 receives an input frame from the outside. Here, analysis means extracting predetermined information (hereinafter referred to as "frame information") from the received input frame.
[0049] The frame information is, for example, predetermined information that is determined to be written by each protocol used in communication. Specific examples include the number of the receiving port, layer 2 (MAC header) information, and information required for higher layers such as layer 3 (IP header) information depending on the frame type. In this embodiment, by using frame information that complies with such a general-purpose protocol, it is possible to eliminate the need for processing such as embedding special information in the payload portion.
[0050] In this embodiment, all of the information may be used in the frame information and each list, or a combination of some of the information may be used. For example, only layer 2 (MAC header) information may be used, or a combination of layer 2 (MAC header) information and layer 3 (IP header) information may be used.
[0051] Also, for example, if layer 2 (MAC header) information is used, all of the layer 2 (MAC header) information may be used, or only a portion of the layer 2 (MAC header) information, such as the destination address (MAC-DA) or the source address (MAC-SA), may be used, or a combination of these may be used.
[0052] In the frame analysis unit 110, two settings, namely, "registration period setting" and "operation setting", are made by the setting terminal 50.
[0053] In this embodiment, as described above, there are two periods, the registration period and the operation period, but the registration period and the operation period can be switched by setting the registration period. Specifically, for example, when generating a list of "Monday-afternoon", the registration period is set to 8:30 to 17:29 on Mondays.
[0054] In addition, the operation settings specify what action to take when the frame information of a received input frame matches each list and when it does not match each list. For example, it can be set to pass the corresponding frame when it matches the permission list. It can also be set to discard the corresponding frame when it does not match the permission list. Here, passing means that the received input frame is passed through frame analysis unit 110 and output, thereby forwarding the frame to a destination corresponding to the destination address in the frame.
[0055] In addition to this, it is also possible to set whether or not to notify when there is a match or no match with each list. The notification content may be only that there is a match or no match with each list, but it is also possible to duplicate a frame corresponding to the frame information and include this duplicated frame in the notification. For example, a virtual communication system may be created by the setting terminal 50, and the duplicated frame may be communicated in this virtual communication system, thereby making it possible to know the influence of a malicious frame.
[0056] The notification destination may be, for example, the setting terminal 50, or may be another server device, etc. Also, instead of or in addition to the notification, a frame corresponding to the frame information may be recorded inside the security switch 100. An administrator or the like managing this embodiment can grasp the communication status in this embodiment by referring to the contents of the notification and the contents recorded in the security switch 100 as logs.
[0057] Furthermore, if the registration period is in progress when the frame analysis unit 110 receives an input frame, it extracts frame information from the received input frame, adds the current day of the week and time data received from the day and time management unit 140 (described below), and passes the information to the permission list generation unit 120 (described below).
[0058] Furthermore, if the incoming frame is received during an operation period, the frame analysis unit 110 extracts frame information from the received incoming frame, and compares the extracted frame information with the permission list stored in the permission list storage unit 130 that corresponds to the current day of the week and time.
[0059] If the comparison shows that the frame information matches the permission list, the operation is performed according to the corresponding operation setting. For example, if the setting is "pass, do not notify," the frame is output by passing it through the frame analysis unit 110. However, no notification is performed.
[0060] On the other hand, if the comparison shows that the frame information does not match the permission list, the device operates according to the corresponding operation setting. For example, if the setting is "discard and notify," the device discards the frame and notifies the setting terminal 50 that the frame has been discarded.
[0061] The permission list generating unit 120 starts operation during the registration period when it receives frame information from the frame analyzing unit 110. It generates permission list information from the received frame information and stores the permission list information in the permission list storage unit .
[0062] The permission list storage unit 130 is a storage unit that stores the permission list. The permission list stored in the permission list storage unit 130 is generated by the permission list generation unit 120 during a registration period. The permission list stored in the permission list storage unit 130 is referred to and used by the frame analysis unit 110 during an operation period.
[0063] The permission list contains, for example, frame information of frames to be passed through the frame analysis unit 110. Specifically, the permission list contains frame information for identifying frames of protocols used in each communication terminal 10 and frame information for identifying frames including addresses indicating destinations and sources used in each communication terminal 10.
[0064] As described above, the permission list is generated by the permission list generating unit 120 during the registration period. In addition, the permission list may be modified by "list setting" from the setting terminal 50. For example, the administrator who uses the setting terminal 50 may be able to delete part of the permission list or add new frame information to the permission list. In this way, for example, when a new communication terminal 10 is added, it is possible to pass frames related to the newly added communication terminal 10 without obtaining another registration period. In addition, for example, when a part of an existing communication terminal 10 is removed, frame information related to the removed communication terminal 10 can be deleted from the permission list without obtaining another registration period.
[0065] In this example, the elements that make up the permission list are device, layer 2, layer 3, and layer 4. However, as mentioned above, it is not necessary to include all of these as elements; some of them may be combined, or other elements may be added.
[0066] The day and time management unit 140 functions as a so-called calendar, and outputs data on the current day and time.
[0067] The communication control unit 150 actually processes the frame in accordance with the operation settings set in the frame analysis unit 110, while referring to the permission list stored in the permission list storage unit 130 as necessary.
[0068] Next, the operation of this embodiment during the registration period will be described with reference to the flowchart in FIG. 8-1.
[0069] First, in step S101, the day of the week and time for the permission list to be generated are registered. For example, if "Monday: 8:30-17:29" is set, the learning period will be from 8:30 to 17:29 on Mondays, and a permission list will be generated that will be referenced during operation from 8:30 to 17:29 on Mondays.
[0070] Next, in step S102, the security switch 100 judges whether or not the frame analysis unit 110 is set to the registration period. If it is set to the registration period (S102: Yes), the process proceeds to step S103. On the other hand, if it is not set to the registration period (S102: No), that is, if it is set to the operation period, the process proceeds to step S108 in FIG. 8-2.
[0071] Next, in step S103, the frame analysis unit 110 performs frame analysis and transmits frame information to the permission list generation unit 120. At this time, the actual frame is output as an output frame via the communication control unit 150.
[0072] Next, in step S 104 , the day of the week / time management section 140 adds data on the current day of the week and time to the frame information transmitted by the frame analysis section 110 .
[0073] Next, in step S105, the permission list generating unit 120 receives the frame information to which the current day of the week and time data has been added, and generates permission list information.
[0074] Next, in step S106, the permission list generation unit 120 transfers the generated permission list information to the permission list storage unit .
[0075] Next, in step S107, the permission list storage unit 130 stores the transferred permission list information.
[0076] Next, in step S108, the security switch 100 determines whether the registration period has ended. If the registration period has ended (S108: Yes), the process proceeds to step S109 in FIG. 8-2. If the registration period has not ended (S108: No), the process returns to step S103.
[0077] Next, the operation of using the permission list generated and updated in this manner during the operation period will be described with reference to FIG. 8-2.
[0078] First, in step S109, when the security switch 100 receives an input frame during the operation period, the frame analysis unit 110 analyzes the received input frame to extract frame information.
[0079] Next, in step S110, the day / time management unit 140 instructs the frame analysis unit 110 to select a day / time range that corresponds to the current day / time. For example, if the current time is 12:30 on Monday, the unit instructs the frame analysis unit 110 to select "Monday-afternoon."
[0080] Next, in step S111, the frame analysis unit 110 refers to the permission list corresponding to the day of the week and time range selected and instructed by the day of the week and time management unit 140. For example, in the above example, the permission list for "Monday-afternoon" is referred to.
[0081] Next, in step S112, frame analysis unit 110 compares the extracted frame information with the permission list that it has referred to, and determines whether or not the two match.
[0082] If they match (S112: Yes), frame analysis unit 110 processes the frame corresponding to the frame information that matches the permission list according to the instruction of the operation setting for when it matches the permission list (step S113). For example, if the setting is "pass, do not notify," the frame is output by passing the frame analysis unit 110. However, no notification will be given.
[0083] When the process of step S113 is completed, the process returns to step S109, and the above-mentioned operations are repeated for a newly received frame.
[0084] If they do not match (S112: No), frame analysis unit 110 processes the frame corresponding to the frame information that does not match the permission list according to the instruction of the operation setting for when the frame does not match the permission list (step S114). For example, if the setting is "discard, notify", the frame is discarded and the fact that it has been discarded is notified to setting terminal 50.
[0085] When the process of step S114 ends, the process returns to step S109, and the above-mentioned operations are repeated for the newly received frame.
[0086] According to the first embodiment, a specific terminal can be allowed to communicate only at a certain time on a certain day of the week, thereby improving security. This is because the permission list referenced from the permission list storage unit is switched for each day of the week and time, and the frame analysis unit compares and judges the data of the received frame.
[0087] In the first embodiment, when generating an allowance list for a specific day and time, the allowance list is set to study during the specific day and time at the stage of setting the initial study period. Alternatively, for example, the study period may be set to one week, and an allowance list may be generated for one week, and the allowance list for one week may be divided by day and time by directly operating the allowance list storage unit.
[0088] <Second embodiment> Hereinafter, the second embodiment of the present invention will be described in detail with reference to FIGS.
[0089] The second embodiment has the same basic configuration as the first embodiment shown in Fig. 1. However, although not shown, a security switch 200 is provided instead of the security switch 100 in Fig. 1.
[0090] In the first embodiment, an allowance list was generated for each day of the week and time, and the allowance list to be referenced was switched depending on the day of the week and time at the time of operation. On the other hand, in the second embodiment, an allowance list according to communication volume is generated, and the allowance list to be referenced is switched depending on the communication volume at the time of operation.
[0091] 9, when the communication volume is normal, as shown in (A), only communication between PC10-1 and server PC10-3, and between PC10-2 and server PC10-3 is permitted. On the other hand, when the communication volume is abnormal, as shown in (B), no communication is permitted.
[0092] Therefore, as shown in Fig. 10, the permission list to be referenced is switched depending on the amount of communication. For example, when the amount of communication is between 0Mbps and 5Mbps, the communication is controlled by referring to a permission list named "normal" that is used when the amount of communication is normal. On the other hand, when the amount of communication exceeds 5Mbps, the communication is controlled by referring to a permission list named "abnormal" that is used when the amount of communication is abnormal. Note that the amount of communication mentioned here may be the amount of communication per security switch or the amount of communication per port.
[0093] 11 shows an example of a permission list that is referred to when the communication volume is normal, that is, an example of the permission list named "Normal" in the table of FIG.
[0094] As with the table of Figure 4 relating to the first embodiment, specifically, for example, item number 1 indicates a frame received from receiving port 1 with a MAC-DA (destination MAC address) of "M-PC3", a MAC-SA (source MAC address) of "M-PC1", a Type of "0x0800" (IPv4), a VID of "0", an IP-SA (source IP address) of "IP-PC1", an IP-DA (destination IP address) of "IP-PC3", a protocol of "6" (TCP), an L4SP (source port number in the TCP header) of "3000", and an L4DP (destination port number in the TCP header) of "23".
[0095] 12 shows an example of a permission list to be referred to when the communication volume is abnormal, that is, an example of a permission list named "abnormal" in the table of FIG.
[0096] No data is registered in the table of Fig. 12. In other words, when referring to the permission list in the table of Fig. 12, there is no frame that matches the permission list.
[0097] Operational setting examples for when a frame matches the permission list illustrated in Figures 11 and 12 and when it does not match are the same as those in Figure 6. Specifically, a frame that matches the permission list illustrated in Figure 11 is allowed to pass through the security switch 200 and is not notified to the setting terminal 50. On the other hand, a frame that does not match the permission list is discarded and the setting terminal 50 is notified of the fact that it has been discarded. Also, when referring to the permission list illustrated in Figure 12, since there is no frame that matches the permission list, all frames are discarded and the setting terminal 50 is notified of the fact that they have been discarded.
[0098] Next, functional blocks included in the security switch 200 according to the second embodiment will be described with reference to Fig. 13. In Fig. 13, the same components as those in the security switch 100 according to the first embodiment are denoted by the same reference numerals.
[0099] The security switch 200 differs from the security switch 100 of the first embodiment in that it does not include a day / time management unit 140 and a communication control unit 150, but instead includes a communication traffic monitoring unit 210, a communication traffic management unit 220, and a communication control unit 230.
[0100] The traffic monitoring unit 210 monitors the traffic of passing data and periodically notifies the traffic management unit 220 of the traffic. The granularity of monitoring may be on a physical port basis or on a device basis. The range of traffic to be monitored follows the instructions of the traffic management unit 220.
[0101] The communication volume management unit 220 sets the communication volume expected value for the learning period by the communication volume setting means. The setting is made with a certain degree of range. For example, it may be set to "0 Mbps or more, 5 Mbps or less", or "5 Mbps ±20%". If the actual communication volume is within this range, the communication volume is determined to be normal, and if it exceeds this range, the communication volume is determined to be abnormal. This communication volume expected value is added to the frame information when the frame information is transferred from the frame analysis unit 110 to the permission list generation unit 120. After that, when the permission list is stored in the permission list storage unit 130, the communication volume expected value is simultaneously stored as an attribute of the permission list.
[0102] The traffic management unit 220 periodically obtains the traffic from the traffic monitoring unit 210 and obtains traffic expected value data corresponding to the permission list from the permission list storage unit 130. Furthermore, the traffic management unit 220 periodically compares the traffic obtained from the traffic monitoring unit 210 with the traffic expected value data obtained from the permission list storage unit 130, and if the actual traffic is outside the range of the traffic expected value, instructs the frame analysis unit 110 to select the permission list to be referred to. In addition, the communication control unit 230 may be instructed to perform bandwidth control or the like. If the actual traffic returns to the range of the traffic expected value, the frame analysis unit 110 selects the permission list to be referred to and instructs the communication control unit 230 again.
[0103] The communication control unit 230 actually processes frames according to the operation settings set in the frame analysis unit 110. Furthermore, according to instructions from the communication traffic management unit 220, the communication control unit 230 may perform communication control such as bandwidth control.
[0104] Next, the operation of this embodiment during the registration period will be described with reference to the flowchart in FIG. 14-1.
[0105] First, in step S201, the security switch 200 judges whether or not the frame analysis unit 110 is set to the registration period. If it is set to the registration period (S201: Yes), the process proceeds to step S202. On the other hand, if it is not set to the registration period (S201: No), that is, if it is set to the operation period, the process proceeds to step S209 in FIG. 14-2.
[0106] Next, in step S202, the frame analysis unit 110 performs frame analysis and transmits frame information to the permission list generation unit 120. At this time, the actual frame is output as an output frame via the communication traffic monitoring unit 210 and the communication control unit 230.
[0107] Next, in step S203, the communication traffic management unit 220 adds data of a communication traffic expectation value to the frame information transmitted by the frame analysis unit 110. For example, when a communication traffic of 0 Mbps to 5 Mbps is considered to be within the normal communication traffic range, the data "0 Mbps to 5 Mbps" is added.
[0108] Next, in step S204, the permission list generating unit 120 receives frame information to which a communication volume expectation value has been assigned, and generates permission list information for cases in which the actual communication volume is within the range of the communication volume expectation value.
[0109] Next, in step S205, the permission list generation unit 120 transfers the generated permission list information to the permission list storage unit .
[0110] Next, in step S206, the permission list storage unit 130 stores the transferred permission list information.
[0111] Next, in step S207, the security switch 100 determines whether the registration period has ended. If the registration period has ended (S207: Yes), the process proceeds to step S208. If the registration period has not ended (S207: No), the process returns to step S202.
[0112] Next, in step S208, the user directly operates the permission list storage unit 130 to generate a permission list for when the communication volume is outside the expected communication volume range, for example, the permission list shown in Fig. 12. Note that, for example, if it is predetermined that the permission list for when the communication volume is outside the expected communication volume range is an empty list as shown in Fig. 12, the permission list generation unit 120 may automatically generate the permission list for when the communication volume is outside the expected communication volume range, without user operation.
[0113] The operation of using the permission list generated and updated in this manner during the operation period will be described with reference to FIG. 14-2.
[0114] First, in step S209, when the security switch 100 receives an input frame during the operation period, the frame analysis unit 110 analyzes the received input frame to extract frame information.
[0115] Next, in step S210, the traffic monitor 210 transmits the current traffic to the traffic manager 220.
[0116] Next, in step S211, the communication traffic management unit 220 compares the current communication traffic with the communication traffic expected value range that is an attribute of the permission list stored in the permission list storage unit 130, and instructs the frame analysis unit 110 to select the communication traffic expected value range that corresponds to the current communication traffic. For example, if the current communication traffic is 2 Mbps, the frame analysis unit 110 is instructed to select "normal communication traffic", which is item number 1 in the table of Fig. 10, and if the current communication traffic is 10 Mbps, the frame analysis unit 110 is instructed to select "abnormal communication traffic", which is item number 2 in the table of Fig. 10.
[0117] Next, in step S212, the frame analysis unit 110 refers to the permission list corresponding to the traffic volume range instructed to be selected by the traffic volume management unit 220 in step S211.
[0118] Next, in step S213, frame analysis unit 110 compares the extracted frame information with the permission list referred to, and determines whether or not the two match.
[0119] If they match (S213: Yes), frame analysis unit 110 processes the frame corresponding to the frame information that matches the permission list according to the instruction of the operation setting for when it matches the permission list (step S214). For example, if the setting is "pass, do not notify," the frame is output by passing the frame analysis unit 110. However, no notification will be given.
[0120] When the process of step S214 is completed, the process returns to step S209, and the above-mentioned operations are repeated for the newly received frame.
[0121] If they do not match (S213: No), frame analysis unit 110 processes the frame corresponding to the frame information that does not match the permission list according to the instruction of the operation setting for when the frame does not match the permission list (step S215). For example, if the setting is "discard, notify", the frame is discarded and the setting terminal 50 is notified that it has been discarded.
[0122] When the process of step S215 is completed, the process returns to step S209, and the above-mentioned operations are repeated for the newly received frame.
[0123] According to the second embodiment described above, when the traffic volume of a legitimate communication flow exceeds a certain range compared with the normal state, communication control (blocking, detouring, bandwidth control, etc.) can be performed. The reason is that the traffic volume monitored by the traffic volume monitoring unit 210 is compared with the normal traffic volume expected value by the traffic volume management unit 220, and if it is outside the range, the communication control unit 230 controls the communication.
[0124] In the above explanation, only two permission lists, one for when the communication volume is normal and one for when the communication volume is abnormal, are shown as examples, but this embodiment is not limited to this, and three or more permission lists may be generated and referenced depending on the communication volume.
[0125] <Third embodiment> Hereinafter, the third embodiment of the present invention will be described in detail with reference to FIGS.
[0126] The third embodiment has the same basic configuration as that of the first embodiment shown in Fig. 1. However, although not shown, a security switch 300 is provided instead of the security switch 100 in Fig. 1.
[0127] In the first embodiment, an allowance list was generated for each day of the week and time, and the allowance list to be referenced was switched depending on the day of the week and time at the time of operation. In the second embodiment, an allowance list was generated according to the communication volume, and the allowance list to be referenced was switched depending on the communication volume at the time of operation. In the third embodiment, an allowance list is generated according to a combination of these, that is, according to the day of the week, time, and communication volume, and the allowance list to be referenced is switched depending on the day of the week, time, and communication volume at the time of operation.
[0128] As shown in Fig. 15(A), for example, if the amount of communication is normal during the time period from 8:30 to 17:29 on weekdays (Monday to Friday), only communication between PC10-1 and server PC10-3 and between PC10-2 and server PC10-3 is permitted. Also, if the amount of communication is normal during the time period from 17:30 to 8:29 on weekdays (Monday to Friday), only communication between server PC10-3 and backup server PC10-4 is permitted as shown in Fig. 15(B). Furthermore, if the amount of communication is abnormal during weekdays (Monday to Friday), no communication is permitted at all as shown in Fig. 15(C).
[0129] Therefore, multiple permission lists are prepared as shown in Fig. 16. That is, permission lists for normal and abnormal traffic volume are generated for each time period of 8:30 to 17:29 and 17:30 to 8:29 on each day of the week, and are referred to during operation. For example, for operation of the security switch 300 when the traffic volume is normal during the time period of 8:30 to 17:29 on Sunday, a permission list "day-day-normal" is generated, and communication is controlled by referring to the permission list "day-day-normal" during operation during that time period. Also, for operation of the security switch 300 when the traffic volume is abnormal during the time period of 8:30 to 17:29 on Sunday, a permission list "day-day-abnormal" is generated, and communication is controlled by referring to the permission list "day-day-abnormal" during that time period. Similarly, for the operation of the security switch 100 when the communication volume is normal during the time period from 17:30 to 8:29 on Sunday, a permission list called "day-night-normal" is generated, and communication is controlled during operation during this time period by referring to the permission list called "day-night-normal". For the operation of the security switch 100 when the communication volume is abnormal during the time period from 17:30 to 8:29 on Sunday, a permission list called "day-night-abnormal" is generated, and communication is controlled during operation during this time period by referring to the permission list called "day-night-abnormal". Similarly, permission lists for the cases when the communication volume is normal and abnormal are generated for the time periods from 8:30 to 17:29 and from 17:30 to 8:29 on Monday to Saturday, and the security switch 100 is operated by referring to the permission list during the time period corresponding to each permission list.
[0130] Fig. 17 shows an example of an allowance list for when the communication volume is normal during the time period from 8:30 to 17:29 on weekdays (Monday to Friday). That is, it is an example of an allowance list named "Monday-day-normal", "Tuesday-day-normal", "Wednesday-day-normal", "Thursday-day-normal", and "Friday-day-normal" in the table of Fig. 16.
[0131] Specifically, for example, item number 1 indicates a frame received from receiving port 1 with a MAC-DA (destination MAC address) of "M-PC3", a MAC-SA (source MAC address) of "M-PC1", a Type of "0x0800" (IPv4), a VID of "0", an IP-SA (source IP address) of "IP-PC1", an IP-DA (destination IP address) of "IP-PC3", a protocol of "6" (TCP), an L4SP (source port number in the TCP header) of "3000", and an L4DP (destination port number in the TCP header) of "23".
[0132] 18 shows an example of an allowance list for when the communication volume is normal during the time period from 17:30 to 8:29 on weekdays (Monday to Friday). That is, this is an example of an allowance list for "Monday night - normal", "Tuesday night - normal", "Wednesday night - normal", "Thursday night - normal", and "Friday night - normal" in the table of FIG. 3.
[0133] Specifically, for example, item number 5 indicates a frame received from receiving port 3 with a MAC-DA (destination MAC address) of "M-PC4", a MAC-SA (source MAC address) of "M-PC3", a Type of "0x0800" (IPv4), a VID of "0", an IP-SA (source IP address) of "IP-PC3", an IP-DA (destination IP address) of "IP-PC4", a protocol of "6" (TCP), an L4SP (source port number in the TCP header) of "any", and an L4DP (destination port number in the TCP header) of "any".
[0134] Also, Fig. 19 shows an example of an allowance list to be referred to when the communication volume is abnormal. That is, it is an example of an allowance list named "Mon-day-abnormal", "Mon-night-abnormal", "Tue-day-abnormal", "Tue-night-abnormal", "Wed-day-abnormal", "Wed-night-abnormal", "Thu-day-abnormal", "Thu-night-abnormal", "Fri-day-abnormal", "Fri-night-abnormal" in the table of Fig. 16.
[0135] No data is registered in the table of Fig. 19. In other words, when referring to the permission list shown in the table of Fig. 19, there is no frame that matches the permission list.
[0136] Operational setting examples for when a frame matches the permission lists illustrated in Figures 17 to 19 and when it does not match are the same as those in Figure 6. Specifically, a frame that matches the permission lists illustrated in Figures 17 and 18 is allowed to pass through the security switch 300 and is not notified to the setting terminal 50. On the other hand, a frame that does not match the permission list is discarded and the setting terminal 50 is notified of the fact that it has been discarded. Also, when referring to the permission list illustrated in Figure 19, since there are no frames that match the permission list, all frames are discarded and the setting terminal 50 is notified of the fact that they have been discarded.
[0137] Next, functional blocks included in the security switch 300 according to the third embodiment will be described with reference to Fig. 20. In Fig. 20, the same components as those in the security switch 100 according to the first embodiment and the security switch 200 according to the second embodiment are denoted by the same reference numerals.
[0138] The security switch 300 includes a frame analysis unit 110, an allowance list generation unit 120, and an allowance list storage unit 130, which are included in both the security switch 100 according to the first embodiment and the security switch 200 according to the second embodiment. The security switch 300 also includes a day / time management unit 140, which is included in the security switch 100 according to the first embodiment. Furthermore, the security switch 300 includes a communication traffic monitoring unit 210, a communication traffic management unit 220, and a communication control unit 230, which are included in the security switch 200 according to the second embodiment.
[0139] Among the operations of the blocks of the security switch 300, the differences from the operations of the corresponding blocks included in the security switch 100 and the security switch 200 are as follows.
[0140] If it is within the registration period when receiving an input frame, the frame analysis unit 110 extracts frame information from the received input frame, adds the expected communication volume received from the communication volume management unit 220 and the current day of the week and time data received from the day and time management unit 140, and passes it to the permission list generation unit 120, which will be described later.
[0141] Furthermore, if the frame is received during an operation period, the frame analysis unit 110 extracts frame information from the received input frame and compares the extracted frame information with the permission list stored in the permission list storage unit 130 that corresponds to the current day of the week, time, and communication volume.
[0142] Furthermore, the granularity of the traffic monitored by the traffic monitor 210 may be in units of physical ports, in units of devices, or in units of days of the week and time ranges corresponding to each permission list.
[0143] Next, the operation of this embodiment during the registration period will be described with reference to the flowchart in FIG. 21-1.
[0144] First, in step S301, the day of the week and time for the permission list to be generated are registered. For example, if "Monday: 8:30-17:29" is set, the learning period will be from 8:30 to 17:29 on Mondays, and a permission list will be generated that will be referenced during operation from 8:30 to 17:29 on Mondays.
[0145] Next, in step S302, the security switch 300 judges whether or not the frame analysis unit 110 is set to the registration period. If it is set to the registration period (S302: Yes), the process proceeds to step S303. On the other hand, if it is not set to the registration period (S302: No), that is, if it is set to the operation period, the process proceeds to step S311 in FIG. 21-2.
[0146] Next, in step S303, the frame analysis unit 110 performs frame analysis and transmits frame information to the permission list generation unit 120. At this time, the actual frame is output as an output frame via the communication traffic monitoring unit 210 and the communication control unit 230.
[0147] Next, in step S304, the communication traffic management unit 220 adds data of an expected communication traffic value to the frame information transmitted by the frame analysis unit 110. For example, when a communication traffic of 0 Mbps to 5 Mbps is considered to be within the normal communication traffic range, the data "0 Mbps to 5 Mbps" is added.
[0148] Next, in step S305, day of the week / time management section 140 further adds data on the current day of the week and time to the frame information to which the communication volume expected value has been added.
[0149] Next, in step S306, the permission list generating unit 120 receives the frame information to which the data on the current day of the week and time and the data on the expected communication volume have been added, and generates permission list information.
[0150] Next, in step S307, the permission list generation unit 120 transfers the generated permission list to the permission list storage unit .
[0151] Next, in step S308, the permission list storage unit 130 stores the transferred permission list.
[0152] Next, in step S309, the security switch 100 determines whether the registration period has ended. If the registration period has ended (S309: Yes), the process proceeds to step S310. If the registration period has not ended (S309: No), the process returns to step S303.
[0153] Next, in step S310, the user directly operates the permission list storage unit 130 to generate a permission list for when the communication volume is outside the range of the expected communication volume, for example, the permission list shown in Fig. 19. Note that, for example, if it is predetermined that the permission list for when the communication volume is outside the range of the expected communication volume is an empty list as shown in Fig. 19, the permission list generation unit 120 may automatically generate the permission list for when the communication volume is outside the range of the expected communication volume, without user operation.
[0154] The operation of using the permission list generated and updated in this manner during the operation period will be described with reference to FIG. 21-2.
[0155] First, in step S311, when the security switch 300 receives an input frame during the operation period, the frame analysis unit 110 analyzes the received input frame to extract frame information.
[0156] Next, in step S312, the traffic monitor 210 transmits the current traffic to the traffic manager 220.
[0157] Next, in step S313, the communication traffic management unit 220 compares the current communication traffic with the communication traffic expected value range that is an attribute of the permission list stored in the permission list storage unit 130, and instructs the frame analysis unit 110 to select the communication traffic expected value range that corresponds to the current communication traffic. For example, if the current communication traffic is 2 Mbps, the unit instructs the frame analysis unit 110 to select "normal communication traffic", and if the current communication traffic is 10 Mbps, the unit instructs the frame analysis unit 110 to select "abnormal communication traffic".
[0158] Next, in step S314, the day / time management unit 140 instructs the frame analysis unit 110 to select a day / time range that corresponds to the current day / time. For example, if the current time is 12:30 on Monday, the unit instructs the frame analysis unit 110 to select "Monday-afternoon."
[0159] Next, in step S315, frame analysis unit 110 refers to the permission list corresponding to the communication volume range selected and instructed by communication volume management unit 220 in step S313, and the day and time range selected and instructed by day and time management unit 140 in step S314. For example, if "normal communication volume" is selected in step S313 and "Monday-daytime" is selected in step S314, the permission list for "Monday-daytime-normal" is referenced.
[0160] Next, in step S316, frame analysis unit 110 compares the extracted frame information with the permission list referred to, and determines whether or not the two match.
[0161] If they match (S316: Yes), frame analysis unit 110 processes the frame corresponding to the frame information that matches the permission list according to the instruction of the operation setting for when it matches the permission list (step S317). For example, if the setting is "pass, do not notify," the frame is output by passing the frame analysis unit 110. However, no notification will be given.
[0162] When the process of step S317 is completed, the process returns to step S311, and the above-mentioned operations are repeated for the newly received frame.
[0163] If they do not match (S316: No), frame analysis unit 110 processes the frame corresponding to the frame information that does not match the permission list according to the instruction of the operation setting for when the frame does not match the permission list (step S318). For example, if the setting is "discard, notify", the frame is discarded and the setting terminal 50 is notified that it has been discarded.
[0164] When the process of step S318 is completed, the process returns to step S311, and the above-mentioned operations are repeated for the newly received frame.
[0165] According to the third embodiment, it becomes possible to allow a specific terminal to communicate only at a certain time on a certain day of the week, thereby improving security. This is because the permission list referenced from the permission list storage unit is switched for each day of the week and time, and the frame analysis unit compares and judges the data of the received frame. Furthermore, it becomes possible to control communication (blocking, detouring, bandwidth control, etc.) when the communication volume of a legitimate communication flow exceeds a certain range compared with normal times. This is because the communication volume monitored by the communication volume monitoring unit 210 is compared with the normal communication volume by the communication volume management unit 220, and if it is outside the range, the communication control unit 230 controls communication.
[0166] In the third embodiment, when generating an allowance list for a specific day and time, the allowance list is set to study during the specific day and time at the stage of setting the initial learning period. Alternatively, for example, the learning period may be set to one week, and an allowance list may be generated for one week, and the allowance list for one week may be divided by day and time by directly operating the allowance list storage unit.
[0167] The above security switch, communication terminal, and setting terminal can each be realized by hardware, software, or a combination of these. In addition, the relay method performed by the above security switch, communication terminal, and setting terminal can also be realized by hardware, software, or a combination of these. Here, "realized by software" means that it is realized by a computer reading and executing a program.
[0168] The program can be stored and provided to a computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (random access memories)).
[0169] Furthermore, although the above-described embodiment is a preferred embodiment of the present invention, the scope of the present invention is not limited to only the above-described embodiment, and the present invention can be implemented in various modified forms without departing from the gist of the present invention.
[0170] For example, each embodiment can be modified as follows.
[0171] In the above-mentioned embodiments, the security switch is connected to the Internet, but it is not necessary to connect to the Internet. Even if the security switch is not connected to the Internet, it can detect malicious frames that are generated when, for example, a malicious user connects an unauthorized terminal to the company network.
[0172] In the above-described embodiments, the operation period continues after a predetermined time has elapsed since the registration period. In this case, the operation period may be changed to the registration period again, and when a predetermined time has elapsed since the change, the operation period may be changed to the operation period again. In other words, the permission list may be updated by performing re-registration.
[0173] For example, if a new communication terminal is added after the operation period transition, frames related to the added communication terminal may be added to the allow list by re-registering the communication terminal. In this case, the allow list may be created from scratch with the allow list in a clean state, or new frame information may be added to the existing allow list.
[0174] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.
[0175] (Appendix 1) A relay device, a storage means for storing a list of frames to be subjected to a first process after being received by the relay device; analysis means for checking received frames against said list; a control means for performing the first process on the received frame when the received frame matches a frame in the list upon verification by the analysis means, and performing a second process on the received frame when the received frame does not match a frame in the list; A relay device according to the present invention, characterized in that a plurality of the lists exist according to days of the week and times, and the analyzing means compares the received frame with the list corresponding to the day of the week and time of operation.
[0176] (Appendix 2) 2. The relay device according to claim 1, A relay device characterized in that the lists exist in multiple locations depending on the day of the week, the time, and the amount of communication during operation, and the analysis means compares the received frame with a list corresponding to the day of the week, the time, and the amount of communication during operation.
[0177] (Appendix 3) A relay device, a storage means for storing a list of frames to be subjected to a first process after being received by the relay device; analysis means for checking received frames against said list; a control means for performing the first process on the received frame when the received frame matches a frame in the list upon verification by the analysis means, and performing a second process on the received frame when the received frame does not match a frame in the list; A relay device characterized in that a plurality of the lists exist according to the amount of communication during operation, and the analysis means compares the received frame with a list corresponding to the amount of communication during operation.
[0178] (Appendix 4) 4. A relay device according to claim 1, The relay device according to claim 1, wherein the first process includes forwarding the frame to a destination of the frame, and the second process does not include forwarding the frame to the destination of the frame.
[0179] (Appendix 5) 5. A relay device according to claim 2, A relay device characterized in that a communication amount per relay device is monitored as the communication amount during operation.
[0180] (Appendix 6) 5. A relay device according to claim 2, A relay device characterized in that a communication amount per physical port of the relay device is monitored as the communication amount during operation.
[0181] (Appendix 7) 5. A relay device according to claim 2, A relay device, characterized in that the communication volume during operation is monitored for each day of the week and each hour.
[0182] (Appendix 8) A communication system comprising the relay device according to any one of claims 1 to 7 and a setting terminal connected to the relay device, A communication system, comprising: a setting terminal that changes part or all of the contents of each of the processes and the contents of the list in response to an operation from a user received by the setting terminal.
[0183] (Appendix 9) A relay method used in a relay device, comprising: storing a list of frames that are to be subjected to a first process after being received by the relay device; checking a received frame against said list; a step of performing the first processing on the received frame when the received frame matches a frame in the list upon comparison by the analysis means, and performing a second processing on the received frame when the received frame does not match a frame in the list; A relay method according to the present invention, characterized in that a plurality of the lists exist according to days of the week and times, and the analysis means compares the received frame with the list corresponding to the day of the week and time of operation.
[0184] (Appendix 10) A relay program that causes a computer to function as a relay device, The computer, a storage means for storing a list of frames to be subjected to a first process after being received by the relay device; analysis means for checking received frames against said list; a control means for performing the first process on the received frame when the received frame matches a frame in the list upon verification by the analysis means, and performing a second process on the received frame when the received frame does not match a frame in the list; A relay program that causes the analysis means to function as a relay device that compares the received frame with the list corresponding to the day of the week and the time of operation, and the list exists in plurality according to the day of the week and the time of operation. [Industrial Applicability]
[0185] The present invention is suitable for security measures in relay devices. [Explanation of symbols]
[0186] 10 10-1 10-2 10-3 10-4 10-n Communication terminal 50 Setting terminal 100 200 300 Security Switch 110 Frame Analysis Unit 120 Permission List Generator 130 Permission list storage unit 140 Day and Time Management Department 150 Communication control section 210 Traffic Monitoring Department 220 Communication traffic management department 230 Communication Control Unit 500 Firewall 700 Internet
Claims
1. A relay device, a first connection port for connecting to only one PLC (Programmable Logic Controller); a second connection port for connecting to only one IoT (Internet of Things) device; a storage means for storing a first list including information for identifying the first or second connection port of a frame that is a target of a first process; A relay unit that relays communication between the PLC and the IoT device; a comparison means for comparing a frame received from the first or second connection port with the first list using information identifying the first or second connection port; a control means for performing the first process when the received frame matches the first list as a result of the comparison, and for notifying an administrator when the received frame does not match the first list; Equipped with the storage means stores a plurality of lists including information for identifying the first or second connection port of a frame to be subjected to the first process, according to a day of the week, a time period, and a traffic volume during operation; The first list is selected from the plurality of lists based on days of the week, times of the day, and traffic volume. Relay device.
2. the first process is a process of forwarding the received frame to a destination of the received frame; The relay device according to claim 1.
3. If the result of the comparison is that there is no match, the received frame is discarded. The relay device according to claim 1 or 2.
4. The plurality of lists is three or more lists. The relay device according to any one of claims 1 to 3.
5. The relay device, storing a first list including information for identifying a first connection port connected to only one PLC or a second connection port connected to only one IoT device, for a frame to be subjected to a first process; Relaying communication between the PLC and the IoT device; checking a frame received from the first or second connection port against the first list using information identifying the first or second connection port; If the received frame matches the first list as a result of the comparison, the first process is performed, and if the received frame does not match the first list, a notification is given to an administrator. Processing is performed, The storing process includes storing a plurality of lists including information for identifying the first or second connection port of the frame to be processed according to a day of the week, a time period, and a traffic volume during operation; The first list is selected from the plurality of lists based on days of the week, times of the day, and traffic volume. Relay method.
6. the first process is a process of forwarding the received frame to a destination of the received frame; The relay method according to claim 5.
7. If the result of the comparison is that there is no match, the received frame is discarded. The relay method according to claim 5 or 6.
8. The plurality of lists is three or more lists. The relay method according to any one of claims 5 to 7.
9. On the computer, storing a first list including information for identifying a first connection port connected to only one PLC or a second connection port connected to only one IoT device, for a frame to be subjected to a first process; Relaying communication between the PLC and the IoT device; checking a frame received from the first or second connection port against the first list using information identifying the first or second connection port; If the received frame matches the first list as a result of the comparison, the first process is performed, and if the received frame does not match the first list, a notification is given to an administrator. Execute the process, The storing process includes storing a plurality of lists including information for identifying the first or second connection port of the frame to be processed according to a day of the week, a time period, and a traffic volume during operation; The first list is selected from the plurality of lists based on days of the week, times of the day, and traffic volume. Broadcast program.
Citation Information
Patent Citations
Mobile communication system and its base station device
JP1996280057A
Remote maintenance system for communication equipment
JP1998210164A
Device and method for internet protocol filtering
JP2002232453A
Network management system and communication management server
JP2011029900A
Communication apparatus, controller, communication system, communication control method, and program
JP2013070183A
