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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"