| 68013761 | 17-Nov-2023 |
Kristof Provost <[email protected]> |
libpfctl: handle pfctl_do_ioctl() failures better
Ensure that we free nvlists and other allocations if pfctl_do_ioctl() fails.
MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate"
libpfctl: handle pfctl_do_ioctl() failures better
Ensure that we free nvlists and other allocations if pfctl_do_ioctl() fails.
MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 498934c5ff51e6b0d3199db5d27ed11b1e8b9582)
show more ...
|
| e158fa4c | 30-Oct-2023 |
Kristof Provost <[email protected]> |
libpfctl: remove unused field from struct pfctl_states
We never populate this, or use it, so remove it.
MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from
libpfctl: remove unused field from struct pfctl_states
We never populate this, or use it, so remove it.
MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 87c5032353106764f324e82541662f448e68f38a)
show more ...
|
| 71ae1f46 | 30-Oct-2023 |
Kristof Provost <[email protected]> |
libpfctl: add missing pfctl_status_lcounter() function
We already had accessors for the other types of counters, but not this one.
MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netg
libpfctl: add missing pfctl_status_lcounter() function
We already had accessors for the other types of counters, but not this one.
MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 1c824f430a395cdc66e22406e72f20ebd300e47e)
show more ...
|
| 275078f1 | 23-Oct-2023 |
Kristof Provost <[email protected]> |
libpfctl: fix Coverity issues
- handle snl_finalize_msg() returning NULL - insert the correct data into the states list - add missing nvlist_destroy() - incorrect order for array bounds
Coverit
libpfctl: fix Coverity issues
- handle snl_finalize_msg() returning NULL - insert the correct data into the states list - add missing nvlist_destroy() - incorrect order for array bounds
Coverity: 1522929, 1522925, 1522923, 1522921, 1522780, 1522770, 1522764, 1487785, 1471250 Reviewed by: emaste MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D42330
(cherry picked from commit 4abc3b482e0d246cd3518622223795c8de102130)
show more ...
|
| 9a9535e4 | 29-Aug-2023 |
Kristof Provost <[email protected]> |
libpfctl: implement status counter accessor functions
The new nvlist-based status call allows us to easily add new counters. However, the libpfctl interface defines a TAILQ, so it's not quite trivia
libpfctl: implement status counter accessor functions
The new nvlist-based status call allows us to easily add new counters. However, the libpfctl interface defines a TAILQ, so it's not quite trivial to find the counter consumers are interested in.
Provide convenience functions to access the counters.
MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D41649
(cherry picked from commit e3d3d61a7d94a4155ef70048a8b578985fca8383)
show more ...
|