TCP Flashcards
Which tcp state is the following?
The default state that each connection starts in before the process of establishing begin.
CLOSED
Which tcp state is the following?
A device is waiting to receive a SYN message from a client. It has not yet sent its own SYN message.
LISTEN
Which tcp state is the following?
The device has sent a SYN message and is waiting for a matching SYN from the other device.
SYN-SENT
Which tcp state is the following?
The device has received a SYN (connection request) from its partner and sent its own SYN. It is now waiting for an ACK to its SYN in order to finish the connection setup.
SYN-RECEIVED
Which tcp state is the following?
The steady state of an open TCP connection. Both devices can exchange data freely once both devices in the connection enter this state. This will continue until they close the connection.
ESTABLISHED
Which tcp state is the following?
The device has received a closed request (FIN) from the other device. It must now wait for the application on the local device to acknowledge this request and generate a matching request.
CLOSE-WAIT
Which tcp state is the following?
A device that has already received a close request and acknowledged has sent its own FIN and is waiting for an ACK to this request.
LAST-ACK
Which tcp state is the following?
A device in this state is waiting for an ACK for a FIN it has sent, or is waiting for a connection termination request from the other device.
FIN-WAIT-1
Which tcp state is the following?
A device in this state has received an ACK for its request to terminate the connection and is now waiting for a matching FIN from the other device.
FIN-WAIT-2
Which tcp state is the following?
The device has received a FIN from the other device and has sent an ACK for it, but has not yet received an ACK for its own FIN message.
CLOSING
Which tcp state is the following?
The device has now received a FIN from the other device and acknowledged it, and sent its own FIN and received an ACK for it. We are finished, except for waiting to ensure the ACK is received and preventing potential overlap with new connections.
TIME-WAIT
In the CLOSED state, what is Passive Open
The server begins the process of connection setup by doing a passive open on a TCP port.
In the CLOSED state, what is Active Open.
A client begins the connection setup by sending a SYN message.
In the CLOSED state, in both passive open and active open. What do both do in preparation of the connection?
Sets up Transmission Control Block (TCB) for managing the connection.
After CLOSED state for Passive Open, what is the next state?
LISTEN state