Package: munin-node
Version: 1.2.3-3
Severity: normal

*** Please type your report below this line ***

Parsing of /proc/net/tcp6 by the port_ plugin is broken, most significant hex digit of port is stripped out.

One-liner fix attached.

Might be related to 2.6.14? Havent investigated, I have not used this plugin until now. It only affects high portnumbers (>4095).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages munin-node depends on:
ii  adduser                       3.67.2     Add and remove users and groups
ii libnet-server-perl 0.87-3 An extensible, general perl server ii lsb-base 3.0-9 Linux Standard Base 3.0 init scrip ii perl 5.8.7-7 Larry Wall's Practical Extraction
ii  procps                        1:3.2.5-1  /proc file system utilities

Versions of packages munin-node recommends:
ii  libnet-snmp-perl              5.1.0-1    Script SNMP connections

-- no debconf information
Report will be sent to "Debian Bug Tracking System" <[EMAIL PROTECTED]>
--- port_       2005-11-03 21:59:35.000000000 +0100
+++ port_new    2005-11-03 21:58:25.000000000 +0100
@@ -86,7 +86,7 @@
                {
                        chomp;
                        next unless (hex (substr($_,83,2)) == 10);
-                       my $p = substr( $_,40,4);
+                       my $p = substr( $_,39,4);
                        if (defined $ports{hex($p)})
                        {
                            $ports{hex($p)}++;

Reply via email to