[Pkg-nagios-devel] Bug#880544: nagios-plugins-contrib: check_rbl does not handle IPv6 addresses

Hamish Moffatt hamish-debian at cloud.net.au
Thu Nov 2 01:18:50 UTC 2017

Package: nagios-plugins-contrib
Version: 21.20170222
Severity: normal

check_rbl does not properly query the DNSBLs for IPv6 addresses.

The logic to convert the IP to <reversedip>.zen.spamhaus.org for example
assumes an IPv4 dotted quad and doesn't handle IPv6.


-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 4.9.36-x86_64-linode85 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  bind9-host                        1:9.10.3.dfsg.P4-12.3+deb9u3
ii  binutils                          2.28-5
ii  freeipmi-tools                    1.4.11-1.1+b1
ii  libc6                             2.24-11+deb9u1
ii  libdata-validate-domain-perl      0.10-1
ii  libdata-validate-ip-perl          0.27-1
ii  libdate-manip-perl                6.57-1
ii  libdbd-mysql-perl                 4.041-2
ii  libio-socket-ssl-perl             2.044-1
ii  libipc-run-perl                   0.94-1
ii  liblocale-gettext-perl            1.07-3+b1
ii  liblwp-useragent-determined-perl  1.07-1
ii  libmail-imapclient-perl           3.38-1
pn  libmemcached11                    <none>
pn  libmemcachedutil2                 <none>
ii  libmonitoring-plugin-perl         0.39-1
ii  libnagios-plugin-perl             0.36-1
pn  libnet-cups-perl                  <none>
ii  libnet-dns-perl                   1.07-1
pn  libnet-dns-sec-perl               <none>
ii  libnet-smtp-ssl-perl              1.04-1
ii  libnet-smtp-tls-perl              0.12-3
pn  libnet-smtpauth-perl              <none>
ii  libnet-snmp-perl                  6.0.1-2
ii  libnet-ssleay-perl                1.80-1
ii  libreadonly-perl                  2.050-1
pn  libredis-perl                     <none>
ii  libtimedate-perl                  2.3000-2
pn  libvarnishapi1                    <none>
pn  libwebinject-perl                 <none>
ii  libxml-simple-perl                2.22-1
ii  libyaml-syck-perl                 1.29-1+b2
ii  lsof                              4.89+dfsg-0.1
ii  nagios-plugins-basic              2.2-3
ii  openssl                           1.1.0f-3
ii  perl                              5.24.1-3+deb9u2
ii  perl-base [libsocket-perl]        5.24.1-3+deb9u2
ii  python                            2.7.13-2
pn  python-pymongo                    <none>
pn  ruby | ruby-interpreter           <none>
ii  snmp                              5.7.3+dfsg-1.7
ii  whois                             5.2.17~deb9u1

Versions of packages nagios-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
pn  expect                     <none>
pn  libsys-virt-perl           <none>
ii  moreutils                  0.60-1
pn  mpt-status                 <none>
pn  nagios-plugin-check-multi  <none>
pn  percona-toolkit            <none>
ii  perl-doc                   5.24.1-3+deb9u2
ii  python2.7                  2.7.13-2
pn  smstools                   <none>

-- Configuration Files:
/etc/nagios-plugins/config/rbl.cfg changed [not included]

-- no debconf information

More information about the Pkg-nagios-devel mailing list