(15 points) Define and explain the following terms:
two army problem
(12 points) An alternative to having a separate timer thread for a packet level re-transmission timeouts is to have each connection thread call the UNIX sleep function (which suspends a thread for a specified amount of time) whenever the thread needs a time-based pause. Why would using sleep make it more difficult to process ACK packets?
(20 points) Connection Management
Explain why using a timestamp as an initial sequence number for a three-way handshake and then incrementing the sequence number with each packet limits the number of connections per unit time, but not the number of bytes/sec.
Why should the tick rate of the clock from part a be neither too fast nor too slow.
(18 points) Bandwidth is growing faster than latency (and we are getting very close to speed of light latencies for some networks). Describe two specific changes that have either been made, or will likely be required to adapt existing networking systems to accommodate this trend.
(20 points) Traffic Shaping
Token bucket and leaky bucket are ways to limit traffic data rates. Explain how they are different in terms of their ability to permit bursts onto the network, and ensure the average data rate.
Traffic shaping can be performed on a per connection or per host basis, give one example where you would want to do it each way.
) go-back-n and selective-repeat are retransmission strategies use
d with sliding window protocols. Describe and discuss the relative advantages of
each. How does using one or the other change the requirements for buffers in
the sending and receiving windows?