Question: Consider the following simple UDP protocol (based loosely on TFTP, Request for Comments 1350) for downloading files: Client sends a file request. Server
Consider the following simple UDP protocol (based loosely on TFTP, Request for Comments 1350) for downloading files:
■ Client sends a file request.
■ Server replies with first data packet.
■ Client sends ACK, and the two proceed using stop-and-wait.
Suppose client and server possess keys KC and KS, respectively, and that these keys are known to each other.
(a) Extend the file downloading protocol, using these keys and MD5, to provide sender authentication and message integrity.
Your protocol should also be resistant to replay attacks.
(b) How does the extra information in your revised protocol protect against arrival of late packets from prior connection incarnations and sequence number wraparound?
Step by Step Solution
3.50 Rating (147 Votes )
There are 3 Steps involved in it
The User Datagram Protocol UDP is a connectionless protocol that unlike TCP does not handle things like resending dropped packets or retrying failed connections This means UDP is generally faster and ... View full answer
Get step-by-step solutions from verified subject matter experts
