···89 """
90 Sends a message as Alice to Bob
91 """
92- bob.execute("nc -lu ::0 1234 >/tmp/msg >&2 &")
93 alice.sleep(1)
94 alice.succeed(f"echo '{msg}' | nc -uw 0 bob 1234")
95 bob.succeed(f"grep '{msg}' /tmp/msg")
···100 Starts eavesdropping on Alice and Bob
101 """
102 match = "src host alice and dst host bob"
103- eve.execute(f"tcpdump -i br0 -c 1 -Avv {match} >/tmp/log >&2 &")
104105106 start_all()
···89 """
90 Sends a message as Alice to Bob
91 """
92+ bob.execute("nc -lu ::0 1234 >/tmp/msg &")
93 alice.sleep(1)
94 alice.succeed(f"echo '{msg}' | nc -uw 0 bob 1234")
95 bob.succeed(f"grep '{msg}' /tmp/msg")
···100 Starts eavesdropping on Alice and Bob
101 """
102 match = "src host alice and dst host bob"
103+ eve.execute(f"tcpdump -i br0 -c 1 -Avv {match} >/tmp/log &")
104105106 start_all()