Packet Loss Detection Algorithm and Key Points of Its Implementation in Network Status Monitor
- Author
- XiaoYinDong
- Advisor
- WangHouJun
- School
- University of Electronic Science and Technology
- Major
- Measuring Technology and Instruments
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Doctoral dissertation
- Year
- 2013
- Downloads
- 48
- Citations
- 0
- network loss detection
- local round trip time model
- nestable shim layer
- packet header extraction
- two layered FIFO architecture based media access controller
Abstract
Since1970s, computer network have widely applied to every field in the world,and played an extremely important role. Research and industry community have paidmuch attention on digging network’s internal running status, in which many noveltymethods were proposed and adopted. Network Status Monitor(NSM) is a kind ofinstrument which could observe internal status of network. This instrument extractspacket loss and delay characteristic by analyzing the trace file generated by passivecapture method. The challenge is how to exactly infer the loss packet exists in localnetwork.A detection method and its improved version on loss packet based on LocalRound Trip Time(LRTT) was proposed and implemented in NSM. The key point of thiswork can be concluded as follow.1. By extending detection methods based on TCP retransmission mechanism oracknowledgement packet analysis, a new detection method based on extreme value ofLRTT to infer packet loss exists in local network in receiving flow was proposed. Themethod can correctly deal with all kind of packet loss, as spurious fast retransmission,spurious time out retransmission, batch loss and loss in retransmission.2. An analytic model for LRTT was setup through TCP acknowledgemechanism,itdivide LRTT’s samples into for four subsets which were triggered bydifferent events. Three of the subsetscan be modeled with experimental distributionswhich make their extreme value estimation available. Profound discussionon details byadopting those extreme values into previous method can conclude that using extremevalue of immediate acknowledgement as its maximum LRTT and introducing a newtime out rule would improve its stability and detecting range.3. To fulfill the large calculation capabilities of analyzing network packets, a newpacket header extraction method based on finite state machine was designed to moveprinciple workload to FPGA(Field Programmable Gate Array), and provide a flexibleextending mechanism. This method solved the performance shortage of centralprocessing unit and provides ability of extracting nestable shim layer protocol. It isproved that the method support a high extracting bandwidth and low resource usage, which especially suit for the area of network measurement and security. To integrate thispacket header extraction module in traditional Media Access Controller(MAC), wepropose two layeredFIFO (First In First Out) architecture to eliminate thedifferencesbetween their interface both in software and hardware.4. The proposed loss detection methods have been proved in network emulator andreal captured traces as is stability and performance. In various environment, theexperiment results show an extremely low false detection rate and acceptable cover rate,which is an important advantage of our detection method, especially the false detectionrate is below0.62%when samples are sufficient, even in opposite situation the falsedetection still keep as lower as11.6%.
Table of contents
Abstract 5-7
ABSTRACT 7-12
first chapter 12-22
1.1 Background and Significance 12- 14
development and Status 1.2 network testing technology 14-15
1.3 network packet loss detection algorithm 15-17
1.4 network round-trip time model 17-18
1.5 network packet header extraction method 18-19
1.6 the main work and structural arrangements 19-22
chapter based on passive TCP protocol network packet loss detection algorithm 22-49
2.1 TCP protocol Profile 23-26
2.2 packet loss detection algorithm based on packet retransmission mechanism 26-31
2.3 confirmation packet loss detection algorithm based on packet analysis 31-35
2.4 based on the local network round-trip time and packet loss detection algorithm 35-47
2.4.1 algorithm theory analysis 36-41
2.4.2 retransmission deal with the phenomenon of false 41-45
2.4.3 bulk loss inferred 45-46 <br / > 2.4.4 retransmission packet loss during the analysis 46-47
2.5 Chapter Summary 47-49
Chapter Three local network round-trip time and packet loss and related analytical model detection algorithm 49-73
3.1 local network round-trip time acquisition method 49-54
3.2 local network round-trip time analytical model 54-59
3.3 local network round-trip time model validation 59-64
3.4 extremes local network round-trip time estimate 64-67
3.4.1 immediately recognized the extreme value estimation method 64 -66
3.4.2 delayed acknowledgment extreme value estimation method 66-67
3.5 based on the local network round-trip time and packet loss detection algorithm analytic model 67-72
3.5.1 loss occurs when packet loss detection algorithm to infer the results of the analysis 67-70
packet loss detection algorithm to infer the results of the analysis nbsp 3.5.2 loss did not occur ; 70-72 <br / > 3.6 Chapter Summary 72-73
Chapter IV algorithm validation and experimental 73-95
4.1 verification platform 73-76
4.1.1 Emulab network simulation system 73-74
4.1.2 verification principle 74-76
loss rate under 4.2 fixed network environment packet loss detection algorithm validation 76- 85
4.2.1 there is only one way to verify data transmission when verify 77-79
4.2.2 bidirectional data transfer when 79-81
4.2. 3 Use SACK mechanism to verify when 81-83
4.2.4 change verify packet loss rate when the external connection 83-85
packet loss detection algorithm under more than 4.3 load environment verify 85-90
4.3.1 unused SACK protocol stack verification mechanisms under different load environments 86-88
4.3.2 SACK mechanism using the protocol stack in different load verification environment 88-90
4.4 sample batch batch packet loss and retransmission of lost bags and analysis analysis 90-92
4.5 interception record actual network inference results 92-94
4.5.1 inference results composition 92
4.5.2 local network packet loss rate of the statistical properties of 92-94
4.6 of this chapter Summary 94-95
Chapter network status monitor design and realization 95-119
5.1 network status monitor overall program 95-100
5.1.1 hardware solutions 96-98
5.1.2 software solutions 98-100
5.2 network packet header extraction method 100-111 <br / > 5.2.1 -based configuration memory header extraction method 101-102
5.2.2 Baotou extraction method based on state machines 102-109
5.2.2.1 nested dissection protocol analytical 104-105
5.2.2.2 resolve sub-module state migration pipeline 105-108
5.2.2.3 IP and TCP protocol analysis sub-module 108-109
5.2.3 comparison experiments and programs 109-111
5.3 network media access controller design 111-115
5.3.1 common media access controller design 111-113
5.3.2 double buffer structure media access controller design 113-115
5.4 packet loss detection algorithm implementations 115-116
5.5 summary 116-119
Chapter summary and Outlook 119-121
6.1 the main contribution of this paper 119-120
6.2 Next Looking to work 120-121
Thanks 121-122
references achieved during 122-135
attack Bo research 135-136