Prev | Current Page 490 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

213.7.96:42351 83.152.6.9:113 TIME_WAIT -
tcp 0 0 127.0.0.1:42355 127.0.0.1:783 TIME_WAIT -
tcp 0 0 127.0.0.1:783 127.0.0.1:42353 TIME_WAIT -
tcp 0 0 65.213.7.96:42348 19.15.11.1:25 TIME_WAIT -
The output is organized into columns defined as follows:
 Proto??”Protocol used by the socket.
 Recv-Q??”The number of bytes not yet copied by the user program attached to this
socket.
 Send-Q??”The number of bytes not acknowledged by the host.
 Local Address??”Address and port number of the local end of the socket.
 Foreign Address??”Address and port number of the remote end of the socket.
 State??”Current state of the socket. Table 6-4 provides a list of socket states.
 PID/Program name??”Process ID and program name of the process that owns the socket.
232
Running the Show Part II
TABLE 6-4
Socket States
State Description
ESTABLISHED Socket has an established connection.
SYN_SENT Socket actively trying to establish a connection.
SYN_RECV Connection request received from the network.
FIN_WAIT1 Socket closed and shutting down.
FIN_WAIT2 Socket is waiting for remote end to shut down.
TIME_WAIT Socket is waiting after closing to handle packets still in the network.
CLOSED Socket is not being used.
CLOSE_WAIT The remote end has shut down, waiting for the socket to close.


Pages:
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502