当前位置:网站首页>03 Wireshark TCP
03 Wireshark TCP
2022-06-09 20:54:00 【Light parasitic in the dark】
1 Capture batch data from computer to remote server TCP transmission
1.1 experiment
- Start your
webbrowser . Get intohttp://gaia.cs.umass.edu/wiresharklabs/ Alice.txt, obtain 《 Alice in wonderland 》 OfASCIICode copy . Store this file somewhere on your computer . - Next please visit
http://gaia.cs.umass.edu/wireshark-labs/TCP-wireshark-file1.html. Use... In this formBrowseButton to enter the file name ( Full path name ) Include in 《 Alice in wonderland 》 On the computer ( Or manual operation ). Don't press “ Uploadalice.txtfile ” Button . - Now start
WiresharkAnd start grabbing (capture -> start), Then press onWireshark Packet Capture OptionsThe screen showsOK( We don't need to chooseany) Options ). - Back to the browser , Press “ Upload
alice.txtfile ” Button to upload the file togaia.cs.umass.eduThe server . After uploading the file , A short congratulatory message will be displayed in your browser window . - Stop grabbing .
WiresharkThe window should look like the window shown below .
2 The first time I saw the trace of capture
2.1 experiment
- stay
WiresharkEnter... In the display filter rule window at the top of the windowtcp( A lowercase letter , Without quotes , Don't forget to enter after typing !), YesWiresharkFilter the message displayed in the window . - Observe the computer and
gaia.c.umass.eduA series ofTCPandHTTPnews .
2.2 QA
- Transfer files to
gaia.c.umass.eduClient computers ( Source ) The use ofIPAddress andTCPWhat is the port number ? Answer that question , The easiest way is probably to choose oneHTTPnews , Then, use the details of the selected packet header window to study how to carry theHTTPNewsTCPPacket details .
gaia.cs.umass.eduOfIPWhat's the address ? On which port number does it send and receive this connectionTCPparagraph ?
- Your client computer ( Source ) Used to transfer files to
gaia.c.umass.eduOfIPAddress andTCPWhat is the port number ?
The same problem .
3 TCP Basic knowledge of
3.1 experiment
Same as experiment 1 .
3.2 QA
- Used on client computers and
gaia.c.umass.eduBetweenTCPConnectedSYNWhat's the sequence number of the paragraph ? What is in this segment that identifies this segment asSYNparagraph ?
Serial number is 0; In the flag bitsynMark is 1. gaia.cs.umass.eduSend a response to the client computerSYNOfSYNACKWhat is the serial number of the segment ?SYNACKWhat is the value of the confirmation field in the section ?gaia.c.s.umass.eduHow to determine this value ? What is in this segment that identifies this segment asSYNACKparagraph ?
Serial number for 0; The confirmation field is 1, The confirmation field is in the request sent by the clientSeqAnd the size of bytes sent ; The following flag bit fields identifySYNACK:
- contain
HTTP POSTOrderedTCPWhat is the serial number of the segment ? Please note that , In order to findPOSTcommand , You need to go deepWiresharkThe package content field at the bottom of the window , In itsDATAField withPOSTSection of .
Obviously, this is the first packet sent after three handshakes , Serial number for 1, But I didn't findPOST... - Will include
HTTP POSTOfTCPSegment asTCPThe first segment in the connection .TCPBefore connection6paragraph ( IncludeHTTP POSTSection of ) What's the serial number of ? At what time each fragment is sent ? When did you receive each paragraphACK? Given eachTCPThe difference between the sending time and the sending time of the segment is confirmed , These sixRTTHow many segments are the values ?EstimatedRTTWhat is the value ( See also3.5.3section ,242Page text ) After receiving eachACK? ValueEstimatedRTTEqual to the measured value of the first segmentRTT, And then use242On the pageEstimatedRTTThe formula calculates all subsequent data segments .
Time measurement See this . TCPfront6What are the lengths of the segments ?
- For the entire trace , What is the minimum amount of free buffer space received ? Whether the insufficient buffer space at the receiving end will strangle the sending end ?

The lack of space will kill the sender . - Track whether there are retransmitted segments in the file ? To answer this question , you ( In tracking ) What was checked ?

Duplicate serial number . - The recipient is usually at
ACKHow much data is confirmed in ? Can you tell if the consignee is packing every other received segment ?ACKUsually confirm1To2Segment data , Cumulative confirmation . TCPThroughput of connections ( Number of bytes transmitted per unit time ) How much is the ? Explain how you calculate this value .
Specifically See this .
4 Running TCP Congestion control
4.1 experiment
- Check the amount of data sent from the client to the server per unit time . We will use
WiresharkOfTCPOne of the graphic tools —Time-Sequence-Graph(Stevens)— To plot data , Not fromWiresharkRaw data in the window ( Blandly !) To calculate the data . - stay
WiresharkSelect the corresponding... From the packet capturing list ofTCPMessage segment . Then choose the menu :Statistics->TCP Stream Graph->Sequence diagram
4.2 QA
- Are you sure
TCPStart and end of the slow start phase , And where congestion avoidance is dominant ? Comment on how to measure ?
It feels like a slow start , Jump straight up ...
边栏推荐
- The role of partial in C #
- 分享 16 个有用的 TypeScript 和 JS 技巧
- C # on the application of polymorphism
- Application of anonymous function in C #
- minikube config set driver kvm2
- Daily question - leecode59 (spiral matrix II)
- Clickhouse data insert, update and delete SQL
- 分享 4 种 JS 深拷贝的方法
- Some applications between delegates and events in C #
- Open source a nodejs firewall gadget
猜你喜欢

Le navigateur ne peut pas ouvrir Baidu, d'autres peuvent être ouverts normalement

SSM driving school management system

idea:new没有class

Latex mathematical symbols Encyclopedia

Integer ordered array lookup -- traversal and half / bisection

Binary search tree

Pan micro oa9 foreground unlimited getshell
![[database data recovery] SQL Server database data recovery case](/img/82/99d3135b6f412a532444e80c2d7faa.jpg)
[database data recovery] SQL Server database data recovery case

dump. Pcapng packet parsing

多线程场景下使用 ArrayList 丢数据
随机推荐
Keyword usage of default in C #
VFP在64位win10环境下访问oracle出现的问题及解决方案
分享 4 种 JS 深拷贝的方法
部署 Kubernetes + KubeVirt 以及 KubeVirt的基本使用
部署 cinder-csi-plugin 遇到的几个问题
C language implementation of simple calculator
TypeScript 变量声明
逻辑回归总结
numpy中的ndarry排序
LeetCode 526. A graceful arrangement***
Kubevirt network source code analysis (2)
C#关于抽象类的学习
Share 16 useful typescript and JS tips
做副业赚钱,这几个热门自媒体平台收益超多
How Bi makes SaaS products have a "sense of security" and "sensitivity" (Part I)
Go 1.18 新特性 - 工作区
CVPR2022 Oral | 用于实时地图视图语义分割的跨视图Transformer
关于C#Unity读写文件
C# For循环的一些小细节
Changshu science and technology applet SQL injection