[Bug 282984] [PATCH] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries
| Newsgroups | gmane.os.freebsd.devel.pf4freebsd |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984 --- Comment #9 from Kristof Provost <[email protected]> --- (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.