** Description changed:

  Binary package hint: procinfo
  
- /usr/bin/socklist (in karmic, lucid, etc) doesn't list tcp6, udp6, or
+ /usr/bin/socklist (in lucid, maverick, 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://bugzilla.novell.com/show_bug.cgi?id=280032
+   https://bugzilla.novell.com/show_bug.cgi?id=280032
  
  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+)/ );
-             close(CMD);
-     }
+             ($cmd) = ( $l=~/Name:\s*(\S+)/ );
+             close(CMD);
+     }
  -        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);
-  }
+              $_[0], $a ,$F[9], $F[7], $pid, $fd, $cmd;
+      }
+      close(FILE);
+  }
  
-  scheck("tcp");
+  scheck("tcp");
  +scheck("tcp6");
-  scheck("udp");
+  scheck("udp");
  +scheck("udp6");
-  scheck("raw");
+  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,

-- 
socklist in procinfo does not list tcp6, udp6, or raw6.
https://bugs.launchpad.net/bugs/513837
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to