0% found this document useful (0 votes)
4 views5 pages

CN Lab 04

Uploaded by

M Aqsam Qureshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

CN Lab 04

Uploaded by

M Aqsam Qureshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

22P-9407 LABTASK COMPUTER NETWORK

Name: MEERAB ASLAM


ROLL NO: 22P-9407
SECTION: BSCS-5C

LAB : 04
QUESTION1:

Which of the following protocols are shown as appearing (i.e., are listed in the

Wireshark “protocol” column) in your trace file: TCP, QUIC, HTTP, DNS, UDP,

TLSv1.2?

All of these protocols (TCP, QUIC, HTTP, DNS, UDP, TLSv1.2)are appearing in the trace file.
22P-9407 LABTASK COMPUTER NETWORK

QUESTION 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.

(If you want 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.)

TIME=9.688163sec – 9.102256sec =0.585907


22P-9407 LABTASK COMPUTER NETWORK

QUESTION 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 or (if you are

using the trace file) the computer that sent the HTTP GET message?

OK IS RECEIVED 200

Gaia.Cs.umass.edu: 128.119.245.12

My computer: 192.168.151.201

QUESTION 04:

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? The answer is shown at the right end of the information following the

“User-Agent:” field in the expanded HTTP message display. [This field value in

the HTTP message is how a web server learns what type of browser you are

using.]

 Firefox, Safari, Microsoft Internet Edge, Other

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/128.0.0.0 Safari/537.36\r\n
22P-9407 LABTASK COMPUTER NETWORK

QUESTION 5:

Expand the information on the Transmission Control Protocol for this packet in

the Wireshark“Details of selected packet” window (see Figure 3 in the lab

writeup) so you can see the fields in the TCP segment carrying the HTTP

message. 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?

SOURCE PORT:80

QUESTION 06:

Print the two HTTP messages (GET and OK) referred to in question 2 above. To

do so, select Print from the Wireshark File command menu, and select the

“Selected Packet Only” and “Print as displayed” radial buttons, and then click

OK.
22P-9407 LABTASK COMPUTER NETWORK

You might also like