HomeFreeBSD

net/hostapd: wpa: Enable receiving priority tagged (VID 0) frames

Description

net/hostapd: 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 33410dc2fce35423090de7566b10b2ce4ba5795c)

Details

Provenance
rcmAuthored on Sep 12 2023, 5:26 AM
cyCommitted on Sep 15 2023, 2:07 PM
Parents
R11:795667c94c9e: security/wpa_supplicant-devel: wpa: Enable receiving priority tagged (VID 0)…
Branches
Unknown
Tags
Unknown