🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#867341: xymonnet buffer overflow, breaking all network tests, when using ipv6 addresses for ping/conn test

#966
From: Roland Rosenfeld
Date: Thu, 15 Oct 2026 13:40
42 lines
3553 bytes
Hi Nicolas!

On Do, 06 Jul 2017, Nicolas Marot wrote:

> Version: 4.3.28-2

>    * I am migrating to xymon 4.3.28-2 on Debian 9 and conn6 does not
>      work anymore (tests are purple)
>      So I decided to put my ipv6s to conn=worst,ipv4,ipv6 like
>         conn=worst,163.172.93.135,2001:bc8:318d:100::1
>    * I tried also with brakets around [ipv6]

I tried to reproduce this issue with current 4.3.30-6.
I wasn't able to reproduce it in the way above that tests become
purple (maybe because xymonnet crashed).
I hope, that the root cause of this (xymonnet crash) was already fixed
in the meantime.

But I still observe a problem with one host running in red conn state.
That's because xymonnet currently puts all IP addresses, that should
be checked into an (alphabetically) sorted file and runs fping -Ae
(or xymonping) on it.
This file generation fails on IP addresses which are longer than 15
chars (plus \n), and only gets first 16 chars from it (without
appending \n), so your 2001:bc8:318d:100::1 is written to the fping
input as 2001:bc8:318d:10 without a trailing \n, and the next IP (for
example 222.222.222.222 is directly appended like
2001:bc8:318d:10222.222.222.222
instead of being written to a new line.

This results 222.222.222.222 conn becoming red, since it isn't found
in the fping output.

Maybe this is a different issue than the one you reported :-)

Anyway, xymon 4.3.30 (and also the upcoming 4.3.31) don't support IPv6
as an address in the first column of hosts.cfg or as an parameter of
conn.  So at the moment you should still use the conn6 plugin from
hobbit-plugins.

Greetings
Roland
Technical Details
Message-ID: <NOtQB-5Hle-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <u00Y3-3WC-29@gated-at.bofh.it> <u00Y3-3WC-29@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.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Roland Rosenfeld <roland@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#867341: xymonnet buffer overflow, breaking all network tests, when using ipv6 addresses for ping/conn test
Date: Thu, 15 Oct 2026 15:40:01 +0200
Message-ID: <NOtQB-5Hle-9@gated-at.bofh.it>
References: <u00Y3-3WC-29@gated-at.bofh.it> <u00Y3-3WC-29@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 15 13:37: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>, 867341@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: abe@debian.org
X-Debian-Pr-Message: followup 867341
X-Debian-Pr-Package: xymon
X-Debian-Pr-Keywords: upstream ipv6
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/1996951
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 42
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Nicolas Marot <nicolas@zosk.fr>
X-Original-Date: Thu, 15 Oct 2026 15:35:10 +0200
X-Original-Message-ID: <atDWjtvd7VqzKu9p@dinghy.sail.spinnaker.de>
X-Original-References: <149929294591.8440.18388715403469119819.reportbug@sd-122888.dedibox.fr> <149929294591.8440.18388715403469119819.reportbug@sd-122888.dedibox.fr>