| Nowadays,the Internet is developing rapidly,the role of the network in people’s lives is more and more important,high-speed development of the network to provide people with convenient service,people can communicate,work and entertainment through the network.Internet has also been in a number of industries has made considerable progress,so that the extent of the information society as a whole has been improved.But with the increase of network applications,there have been some unexpected problems.First,many network applications will be uncontrolled network bandwidth,increased burden on the network,resulting in increasing network operating costs will also affect to other network applications.Therefore,how to effectively solve these problems has become one of the parties eager to explore social issues.In response to this situation,this paper proposes to use network traffic analysis system provides data on support to solve these problems,there is a problem in the network can query all hosts when network activity records the network,so for a variety of network problems solving provides a way you can rely on.This paper designs an IP network traffic analysis system for capturing,analysis and presentation LAN network traffic.The system is deployed in the mirror port network equipment,copying other port data packets via the mirror port to implement such a feature of network data traffic monitoring.The system is divided into three modules:packet capture module,data analysis module and display module.Libpcap-based packet capture module implemented the ability to capture data packets,and to capture data packets parsing and storage.Design and implementation of data storage solutions for data storage,can theoretically support PB level data file,and the data can be indexed by the search criteria.Data analysis module and display module is based on struts2 framework and java web technologies,including data analysis,traffic analysis and network flow analysis,the user can set the data analysis module by showing condition,results of the analysis using line charts,pie charts,tables and text and other forms of display.The last of these three modules were tested,and according to the test out of the question to improve the system. |