80 likes | 304 Views
RFC 793 State machine study. Normal close sequence Page 39, Figure 13. Page:39 Figure. 13. Normal close sequence. TCP A. TCP B. SEQ=100. Should_ACK =300. Should_ACK =100. SEQ=300. 1. ESTABLISHED ESTABLISHED. Page:39 Figure. 13.
E N D
Normal close sequence Page 39, Figure 13
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=100 Should_ACK=300 Should_ACK=100 SEQ=300 1. ESTABLISHED ESTABLISHED
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=100 Should_ACK=300 Should_ACK=100 Should_ACK=101 SEQ=300 SEQ=300 SEQ=100CTL=FIN ACK=300 DATA= 2. (Close) 0 FIN-WAIT-1 --> <SEQ=100><ACK=300><CTL=FIN,ACK> --> CLOSE-WAIT
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=101 SEQ=100 Should_ACK=300 Should_ACK=300 Should_ACK=101 SEQ=300 SEQ=300CTL= ACK=101 DATA= 3. FIN-WAIT-2 <-- <SEQ=300><ACK=101><CTL=ACK> <-- CLOSE-WAIT
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=101 SEQ=101 Should_ACK=301 Should_ACK=300 Should_ACK=101 SEQ=300 SEQ=300CTL=FIN ACK=101 DATA= 4. (Close) TIME-WAIT <-- <SEQ=300><ACK=101><CTL=FIN,ACK> <-- LAST-ACK
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=101 Should_ACK=301 Should_ACK=101 Should_ACK=NA Should_ACK=101 SEQ=301 SEQ=NA SEQ=300 SEQ=101CTL= ACK=301 DATA= 5. TIME-WAIT --> <SEQ=101><ACK=301><CTL=ACK> --> CLOSED
Page:39 Figure. 13 Normal close sequence TCP A TCP B SEQ=101 Should_ACK=301 Should_ACK=NA Should_ACK=NA SEQ=NA SEQ=NA 6. (2 MSL) CLOSED