本系列实验参照https://gaia.cs.umass.edu/kurose_ross/
网站中的实验指导书进行,为方便起见已将指导书全部储存在github中:Wireshark-Labs PDF
Getting Wireshark
下载 并安装 Wireshark
Running Wireshark
1.通过 编辑 下拉菜单中的 首选项 修改显示字体大小,快捷键为Ctrl + Shift + P
2.通过 视图 下拉菜单中的 时间显示格式 修改 Time column 中的格式
Taking Wireshark for a Test Run
test URL: http://gaia.cs.umass.edu/wireshark-labs/INTRO-wireshark-file1.html
通过Wireshark捕获HTTP请求报文(request message) 和 HTTP响应报文(response massage)
What to hand in
-
List 3 different protocols that appear in the protocol column in the unfiltered packet-listing window in step 7 above.
HTTP;TCP;UDP;
-
How long did it take from when the HTTP GET message was sent until the HTTP OK reply was received? (By default, the value of the Time column in the packetlisting window is the amount of time, in seconds, since Wireshark tracing began. To display the Time field in time-of-day format, select the Wireshark View pull down menu, then select Time Display Format, then select Time-of-day.)
0.282257s ≈ 282ms
-
What is the Internet address of the gaia.cs.umass.edu (also known as wwwnet.cs.umass.edu)? What is the Internet address of your computer?
gaia.cs.umass.edu: 128.119.245.12
my computer: 10.164.249.120 -
Print the two HTTP messages (GET and OK) referred to in question 2 above. To do so, select Print from the Wireshark File command menu, and select the “Selected Packet Only” and “Print as displayed” radial buttons, and then click OK.