Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Dec 2025 21:28:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291357] pfctl: partial libxo support
Message-ID:  <bug-291357-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291357

            Bug ID: 291357
           Summary: pfctl: partial libxo support
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: leon+freebsd@darkk.net.ru

As discussed at Bug 282984 a year ago, having libxo for tabular output of pfctl
is a nice feature that may fill the gap between using libpfctl and parsing
pfctl output. libpfctl still requires coding in C and pfctl stdout has somewhat
weak API guarantees and no machine-readable output besides `-s labels`.

I'm opening this bug to announce that I'm finally got my hands dirty with
regards to partial libxo support for -s
timeouts|memory|info|labels|Tables|Interfaces and -Tshow.

I doubt that I'll be able to craft a meaningful patch for `-s rules`. I'm not
even sure that putting the rules into procrustean bed of json/xml is close to
Doing The Right Thing. :-)

I'll do my best to align labels with the spirit of meilfaro's ndp, garga's arp
and netstat patches.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291357-227>