Chapters 1 and 2 - Kurose 8 - Assignments

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Chapter 1 – Kurose 8

Wireshark Lab
You can download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces-8.1.zip and extract the trace file
intro-wireshark-trace1-1. This trace file can be used to answer these Wireshark lab questions without actually capturing
packets on your own. Each trace was made using Wireshark running on one of the author’s computers, while
performing the steps indicated in the Wireshark lab. Once you’ve downloaded a trace file, you can load it into Wireshark
and view the trace using the File pull down menu, choosing Open, and then selecting the trace file name.

The list is individual. Just write the answers (but they must be written by hand and in pen).

1. List 3 different protocols that appear in the protocol column in the unfiltered packet-listing window in step 7 above.
2. 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 packet-listing 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.)
3. What is the Internet address of the gaia.cs.umass.edu (also known as www-net.cs.umass.edu)? What is the Internet
address of your computer?
To answer the following two questions, you’ll need to select the TCP packet containing the HTTP GET request (hint: this is
packet number 286).
4. Expand the information on the HTTP message in the Wireshark “Details of selected packet” window (see Figure 3
above) so you can see the fields in the HTTP GET request message. What type of Web browser issued the HTTP request?
5. What is the destination port number (the number following “Dest Port:” for the TCP segment containing the HTTP
request) to which this HTTP request is being sent?
6. List the main attributes of the two HTTP messages (GET and OK) referred to in question 2 above. To see, select Print
from the Wireshark File command menu, and select the “Selected Packet Only” and “Print as displayed” radial buttons,
and then click OK.

Chapter 2 – Kurose 8
Sockets
The client will send data to the server via socket. The server will process, calculate, and return the result to the client via
socket. Communication must be done between two computers using TCP. You will need to capture such traffic in
Wireshark. It is not allowed to use the same code as other students. In the assessment, the student must: (i) choose one
of the work options below, (ii) make the program work and pass the test cases, (iii) make a good presentation, and (iv)
know how to explain the code and the Wireshark capture.

Work Input Output


BMI Calculator Weight and Height Fat/Thin
Temperature Conversion Temperature Cold/Hot
Currency Conversion Cash value Rich/Poor
Grade Average 3 Grades Approved/Disapproved
Area of a land Sides of a land Small/Large

You might also like