Chapter 5
Reinforcement
Problem R-5.5
Can two network interfaces have the same IP address? Why or why not?
Solution Because of NAT, it is possible to have two network interfaces with the same IP
Creativity
Problem C-5.3
Show how to extend the man-in-the-middle attack described in Section 5.2.3 to intercept
all documents sent to a printer in a local-area network.
Solution Eve performs the man-in-the middle attack on multiple users and the network
Problem C-5.4
Suppose you suspect that your session with a server has been intercepted in a man-in-the-
middle attack. You have a key, K, that you think you share with the server, but you might
be only sharing it with an attacker. But the server also has a public key, KP, which is widely
known, and a private secret key, KS, that goes with it. Describe how you can either confirm
you share Kwith the server or discover that you share it only with a man-in-the-middle.
Also, be sure your solution will not be discovered by a packet sniffer.
Solution Ask the server to digitally sign your shared key, K, using his private key, KS,
Problem C-5.6
Describe a data structure for keeping track of all open TCP connections for a machine. The
data structure should support efficiently adding and deleting connections and searching by
host, source port, and destination port.
25