Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2024 09:53:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 282984] [PATCH] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries
Message-ID:  <bug-282984-16861-IR3XuyJpeR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282984-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282984-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282984

--- Comment #9 from Kristof Provost <kp@freebsd.org> ---
(In reply to Leonid Evdokimov from comment #8)
> Another option I can think of is to implement machine-readable TSV and/or=
 json output for `-T show` to replace regexp-based parsing with `awk` or jq=
`.

I'd quite like to see libxo (https://wiki.freebsd.org/LibXo) support for th=
at
short of thing. I'm not sure if it's reasonable to add that to pfctl itself=
 or
not. It may or may not be a better idea to have a standalone tool for table
management grow that support.

A number, but not all, of the pf ioctl calls (and now also netlink calls) h=
ave
been moved to libpfctl, making this work easier. I still intend to move all=
 of
them into libpfctl in due course.

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



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