🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #940

Bug#939846: xymon: xymonnet segfaults (and completely stops working) if any URL to check is IPv6-only

#940
From: Roland Rosenfeld
Date: Thu, 15 Oct 2026 10:20
53 lines
3800 bytes
On Mo, 09 Sep 2019, Axel Beckert wrote:

> it's well-known that as of now no released Xymon version supports IPv6.
> 
> What's nevertheless an issue of its own, is that, if even only a single
> URL in hosts.cfg only resolves to IPv6 addresses(*), the xymonnet
> process crashes as soon as it receives the DNS response.
> 
> And since it seems to get this response
> inbetween parsing hosts.cfg and conducting any tests, a single URL in
> hosts.cfg may cause _all_ network tests to stop and go purple.
> 
> (*) In this case it additionally was a ULA, i.e. inside fd::/8 (see
>     https://en.wikipedia.org/wiki/Unique_local_address) which
>     potentially might be relevant.

On Mo, 09 Sep 2019, Axel Beckert wrote:

> Control: found 939846 4.3.30-1

I just tried to reproduce the issue with a freshly installed Debian
forky and xymon 4.3.30-6.
This still doesn't support IPv6, but didn't fail on the following
hosts.cfg line:

194.8.194.78      ipv6-test # http://ipv6.ipv6-test.netcologne.de

(ipv6.ipv6-test.netcologne.de has only an AAAA record, but no A record).

I don't observe any crash of xymonnet or the like.
Instead of this xymon http test shows

red http://ipv6.ipv6-test.netcologne.de/ - DNS error

as expected.

Sadly I don't know, what change (between 4.3.30-1 and 4.3.30-6) could
solved this issue, but at least 93_pcre2.patch,
95_fix_tls13_banner.patch and 103_openssl4.patch modify code in
xymonnet/*.c files.
Or if I have a look at your stack trace, the issue may have been in
libc-ares2 (which was 1.18.1-3 on Debian 12 where I found xymon
4.3.30-1) vs. 1.34.8-1 in trixie.

I tried to run a Debian 12 VM with xymon 4.3.30-1 but this also didn't
run into this issue on my above test case.

@Axel: Please check, whether you can still reproduce the issue on your
system (maybe it's related on the ULA address, which I don't use in my
environment?) with current xymon and/or current libc-ares2.

Greetings
Roland
Technical Details
Message-ID: <NOqJ3-5FmR-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <yErAB-2L6-3@gated-at.bofh.it> <yEsdk-2Zw-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Roland Rosenfeld <roland@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#939846: xymon: xymonnet segfaults (and completely stops working) if any URL to check is IPv6-only
Date: Thu, 15 Oct 2026 12:20:01 +0200
Message-ID: <NOqJ3-5FmR-5@gated-at.bofh.it>
References: <yErAB-2L6-3@gated-at.bofh.it> <yEsdk-2Zw-9@gated-at.bofh.it>
X-Original-To: 939846@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 15 10:15:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Roland Rosenfeld <roland@debian.org>, 939846@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: abe@debian.org
X-Debian-Pr-Message: followup 939846
X-Debian-Pr-Package: xymon
X-Debian-Pr-Keywords: ipv6 upstream
X-Debian-Pr-Source: xymon
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/2.2.13 (2024-03-09)
X-Debian-User: roland
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996907
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 53
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Axel Beckert <abe@debian.org>
X-Original-Date: Thu, 15 Oct 2026 12:13:35 +0200
X-Original-Message-ID: <atCnT3xxGeDcc2lz@dinghy.sail.spinnaker.de>
X-Original-References: <87a7bd1vfn.fsf@sym.noone.org> <20190909132857.6eshxvipvdaeu2qc@sym.noone.org>