Wireshark 实验室#
Wireshark Lab
Wireshark 实验:探索 TCP#
Wireshark Lab: Exploring TCP
在本实验中,你将使用 Web 浏览器从 Web 服务器访问一个文件。与之前的 Wireshark 实验一样,你将使用 Wireshark 捕获到达你计算机的数据包。不同于早期实验的是,你还将能够从你下载文件的 Web 服务器上下载一个 Wireshark 可读取的数据包抓取文件。在这个服务器抓取文件中,你将找到由你访问该 Web 服务器所产生的数据包。你将分析客户端和服务器端的抓包记录,以探索 TCP 的各个方面。特别地,你将评估你计算机与 Web 服务器之间 TCP 连接的性能。你将追踪 TCP 的窗口行为,并推断分组丢失、重传、流量控制与拥塞控制行为,以及估算的往返时间。
与所有 Wireshark 实验一样,本实验的完整说明可在本书网站 www.pearsonhighered.com/cs-resources 获取。
原文
In this lab, you’ll use your Web browser to access a file from a Web server. As in earlier Wireshark labs, you’ll use Wireshark to capture the packets arriving at your computer. Unlike earlier labs, you’ll also be able to download a Wireshark-readable packet trace from the Web server from which you downloaded the file. In this server trace, you’ll find the packets that were generated by your own access of the Web server. You’ll analyze the client- and server-side traces to explore aspects of TCP. In particular, you’ll evaluate the performance of the TCP connection between your computer and the Web server. You’ll trace TCP’s window behavior, and infer packet loss, retransmission, flow control and congestion control behavior, and estimated roundtrip time.
As is the case with all Wireshark labs, the full description of this lab is available at this book’s Web site, www.pearsonhighered.com/cs-resources.
Wireshark 实验:探索 UDP#
Wireshark Lab: Exploring UDP
在这个简短的实验中,你将捕获并分析你最喜欢的使用 UDP 的应用程序(例如 DNS 或多媒体应用如 Skype)的数据包。正如我们在 第 3.3 节 中学习的,UDP 是一种简单、无附加功能的传输协议。在本实验中,你将研究 UDP 段中的首部字段以及校验和计算。
与所有 Wireshark 实验一样,本实验的完整说明可在本书网站 www.pearsonhighered.com/cs-resources 获取。
原文
In this short lab, you’ll do a packet capture and analysis of your favorite application that uses UDP (for example, DNS or a multimedia application such as Skype). As we learned in Section 3.3, UDP is a simple, no-frills transport protocol. In this lab, you’ll investigate the header fields in the UDP segment as well as the checksum calculation.
As is the case with all Wireshark labs, the full description of this lab is available at this book’s Web site, www.pearsonhighered.com/cs-resources.