]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: ether l3 rules can only use addresses
authorKristof Provost <kp@FreeBSD.org>
Fri, 25 Mar 2022 10:13:47 +0000 (11:13 +0100)
committerKristof Provost <kp@FreeBSD.org>
Fri, 25 Mar 2022 10:13:47 +0000 (11:13 +0100)
commit3468cd95ca1249946bace931f2035e76b070711e
treefbcf578df9a9331a50b281ec72d5f01d2df36e6f
parent231f2112403229a1382be3f5f6ed50bffe3497e8
pf: ether l3 rules can only use addresses

Disallow the use of tables in ethernet rules. Using tables requires
taking the PF_RULES lock. Moreover, the current table code isn't ready
to deal with ethernet rules.

Disallow their use for now.

Sponsored by: Rubicon Communications, LLC ("Netgate")
sbin/pfctl/parse.y
sys/netpfil/pf/pf_nv.c
tests/sys/netpfil/pf/ether.sh