pf tests: test pflow NAT state information
authorKristof Provost <kp@FreeBSD.org>
Fri, 15 Dec 2023 16:52:56 +0000 (17:52 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 16 Jan 2024 08:45:55 +0000 (09:45 +0100)
commitc4d97a94875378d69e5f87d4341b95307a241a58
tree27cef10c00fa707e3e45f44c0969e426e2c79624
parent2be6f75707b489d5505d45b677120d0870b6a066
pf tests: test pflow NAT state information

pflow(4) now also exports NAT session creation/destruction information.
Test that this works as expected.

While here improve the parsing of ipfix (i.e. pflowproto 10) a bit, and
check more information for the existing state information exports.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43117
tests/sys/netpfil/pf/pflow.sh
tests/sys/netpfil/pf/pft_read_ipfix.py