[Bug 511401] Re: netstat doesn't display ipv6 addresses correctly (they are truncated)
Antonio Ospite
511401 at bugs.launchpad.net
Thu Oct 29 11:10:47 UTC 2015
I think this bug can be closed, recent netstat versions have the -W (or
--wide) option to show the full adresses.
To restore tabulation alignment, a wrapper can be used:
netstat -tunap --wide | \
sed -e '1d' -e '2s/ \(Address\)/_\1/g' -e '2s/\(Program\) /\1_/' -e 's/\([^0-9]*:\) /\1/' -e '/^udp/s/:\*/:\* -/' | \
column -t
Also, "ss" could be used instead of netstat, ss does not truncate the addresses.
** Changed in: net-tools (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: net-tools (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/511401
Title:
netstat doesn't display ipv6 addresses correctly (they are truncated)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/511401/+subscriptions
More information about the Ubuntu-server-bugs
mailing list