Question: The following exercise is concerned with the TCP state FIN_WAIT_2 (see Figure 5.7). (a) Describe how a client might leave a suitable server in state

The following exercise is concerned with the TCP state FIN_WAIT_2

(see Figure 5.7).

(a) Describe how a client might leave a suitable server in state FIN_WAIT_2 indefinitely. What feature of the server’s protocol is necessary here for this scenario?

(b) Try this with some appropriate existing server. Either write a stub client or use an existing Telnet client capable of connecting to an arbitrary port. Use the netstat utility to verify that the server is in FIN_WAIT_2 state.

Figure 5.7)

SYN_RCVD Close/FIN FIN_WAIT 1 ACK FIN_WAIT 2 SYN/SYN+ACK Passive open ACK Close/FIN

SYN_RCVD Close/FIN FIN_WAIT 1 ACK FIN_WAIT 2 SYN/SYN+ACK Passive open ACK Close/FIN FIN/ACK FIN/ACK CLOSED ACK+FIN/ACK Close LISTEN SYN/SYN+ACK Send/SYN ESTABLISHED CLOSING ACK TIME_WAIT SYN+ACKJACK Close FIN/ACK Timeout after two segment lifetimes Active open/SYN SYN_SENT CLOSE WAIT Close/FIN LAST_ACK ACK CLOSED

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Description of FINWAIT2 State and How a Server Can Be Left There Indefinitely TCP Transmission Control Protocol is a connectionoriented protocol which means it establishes a connection before transm... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Networking Questions!