CMSC 417 Final
(15 points) Define and explain the following terms:
Authoritative record (DNS)
(17 Points) A packet has to travel 3 hops to get from the source
to the destination. If dropped, it must
be resent by the sender. If the probability of the packet being dropped at any
hop is p, what is the mean number of hops traveled per attempt to send the packet.
(20 points) Error Codes
Compute checksum for 1101 0110 using a 4 bit CRC whose
generator function is x3 + x
If you received the message 1000 1110 0000 sent using a
Hamming code (left bit least significant, odd parity), what is the correct
(15 points) The
following steps are a simple private key authentication:
Alice sends to Bob a private challenge message, Ca.
Bob responds with a <Cb, Kab(Ca)>
Alice decrypts Kab(Ca), is satisfied
that Bob is for real, and responds to Bob's challenge with Kab(Cb). This, in turn, allows Bob to authenticate
Show how a man in
the middle attack can defeat the protocol.
Please list each step.
(18 points) The role of listen and accept
An alternative to the listen/accept pair is to just let a
server call accept. When a client connects and no process is calling accept,
the connect fails. Explain why this solution would not work for well for busy
(frequently connected) servers.
Another option is to not use listen, but permit pending
connects to linger until accept is called.
Why is this solution undesirable?
(15 Points) Shared Media Networks
In an Ethernet, why does doubling the bit rate (if everything
else remains the same) require halving the maximum cable length?
In a token ring, a station must wait for the token to come
around to it before sending. Why is it not possible for the station to sense
the ring and then start transmitting if there is no traffic?