Package: iproute2
Version: 4.9.0-1
Severity: wishlist

command ss in iproute2: please add brackets to ipv6, because ipv6 lines are 
confusing

please add brackets to ipv6 numbers to add clarity from port symbols.
alternate solution could be to use dots or semicolons indicating port.

what there are now (example)
~~~~~~~~~~~~~
# ss -ntlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128      *:443      *:*     users:(("httpd",pid=999,fd=3))
LISTEN 0 128     :::443     :::*     users:(("httpd",pid=999,fd=4))
~~~~~~~~~~~~~

primary proposal
~~~~~~~~~~~~~
# ss -ntlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128       *:443        *:*     users:(("httpd",pid=999,fd=3))
LISTEN 0 128    [::]:443     [::]:*     users:(("httpd",pid=999,fd=4))
~~~~~~~~~~~~~

alternate solution 1
~~~~~~~~~~~~~
# ss -ntlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128     *.443     *.*    users:(("httpd",pid=999,fd=3))
LISTEN 0 128    ::.443    ::.*    users:(("httpd",pid=999,fd=4))
~~~~~~~~~~~~~

alternate solution 2
~~~~~~~~~~~~~
# ss -ntlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128     *;443      *;*     users:(("httpd",pid=999,fd=3))
LISTEN 0 128    ::;443     ::;*     users:(("httpd",pid=999,fd=4))
~~~~~~~~~~~~~

Reply via email to