lab assignment
lab assignment
Open the "http-wireshark-trace.pcapng" file and select the first HTTP get message from the trace Hint:
To limit yourself to http packets, enter the string http in the filter field and then apply the filter
1. What is the IP address of the client computer (source) which generated the HTTP request?
2. What is the IP address of the server(destination) that will handle this request?
Detination ip :65.208.228.223
3. What languages (if any) does your browser indicate that it can accept to the server?
- Open request packet and look at hypertext transfer protocol – http version is 1.1
-
- Open response packet and look at hypertext transfer protocol – http version is 1.1
-
- both the client and server are using HTTP version 1.1
- TCP
Open the " tcp-wireshark-trace " file and select the first TCP get message from the trace. Hint:
To answer this question, it’s probably easiest to select an HTTP message and explore the details
of the TCP packet used to carry this HTTP message, using the “details of the selected packet
header window”
1. What is the IP address and TCP port number used by the client computer (source)?
2. What is the IP address of gaia.cs.umass.edu? On what port number is it sending and receiving
TCP segments for this connection?
- IP address of gaia.cs.umass.edu: 128.119.245.12
- Port number: 80 (sending and receiving TCP segments for this connection)
3.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?
so Sequence Number: 0
4.What is the sequence number of the SYNACK segment sent by gaia.cs.umass.edu to the client
computer in reply to the SYN? What is it in the segment that identifies the segment as a SYNACK
segment? What is the value of the Acknowledgement field in the SYNACK segment? How did
gaia.cs.umass.edu determine that value?
• The server (gaia.cs.umass.edu) incremented the client's initial sequence number (0) by 1
• Acknowledges the client's initial SYN segment by setting the acknowledgement number to the
next expected sequence number
UDP
Open the " udp-wireshark-trace" file and select the first DNS query packet from the trace. Hint:
To limit yourself to DNS packets, enter the string DNS in the filter field and then apply the filter.
3. By consulting the displayed information in Wireshark's packet content field for this packet,
determine the length in bytes of each of the UDP header fields.
a. The UDP header consists of 4 fields, each of 2 bytes (8 bits):
Source Port 2
Destination Port 2
Length 2
Checksum 2
Total 8 bytes
4. What type of application-layer payload or protocol message is being carried in this UDP
segment?
A. The UDP segment carries a DNS query message, as indicated by the destination port 53,
which is commonly used for DNS requests. The 43-byte payload likely contains a DNS
request seeking the resolution of a domain name to an IP address.
5. Look at the details of this packet in Wireshark. How many fields are there in the UDP header?
What are the names of these fields?
3. Length: The length of the entire UDP packet, including the header and the payload.