Date: Sat, 27 Mar 2021 20:41:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254611] sockstat does not bracket explicit IPv6 addresses Message-ID: <bug-254611-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254611 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@FreeBSD.org Reporter: michael.osipov@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254611-227>