column width "local address" / "foreign address" not usable with IPv6

Ronny Seffner ronny at seffner.de
Tue Nov 5 11:51:44 UTC 2013


Hi,

I wondered about following output of 'netstat -tulpen' version 1.60-24.2 at
debian 7

...
tcp6       0      0 2a01:4f8:120:6442::1:80 :::*                    LISTEN
0          75712041    5040/apache2
tcp6       0      0 2a01:4f8:120:6442::1:80 :::*                    LISTEN
0          75712039    5040/apache2
tcp6       0      0 2a01:4f8:120:6442::1:80 :::*                    LISTEN
0          75712037    5040/apache2
tcp6       0      0 2a01:4f8:120:6442::1:80 :::*                    LISTEN
0          75712035    5040/apache2
...

IP *::1 is the address of my gateway and how can it be to bind more then one
time a port at an IP address?
It seems the port (written from right) truncates the IP address (written
from left). At manpage I did not found an option, also changing environment
COLUMNS did not help. I case of more longer IPv6 addresses the mentioned
columns should be more flexible.



Mit freundlichen Grüßen / Kind regards
     Ronny Seffner
--
Ronny Seffner  |  Alter Viehweg 1  |  01665 Klipphausen

www.seffner.de  |  ronny at seffner.de  |  +49 35245 72950





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