]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Support killing 'matching' states
authorKristof Provost <kp@FreeBSD.org>
Mon, 3 May 2021 13:35:50 +0000 (15:35 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 7 May 2021 20:13:31 +0000 (22:13 +0200)
commit93abcf17e6cf3c1cd8511c8ff7a8bf20b2d76367
tree07c38234b97ecdc47886c6aa33a8655be9d8fec5
parentc2e11d81d295f7d55ac8b6858b09d8fa123cbfe8
pf: Support killing 'matching' states

Optionally also kill states that match (i.e. are the NATed state or
opposite direction state entry for) the state we're killing.

See also https://redmine.pfsense.org/issues/8555

Submitted by: Steven Brown
Reviewed by: bcr (man page)
Obtained from: https://github.com/pfsense/FreeBSD-src/pull/11/
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30092
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pfctl.8
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl_parser.h
sys/net/pfvar.h
sys/netpfil/pf/pf_ioctl.c