Wireshark Lab: HTTP and Protocol Analysis

Lab Setup

  1. Start the Wireshark software.
  2. To begin packet capture:
    • On Windows: Go to the Capture pull-down menu and select Interfaces.
    • On Mac: Choose Options from the Capture menu.
  3. You will see a list of network interfaces on your computer along with a live packet count.
    • How to Pick the Right Interface:
      • Look for the interface that is actively showing an increasing packet count — this is typically your main network adapter.
      • If you’re on Wi-Fi, it will usually be labeled something like Wi-Fi, wlan0, or en0.
      • If you’re using Ethernet, look for Ethernet, eth0, or a similar name.
      • If you’re unsure, open your browser and start loading a webpage — then see which interface shows packet activity.
      • Tip: Avoid loopback interfaces unless you’re capturing local traffic like localhost.
  4. On Windows, click Start next to the interface on which you want to begin capture.
  5. While Wireshark is running, open your browser and go to: https://ycpcs.github.io/cs330-fall2025/assignments/fingerprint.html
  6. While Wireshark is running, open your browser and go to: http://gaia.cs.umass.edu/wireshark-labs/INTRO-wireshark-file1.html
    1. Make sure you use http and not https

Lab Questions

1. Protocol Identification

Which of the following protocols appear in the Protocol column in your Wireshark trace file?


2. HTTP Response Timing

How long did it take from when the HTTP GET message was sent until the HTTP OK reply was received?

Tip:

The Time column in Wireshark shows the time (in seconds) since capture began.
To change this to time-of-day format:
View → Time Display Format → Time-of-day


3. IP Address Lookup


4. Browser Identification

Expand the HTTP GET request in the Details of selected packet window.


5. Destination Port Number

Expand the Transmission Control Protocol (TCP) section of the HTTP request packet.


6. Packet Size Analysis


7. Print HTTP Messages

Print the two HTTP messages (GET and OK) referred to in Question 2.

Steps:

  1. Select the desired packet in the list.
  2. Go to File → Print
  3. Choose:
    • Selected Packet Only
    • Print as displayed
  4. Click OK to print.

Note: Be sure to save your packet capture file (.pcapng) for submission or reference.

Grading

Submit your lab report, including the packet capture file and screenshots, via Marmoset by the scheduled due date listed in the syllabus.

How to Save Your Packet Capture

  1. After stopping the capture in Wireshark, go to the File menu.
  2. Select Save As… or Save.
  3. Choose a location on your computer to save the capture file.
  4. Ensure the file extension is .pcap or .pcapng.
  5. Click Save.

Note: All answers should be derived directly from your Wireshark analysis.