CN Lab 6
CN Lab 6
CN Lab 6
Task 1:
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?
5) When was the HTML file that you are retrieving last modified at the server?
1) 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?
2) Inspect the contents of the server response. Did the server explicitly return the contents of
the file? How can you tell?
No such explicit content return because it was same as i open it first time
3) Now inspect the contents of the second HTTP GET request from your browser to the server.
Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows
the “IF- MODIFIED-SINCE:” header?
4) What is the HTTP status code and phrase returned from the server in response to this
second HTTP GET? Did the server explicitly return the contents of the file? Explain.
304 Not modified
Task 3:
1. How many HTTP GET request messages did your browser send? Which packet number in
the trace contains the GET message for the Bill or Rights?
1 Get request
2. Which packet number in the trace contains the status code and phrase associated with the
response to the HTTP GET request?
4. How many data-containing TCP segments were needed to carry the single HTTP response
and the text of the Bill of Rights?
Task 4:http://gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file4.html
1. How many HTTP GET request messages did your browser send? To which Internet
addresses were these GET requests sent?
2 Get request
2. Can you tell whether your browser downloaded the two images serially, or whether they were
downloaded from the two websites in parallel? Explain.
Serially downloaded as first pearson downloaded then favicon image downloaded
Nslookup:
Run nslookup to obtain the IP address of a Web server in Asia. What is the IP
address of that server?
2) What is the destination port for the DNS query message? What is the source
port of DNS response
Message?
Source Port: 443
Destination Port: 17395
Task 8:
1. What is the sequence number of the TCP SYN segment that is used to initiate
the TCP connection between the client computer and gaia.cs.umass.edu? What
is it in the segment that identifies the segment as a SYN segment?
3. What is the sequence number of the TCP segment containing the HTTP POST
command? Note that
in order to find the POST command, you’ll need to dig into the packet content
field at the bottom of
the Wireshark window, looking for a segment with a “POST” within its DATA field.