| Along with the large use of computers, gateway is used to monitor, control and manage the network traffic. Through analyzing and extracting the features of IP network packet flow, this thesis verifies the validity and rationality of the controlling of network packet by gateway.On demand, the present thesis designs an analysis tool for the features of IP network packet flow. This system which works in Linux system can completely capture the packet's "head" transferred in TCP/IP network, at the same time, analyzes and shows the packet's key information. In this system, the author designs and implements the function of capturing and analyzing the packet. With the help of TCL/TK and C combined programming, the man-machine interface of this system is designed under the Linux platform, so that people can observe and analyze the network traffic easily and directly.This system possesses the following functions: real-time capturing the packet that flow through this host and the network; changing key features of network packet into readable form (utilizing C language to realize screen show); real-time statistics of host network traffic shown by curves (take advantage of TCL/TK); analyzing relevant packet's key features and displaying them through an interface.Basically, this system serves as a tool to monitor the network traffic under the environment of simulation and local area network. At the same time, it also lays a foundation for controlling the network traffic on the basis of this system. |