conntrack-tools conntrack cli json output option?
Hi all,
I see some other netfilter tools support json as an output format, apparently this is done elsewhere with libjansson. Would it be obvious or a welcome patch to add support to this similar to the xml output of conntrack -L? Is anyone using an existing tool for this?
I searched this list archives, sorry if I missed previous discussion.
Thanks,
Eldon
Quoted 5 lines · On Wed, 11 Dec 2024, at 4:47 PM, [email protected] wrote:
Hi all,
I see some other netfilter tools support json as an output format, apparently this is done elsewhere with libjansson. Would it be obvious or a welcome patch to add support to this similar to the xml output of conntrack -L? Is anyone using an existing tool for this?
These days, I think that most would welcome the ability to obtain well-structured JSON output from their tooling. I would suggest looking into libxo, also.
https://juniper.github.io/libxo/libxo-manual.html
Signature · 1 line
Kerin Millar