Wireshark - HTTP - v6.1 Solution
Wireshark - HTTP - v6.1 Solution
Wireshark - HTTP - v6.1 Solution
1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
2. What languages (if any) does your browser indicate that it can accept to the server?
English
3. What is the IP address of your computer? Of the gaia.cs.umass.edu server?
My computer: 192.168.1.108
Server: 128.119.245.12
4. What is the status code returned from the server to your browser?
200
5. When was the HTML file that you are retrieving last modified at the server?
128
7. By inspecting the raw data in the packet content window, do you see any headers within the data that
are not displayed in the packet-listing window? If so, name one.
Content-Type
Part 2
7 19:00:31.581401 192.168.1.108 128.119.245.12 HTTP 480 GET /wireshark-labs/HTTP-wireshark-file2.html
HTTP/1.1
Frame 7: 480 bytes on wire (3840 bits), 480 bytes captured (3840 bits) on interface 0
Ethernet II, Src: HewlettP_79:e2:f1 (74:46:a0:79:e2:f1), Dst: Tp-LinkT_37:f1:0d (30:b5:c2:37:f1:0d)
Internet Protocol Version 4, Src: 192.168.1.108, Dst: 128.119.245.12
Transmission Control Protocol, Src Port: 7232, Dst Port: 80, Seq: 1, Ack: 1, Len: 426
Hypertext Transfer Protocol
GET /wireshark-labs/HTTP-wireshark-file2.html HTTP/1.1\r\n
Host: gaia.cs.umass.edu\r\n
Connection: keep-alive\r\n
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100
Safari/537.36\r\n
Upgrade-Insecure-Requests: 1\r\n
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\r\n
Accept-Encoding: gzip, deflate\r\n
Accept-Language: en-US,en;q=0.8\r\n
\r\n
[Full request URI: http://gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file2.html]
[HTTP request 1/2]
[Response in frame: 9]
[Next request in frame: 18]
8. Inspect the contents of the first HTTP GET request from your browser to the server. Do you see an IF-
MODIFIED-SINCE line in the HTTP GET?
NO
9. Inspect the contents of the server response. Did the server explicitly return the contents of the file?
How can you tell?
304 Not Modified. The server didnt explicitly return the contents. The file
wasnt modified so the browser showed the cached contents.
Part 3
12. How many HTTP GET request messages did your browser send? Which packet number in the trace
contains the GET message for the Bill of Rights?
200 OK.
15. How many data-containing TCP segments were needed to carry the single HTTP response and the
text of the Bill of Rights?
6 packets.
Part 4
16. How many HTTP GET request messages did your browser send? To which Internet addresses were
these GET requests sent?
In parallel. The browser sent two GET requests to retrieve the two images then
received the packets of the two images simultaneously.
Part 5
18. What is the servers response (status code and phrase) in response to the initial HTTP GET message
from your browser?
401 Unauthorized.
19. When your browsers sends the HTTP GET message for the second time, what new field is included in
the HTTP GET message?