socklist in procinfo does not list tcp6, udp6, or raw6.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procinfo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: procinfo
/usr/bin/socklist (in oneiric, precise, etc) doesn't list tcp6, udp6, or raw6.
This can be found and fixed in some other bug reporting applications like opensuse in 2007:
https:/
It's a trivial fix. The patch is below:
--- socklist.orig 2010-01-28 10:33:43.977683369 -0500
+++ socklist 2010-01-28 10:33:25.757680751 -0500
@@ -87,12 +87,15 @@
($cmd) = ( $l=~/Name:\s*(\S+)/ );
}
- printf "%s %6d %10d %6d %6d %4d %s\n",
+ printf "%-4s%6d %10d %6d %6d %4d %s\n",
$_[0], $a ,$F[9], $F[7], $pid, $fd, $cmd;
}
close(FILE);
}
scheck("tcp");
+scheck("tcp6");
scheck("udp");
+scheck("udp6");
scheck("raw");
+scheck("raw6");
(also attached)
The socklist in ubuntu right now doesn't list all of the ports. Some open ports ONLY show up in tcp6 and udp6.
thanks,
This bug was fixed in the package procinfo - 1:2.0.304-3
---------------
procinfo (1:2.0.304-3) unstable; urgency=medium
* QA upload.
* debian/control:
+ Move the git repository to collab-maint.
+ Bump Standards-Version to 4.1.0, no changes needed.
* Add patch to fix linking with --as-needed.
Thanks to Martin Pitt <email address hidden> for the patch.
Closes: #641521; LP: #771106
-- Mattia Rizzolo <email address hidden> Wed, 23 Aug 2017 13:16:24 +0200