Alter pf_test_eth_rule() to panic when setting up the dnflow for a packet only
if the protocol is unknown. As we are filtering ethernet, IP and IPv6 are not
the only encapsulated protocols that should be handled.
Details
Details
- Reviewers
kp
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 45688 Build 42576: arc lint + arc unit
Event Timeline
Comment Actions
Remove default case from address family switch in pf_test_eth_rule dummynet handling entirely
Comment Actions
This was committed already:
commit ba3b6b938db71a18a93cf88979af0e57136787bd Author: Kristof Provost <kp@FreeBSD.org> Date: Fri Jul 1 13:13:20 2022 +0200 pf: handle dummynet for non-IP packets Do not panic if we try to dummynet an Ethernet packet that's not IPv4 or IPv6. Simply give it to dummynet. Sponsored by: Rubicon Communications, LLC ("Netgate")