Bug#794281: netstat: please add brackets to ipv6, because ipv6 lines are confusing

nsa spy nsaspy at mail.com
Fri Jul 31 20:40:33 UTC 2015


Package: net-tools
Version: 1.60-26+b1
Severity: wishlist

Dear Maintainer,

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

--------------------
example what it is now

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
udp        0      0 0.0.0.0:42923           0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp        0      0 0.0.0.0:18093           0.0.0.0:*                          
udp6       0      0 :::2151                 :::*                               
udp6       0      0 :::45862                :::*                               
udp6       0      0 :::5353                 :::*     

-------------------------
what it is should be

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 [::]:22                 [::]:*                  LISTEN     
udp        0      0 0.0.0.0:42923           0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp        0      0 0.0.0.0:18093           0.0.0.0:*                          
udp6       0      0 [::]:2151               [::]:*                               
udp6       0      0 [::]:45862              [::]:*                               
udp6       0      0 [::]:5353               [::]:*     

-------------------
alternate solution

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 ::.22                   ::.*                    LISTEN     
udp        0      0 0.0.0.0:42923           0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp        0      0 0.0.0.0:18093           0.0.0.0:*                          
udp6       0      0 ::.2151                 ::.*                               
udp6       0      0 ::.45862                ::.*                               
udp6       0      0 ::.5353                 ::.*     

-------------------
alternate solution 2

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 ::;22                   ::;*                    LISTEN     
udp        0      0 0.0.0.0:42923           0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp        0      0 0.0.0.0:18093           0.0.0.0:*                          
udp6       0      0 ::;2151                 ::;*                               
udp6       0      0 ::;45862                ::;*                               
udp6       0      0 ::;5353                 ::;*     

-------------------


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages net-tools depends on:
ii  libc6  2.19-19

net-tools recommends no packages.

net-tools suggests no packages.

-- no debconf information



More information about the Pkg-net-tools-maintainers mailing list