Tuesday, 24 May 2016

Wireshark Lab UDP Solution

Link to download document down below! (Microsoft Word format)


1.     Select one UDP packet from your trace. From this packet, determine how many fields there are in the UDP header. (You shouldn’t look in the textbook! Answer these questions directly from what you observe in the packet trace.) Name these fields.

Answers:
4 fields.

Screenshot
Figure 1: UDP Fields



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

Answers:
The length of each of the UDP header fields is 2 bytes.

Screenshot

Figure 2: Field 1 bytes


Figure 3: Field 2 bytes


Figure 4: Field 3 bytes


Figure 5: Field 4 bytes

3.     The value in the Length field is the length of what? (You can consult the text for this answer). Verify your claim with your captured UDP packet.

Answers:
8 bytes UDP packet header added with 33 bytes payload from Application Layer equals to the length of 41 bytes.

Screenshot

Figure 6: UDP packet length bytes


Figure 7: UDP header bytes


Figure 8: Payload bytes


6.     What is the protocol number for UDP? Give your answer in both hexadecimal and decimal notation. To answer this question, you’ll need to look into the Protocol field of the IP datagram containing this UDP segment (see Figure 4.13 in the text, and the discussion of IP header fields).

Answers:
Protocol number in decimal is 17.
Protocol number in hexadecimal is 11.

Screenshots

Figure 9: Protocol number


7.     Examine a pair of UDP packets in which your host sends the first UDP packet and the second UDP packet is a reply to this first UDP packet. (Hint: for a second packet to be sent in response to a first packet, the sender of the first packet should be the destination of the second packet). Describe the relationship between the port numbers in the two packets.

Answer:
The source port number from the source IP sends the request packet to the destination IP’s destination port number. During the sending of a response, the source IP that sent the request packet becomes the destination and it’s source port becomes the destination port. The response sender’s IP and port number turns to the source.

Screenshot:
Figure 10: Request packet

Figure 11: Response packet


Download Link:

How To Download:
Please disable any Ad Block software if any beforehand or this may not work properly.

1. Please wait for 5 seconds.


2. Click on "Skip Ad".


3. Click on "Download through your browser".



0 comments:

Post a Comment