[From nobody Wed Nov  4 15:55:08 2026
Received: (at submit) by bugs.debian.org; 18 Aug 2011 13:38:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
 (2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,HAS_PACKAGE,
 MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,XMAILER_REPORTBUG autolearn=ham
 version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 104; neutral, 45; spammy,
 1. spammytokens:0.875-+--forward hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug,
 0.000-+--H*x:4.12.6
Return-path: &lt;dom@earth.li&gt;
Received: from urchin.earth.li ([212.13.204.73])
 by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.72) (envelope-from &lt;dom@earth.li&gt;) id 1Qu2nl-0005Ar-VV
 for submit@bugs.debian.org; Thu, 18 Aug 2011 13:38:30 +0000
Received: from dom by urchin.earth.li with local (Exim 4.72)
 (envelope-from &lt;dom@earth.li&gt;)
 id 1Qu2ni-0004yV-Db; Thu, 18 Aug 2011 14:38:26 +0100
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dominic Hargreaves &lt;dom@earth.li&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: nagios-plugins-basic: check_ircd does not work with IPv6
Message-ID: &lt;20110818133826.14282.63056.reportbug@urchin.earth.li&gt;
X-Mailer: reportbug 4.12.6
Date: Thu, 18 Aug 2011 14:38:26 +0100
Delivered-To: submit@bugs.debian.org

Package: nagios-plugins-basic
Version: 1.4.15-4
Severity: normal
Tags: ipv6

The check_ircd script uses low-level socket library calls and as such
cannot check IPv6 IRC servers.

It would probably make sense to rewrite this to use an IRC library.

Net::IRC is deprecated these daays (#608583) and claims that
Bot::BasicBot or POE::Component::IRC is the best way forward, but both
of those may be a little heavyweight, I suspect.

&lt;http://sourceforge.net/tracker/?func=detail&amp;atid=397599&amp;aid=2114022&amp;group_id=29880&gt;

may contain a working patch to add IPv6 support to the existing code,
although needing to pass the -6 flag isn't ideal.

Cheers,
Dominic.


]