HTTP: Stephan Benjamin Helmy:Wireshark Lab1
HTTP: Stephan Benjamin Helmy:Wireshark Lab1
HTTP: Stephan Benjamin Helmy:Wireshark Lab1
HTTP
1-List the different protocols that appear in the protocol column in the unfiltered packet-listing
window in step 7 above.
Arp,Icmpv6,dns,tcp,http
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.)
0.00000000 sec
4-Print the two HTTP messages displayed in step9 above. TO do so, select Print from the Wireshark
File command menu, and select "Selected Packet Only" and "Print as displayed" and then click OK.
Frame 12: 466 bytes on wire (3728 bits), 466 bytes captured (3728 bits)
Transmission Control Protocol, Src Port: 50560 (50560), Dst Port: http (80), Seq: 1, Ack: 1, Len: 412
Frame 81: 810 bytes on wire (6480 bits), 810 bytes captured (6480 bits)
7
Internet Protocol, Src: 128.119.245.12 (128.119.245.12), Dst: 10.0.0.14 (10.0.0.14)
Transmission Control Protocol, Src Port: http (80), Dst Port: 50560 (50560), Seq: 36865, Ack: 1437, Len: 756
__________________________________________________________________________
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?
En - us
10.0.0.14 128.119.245.12
4-What is the status code returned from the server to your browser?
html
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.
NO
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 explicity return the contents of the file?
How can you tell?
Yes,From line-based text data we find the HTML code for the web page
7
10-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?
11-What is the HTTP status code and phrase returned from the server in response to this second HTTP
GET? Did the server explicity return the contents of the file? Explain.
No server return the content of the previous HTTP replay because the page isn’t modified’
12-How many HTTP GET request messages were sent by your browser?
One message
13-How many data-containing TCP segments were needed to carry the single HTTP response? 8
14-What is the status code and phrase associated with the response to the HTTPGET request?
15-Are there any HTTP status lines in the transmitted data associated with a TCP-induced
"Continuation"?
no
16 – How many HTTP GET request messages were sent by your browser? To whichInternet addresses
were these GET requests sent?
17 –Can you tell whether your browser downloaded the two images serially, or
whether they were downloaded from the two web sites in parallel? Explain.
18-What is the servers response (status code and phrase) in response to the initial HTTP GET message
from your browser?
19-When your browser's sends the HTTP GET message for the second time, what new field is included
in the HTTP GET message?
Authorization field
_________________________________________________________________________
7
DNS
1- Run nslookup to obtain the IP address of a Web server in Asia.
www.aiit.or.kr Server: UnKnown Address: 192.168.1.1
2-Run nslookup to determine the authoritative DNS servers for a university in Europe.
mit.edu nameserver = strawb.mit.edu
3. Run nslookup so that one of the DNS servers obtained in Question 2 is queried for the mail servers
for Yahoo! mail.
4-Locate the DNS query and response messages. Are then sent over UDP or TCP?
UDP
5-What is the destination port for the DNS query message sent? What is the source port of DNS
response message?
6-TO what IP address is the DNS query message sent? Use ipconfig to determine the IP address of your
local DNS server. Are these two IP addresses the same?
7
192.168.1.1, 192.168.1.1, yes the same
7-Examine the DNS query message. what "Type" of DNS query is it? Does the query message contain
any "answers"?
8-Examine the DNS response message. How many "answers" are provided? What do each of these
answers contain?
Slandered query response UDP yes it has answer contain the name , type ,class ,time to live , data length
,addr
9-Consider the subsequent TCP SYN packet sent by your host. Does the destination IP address of the
SYN packet correspond to any of the IP addresses provided in the DNS response message?
10-This web page contains images. Before retrieving each image, does your host issue new DNS
queries?
No
11-WhaT is the destination port for the DNS query message? What is the source port of DNS response
message?
12-To what IP address is the DNS query message sent? Is this the IP address of your default local DNS
server?
192.168.1.1,yes
13-EXamine the DNS query message. What "Type" of DNS query is it? DOES the query message
contain any "answers"?
14-Examine the DNS response message. How many "answers" are provided? What do each of these
answers contain?
7
data length= 4, addr= 18.9.22.169
16-TO what IP address is the DNS query message sent? Is this the IP address of your default local DNS
server?TO what IP address is the DNS query message sent? Is this the IP address of your default local
DNS server?
192.168.1.1,Yes
17-Examine the DNS query message. what "Type" of DNS query is it? Does the query message contain
any "answers"?
18-Examine the DNS query message. What MIT nameservers does the reponse message provide? Does
this response message also provide the IP addresses of the MIT nameservers?
strawb.mit.edu
w20ns.mit.edu
bitsy.mit.edu
strawb.mit.edu
w20ns.mit.edu
7
bitsy.mit.edu
19-Provide a screenshot.
20-TO what IP address is the DNS query message sent? Is this the IP address of your default local DNS
server? IF not, what does the IP address correspond to?
21-EXamine the DNS query message. What "Type" of DNS query is it? DOES the query message
contain any "answers"?
22-Examine the DNS response message. How many "answers" are provided? What do each of these
answers contain?
class = IN (0x0001)
7
time to live= 1 hour
data length= 4
addr= 222.106.36.115
23-Provide a screenshot.