[Bug 282984] [PATCH] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Dec 2024 09:53:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984 --- 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 that 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) have been moved to libpfctl, making this work easier. I still intend to move all of them into libpfctl in due course. -- You are receiving this mail because: You are the assignee for the bug.