COLLECTOR DEVICE, NETWORK MONITORING METHOD, PROGRAM, AND NETWORK MONITORING SYSTEM
The network monitoring system addresses inaccuracies in NetFlow-based flow statistics by using life-and-death information to adjust thresholds, ensuring accurate alarm generation and reducing false alerts in network traffic analysis.
Patent Information
- Application Number
- JP2021000720
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-06
- Publication Date
- 2024-08-19
- Estimated Expiration
- 2041-01-06
AI Technical Summary
Existing network monitoring systems using NetFlow technology face issues with inaccurate flow statistics collection due to sensor malfunctions or increased network traffic, leading to unnecessary alarms or missed alerts, as they struggle to differentiate between actual traffic changes and sensor failures or capacity limits.
A network monitoring system that includes a collector device capable of receiving NetFlow information, determining sensor status through life-and-death information, and adjusting thresholds based on sensor performance to accurately analyze traffic and generate appropriate alarms.
The system effectively suppresses false alarms and ensures timely detection of network anomalies by recalculating thresholds and correcting flow statistics, thereby reducing unnecessary troubleshooting and improving network management efficiency.
Smart Images

Figure 0007535951000009 
Figure 0007535951000010 
Figure 0007535951000015
Abstract
Description
[Technical field]
[0001] The present invention relates to a collector device for monitoring a network, a network monitoring method, a program, and a network monitoring system. [Background technology]
[0002] In order to operate and manage increasingly complex networks, it is important to constantly monitor the status of traffic flowing through the network and respond immediately if a problem occurs. Technologies such as NetFlow (see Non-Patent Document 1) are used to check the status and normality of network traffic.
[0003] NetFlow is a communication protocol for acquiring flow statistics of network traffic by network relay devices such as routers and switches, or dedicated devices that receive mirrored traffic from network relay devices (hereinafter referred to as "sensors"), and transmitting the information to a traffic analysis device (hereinafter referred to as "collector"). The collector that receives the flow statistics can visualize and analyze traffic according to various purposes. Systems for collecting and analyzing such flow statistics are disclosed in Patent Documents 1 and 2. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-38062 A [Patent Document 2] JP 2016-144153 A [Non-patent literature]
[0005] [Non-Patent Document 1] RFC3954 “Cisco Systems NetFlow Services Export Version 9”, Cisco Systems, October 2004 Summary of the Invention [Problem to be solved by the invention]
[0006] In a method where a collector collects and analyzes flow statistics acquired by a sensor using a protocol such as NetFlow, the flow statistics collected from the sensor may not represent the actual traffic situation. For example, the sensor may be unable to send statistical information due to a malfunction such as a breakdown, or the process of assembling and sending packets that store the flow statistics may not be able to keep up due to an increase in network traffic or an increase in the number of collection points for statistical information, resulting in a loss of flow statistics. As a result, the collector has the problem of being unable to perform accurate monitoring and analysis.
[0007] Specifically, for example, in a network system consisting of multiple sensors installed at several flow statistics acquisition points in a network and one collector that collects flow statistics from those sensors, if some of the sensors stop due to a malfunction or the like, the flow statistics from the stopped sensor will be lost. However, it is difficult for the collector to distinguish whether the lack of flow statistics means that network traffic has actually stopped flowing or that a problem has occurred in the sensor. Therefore, when the collector analyzes traffic and performs monitoring to issue an alarm based on the traffic volume, there is a problem in that it erroneously determines that traffic has decreased even though the actual traffic volume has not changed, and issues an unnecessary alarm.
[0008] In addition, if the volume of network traffic being monitored increases due to some problem (for example, an external network attack or abnormal traffic caused by malware infection of a terminal within the network), but the volume exceeds the processing performance of the sensor that acquires the flow statistics, and correct flow statistics cannot be sent to the collector, there is a problem that the collector, which analyzes traffic and monitors by issuing alarms based on the traffic volume, does not issue an alarm for an event that should actually issue an alarm.
[0009] The object of the present invention is to appropriately generate an alarm in monitoring network traffic using NetFlow information. That is, in a network monitoring system in which a sensor acquires traffic flow statistics information, and a collector collects and analyzes the flow statistics information, the object of the present invention is to provide a network monitoring system that prevents the collector from issuing unnecessary alarms or being unable to issue necessary alarms even if a deviation occurs between the flow statistics information collected by the collector and the actual traffic situation due to an abnormality in the sensor or a limit in the flow statistics information acquisition capacity. [Means for solving the problem]
[0010] A representative example of the invention disclosed in the present application is as follows: A collector device that monitors network traffic using NetFlow information, the collector device including a NetFlow information receiving unit that acquires NetFlow information from a sensor device that receives network traffic and generates NetFlow information, and a determination information receiving unit that receives the NetFlow information from the sensor device. As the vital information of the sensor device An information receiving unit for receiving the a threshold information correction unit that uses the received alive information to determine whether a statistical value of the received NetFlow information is correct, and if it is determined that the statistical value of the received NetFlow information is incorrect, updates threshold information used for monitoring network traffic using sensor threshold information defined for each sensor device; and a threshold determination unit that uses the updated threshold information to determine whether network traffic is normal. The present invention is characterized by comprising: Effect of the Invention
[0011] According to one aspect of the present invention, an alarm can be generated appropriately even if a sensor malfunctions or excessive traffic occurs that exceeds the sensor's capacity. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 illustrates an example of a configuration of a network monitoring system according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing a configuration example of a sensor according to the first embodiment. [Diagram 3] FIG. 2 is a block diagram showing an example of the configuration of a collector according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an operation sequence of a collector in the first embodiment. [Diagram 5] 4 is a diagram illustrating an example of the configuration of a life and death information accumulation unit according to the first embodiment; FIG. [Figure 6] 4 is a diagram illustrating an example of the configuration of a sensor / threshold value association information storage unit according to the first embodiment; [Figure 7] 4 is a diagram illustrating an example of the configuration of a threshold information storage unit according to the first embodiment; [Figure 8] FIG. 11 is a diagram illustrating an example of the traffic volume of traffic derived based on NetFlow information in a state in which all sensors are operating normally in the first embodiment. [Figure 9] FIG. 11 is a diagram illustrating an example of a traffic volume of traffic derived based on NetFlow information in a state where some sensors are stopped in the first embodiment. [Figure 10] FIG. 11 is a block diagram showing an example of the configuration of a sensor according to a second embodiment. [Figure 11] FIG. 11 is a block diagram showing an example of the configuration of a collector according to a second embodiment. [Figure 12] FIG. 11 is a diagram showing an operation sequence of a collector in the second embodiment. [Figure 13] FIG. 11 is a diagram illustrating an example of the configuration of a NetFlow information accumulation unit in the second embodiment. [Figure 14] FIG. 13 illustrates an example of the configuration of a packet statistics accumulation unit according to the second embodiment; [Figure 15] FIG. 11 is a diagram illustrating an example of the configuration of a corrected NetFlow information accumulation unit in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] <Embodiment 1> FIG. 1 is a diagram illustrating an example of the configuration of a network monitoring system according to the first embodiment.
[0014] The network monitoring system is composed of a network 100 to be monitored, network devices 200 included in the network 100 to be monitored, a sensor 300 that acquires statistical information on traffic, a collector 400 that collects and analyzes the statistical information, and a management terminal 500. The network devices 200 are included in the network 100 to be monitored, and transfer data in the network 100 to be monitored. The sensors 300 are connected to each of the network devices 200 to be monitored, and acquire statistical information on traffic flowing through the network 100. The collector 400 is connected to the sensors 300, and collects and analyzes the statistical information generated by the sensors 300. The management terminal 500 is a computer operated by an administrator to refer to the analysis information output from the collector 400, etc.
[0015] The first embodiment is an example of a configuration that aims to suppress the generation of unnecessary alarms while enabling the collector 400 to recognize an abnormality in the sensor 300 (for example, a stop due to a failure, etc.).
[0016] The number of network devices 200, sensors 300, and collectors 400 may be any number greater than one, and any connection means may be used between them. When there are a plurality of network devices 200, sensors 300, and collectors 400 and it is necessary to distinguish them in the description, they are distinguished by a reference sign with a number added, such as network device 200-1 for network device 200. The configuration example in FIG. 1 shows an example of a system having n network devices 200 and n sensors 300, and one collector 400.
[0017] FIG. 2 is a block diagram showing an example of the configuration of the sensor 300 according to the first embodiment.
[0018] The sensor 300 includes a CPU 340, a memory 310, a storage unit 320, and a plurality of network interfaces 330-1 and 330-2 (network interfaces are abbreviated as NW-IF in the figure). The network interface 330-1 is connected to the network device 200, and the network interface 330-2 is connected to the collector 400.
[0019] The CPU 340 is a computing device that executes the programs stored in the memory 310. Note that some of the processes performed by the CPU 340 executing the programs may be executed by another computing device (for example, a hardware computing device such as an FPGA or an ASIC).
[0020] The memory 310 includes a ROM, which is a non-volatile storage element, and a RAM, which is a volatile storage element. The ROM stores an immutable program (e.g., BIOS) and the like. The RAM is a high-speed and volatile storage element such as a DRAM (Dynamic Random Access Memory), and temporarily stores the program executed by the CPU 340 and data used when the program is executed. Specifically, the memory 310 stores programs executed by the CPU 330, that is, programs for constituting a traffic receiver 311, a NetFlow information generator 312, a NetFlow information transmitter 313, a vital information generator 314, a vital information transmitter 315, a Management Information Base (MIB) response unit 316, and a MIB request receiver / response transmitter 317.
[0021] The storage unit 320 is, for example, a large-capacity non-volatile storage device such as a magnetic storage device (HDD) or a flash memory (SSD). The storage unit 320 also stores data (for example, a flow information accumulation unit 321 that holds statistical information on acquired traffic) used by the CPU 340 when the CPU 340 executes a program, and the program executed by the CPU 340. That is, the program is read from the storage unit 320, loaded into the memory 310, and executed by the CPU 340 to realize each function of the sensor 300.
[0022] In the configuration of FIG. 2, a process in which the sensor 300 acquires statistical information on the traffic of the network 100 and transmits it to the collector 400 will be described.
[0023] The network device 200 mirrors the traffic data flowing through the network 100 and transmits the replica to the sensor 300. The sensor 300 receives the data transmitted from the network device 200 via the network interface 330-1.
[0024] The traffic receiving unit 311 receives traffic data received by the network interface 330-1, generates flow information, which is a type of statistical information on the traffic, and stores the generated flow information in the flow information storage unit 321. Here, the flow information is, for example, the number of packets and the amount of data (the sum of the lengths of the individual observed packets) observed for each flow identified by the source address and the destination address included in the header of the packets constituting the received traffic.
[0025] The NetFlow information generating unit 312 collects the flow information stored in the flow information storing unit 321 at regular intervals and converts it into NetFlow information that complies with the packet format defined by the NetFlow protocol. The NetFlow information transmitting unit 313 receives the converted NetFlow information from the NetFlow information generating unit 312 and transmits it from the network interface 330-2 to the collector 400 in accordance with the provisions of the NetFlow protocol.
[0026] Next, a process on the side of the sensor 300 that is necessary for the collector 400 to recognize an abnormality in the sensor 300 will be described.
[0027] First, the alive information generating unit 314 generates alive information indicating the operating status of the sensor 300. Here, the alive information is information indicating whether the sensor 300 is operating normally. For example, when the alive information generating unit 314 recognizes that the sensor 300 is operating normally by a failure monitoring function of the sensor 300 itself, it generates information indicating normal operation, and when it recognizes that it is impossible to obtain statistical information or transmit NetFlow information to the collector 400 due to a partial failure, it generates information indicating the stop of transmission of NetFlow information.
[0028] The alive / dead information transmission unit 315 stores the alive / dead information generated by the alive / dead information generation unit 314 in a packet of a predetermined format and transmits it to the collector 400 through the network interface 330-2. The alive / dead information may be transmitted periodically at a predetermined time interval regardless of changes in the alive / dead state. If the entire sensor 300 stops and it becomes impossible to transmit the alive / dead information, the collector 400 monitors the reception of the alive / dead information, and becomes able to recognize an abnormality in the sensor 300 when the alive / dead information packet is not received for a certain period of time or more.
[0029] Alternatively, the alive or dead information may not be transmitted spontaneously from the alive or dead information transmission unit 315, but may be transmitted in response to a MIB request transmitted by the collector 400 to obtain the alive or dead information. In this case, the MIB request reception / response transmission unit 317 receives a MIB request by a protocol such as SNMP (Simple Network Management Protocol) from the collector 400 via the network interface 330-2, and transmits the received MIB request to the MIB response unit 316. The MIB response unit 316 recognizes that the content of the MIB request is to obtain alive or dead information, and obtains the alive or dead information from the alive or dead information generation unit 314. The MIB request reception / response transmission unit 317 transmits the alive or dead information obtained by the alive or dead information generation unit 314 to the collector 400 from the network interface 330-2 as a response to the MIB request. Even in the MIB request / response method, the collector 400 can recognize an abnormality in the sensor 300 when there is no response to the request.
[0030] The above is the configuration and operation of the sensor 300 in this embodiment.
[0031] Next, the configuration and operation of the collector 400 in this embodiment will be described.
[0032] FIG. 3 is a block diagram showing an example of the configuration of the collector 400 in the first embodiment.
[0033] The collector 400 includes a CPU 440, a memory 410, a storage unit 420 such as a hard disk or SSD, and multiple network interfaces 430-1 and 430-2 (network interfaces are abbreviated as NW-IF in the figure). The network interface 430-1 is connected to the sensor 300, and the network interface 430-2 is connected to the management terminal 500.
[0034] The CPU 440 is a computing device that executes the programs stored in the memory 410. Note that some of the processes performed by the CPU 440 executing the programs may be executed by another computing device (for example, a hardware computing device such as an FPGA or an ASIC).
[0035] The memory 410 includes a ROM, which is a non-volatile storage element, and a RAM, which is a volatile storage element. The ROM stores an unchanging program (e.g., BIOS) and the like. The RAM is a high-speed and volatile storage element such as a DRAM (Dynamic Random Access Memory), and temporarily stores the program executed by the CPU 440 and data used when the program is executed. Specifically, the memory 410 stores the programs executed by the CPU 440, that is, programs for constituting a NetFlow information receiver 411, a vital information receiver 412, a MIB request transmission / response receiver 413, a threshold information correction unit 414, a NetFlow threshold determination unit 415, and a Syslog / Trap transmitter 416.
[0036] The storage unit 420 is, for example, a large-capacity non-volatile storage device such as a magnetic storage device (HDD) or a flash memory (SSD). The storage unit 420 also stores data (for example, a NetFlow information accumulation unit 421, a vital information accumulation unit 422, a sensor / threshold related information holding unit 423, and a threshold information holding unit 424) used by the CPU 440 when the CPU 440 executes the program, and the program executed by the CPU 440. That is, the program is read from the storage unit 420, loaded into the memory 410, and executed by the CPU 440 to realize each function of the collector 400.
[0037] In the configuration of FIG. 3, a process in which the collector 400 analyzes the NetFlow information received from the sensor 300 will be described.
[0038] First, the network interface 430-1 receives a packet including NetFlow information transmitted from the sensor 300. Then, the NetFlow information receiving unit 411 extracts the NetFlow information from the packet received by the network interface 430-1, and accumulates it in the NetFlow information accumulation unit 421.
[0039] Next, the collector 400 analyzes the received NetFlow information. In this embodiment, an analysis process for monitoring an increase or decrease in traffic volume based on a pre-specified threshold will be described as an example.
[0040] The NetFlow threshold determination unit 415 derives the traffic volume for each flow from the NetFlow information stored in the NetFlow information storage unit 421, and compares the derived traffic volume for each flow with threshold information stored in the threshold information storage unit 424. An example of the threshold information set in the threshold information storage unit 424 will be described later.
[0041] If the comparison results in the traffic being determined to be abnormal, such as the traffic volume exceeding a predetermined upper threshold or falling below a predetermined lower threshold, the determination result is sent to the Syslog / Trap sending unit 416. The Syslog / Trap sending unit 416 sends information indicating the occurrence of an abnormality to the management terminal 500 via the network interface 430-2. The management terminal 500 makes the administrator aware of the occurrence of an abnormality by displaying the determination result included in the information indicating the occurrence of an abnormality on a management screen such as a display.
[0042] Here, the threshold information used in the traffic analysis process in this embodiment will be further explained.
[0043] FIG. 6 is a diagram illustrating an example of the configuration of the sensor / threshold value association information storage unit 423. As shown in FIG.
[0044] The sensor / threshold related information storage unit 423 is configured with a table that stores threshold information that is referenced when determining the normality of traffic.
[0045] The sensor / threshold related information storage unit 423 has multiple entries, and each entry includes a target flow condition 4231 that specifies a flow in the traffic to be monitored, sensor information 4232 that is an identifier of the sensor 300 that is the source of the statistical information, and information associating an upper threshold 4233 and a lower threshold 4234 of the traffic volume for the flow of the target flow condition 4231 acquired by the sensor 300 indicated by the sensor information 4232.
[0046] The target flow condition 4231 is, for example, a condition that the traffic to be monitored conforms to a standard TCP / IP protocol, the source IP address in the IP header is a specific value, or the destination port number in the TCP header indicating the type of application service is a specific value. The sensor information 4232 is, for example, the IP address of the sensor 300. The upper threshold 4233 and the lower threshold 4234 are a range of values that are determined to be normal operation of the statistical information to be analyzed, and are expressed, for example, by the amount of traffic per hour in units of byte / sec.
[0047] In the sensor / threshold related information storage unit 423, appropriate values are preset by the administrator through the management terminal 500 based on the purpose of monitoring and information transferred over the network, such as the size of the network to be monitored, the type of application being used, and the placement of the sensors 300. Fig. 6 shows an example in which different upper and lower thresholds are set for each of three sensors 300 identified by the sensor information for the same target flow condition "Condition A".
[0048] FIG. 7 is a diagram illustrating an example of the configuration of the threshold information storage unit 424. As shown in FIG.
[0049] As described above, the threshold information storage unit 424 is configured with a table that stores threshold information that the NetFlow threshold determination unit 415 directly references when making a determination.
[0050] The threshold information storage unit 424 has a plurality of entries, and each entry includes a target flow condition 4241 that specifies the traffic to be analyzed, and information associating an upper threshold 4243 and a lower threshold 4244 of the traffic volume for the flow of the target flow condition 4241.
[0051] The threshold information storage unit 424 stores a threshold for the total value of the traffic volume measured by a plurality of sensors 300 that measure flows that satisfy the target flow condition 4241 .
[0052] An example where the target flow condition is "Condition A" will be described using the actual numerical examples shown in Fig. 6 and Fig. 7. Traffic that satisfies "Condition A" is measured by three sensors 300 as shown in Fig. 6, and the sum of the values of the upper limit threshold 4233, 21,000,000, and the sum of the values of the lower limit threshold 4234, 12,000,000, are stored in the upper limit threshold 4243 and the lower limit threshold 4244 of the entry in which the target flow condition 4241 is "Condition A" in the threshold information storage unit 424 in Fig. 7. These values are first calculated and stored as initial values when the values are set in the sensor / threshold related information storage unit 423.
[0053] Furthermore, when a malfunction such as a stop of the sensor 300 occurs, the collector 400 recalculates and corrects the threshold value stored in the threshold information storage unit 424 so as not to erroneously determine a traffic abnormality. The operation of the collector 400 for correcting the threshold value will be described below. Note that the process described here is executed in parallel, independently of the NetFlow information reception process and threshold determination process by the NetFlow receiver 441 and the NetFlow threshold determination unit 415 described above.
[0054] FIG. 4 is a diagram showing an operation sequence from when the collector 400 receives alive information from the sensor 300 to when the corrected threshold information is stored in the threshold information storage unit 424 in the first embodiment.
[0055] First, the sensor 300 transmits alive / dead information to the collector 400. The alive / dead information receiving unit 412 of the collector 400 receives the alive / dead information through the network interface 430-1 (step S601), and updates the alive / dead information storage unit 422 based on the received alive / dead information (step S602). Note that an alive / dead monitoring device that collects the operating status of the sensor 300 may be provided, and the alive / dead information receiving unit 412 may receive the alive / dead information of the sensor 300 from the alive / dead monitoring device instead of receiving the alive / dead information from the sensor 300.
[0056] 5 is a diagram showing an example of the configuration of the alive / dead information accumulation unit 422. The alive / dead information accumulation unit 422 has a plurality of entries, and each entry includes information in which sensor information 4221, which is an identifier of the alive / dead information transmission source sensor 300, alive / dead status 4222 indicating the state of the sensor 300 indicated by the sensor information 4221, and latest reception time 4223 indicating the time when the latest alive / dead information was received from the sensor 300 indicated by the sensor information 4221 are associated with each other. In this embodiment, the sensor information 4221 stores the IP address of the sensor 300, and the alive / dead status 4222 stores "1" when the sensor 300 indicated by the sensor information 4221 is operating normally, and stores "0" when an abnormality has occurred and the sensor 300 cannot transmit NetFlow information.
[0057] In step S602, alive or dead information accumulation unit 422 is updated as follows.
[0058] First, the alive or dead information receiving unit 412 searches for an entry in the alive or dead information storage unit 422 where the source IP address of the received alive or dead information is the same as the sensor information 4221, sets the alive or dead status 4222 of that entry to "0" or "1", and stores the reception time of the alive or dead information in the latest reception time 4223. If no entry in the alive or dead information storage unit 422 where the source IP address of the received alive or dead information is the same as the sensor information 4221 is found, a new entry is created.
[0059] Also, in step S602, the alive or dead information receiving unit 412 checks the value of the latest received time 4223 of each entry in the alive or dead information storage unit 422, and if there is an entry whose difference between the value of the latest received time 4223 and the current time is equal to or greater than a predetermined value, sets the alive or dead status 4222 of that entry to "0." This is processing for recognizing an abnormality in the sensor 300 caused by the periodic transmission of alive or dead information being stopped.
[0060] Returning to the sequence diagram of Fig. 4, the description will continue. Next, if there is an entry whose value of the alive / dead status 4222 has changed due to the update of the alive / dead information accumulation unit 422 in step 602, that is, if there is a sensor 300 whose alive / dead status has changed, the alive / dead information reception unit 412 notifies the threshold information correction unit 414 of the change in the alive / dead information (step S603).
[0061] When the threshold information correction unit 414 receives the notification in step S603, it acquires the alive information from the alive information accumulation unit 422 (step S604), and further acquires the threshold information of the sensor 300 stored in each entry of the sensor / threshold related information holding unit 423 (step S605).
[0062] Next, the threshold information correction unit 414 determines whether the received NetFlow information is correct (i.e., whether the NetFlow information is likely to be incorrect because the sensor 300 is not operating) based on the alive / dead information obtained in step S604, and if there is a possibility that the NetFlow information is incorrect, it recalculates appropriate threshold information based on the alive / dead status of the sensor 300 based on the threshold information obtained in step S605 (step S606).
[0063] Here, as an example of recalculation of threshold information, a specific example of calculation based on the numerical examples of various information shown in FIG. 5 and FIG. 6 will be shown.
[0064] First, consider a case where, as a result of updating the alive status information storage unit 422 by the processing in step S602, the alive status 4222 of the sensor 300 (IP address 192.168.0.1) with entry number 1 as shown in FIG. 5 becomes "0", that is, the status has changed to one in which NetFlow information cannot be transmitted.
[0065] In this state, in step S606, the threshold information correction unit 414 recalculates the upper threshold and the lower threshold using the thresholds of only the sensors 300 whose alive / dead status 4222 in the alive / dead information accumulation unit 422 is set to "1". In the case of the numerical example shown in Fig. 5 and Fig. 6, since only the sensors 300 in entries #2 and #3 in the alive / dead information accumulation unit 422 are operating normally, new threshold information for traffic satisfying "Condition A" targeting these sensors is recalculated using the thresholds of the sensors 300 in entries #2 and #3 in the sensor / threshold related information holding unit 423, with the upper threshold being 15,000,000 and the lower threshold being 9,000,000.
[0066] Next, the threshold information correction unit 414 overwrites the threshold information recalculated in step S606, and updates the threshold information storage unit 424 (step S607).
[0067] The threshold information correction unit 414 may transmit a packet including this notification information to the management terminal 500 via the network interface 430-2 to notify the administrator that an abnormality has occurred in the sensor 300 and that the abnormality determination threshold has been recalculated in response to the occurrence of the abnormality. The management terminal 500 displays the received notification information on a management screen such as a display.
[0068] As described above, by setting the upper and lower thresholds of the NetFlow information expected for each sensor 300 in advance in the sensor / threshold related information storage unit 423, the upper and lower thresholds for appropriately determining the normality of communication depending on the alive status of the sensor 300 can be obtained by processing by the threshold information correction unit 414.
[0069] 8 and 9 are diagrams that show a schematic representation of the relationship between the threshold and the change in traffic volume per unit time based on statistical information collected by the collector 400, in order to clearly explain the effect of recalculating the threshold according to this embodiment.
[0070] FIG. 8 is a diagram illustrating an example of the traffic volume of traffic that satisfies "Condition A" derived based on the NetFlow information received by the collector 400 of the first embodiment when all the sensors 300 are operating normally.
[0071] The figure shows a traffic volume 612 that changes over time, and an upper threshold 611 and a lower threshold 613 for the traffic volume that satisfy "Condition A" stored in the threshold information storage unit 424 in the initially set state shown in Fig. 7. The traffic volume 612 falls between the upper threshold 611 and the lower threshold 613, and no abnormality has occurred in the traffic volume 612.
[0072] FIG. 9 is a diagram showing an example of the traffic volume of traffic that satisfies “Condition A” derived based on the NetFlow information received by the collector 400 of the first embodiment when some of the sensors 300 have stopped operating and some of the NetFlow information cannot be received.
[0073] In the figure, there are shown a traffic volume 622 that changes with time, an upper threshold 611 and a lower threshold 613 of the traffic volume before the threshold information correction unit 414 recalculates the threshold information based on the alive status of the sensor 300, and an upper threshold 621 and a lower threshold 623 of the traffic volume after the threshold information correction unit 414 recalculates the threshold information based on the alive status of the sensor 300. The traffic volume 622 is a value smaller than the actual traffic volume because it does not include information from stopped sensors 300. Similarly, the upper threshold 621 and the lower threshold 623 after recalculation are smaller than the upper threshold 611 and the lower threshold 613 before recalculation by the number of stopped sensors 300.
[0074] 9, if the traffic volume calculated by the collector 400 based on statistical information becomes smaller than the actual traffic volume due to the stoppage of some of the sensors 300, the traffic volume may be erroneously determined to be abnormal even when it is normal, unless the upper and lower thresholds are recalculated. However, it can be seen that such erroneous detection can be suppressed by recalculating the upper and lower thresholds taking into account the stoppage of the sensors 300.
[0075] As described above, according to this embodiment, in a network monitoring system including sensors 300 that acquire statistical information and collectors 400 that collect and analyze that statistical information, even if some of the sensors 300 stop due to a malfunction or the like, it is possible to suppress erroneous determination of traffic abnormalities in the analysis process executed by the collectors 400. This makes it possible to reduce the occurrence of problems in network management, such as the network administrator performing unnecessary countermeasures or being unable to perform necessary problem-solving work.
[0076] <Embodiment 2> A configuration example of the network monitoring system in the second embodiment is obtained by replacing the sensor 300 with a sensor 350 according to a second embodiment described later, and the collector 400 with a collector 450 according to a second embodiment described later, in the network monitoring system of the first embodiment shown in Fig. 1. Note that in the second embodiment, the same configurations and functions as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted.
[0077] In the second embodiment, even if a lack of transmission of flow statistics occurs due to a problem such as insufficient performance of the sensor 350 or the collector 450, the collector 450 estimates and corrects the original flow statistics using the packet statistics as well, thereby suppressing problems such as failure to issue an alarm that should have been issued. Here, the packet statistics is statistical information that indicates the amount of data in the network traffic, which does not distinguish flows as in the flow statistics handled by NetFlow, but simply measures the number of packets and the total number of bytes (the sum of the lengths of each packet) of the entire traffic received per unit time.
[0078] FIG. 10 is a block diagram showing an example of the configuration of a sensor 350 according to the second embodiment.
[0079] The sensor 350 includes a CPU 340, a memory 310, a storage unit 320, and a plurality of network interfaces 330-1 and 330-2 (network interfaces are abbreviated as NW-IF in the figure). The network interface 330-1 is connected to the network device 200, and the network interface 330-2 is connected to the collector 400.
[0080] The memory 310 stores programs executed by the CPU 330, i.e., programs for configuring a traffic receiver 311, a NetFlow information generator 312, a NetFlow information transmitter 313, a MIB (Management Information Base) responder 316, a MIB request receiver / response transmitter 317, a packet statistics generator 318, and a packet statistics transmitter 319. The sensor 350 may include a life or death information generator 314 and a life or death information transmitter 315.
[0081] The storage unit 320 stores data used by the CPU 340 when the CPU 340 executes a program (for example, a flow information accumulation unit 321 that holds acquired traffic statistics information, and a packet statistics accumulation unit 322), and the program executed by the CPU 340.
[0082] In the configuration of Figure 10, the process in which the sensor 350 acquires statistical information regarding traffic in the network 100 and transmits it to the collector 450 as NetFlow information is the same as the process in which the sensor 300 in the first embodiment transmits the statistical information to the collector 400, so a description thereof will be omitted.
[0083] Furthermore, the sensor 350 transfers information relating to the traffic received by the traffic receiving unit 311 from the network device 200 to the packet statistics generating unit 318. The packet statistics generating unit 318 generates packet statistics information based on the information relating to the traffic, and stores the generated packet statistics information in the packet statistics accumulating unit 322. The generation of packet statistics information does not require flow identification during measurement, so the processing load is small, and even if the amount of traffic to be measured increases, high-precision measurement is possible.
[0084] Furthermore, the contents stored in the packet statistics accumulation unit 322 are stored in a packet of a predetermined format by the packet statistics transmission unit 319, and are transmitted to the collector 450 via the network interface 330-2 at predetermined time intervals. Alternatively, the MIB response unit 316 may receive a MIB request by a protocol such as SNMP transmitted from the collector 450 for the purpose of acquiring packet statistics information via the network interface 330-2, interpret the contents of the received MIB request, instruct the MIB request reception / response transmission unit 317 to transmit a response, and the MIB request reception / response transmission unit 317 may transmit the packet statistics information acquired from the packet statistics accumulation unit 322 to the collector 450 via the network interface 330-2 as a response to the MIB request.
[0085] FIG. 11 is a block diagram showing an example of the configuration of the collector 450 in the second embodiment.
[0086] The collector 450 includes a CPU 440, a memory 410, a storage unit 420 such as a hard disk or SSD, and multiple network interfaces 430-1 and 430-2 (network interfaces are abbreviated as NW-IF in the figure). The network interface 430-1 is connected to the sensor 300, and the network interface 430-2 is connected to the management terminal 500.
[0087] The memory 410 stores programs executed by the CPU 440, i.e., programs for configuring a NetFlow information receiver 411, a MIB request transmitter / response receiver 413, a NetFlow threshold determiner 415, a Syslog / Trap transmitter 416, a packet statistics receiver 417, and a NetFlow information corrector 418. The collector 450 may include a vital information receiver 412 and a threshold information corrector 414.
[0088] The storage unit 420 stores data used by the CPU 440 when executing a program (for example, a NetFlow information accumulation unit 421, a threshold information holding unit 424, a packet statistics accumulation unit 425, and a corrected NetFlow information accumulation unit 426), and the program executed by the CPU 440.
[0089] In the configuration of FIG. 11, the process of receiving NetFlow information from the sensor 350 and storing it in the NetFlow information accumulation unit 421 is the same as the process of the collector 400 according to the first embodiment, so a description thereof will be omitted.
[0090] Furthermore, the collector 450 acquires packet statistics information from the sensor 350 and corrects the flow information already received in the NetFlow information storage unit 421. This correction process corrects the NetFlow information when traffic that exceeds the NetFlow processing capacity of the sensor 350 occurs in the network 100 and the NetFlow information received by the collector 450 regarding that traffic is expected to contain an error, thereby reducing the possibility of the collector 450 misjudging an anomaly. When estimating whether the NetFlow information contains an error, the information acquired and stored by the sensor 350 in the packet statistics storage unit 322 is used. The operation of the collector 450 for this purpose will be described below.
[0091] 12 is a diagram showing an operation sequence from when the collector 450 in the second embodiment receives packet statistical information from the sensor 350 to when the corrected NetFlow information is stored in the corrected NetFlow information storage unit 426. Note that the processing described here is executed in parallel with and independent of the NetFlow information reception processing by the NetFlow receiving unit 441 and the threshold determination processing by the NetFlow threshold determination unit 415.
[0092] First, the sensor 350 transmits packet statistical information to the collector 450. The packet statistical information receiving unit 417 of the collector 450 receives the packet statistical information through the network interface 430-1 (step S701), and stores the received packet statistical information in the packet statistical information storage unit 425 (step S702).
[0093] 14 is a diagram showing an example of the configuration of the packet statistics accumulation unit 425. The packet statistics accumulation unit 425 has a plurality of entries, and each entry includes, as packet statistical information measured per unit time, information in which a time 4251 indicating a statistic acquisition time, a number of packets 4252 measured during the unit time, and a number of bytes 4253 which is the total packet length of all packets measured during the unit time are associated with each other. The statistical information shown in the figure is an example, and other statistical information may be stored.
[0094] Returning to the sequence diagram of Fig. 12, the description will be continued. In parallel with the processing of the packet statistics receiving unit 417, the NetFlow information correcting unit 418 acquires packet statistics information from the packet statistics accumulating unit 425 at a predetermined timing (for example, periodically) (step S703), and further acquires NetFlow information from the NetFlow information accumulating unit 421 (S704).
[0095] 13 is a diagram showing an example of the configuration of the NetFlow information accumulation unit 421. The NetFlow information accumulation unit 421 has a plurality of entries, and each entry includes information that associates a time 4211 at which the NetFlow information was acquired, a source address 4212 and a destination address 4213 that are information for identifying a flow, the number of packets for each flow 4214, and a byte count 4215 that is the total packet length for each flow. Note that the information for identifying a flow is an example, and may include, for example, a TCP or UDP port number included in the header of a packet. Also, statistical information other than the number of packets and the number of bytes may be included.
[0096] Returning to the sequence diagram of Fig. 12, the description will be continued. The NetFlow information correction unit 418 compares the acquired packet statistical information with the NetFlow information, and corrects the received NetFlow information based on the comparison result (step S705). Then, the corrected NetFlow information is stored in the corrected NetFlow information accumulation unit 426 (S706).
[0097] 15 is a diagram showing an example of the configuration of the corrected NetFlow information storage unit 426. The configuration of the corrected NetFlow information storage unit 426 is the same as that of the NetFlow information storage unit 421, and therefore a description thereof will be omitted.
[0098] Here, an example of the process of correcting the NetFlow information (step S705) will be described using specific numerical examples shown in FIG. 13, FIG. 14, and FIG.
[0099] In step S705, the NetFlow information correction unit 418 compares the packet statistical information acquired in step S703 with the statistical information in the NetFlow information acquired in step S704 for each time, and judges whether the received NetFlow information is correct (i.e., whether the NetFlow information may be incorrect because the sensor 350 is not working). If there are multiple pieces of NetFlow information relating to different flows at the same time, it compares them with the total value of the statistical information of those flows to make a judgment.
[0100] For example, the packet count 4252 of the packet statistics information at time "2020 / 1 / 1 09:59" is "3" and the byte count 4253 is "384" (entry #1 in FIG. 14), and the total of the NetFlow information acquired at the same time is also "3" for the packet count 4214 and "384" for the byte count 4215 (entry #1 in FIG. 13). If these statistical values match, the NetFlow information correction unit 418 determines that the NetFlow information at this time is correct and no correction is required.
[0101] On the other hand, the packet count 4252 of the packet statistics information at the time "2020 / 1 / 1 10:00" is "10,000" and the byte count 4253 is "1,280,000" (entry #2 in FIG. 14), and the total of the NetFlow information acquired at the same time is the packet count 4214 of "5,000" and the byte count 4215 of "640,000" (total values of the packet counts and byte counts from entry #2 to entry #6 in FIG. 13). As described above, the packet statistics information is expected to have a statistical value with extremely small error, but the NetFlow information may not be measured accurately at the timing of traffic that exceeds the processing capacity of the sensor 350 or the collector 450, and this difference is considered to be an error caused by such a reason. When such a difference occurs, the NetFlow information correction unit 418 corrects the NetFlow information.
[0102] There are several methods of correction. For example, the statistical values of the packet statistical information may be equally distributed to each flow, and the equally distributed statistical values may be added to each NetFlow information to calculate the corrected NetFlow information. In addition, the statistical values of the packet statistical information may be prorated to each flow in accordance with the ratio of the statistical values of the NetFlow information, and the prorated statistical values may be added to each NetFlow information to calculate the corrected NetFlow information. In the example of FIG. 13, for five pieces of NetFlow information (entries #2 to #6 in FIG. 13) at the time "2020 / 1 / 1 10:00", the number of packets 4214 of entry #3 is 2,000, the number of bytes 4215 is 256,000, and the number of packets 4214 of the other entries is 1,000, and the number of bytes 4215 is 128,000. Therefore, the NetFlow information correction unit 418 calculates the corrected value of the NetFlow information by distributing the packet count 4252 "12,000" and byte count 4253 "7,680,000", which are the statistical values of the packet statistical information at the same time, to the five flows in the ratio of the packet count 4214 and the byte count 4215, respectively. FIG. 15 shows the state in which the calculation result is stored in the corrected NetFlow information accumulation unit. Note that the above method is an example of an effective estimation method when it is expected that the loss of flow statistical information due to insufficient performance of the sensor 350 or the collector 450 will occur with equal probability in each flow. The method of estimating the statistical value of each flow from the statistical value of the packet statistical information is not limited to the above.
[0103] Through the above processing, the corrected NetFlow information is stored in the corrected NetFlow information accumulation unit 426. In the second embodiment, the NetFlow threshold determination unit 415 (not shown in FIG. 11) compares the value of the corrected NetFlow information accumulation unit 426 with a threshold, instead of the NetFlow information accumulation unit 421, to determine anomalies in traffic.
[0104] The NetFlow information correction unit 418 may transmit a packet including this notification information to the management terminal 500 via the network interface 430-2 to notify the administrator that the NetFlow information has been corrected based on the packet statistical information. The management terminal 500 displays the received notification information on a management screen such as a display.
[0105] As described above, according to this embodiment, in a network monitoring system composed of a sensor 300 that acquires per-flow statistical information and a collector 400 that collects and analyzes that statistical information, even if the per-flow statistical information collected by the collector 400 contains errors due to insufficient performance of the sensor 300 or the collector 400, the per-flow statistical information can be estimated and corrected by using the per-packet statistical information in combination, and erroneous determination of traffic abnormalities in the analysis process performed by the collector 400 can be suppressed.
[0106] Although the specific functions of the second embodiment have been described above, the collector 400 of the first embodiment and the collector 450 of the second embodiment may be combined to form a collector having the functions of both.
[0107] Although the present invention has been described in detail above with reference to the accompanying drawings, the present invention is not limited to such specific configurations, and includes various modifications and equivalent configurations within the spirit of the appended claims. [Explanation of symbols]
[0108] 100 monitored networks 200 Network Equipment 300, 350 Sensor 310 Memory 311 Traffic Receiving Unit 312 NetFlow information generator 313 NetFlow information transmitter 314 Life and death information generation department 315 Life and Death Information Transmission Department 316 MIB response part 317 MIB request receiver / response sender 318 Packet Statistics Generator 319 Packet Statistics Transmitter 320 Storage section 321 Flow Information Storage Unit 322 Packet Statistics Storage Unit 330 Network Interface 340 CPU 400, 450 Collector 410 Memory 411 NetFlow receiver 412 Vital Information Receiver 413 MIB request sender / response receiver 414 Threshold information correction section 415 NetFlow Threshold Judgment Unit 416 Syslog / Trap sender 417 Packet Statistics Receiver 418 NetFlow Information Correction Unit 420 Storage section 421 NetFlow Information Storage Unit 422 Life and death information storage department 423 Sensor / threshold related information storage unit 424 Threshold information storage unit 425 Packet Statistics Storage Unit 426 Corrected NetFlow Information Storage Unit 430 Network Interface 440 CPU 500 Management terminal
Claims
1. A collector device that monitors network traffic using NetFlow information, a NetFlow information receiving unit that acquires NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving unit that receives, from the sensor device, alive information of the sensor device as information for determination; a threshold information correction unit that uses the received alive information to determine whether a statistical value of the received NetFlow information is correct, and when it is determined that the statistical value of the received NetFlow information is incorrect, updates threshold information used for monitoring network traffic using sensor threshold information defined for each sensor device; a threshold determination unit that determines whether network traffic is normal by using the updated threshold information.
2. A collector device that monitors network traffic using NetFlow information, a NetFlow information receiving unit that acquires NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving unit that receives statistical information indicating a data volume of network traffic as information for determination from the sensor device; a NetFlow information correction unit that uses the received statistical information to determine whether a statistical value of the received NetFlow information is correct, and corrects the received NetFlow information when it is determined that the statistical value of the received NetFlow information is incorrect; a corrected NetFlow information correcting unit that accumulates the corrected NetFlow information; and a threshold determination unit that determines whether network traffic is normal using the corrected NetFlow information.
3. A collector device as claimed in claim 1, Sensor threshold information is defined for each of the sensor devices, The collector device is characterized in that the threshold information correction unit reduces the threshold information used for the monitoring by an amount equivalent to the sensor threshold information of a sensor device determined to be abnormal based on the alive / dead information.
4. A collector device as claimed in claim 3, a sensor / threshold related information storage unit that stores sensor threshold information including an upper limit threshold and a lower limit threshold for each sensor device and each flow condition; a threshold information storage unit that stores threshold information including an upper limit threshold and a lower limit threshold used for monitoring the network traffic, The collector device according to the present invention, wherein the threshold information correction unit updates the threshold information held in the threshold information holding unit by referring to the sensor / threshold association information holding unit.
5. A collector device as claimed in claim 2, comprising: The corrected NetFlow information correction unit Calculating a difference between a total value of the NetFlow information received from the sensor device and the received statistical information; a collector device for distributing the calculated difference to NetFlow information received from each sensor device according to a ratio of the received NetFlow information, thereby correcting the NetFlow information.
6. A network monitoring method executed by a collector device that monitors network traffic using NetFlow information, comprising: A NetFlow information receiving procedure for acquiring NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving step of receiving, from the sensor device, alive information of the sensor device as information for determination; a threshold information correction step of determining whether a statistical value of the received NetFlow information is correct using the received alive information, and updating threshold information used for monitoring network traffic using sensor threshold information defined for each sensor device when it is determined that the statistical value of the received NetFlow information is incorrect; a threshold determination step of determining whether network traffic is normal using the updated threshold information.
7. A network monitoring method executed by a collector device that monitors network traffic using NetFlow information, comprising: A NetFlow information receiving procedure for acquiring NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving step of receiving statistical information indicating a data volume of network traffic as information for determination from the sensor device; a NetFlow information correction procedure for determining whether a statistical value of the received NetFlow information is correct using the received statistical information, and correcting the received NetFlow information if it is determined that the received NetFlow information is incorrect; a corrected NetFlow information correcting unit that accumulates the corrected NetFlow information; A network monitoring method comprising a threshold judgment step of judging whether network traffic is normal using the corrected NetFlow information.
8. A program for causing a collector device to monitor network traffic using NetFlow information, comprising: A NetFlow information receiving procedure for acquiring NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving step of receiving, from the sensor device, alive information of the sensor device as information for determination; a threshold information correction step of determining whether a statistical value of the received NetFlow information is correct using the received alive information, and updating threshold information used for monitoring network traffic using sensor threshold information defined for each sensor device when it is determined that the statistical value of the received NetFlow information is incorrect; and a threshold determination procedure for determining whether network traffic is normal using the updated threshold information.
9. A program for causing a collector device to monitor network traffic using NetFlow information, comprising: A NetFlow information receiving procedure for acquiring NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving step of receiving statistical information indicating a data volume of network traffic as information for determination from the sensor device; a NetFlow information correction procedure for determining whether a statistical value of the received NetFlow information is correct using the received statistical information, and correcting the received NetFlow information if it is determined that the statistical value of the received NetFlow information is incorrect; a corrected NetFlow information correcting unit that accumulates the corrected NetFlow information; and a threshold determination procedure for determining whether network traffic is normal using the corrected NetFlow information.
10. A network monitoring system for monitoring a network status, comprising: A sensor device that receives network traffic and generates NetFlow information; a collector device that monitors network traffic using the NetFlow information; The sensor device includes: a vital information generating unit that generates vital information of the sensor device itself at a predetermined timing; a vital information transmission unit that transmits the generated vital information to a collector device at a predetermined timing, The collector device comprises: a NetFlow information receiving unit that acquires NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving unit that receives, from the sensor device, alive information of the sensor device as information for determination; a threshold information correction unit that uses the received alive information to determine whether a statistical value of the received NetFlow information is correct, and when it is determined that the statistical value of the received NetFlow information is incorrect, updates threshold information used for monitoring network traffic using sensor threshold information defined for each sensor device; a threshold determination unit that determines whether network traffic is normal by using the updated threshold information.
11. A network monitoring system for monitoring a network status, comprising: A sensor device that receives network traffic and generates NetFlow information; a collector device that monitors network traffic using the NetFlow information; the sensor device has a statistics transmission unit that transmits statistical information indicating a traffic volume from the sensor device to a collector device at a predetermined timing; The collector device comprises: a NetFlow information receiving unit that acquires NetFlow information from a sensor device that receives network traffic and generates NetFlow information; an information receiving unit that receives the statistical information as determination information from the sensor device; a NetFlow information correction unit that uses the received statistical information to determine whether a statistical value of the received NetFlow information is correct, and corrects the received NetFlow information when it is determined that the statistical value of the received NetFlow information is incorrect; a corrected NetFlow information correcting unit that accumulates the corrected NetFlow information; and a threshold determination unit that determines whether network traffic is normal using the corrected NetFlow information.
Citation Information
Patent Citations
Communication system, communication method, and client device
JP2015106349A
Service monitoring device and service monitoring method
JP2016144153A
Sensor node and collection device for radio sensor network, and radio sensor network system
JP2018007203A
Network system, control device, communication equipment, communication control method, and communication control program
JP2018038062A
System and method for automated network monitoring and detection of network anomalies
US20180020015A1
