HomeFreeBSD

security/wpa_supplicant-devel: wpa: Enable receiving priority tagged (VID 0)…

Description

security/wpa_supplicant-devel: wpa: Enable receiving priority tagged (VID 0) frames

Certain internet service providers transmit vlan 0 priority tagged
EAPOL frames from the ONT towards the residential gateway. VID 0
should be ignored, and the frame processed according to the priority
set in the 802.1P bits and the encapsulated EtherType (i.e. EAPOL).

The pcap filter utilized by l2_packet is inadquate for this use case.

Here we modify the pcap filter to accept both unencapsulated and
encapsulated (with VLAN 0) EAPOL EtherTypes. This preserves the
original filter behavior while also matching on encapsulated EAPOL.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Reviewed by: cy
Obtained from: src bb5d6d14d81b
PR: 273696

(cherry picked from commit 218c7064c3d83484a007ee54cc6556d58c657b4b)

Details

Provenance
rcmAuthored on Sep 12 2023, 5:25 AM
cyCommitted on Sep 15 2023, 2:07 PM
Parents
R11:e09453d1ecfe: security/wpa_supplicant: wpa: Enable receiving priority tagged (VID 0) frames
Branches
Unknown
Tags
Unknown