[Bug 254611] sockstat does not bracket explicit IPv6 addresses
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 27 20:41:49 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254611
Bug ID: 254611
Summary: sockstat does not bracket explicit IPv6 addresses
Product: Base System
Version: 12.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: michael.osipov at siemens.com
Here is the output:
> $ sockstat -6
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> mosipov socat 61935 5 tcp6 ::1:20000 *:*
> redis redis-serv 1031 7 tcp6 *:6379 *:*
> root sshd 1016 3 tcp6 *:22 *:*
> ntpd ntpd 944 20 udp6 *:123 *:*
> ntpd ntpd 944 22 udp6 fe80::yyy:9466%em0:123 *:*
> ntpd ntpd 944 24 udp6 2003:xxx:yyy:9466:123 *:*
> ntpd ntpd 944 25 udp6 ::1:123 *:*
> ntpd ntpd 944 26 udp6 fe80::1%lo0:123 *:*
while I would expect to see:
> $ sockstat -6
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> mosipov socat 61935 5 tcp6 [::1]:20000 *:*
> redis redis-serv 1031 7 tcp6 *:6379 *:*
> root sshd 1016 3 tcp6 *:22 *:*
> ntpd ntpd 944 20 udp6 *:123 *:*
> ntpd ntpd 944 22 udp6 [fe80::yyy:9466%em0]:123 *:*
> ntpd ntpd 944 24 udp6 [2003:xxx:yyy:9466]:123 *:*
> ntpd ntpd 944 25 udp6 [::1:]123 *:*
> ntpd ntpd 944 26 udp6 [fe80::1%lo0]:123 *:*
As most software outputs inet6 socket address string representation to avoid
confusion.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list