pflow: add RFC8158 NAT support
authorKristof Provost <kp@FreeBSD.org>
Wed, 13 Dec 2023 15:55:28 +0000 (16:55 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 16 Jan 2024 08:45:55 +0000 (09:45 +0100)
commitfc6e50699615c93f39d008709f87c754d9b6c7d3
tree207e33cbe559ac5dea320dab27ca58586ef79339
parent85b71dcfc99952c0b8d78be93a0104873e8f81f7
pflow: add RFC8158 NAT support

Extend pflow(4) to send NAT44 Session Create and Delete events.
This applies only to IPFIX (i.e. proto version 10), and requires no
user configuration.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43114
sbin/pfctl/parse.y
sys/net/pflow.h
sys/netpfil/pf/pf.c
sys/netpfil/pf/pflow.c