Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Because UDP has no handshake, no flow control, and no congestion control, it

ID: 3904013 • Letter: 1

Question

1. Because UDP has no handshake, no flow control, and no congestion control, it is a popular vector of attack – meaning there is little a site can do to prevent a flood of UDP packets hitting their systems, unless they block it at the firewall (at the edge of the network) – sort of like stopping them at the gate. What change in network code do application developers make sure their packets make it in the door?

2. Let’s consider the opposite problem: a developer who must use UDP nonetheless requires reliability. What can she do? How can she accomplish this?

For problem 1 will be the change in network code and for problem 2 what can the developer do and how can it be accomplished?

Explanation / Answer

1) As UDP is not so secure to send the packets over the internet. The changes required to do in the network code are:

a) A proper 3-way handshake needs to be established in the network code.
b) Ensure that proper connection is established by checking the acknowledgments.

2) In the second scenario if the UDP requires reliability then the developer should use checksum concept to determine the successful delivery of the packet.