]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: export missing state information
authorKristof Provost <kp@FreeBSD.org>
Thu, 21 Dec 2023 17:20:37 +0000 (18:20 +0100)
committerKristof Provost <kp@FreeBSD.org>
Thu, 21 Dec 2023 18:21:17 +0000 (19:21 +0100)
commit881bf8814a250477850b83ee6ebbb052303051c8
treee4ba7ee183e8f5d81b893118eb7687fafeacfb0b
parent330089470f56d502c629352b85e11522691e3368
pf: export missing state information

We did not export all of the information pfctl expected to print via the
new netlink code. This manifested as pfctl printing 'rtableid: 0', even
when there is no rtable set.

While we're addressing that also export other missing fields such as
dummynet, min_ttl, max_mss, ..

Sponsored by: Rubicon Communications, LLC ("Netgate")
lib/libpfctl/libpfctl.c
sys/netpfil/pf/pf_nl.c
sys/netpfil/pf/pf_nl.h