Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

这篇具有很好参考价值的文章主要介绍了Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Wireshark Lab: TCP v7.0

1

  1. What is the IP address and TCP port number used by the client computer (source) that is transferring the file to gaia.cs.umass.edu?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

根据数据包中的tcp-ethereal-trace-1,其源IP地址为 192.168.1.102 192.168.1.102 192.168.1.102,端口号为 1162 1162 1162

2

  1. What is the IP address of gaia.cs.umass.edu? On what port number is it sending and receiving TCP segments for this connection?
    Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
    gaia.cs.umass.eduIP地址为 128.119.245.12 128.119.245.12 128.119.245.12,端口号为 80 80 80

3

  1. What is the IP address and TCP port number used by your client computer (source) to transfer the file to gaia.cs.umass.edu?
    Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

    我的客户端IP地址为 114.214.241.122 114.214.241.122 114.214.241.122,端口号为 53595 53595 53595

4

  1. What is the sequence number of the TCP SYN segment that is used to initiate the TCP connection between the client computer and gaia.cs.umass.edu? What is it in the segment that identifies the segment as a SYN segment?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

sequence number 0 0 0,通过设置Flags 0 0 0x 002 002 002,即Syn位设为 1 1 1

5

  1. What is the sequence number of the SYNACK segment sent by gaia.cs.umass.edu to the client computer in reply to the SYN? What is the value of the Acknowledgement field in the SYNACK segment? How did gaia.cs.umass.edu determine that value? What is it in the segment that identifies the segment as a SYNACK segment?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
sequence number 0 0 0Acknowledgement number 1 1 1,通过设置Flags 0 0 0x 012 012 012,即SynAcknowledgment位均设为 1 1 1

6

  1. What is the sequence number of the TCP segment containing the HTTP POST command? Note that in order to find the POS command, you’ll 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.

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

sequence number 152634 152634 152634

7

  1. Consider the TCP segment containing the HTTP POST as the first segment in the TCP connection.

    What are the sequence numbers of the first six segments in the TCP connection (including the segment containing the HTTP POST)?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

序号分别为 1 、 566 、 2026 、 3486 、 4946 、 6406 1、566、2026、3486、4946、6406 15662026348649466406

At what time was each segment sent?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

发送时间分别是 0.596858 、 0.612118 、 0.624407 、 0.625071 、 0.647786 、 0.648538 0.596858、0.612118、0.624407、0.625071、0.647786、0.648538 0.5968580.6121180.6244070.6250710.6477860.648538.

When was the ACK for each segment received?
Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

接收时间分别是 0.624318 、 0.647675 、 0.694466 、 0.739499 、 0.787680 、 0.838183 0.624318、0.647675、0.694466、0.739499、0.787680、0.838183 0.6243180.6476750.6944660.7394990.7876800.838183.

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?

RTT分别为 0.027460 、 0.035557 、 0.070059 、 0.114428 、 0.139894 、 0.189645 0.027460、0.035557 、0.070059、0.114428、0.1 39894、0.1 89645 0.0274600.0355570.0700590.1144280.1398940.189645

What is the EstimatedRTT value (see Section 3.5.3, page 242 in text) after the receipt of each ACK?

根据公式 E s t i m a t e d R T T = ( 1 − a ) × E s t i m a t e d R T T + a × S a m p l e R T T , a = 0.125 EstimatedRTT = (1 - a) × EstimatedRTT + a × SampleRTT,a=0.125 EstimatedRTT=(1a)×EstimatedRTT+a×SampleRTT,a=0.125

EstimatedRTT分别为
0.027460 0.028472125 = 0.875 ∗ 0.027460 + 0.125 ∗ 0.035557 0.033670484 = 0.875 ∗ 0.028472125 + 0.125 ∗ 0.070059 0.043765174 = 0.875 ∗ 0.033670484 + 0.125 ∗ 0.114428 0.055781277 = 0.875 ∗ 0.043765174 + 0.125 ∗ 0.139894 0.072514242 = 0.875 ∗ 0.055781277 + 0.125 ∗ 0.189645 \begin{aligned} &0.027460\\ &0.028472125=0.875 * 0.027460 + 0.125 * 0.035557\\ &0.033670484=0.875 * 0.028472125 + 0.125 * 0.070059 \\ &0.043765174=0.875 * 0.033670484 + 0.125 * 0.114428\\ &0.055781277=0.875 * 0.043765174 + 0.125 * 0.139894\\ &0.072514242=0.875 * 0.055781277 + 0.125 * 0.189645 \end{aligned} 0.0274600.028472125=0.8750.027460+0.1250.0355570.033670484=0.8750.028472125+0.1250.0700590.043765174=0.8750.033670484+0.1250.1144280.055781277=0.8750.043765174+0.1250.1398940.072514242=0.8750.055781277+0.1250.189645

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

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 242 for all subsequent segments.
Note: Wireshark has a nice feature that allows you to plot the RTT for each of the TCP segments sent. Select a TCP segment in the “listing of captured packets” window that is being sent from the client to the gaia.cs.umass.edu server. Then select: Statistics->TCP Stream Graph->Round Trip Time Graph.

8

  1. What is the length of each of the first six TCP segments?
    Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

长度分别为 565 、 1460 、 1460 、 1460 、 1460 、 1460 565、1460、1460、1460、1460、1460 56514601460146014601460

9

  1. 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?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

最小为 5840 5840 5840,后随时间呈增大趋势,缓存空间充足,不会使发送方受限制。

10

  1. Are there any retransmitted segments in the trace file? What did you check for (in the trace) in order to answer this question?

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

没有出现重传的分组,因为序列号一直是增大的,并且没有出现重复的序列号。

11

  1. How much data does the receiver typically acknowledge in an ACK? Can you identify cases where the receiver is ACKing every other received segment (see Table 3.2 on page 250 in the text).
    Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
    大部分都是 1460 1460 1460bytes​,比如:第 89 89 89个报文是对第 86 86 86个报文之前的累积确认,第 98 98 98个报文是对第 95 95 95个报文及以前的累积确认。

12

  1. What is the throughput (bytes transferred per unit time) for the TCP connection? Explain how you calculated this value.

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)

总耗时为最后一个数据包发送时间减去第一个数据包发送时间
吞吐量大约为 164091 ∗ 8 26.221522 − 20.596858 ≈ 233387.81 b p s \cfrac{164091*8}{26.221522-20.596858}≈233387.81bps 26.22152220.5968581640918233387.81bps

13

  1. 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 gaia.cs.umass.edu server. Can you identify where TCP’s slowstart 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 we’ve studied in the text.

    Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
    慢启动从发出了HTTP POST报文段后开始,但从图中并不能看出慢启动什么时候结束,拥塞避免是什么时候开始的

    TCP 采用慢启动的目的是进行拥塞控制,但是在实际的网络通信中,对于一些数据量较小的小文件,在网络畅通的情况下发送非常快,甚至可能在慢启动结束之前就已经发送完毕。而这种情况下,采用慢启动方式反而来制约了文件的快速发送,从而影响通信的效率。

14

  1. Answer each of two questions above for the trace that you have gathered when you transferred a file from your computer to gaia.cs.umass.edu.

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
吞吐量大约为 153029 ∗ 8 3.541317 − 2.495695 ≈ 1.171 M b p s \cfrac{153029*8}{3.541317-2.495695}≈1.171Mbps 3.5413172.49569515302981.171Mbps

Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)
从最开始时刻是慢启动开始的时间,但无法看出慢启动结束和拥塞避免开始的情况。文章来源地址https://www.toymoban.com/news/detail-407758.html

到了这里,关于Wireshark TCP实验—Wireshark Lab: TCP v7.0(计算机网络自顶向下第七版)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • 【计算机网络实验/wireshark】tcp建立和释放

    【计算机网络实验/wireshark】tcp建立和释放

    wireshark开始捕获后,浏览器打开xg.swjtu.edu.cn,网页传输完成后,关闭浏览器,然后停止报文捕获。 若捕获不到dns报文,先运行ipconfig/flushdns命令清空dns缓存 设置了筛选条件:dns 查询报文目的端口:53,目标ip地址:202.115.64.33  找到DNS相关部分,可以看到事务id,以及queries(问

    2024年01月17日
    浏览(10)
  • 计算机网络自顶向下WireShark实验:TCP

    计算机网络自顶向下WireShark实验:TCP

    计算机网络 WireShark 实验记录可供参考 1:What is the IP address and TCP port number used by the client computer (source) that is transferring the file to gaia.cs.umass.edu? To answer this question, it’s 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

    2023年04月15日
    浏览(12)
  • 《计算机网络—自顶向下方法》 Wireshark实验(四):TCP 协议分析

    《计算机网络—自顶向下方法》 Wireshark实验(四):TCP 协议分析

            在因特网协议族(Internet Protocol Suite)中,TCP 层是位于 IP 层之上,应用层之下的中间层。不同主机的应用层之间经常需要可靠的、像管道一样的连接,但是 IP 层不提供这样的流机制,而是提供不可靠的包交换。TCP 和 UDP 处在同一层——传输层,但是它们有很多的

    2024年02月05日
    浏览(12)
  • 计算机网络实验五 Wireshark网络抓包实验

    计算机网络实验五 Wireshark网络抓包实验

    1.使用Wireshark软件对网卡上的数据包进行抓取,分析数据包各字段的含义。 2.掌握数据链路层、网络层、运输层常用数据包的定义 3.掌握相关网络命令 注意:下面实验环境 本机IP:10.1.36.48 网关:10.1.36.1 (1)捕获ARP请求及应答包 要求:分析数据链路层协议中的:源MAC,目的

    2024年02月10日
    浏览(16)
  • 计算机网络实验(二):Wireshark网络协议分析

    计算机网络实验(二):Wireshark网络协议分析

    HTTP协议分析   1.超文本传输协议(Hypertext Transfer Protocol, HTTP)是万维网(World Wide Web)的传输机制,允许浏览器通过连接Web服务器浏览网页。目前在大多数组织中,HTTP流量在网络中所占的比率是最高的。每一次使用Google搜索、连接Twitter、发一条微博,或者在ESPN上查看肯塔基

    2024年01月15日
    浏览(14)
  • CS144 计算机网络 Lab4:TCP Connection

    CS144 计算机网络 Lab4:TCP Connection

    经过前面几个实验的铺垫,终于到了将他们组合起来的时候了。Lab4 将实现 TCP Connection 功能,内部含有 TCPReceiver 和 TCPSender ,可以与 TCP 连接的另一个端点进行数据交换。 简单来说,这次实验就是要在 TCPConnection 类中实现下图所示的有限状态机: 这些状态对应 TCPState 的内部

    2024年02月03日
    浏览(13)
  • CS144 计算机网络 Lab3:TCP Sender

    CS144 计算机网络 Lab3:TCP Sender

    在 Lab2 中我们实现了 TCP Receiver,负责在收到报文段之后将数据写入重组器中,并回复给发送方确认应答号。在 Lab3 中,我们将实现 TCP 连接的另一个端点——发送方,负责读取 ByteStream (由发送方上层应用程序创建并写入数据),并将字节流转换为报文段发送给接收方。 TC

    2024年02月01日
    浏览(13)
  • CS144 计算机网络 Lab2:TCP Receiver

    CS144 计算机网络 Lab2:TCP Receiver

    Lab1 中我们使用双端队列实现了字节流重组器,可以将无序到达的数据重组为有序的字节流。Lab2 将在此基础上实现 TCP Receiver,在收到报文段之后将数据写入重组器中,并回复发送方。 TCP 接收方除了将收到的数据写入重组器中外,还需要告诉发送发送方: 下一个需要的但是

    2023年04月25日
    浏览(11)
  • 计算机网络-应用协议与数据包分析实验(使用Wireshark)

    计算机网络-应用协议与数据包分析实验(使用Wireshark)

            通过本实验,熟练掌握Wireshark的操作和使用,学习对HTTP协议进行分析。         学习http协议,使用Wireshark截获http报文,对http请求报文和响应报文进行分析。 1.截获报文 打开Wireshark开始截获报文,从浏览器访问:http://kczx.hnu.edu.cn/G2S/Template/View.aspx?courseId=124

    2024年02月02日
    浏览(12)
  • HNU-计算机网络-实验1-应用协议与数据包分析实验(Wireshark)

    HNU-计算机网络-实验1-应用协议与数据包分析实验(Wireshark)

    计科210X 甘晴void 202108010XXX 通过本实验,熟练掌握Wireshark的操作和使用,学习对HTTP协议进行分析。 2.1 HTTP 协议简介 HTTP 是超文本传输协议 (Hyper Text Transfer Protocol)的缩写,用于WWW 服务。 (1)HTTP 的工作原理 HTTP 是一个面向事务的客户服务器协议。尽管HTTP 使用TCP 作为底层

    2024年02月06日
    浏览(11)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包