🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #427

[Bug 299620] netstat: invalid libxo output for tcp statistics using xml mode

#427
From: bugzilla-noreply
Date: Thu, 12 Nov 2026 01:57
32 lines
3189 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299620

--- Comment #3 from Gleb Smirnoff <glebius@FreeBSD.org> ---
Phil, can you please say your expert opinion here. I definitely added the
problem to netstat, but the question is about general policy of libxo. What is
allowed and what is not. I quickly went through documentation and didn't find
anything on that. It seems there could be two options here:

1) Common denominator mode: libxo users shall use container (and other
features) names that would be compatible with all formats supported by libxo.
That would imply that adding a new output format may break existing programs.

2) Adaptation mode: libxo would reformat arguments to make them compatible with
certain output modes, particularly in XML output would substitute spaces to
dashes.

I'm fine with accepting John's patch, just want to learn for the future what
are the restrictions on libxo string arguments.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-299620-227-vyOM2dPPhh@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-299620-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 299620] netstat: invalid libxo output for tcp statistics using
 xml mode
Date: Thu, 12 Nov 2026 01:57:17 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-299620-227-vyOM2dPPhh@https.bugs.freebsd.org/bugzilla/>
References: <bug-299620-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="84236"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1794448637;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=UNt2owqQIwYElQ2pg40a4J4aG/Wf6v6IWUpc4HgbNUE=;
	b=VhxA3wL/54zFhqeSt6s/oyVMCM9LopBIKeMevk2JJA5XR7s1Ed9LzKJyg3oKSviFmFZdmm
	2fDTE6zDeX+6AYUKqFniPBmsffeIY9+IZeUZNPfDk9C6Q7gf1oz/O6VxKQHFTIYRLnE0wy
	h2jRdHT5xw9vidfnohuOUVzhbtfeURgNzL1ZkxfIQRupHS72ehGgzD0KNpPHu1Age5ECzD
	s+IPvakIuYrHlb2MDu3jTfrqnJ2kMbR9sxYbOuMrADLKMjNWZW5WrdvLw5eSdJuMFOsa/+
	DC36XnhN1MCg4qVtiGsf7roTuuv+b1NijioNRZQO3k6WoOlIFkNRK6zetzQ+1A==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-299620-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes