Documente Academic
Documente Profesional
Documente Cultură
I will post online answer sheet, but you can get started on the following
chapter 5 homework exercises. Note: as we agreed in class, I am assigning larg
er point value homeworks to cover the rest of the semester instead of other work
.
homework #5, due Saturday Nov 13, 1159PM, 40 pts
#1 a, b, c
#2 a, b
#4
#5
#14 a, b
#20 a, b, c
#21 b extra credit 5 pts
Q14 (a)
If host A receives two SYN packets from the same port from remote host B, the se
cond may be
either a retransmission of the original or else, if B has crashed and rebooted,
an entirely new
connection request. Describe the difference as seen by host A between these two
cases.
If a SYN packet is simply a duplicate, its ISN value will be the same as the ini
tial ISN. If the SYN
is not a duplicate, and ISN values are clockgenerated, then the second SYN s ISN w
ill be
different.
Q4
4. This chapter explains three sequences of state transitions during TCP connec
tion teardown.
There is a fourth possible sequence, which traverses an additional arc from FIN
_WAIT_1 to TIME_WAIT and labeled
FIN+ACK/ACK.
Explain the circumstances that result in this fourth teardown sequence.
Answer: The other side of the connection received the FIN but didn t process it u
ntil after
the application issued the Close (or alternatively, received the Close from the
application but
hadn t processed it until after receiving the FIN). In other words, TCP processes
the application
close and the FIN at the same time, so that both flags are included in the segme
nt header.