mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-05 09:21:05 +00:00
ss: fix help/man TCP-STATE description for listening
There's some misleading information in --help and ss(8) manpage about TCP-STATE named 'listen'. ss doesn't know such a state, but it knows 'listening' state. $ ss -tua state listen ss: wrong state name: listen $ ss -tua state listening [...] Addresses: https://bugs.debian.org/872990 Reported-by: Pavel Lyulchenko <p.lyulchenko@gmail.com> Signed-off-by: Andreas Henriksson <andreas@fatal.se>
This commit is contained in:
parent
c3724e4bc3
commit
ae4e21c93f
@ -153,14 +153,14 @@ Available identifiers are:
|
|||||||
|
|
||||||
All standard TCP states:
|
All standard TCP states:
|
||||||
.BR established ", " syn-sent ", " syn-recv ", " fin-wait-1 ", " fin-wait-2 ", " time-wait ", " closed ", " close-wait ", " last-ack ", "
|
.BR established ", " syn-sent ", " syn-recv ", " fin-wait-1 ", " fin-wait-2 ", " time-wait ", " closed ", " close-wait ", " last-ack ", "
|
||||||
.BR listen " and " closing.
|
.BR listening " and " closing.
|
||||||
|
|
||||||
.B all
|
.B all
|
||||||
- for all the states
|
- for all the states
|
||||||
|
|
||||||
.B connected
|
.B connected
|
||||||
- all the states except for
|
- all the states except for
|
||||||
.BR listen " and " closed
|
.BR listening " and " closed
|
||||||
|
|
||||||
.B synchronized
|
.B synchronized
|
||||||
- all the
|
- all the
|
||||||
|
@ -3922,11 +3922,11 @@ static void _usage(FILE *dest)
|
|||||||
" -F, --filter=FILE read filter information from FILE\n"
|
" -F, --filter=FILE read filter information from FILE\n"
|
||||||
" FILTER := [ state STATE-FILTER ] [ EXPRESSION ]\n"
|
" FILTER := [ state STATE-FILTER ] [ EXPRESSION ]\n"
|
||||||
" STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}\n"
|
" STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}\n"
|
||||||
" TCP-STATES := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listen|closing}\n"
|
" TCP-STATES := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listening|closing}\n"
|
||||||
" connected := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
|
" connected := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
|
||||||
" synchronized := {established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
|
" synchronized := {established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
|
||||||
" bucket := {syn-recv|time-wait}\n"
|
" bucket := {syn-recv|time-wait}\n"
|
||||||
" big := {established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listen|closing}\n"
|
" big := {established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listening|closing}\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user