Package: iproute2
Version: 4.9.0-1
Severity: minor

Dear Maintainer,

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 --help 
Usage: ss [ OPTIONS ]
       ss [ OPTIONS ] [ FILTER ]

       <SKIP>

       FILTER := [ state STATE-FILTER ] [ EXPRESSION ]
       STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}
         TCP-STATES := 
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listen|closing}

       <SKIP>


# ss -tua state listen
ss: wrong state name: listen


# ss -tua state listening
Netid  Recv-Q Send-Q                                               Local 
Address:Port                                                                
Peer Address:Port
tcp    0      80                                                       
127.0.0.1:mysql                                                                 
         *:*
tcp    0      128                                                              
*:http                                                                          
 *:*
tcp    0      128                                                              
*:ssh                                                                           
 *:*
tcp    0      100                                                              
*:smtp                                                                          
 *:*
tcp    0      128                                                             
:::http                                                                         
 :::*
tcp    0      128                                                             
:::ssh                                                                          
 :::*
tcp    0      100                                                             
:::smtp                                                                         
 :::*



-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages iproute2 depends on:
ii  libc6        2.24-11+deb9u1
ii  libdb5.3     5.3.28-12+b1
ii  libelf1      0.168-1
ii  libmnl0      1.0.4-2
ii  libselinux1  2.6-3+b1

Versions of packages iproute2 recommends:
pn  libatm1       <none>
ii  libxtables12  1.6.0+snapshot20161117-6

Versions of packages iproute2 suggests:
pn  iproute2-doc  <none>

-- no debconf information

Reply via email to