What does ESTABLISHED state indicate in netstat?

Study for the OSCP Linux Exam. Use our flashcards and multiple-choice questions to test your skills. Each query comes with detailed hints and explanations to enhance your preparedness. Get ready to conquer the exam!

Multiple Choice

What does ESTABLISHED state indicate in netstat?

Explanation:
ESTABLISHED means there is an active TCP connection. The three-way handshake has completed, and both ends can exchange data. In netstat, this state signals that the socket is connected and transmitting or receiving data. This differs from a connection in progress (SYN_SENT), which means the handshake hasn’t finished yet; from a shutdown phase (FIN_WAIT or CLOSE_WAIT), which indicates the connection is being closed; and from listening (LISTEN), which means the socket is waiting for new incoming connections rather than an active one.

ESTABLISHED means there is an active TCP connection. The three-way handshake has completed, and both ends can exchange data. In netstat, this state signals that the socket is connected and transmitting or receiving data.

This differs from a connection in progress (SYN_SENT), which means the handshake hasn’t finished yet; from a shutdown phase (FIN_WAIT or CLOSE_WAIT), which indicates the connection is being closed; and from listening (LISTEN), which means the socket is waiting for new incoming connections rather than an active one.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy