Research and Implementation of IP Traffic Generator

Author
WangYiQiang
Advisor
JieZhenDong
School
Chengdu University of Technology
Major
Signal and Information Processing
Classification
TP393.06 Computer networks, test , run
Degree
Master's thesis
Year
2010
Downloads
28
Citations
0

Request the full text

Abstract

In the information society of today, computer network technology is changing very fast, the demand on computer network equipment is growing higher. As for network equipment manufacturers, a testing of network equipment is a very important aspect, especially in the final system testing. However, on the network equipment (mainly referring to routers, switches and gateways) for system testing or regression testing, has been faced with a problem when doing the stability or security test on products of these networks TCP/IP protocol suite to ensure products adapt to various irregular IP packet. The problem is that it is always very difficult to generate IP packets crafted in a normal computer network environment. In consideration of nowadays network equipment manufacturers’software development department’s development environment and testing department’s test tools development and test environment are under Linux environment, but the IP traffic generator is rare under the Linux environment, for example the sendip. However it supports very few protocol types, can’t meet the demand of routine network equipment test. So it is a meaningful and worthy task to design a IP traffic generator who can support the demand of routine network equipment test under Linux environment.Therefore, this paper is to design a IP traffic generator under Linux platform for testing the TCP/IP protocol suite of network equipment (mainly routers, switches, and gateways). Based on the network equipment required to test the commonly used IP packet type, the IP traffic generator to support the IP data packet types: IPv4, IPv6, ICMP, NTP, TCP, UDP, RIP, BGP and other IP data packets type, the software being named packetsendAround the Linux kernel and TCP/IP protocol suite, this paper discussed the design and implement methods of IP traffic generator. We also discussed the correlation technique of IP traffic generator, including automated testing, Linux kernel, the inter-process communication and the socket technologies. Mainly discussed the algorithm design, system analysis and each module of system‘s design of the IP traffic generator. As for the system analysis we discussed the IP traffic generator’s system calls and the public function and data-structure of modules. In each module, we discussed protocols of TCP/IP suite of IP traffic generator, the design of protocol head’s data-structure and each protocol field’s default value set. IP traffic generator’s test and the conclusion is offered in the end of this paper, and the further study work also being mentioned.

Table of contents

Abstract 4-6 ABSTRACT 6-10 Chapter 1 Introduction 10-14 1.1 automated test 10-11 the concept 1.1.1 automated testing 10-11 1.1.2 automated testing advantages 11 1.2 the subject background with task 11-13 1.2.1 GUN and GPL 12 1.2.2 issues raised 12-13 1.3 of this article and arrangements 13-14 Chapter 2 IP traffic generator 14-29 2.1 LINUX background 14-15 2.2 LINUX kernel 15-19 2.2.1 processes and threads 16-17 2.2.2 interprocess communication 17-19 2.3 Traffic Generator Principle 19-27 2.3.1 socket 19-20 2.3.2 raw sockets 20-21 2.3.3 IP traffic generator design algorithm 21-27 2.4 This chapter Summary 27-29 Chapter 3 IP traffic generator 29-47 3.1 systems analysis design 29-35 3.1.1 of each module structure relationship 29 3.1.2 Traffic Generator system calls 29-31 3.1.3 main common function design 31-33 3.1.4 traffic control data structure design 33-35 3.2 each module design 35-46 3.2.1 TCP / IP protocol suite 35-36 3.2.2 IPv4 module 36-38 3.2.3 IPv6 module 38-40 3.2.4 TCP module 40-41 3.2.5 UDP module 41-42 3.2.6 ICMP module 42-43 3.2.7 NTP module 43-44 3.2.8 RIP module 44-46 3.2.9 BGP module 46 3.3 This chapter Summary 46-47 Chapter 4 IP traffic generator test 47-58 4.1 Overview 47 4.2 test environment 47-50 4.2.1 network test environment 47-48 4.2.2 Testing Overview 48-50 4.3 IP Traffic Generator the various modules agreement test 50-56 4.3.1 UDP protocol module test 50-51 4.3.2 TCP protocol module test 51-53 4.3.3 ICMP, BGP, NTP, RIP protocol module test 53-56 4.4 test results analysis 56-57 4.5 of this chapter Summary 57-58 the conclusions and recommendations 58-59 Acknowledgements 59-60 the References 60-63 studying for master's degree obtained during the main results 63

Related dissertations

  1. Design and Implementation of Wireless Video Monitoring System in Electric Power Industry
  2. The Design of the Video Compression and Transmission System Based on ARM
  3. Design of a Management Software for Cable-Channel Monitoring System
  4. The Research of Power Quality Remote Monitoring System Based on GPRS
    WangNian ·Central South University ·2012 ·Master's thesis
  5. The Research on the Communication System in the Informationization of Iron and Steel
    HuTanWen ·Shanghai Jiaotong University ·2007 ·Master's thesis
  6. Research and Implementation of Industrial Ethernet IDA specification communications services
    ZhangLei ·Dalian University of Technology ·2003 ·Master's thesis
  7. Monitoring system based on the internal network
  8. Design and Achieve of On-line Test System
    YangYing ·Chongqing University ·2005 ·Master's thesis
  9. Research on the Framework and Protocol of Deepsea Observation Network
    YuWeiQiao ·Zhejiang University ·2006 ·Master's thesis
  10. Design and Application of the IP Controlling Gateway Based on PBNM
    JiangXiJiong ·Suzhou University ·2005 ·Master's thesis
  11. Design and Implementation of Web - based remote multimedia education system
  12. Designing and Implementation of Remote Security Monitoring System for Networking Servers
    ZhangGuoBin ·Dalian Maritime University ·2005 ·Master's thesis
  13. Research and Implementation of Remote Control Platform Based on Wireless Network
  14. Design and Implementation of a Remote Computer Room Monitoring System
    LiuXiuJie ·Northeastern University ·2011 ·Master's thesis
  15. The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
  16. Design and Implementation of Multi-channel Data Acquisition System
  17. Key Technology Reserch Data Acquisition System Based on Gprs
  18. Design and Implementation of Heating Meter Reading Information System Basing on GPRS
  19. Data Acquisition and Management System of Wireless Remote Large-diameter Water Meter
  20. Research of Surface Roughness Network Data Collector System Based on ARM