




已阅读5页,还剩9页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验六 Wireshark Lab: TCP一、实验目的 1.通过wireshark抓包理解应用层TCP协议。二、实验器材 1.PC机电脑一台。 2.Wireshark软件。三、实验内容 1依照Wireshark Lab 提供的实验步骤完成实验。 2回答实验中的问题。四、实验操作实践与步骤2. A first look at the captured traceSource IP address:021. What is the IP address and TCP port number used by the client computer (source) that is transferring the file to ? To answer this question, its probably easiest to select an HTTP message and explore the details of the TCP packet used to carry this HTTP message, using the “details of the selected packet header window” Source TCP port number:1161Destination IP address:22. What is the IP address of ? On what port number is it sending and receiving TCP segments for this connection?Destination TCP port number:80 If you have been able to create your own trace, answer the following question:3. What is the IP address and TCP port number used by your client computer (source) to transfer the file to ?3. TCP Basics4. (1)What is the sequence number of the TCP SYN segment that is used to initiate the TCP connection between the client computer and ? (2)What is it in the segment that identifies the segment as a SYN segment?(1) SYN sequence number =0 (2) What is in the red region of the figure above identifies the segment as a SYN segment.5. (1)What is the sequence number of the SYNACK segment sent by to the client computer in reply to the SYN?(2) What is the value of the ACKnowledgement field in the SYNACK segment? How did determine that value? What is it in the segment that identifies the segment as a SYNACK segment?(1)SYNACK sequence number =0, ACKnowledgement=1(2)ACKnowledgement value= initiate sequence number of theTCP SYN segment+1(3)What is in the red region of the figure above identifies the segment as a SYN segment.6. What is the sequence number of the TCP segment containing the HTTP POST command? Note that in order to find the POST command, youll need to dig into the packet content field at the bottom of the Wireshark window, looking for a segment with a “POST” within its DATA field. The sequence number of the TCP segment containing the HTTP POST command is 1.7. Consider the TCP segment containing the HTTP POST as the first segment in the TCP connection. (1)What are the sequence numbers of the first six segments in the TCP connection (including the segment containing the HTTP POST)? (2)At what time was each segment sent? When was the ACK for each segment received?(3) Given the difference between when each TCP segment was sent, and when its acknowledgement was received, what is the RTT value for each of the six segments?(4) What is the EstimatedRTT value (see page 249 in text) after the receipt of each ACK? (5)Assume that the value of the EstimatedRTT is equal to the measured RTT for the first segment, and then is computed using the EstimatedRTT equation on page 249 for all subsequent segments.Note: Wireshark has a nice feature that allows you to plot the RTT foreach of the TCP segments sent. Select a TCP segment in the “listing ofcaptured packets” window that is being sent from the client to server. Then select: Statistics-TCP Stream Graph-Round Trip Time GraphNo.TypeSeq.ACK val.4Data15Data5666ACK5667 Data2026 8Data34869ACK2026 10Data494611Data640612ACK346814ACK494615ACK640616ACK7866 (1) The first six segments are the No.4, 5, 7, 8, 10, and 11 segments.(circled in red) The sequence numbers of them respectively are1, 566, 2026, 3486, 4946, 6406, 7866.(2)They were respectively sent at the time circled int the figure bellow. (3) ACK received time are given in the figure bellow:(4)RTT value for each of the six segments Sent timeACK received timeRTT valueSegment10.0264770.0539370.02746Segment20.0417370.0772940.035557Segment30.0540260.1240850.070059Segment40.0546900.1691180.11443Segment50.0774050.2172990.13989Segment60.0781570.2678020.18964(5)EstimatedRTT = 0.875 * EstimatedRTT + 0.125 * SampleRTTEstimatedRTT after the receipt of the ACK of segment 1:EstimatedRTT = RTT for Segment 1 = 0.02746 secondsegment 2:EstimatedRTT = 0.875 * 0.02746 + 0.125 * 0.035557 = 0.0285segment 3:EstimatedRTT = 0.875 * 0.0285 + 0.125 * 0.070059 = 0.0337segment 4:EstimatedRTT = 0.875 * 0.0337+ 0.125 * 0.11443 = 0.0438segment 5:EstimatedRTT = 0.875 * 0.0438 + 0.125 * 0.13989 = 0.0558segment 6:EstimatedRTT = 0.875 * 0.0558+ 0.125 * 0.18964 = 0.0725 Figure: Round Trip Time Graph8. What is the length of each of the first six TCP segments?The length of the first TCP segments (containing the HTTP POST) is 566 bytes. The length of each of the other five TCP segments is 1460 bytes.9. What is the minimum amount of available buffer space advertised at the received for the entire trace? Does the lack of receiver buffer space ever throttle the sender?The minimum amount of available buffer space at advertised at for the entire trace is 5840 bytes, which shows in the first acknowledgement (No.2 segment )from the server. This receiver window grows steadily until a maximum receiver buffer size of 62780 bytes. The sender is never throttled due to lacking of receiver buffer space by inspecting this trace. Figure : Minimum receive window (packet No.2)10. Are there any retransmitted segments in the trace file? What did you check for (in the trace) in order to answer the question?There is no retransmitted segments in the trace file.In order to answer the question , I checked for the sequence numbers of the TCP segments in the trace file. In the Time-Sequence-Graph (Stevens) of this trace, all sequence numbers from 02 to 2 are increasing linear and monotonically. If there is a retransmitted segment, the Time-Sequence-Graph (Stevens) should be different from what we see.11.(1) How much data does the receiver typically acknowledge in an ACK?(2) Can you identify cases where the receiver is ACKing every other received segment (see Table 3.2 on page 257 in the text). The receiver typically acknowledged sequence numbers of the ACKs are listed in the following table.Segment numberAcknowledged sequence numberAcknowledged dataACK16566566ACK2920261460ACK31234861460ACK41449461460ACK51564061460ACK61678661460ACK71790131147ACK824104731460ACK925119331460ACK1026133931460ACK1127148531460ACK122816313146012. What is the throughput (bytes transferred per unit time) for the TCP connection? Explain how you calculated this value.The TCP connection started to transmit data at segment 4,and end in segment 202. We can see from the figure bellow:data1=1 byte t1= 0.026477data2=164091 bytes t2= 5.455830total data=164091-1=164090 bytesit takes time: total time= 5.455830- 0.026477=5.429353 secondsSo the throughput for the TCP connection is calculated as 164090/5.4294353= 30.222 KByte/sec13. Use the Time-Sequence-Graph(Stevens) plotting tool to view the sequence number versus time plot of segments being sent from the client to the server. Can you identify where TCPs slow start phase begins and ends, and where congestion avoidance takes over? Comment on ways in which the measured data differs from the idealized behavior of TCP that weve studied in the text.We can see from the figure above(Time-Sequence-Graph(Stevens) that th
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025店铺买卖合同
- 专车知识培训心得体会
- 2025租赁合同范本示范文
- 专用车造车知识培训课件
- 山东省青岛市市南区统考2026届数学九年级第一学期期末考试试题含解析
- 2026届山东省枣庄市薛城区七年级数学第一学期期末达标检测模拟试题含解析
- 中国银行南宁市武鸣区2025秋招笔试金融学专练及答案
- 工商银行大连市沙河口区2025秋招笔试数量关系题专练及答案
- 中国银行锦州市凌海市2025秋招笔试英语选词填空题专练50题及答案
- 中国银行咸宁市通城县2025秋招笔试管理营销专练及答案
- 万亨工业科技(台州)股份有限公司年产500万套逆变器及配件、800万套新能源汽车控制器配件技改项目环评报告
- 娃哈哈企业财务分析报告
- 装修木工清包合同协议书
- DB13T 1568-2012 生态公益林经营技术规程
- 科技论文写作 第2版 课件 第1-5章 科技论文写作概述-英文科技论文的写作
- 葡萄田租赁合同协议书
- 哈尔滨工业大学介绍
- 医疗行业中的新检验技术推广与普及
- 2024-2025学年广东省佛山市九年级上学期期中考试化学试卷
- 国家电网有限公司输变电工程通 用设计(330~750kV输电线路绝缘子金具串通 用设计分册)2024版
- 2025年朝花夕拾考试题及答案
评论
0/150
提交评论