pf: expose more syncookie state information to userspace
authorKristof Provost <kp@FreeBSD.org>
Mon, 6 Nov 2023 21:20:32 +0000 (22:20 +0100)
committerKristof Provost <kp@FreeBSD.org>
Mon, 6 Nov 2023 21:22:24 +0000 (22:22 +0100)
commita6173e94635b03aa7aab90a67785c8c3e7c6247b
tree5efd25ac0238c0e6d5f715d3b2d481456c8a0b8b
parente6eb94a8ff9d646db9dc81fca7996f785fa828ea
pf: expose more syncookie state information to userspace

Allow userspace to retrieve low and high water marks, as well as the
current number of half open states.

MFC after: 1 week
Sponsored by: Modirum MDPay
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pfctl_parser.c
sys/netpfil/pf/pf_ioctl.c
sys/netpfil/pf/pf_syncookies.c