Article View: muc.lists.freebsd.bugs
Article #152[Bug 299620] netstat: invalid libxo output for tcp statistics using xml mode
From: bugzilla-noreply
Date: Mon, 19 Oct 2026 23:11
Date: Mon, 19 Oct 2026 23:11
92 lines
5330 bytes
5330 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299620
Bug ID: 299620
Summary: netstat: invalid libxo output for tcp statistics using
xml mode
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: john@saltant.com
Summary
=======
The libxo container title, "TCP connection count by state", when rendered as
XML, is invalid as an element name.
Expected
========
% netstat -s -p tcp --libxo xml | xmllint - > /dev/null
# no output
Actual
======
% netstat -s -p tcp --libxo xml | xmllint - >/dev/null
-:1: parser error : Specification mandates value for attribute connection
sponds><tw_recycles>0</tw_recycles><tw_resets>0</tw_resets></tw><TCP connection
^
-:1: parser error : attributes construct error
sponds><tw_recycles>0</tw_recycles><tw_resets>0</tw_resets></tw><TCP connection
^
-:1: parser error : Couldn't find end of Start Tag TCP line 1
sponds><tw_recycles>0</tw_recycles><tw_resets>0</tw_resets></tw><TCP connection
^
-:1: parser error : expected '>'
G><LAST_ACK>0</LAST_ACK><FIN_WAIT_2>0</FIN_WAIT_2><TIME_WAIT>0</TIME_WAIT></TCP
^
-:1: parser error : Opening and ending tag mismatch: tcp line 1 and TCP
G><LAST_ACK>0</LAST_ACK><FIN_WAIT_2>0</FIN_WAIT_2><TIME_WAIT>0</TIME_WAIT></TCP
^
-:1: parser error : Opening and ending tag mismatch: statistics line 1 and tcp
T_2>0</FIN_WAIT_2><TIME_WAIT>0</TIME_WAIT></TCP connection count by
state></tcp>
^
--
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@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!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: Mon, 19 Oct 2026 23:11:24 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <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="83744"; 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=1792451484; 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; bh=JBN9Syw55VF0BHY7iITZj6t+ltyQVimk/jqHZ/+80LQ=; b=LW/ij2gsrC/chqw8LeeHAVLwtmegTwLrWuOQrrUg4EEz0NBi2Gy67A69jAgHHajT3+IVm9 K0v9/Fm5L9hwEaaGvEfNNZxV1PMCLMwsQ4QkP7gKE/9PrA81fgxVEosrOrNmo33hrVAEvI hih0ExHWUf1mBSqePx+WyxTP3ON9BdWLtDzVGYw1hYYL6eS+qJy/Z3rbr6gkl0AIPeR4gU KVuQVRaKPPv5FdFx4LUH97F1FxImA5NGLFWIQZ//coAzDumy5BMoyTVgQUGfMygy//43A9 ur7515EvuR3/3vSFJjZYejDzLY4132PyygGUYQTqdAODbVifpdNtpqmVx3Du0A== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes