HomeFreeBSD

dummynet: handle IPV6 layer 2 traffic

Description

dummynet: handle IPV6 layer 2 traffic

When pf sends layer 2 traffic into dummynet it still marks IPv6 with
IPFW_ARGS_IPV6 (which dummynet translates to PROTO_V6). That in turn
results in it not matching the 'DIR_IN | PROTO_LAYER2' case, and
triggering the 'bad switch' error message.

Add extra cases for LAYER2 | PROTO_IPV6.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jun 30 2022, 11:34 AM
Parents
rG7963c02c9bc2: rescure.8: Do not recommend release artifact disc2
Branches
Unknown
Tags
Unknown