| 5568c8b2 | 22-Sep-2022 |
Cy Schubert <[email protected]> |
ipfilter/ippool: Return error code when listing a pool fails
When an internal or other error occurs during the listing of a pool, return an error code when extiting ippool(8). Printing an error to s
ipfilter/ippool: Return error code when listing a pool fails
When an internal or other error occurs during the listing of a pool, return an error code when extiting ippool(8). Printing an error to stderr without returning an error code is useless in shell scripts.
MFC after: 2 weeks
show more ...
|
| 93c1048a | 03-Mar-2022 |
Cy Schubert <[email protected]> |
ipfilter: Reliably print the interface name
When printing the interface name from the ipstate_t struct the interface name in is_ifp may not always be avaiable when reading it from kmem (tested on Fr
ipfilter: Reliably print the interface name
When printing the interface name from the ipstate_t struct the interface name in is_ifp may not always be avaiable when reading it from kmem (tested on FreeBSD and NetBSD). However the is_ifname (the interface name character string) is almost always available -- it is not available when the source of the packet is a process running on the firewall itself. Rather than print both interface name strings, print only the one.
MFC after: 1 week
show more ...
|
| ec793543 | 03-Mar-2022 |
Cy Schubert <[email protected]> |
ipfilter: Obtain the interface name more efficiently
Rather than use a kmem read to determine the interface name used by a nat_t structure through a pointer, nat_ipfs->netif->if_xname, obtain it dir
ipfilter: Obtain the interface name more efficiently
Rather than use a kmem read to determine the interface name used by a nat_t structure through a pointer, nat_ipfs->netif->if_xname, obtain it directly from nat_ifnames in the nat_t structure itself using the new FORMAT_IF macro.
MFC after: 1 week
show more ...
|