Ignore group-addressed SA Query frames
These frames are used for verifying that a specific SA and protected link is in functional state between two devices. The IEEE 802.11 standard defines only a case that uses individual MAC address as the destination. While there is no explicit rule on the receiver to ignore other cases, it seems safer to make sure group-addressed frames do not end up resulting in undesired behavior. As such, drop such frames instead of interpreting them as valid SA Query Request/Response. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d314213f6c
commit
a826ff2d95
4 changed files with 15 additions and 3 deletions
|
@ -241,6 +241,12 @@ void ieee802_11_sa_query_action(struct hostapd_data *hapd,
|
|||
(unsigned long) len);
|
||||
return;
|
||||
}
|
||||
if (is_multicast_ether_addr(mgmt->da)) {
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"IEEE 802.11: Ignore group-addressed SA Query frame (A1=" MACSTR " A2=" MACSTR ")",
|
||||
MAC2STR(mgmt->da), MAC2STR(mgmt->sa));
|
||||
return;
|
||||
}
|
||||
|
||||
sta = ap_get_sta(hapd, sa);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue