background image

The Design and Implementation of Monitoring and 

Analyzing Tool for Network Traffic

Abstract

With  the  rapid  development  of  Internet,  network  safety  has  become  people’s 

concern,  virus,  vigorous  attack,  illegal  visit  and  so  on  can  easily  affect  the  normal 
network  performance.  Various  kinds  of  network  defending  technology  have  been 
comprehensively  applied  into  the  management  system  of  network  safety.  Network 
traffic system is one of the effective measures to analysis network condition. From the 
angle of analyzing packet traffic, it can examine the safety violation and the abnormal 
performance of network by timely collecting and monitoring packets information. 

By  using  the  way  of  object-oriented,  this  design  makes  a  needs  analysis  and 

ability designing based on the study of network packet collecting and TCP/IP theory. 
Under  the  environment  of  Visual  C++6.0,  this  system  adopts  VC  program 
technologies  of  Socket-Raw,  Windows  register  and  IpHelper  API.  On  the  basis  of 
system  analysis,  it  makes  a  deliberate  analysis  and  test  of  plans  and  details  to 
implement  packets  collecting,  traffic  monitoring  and  statistics.  So  this  meets  our 
needs and makes a reference for managers to get to know the network conditions. 

Key words:

 network management; data collection; traffic analysis; Winsock2