【Hostapd support for WPA3 R3 Wi-Fi Security】

本文概述了WiFi联盟对WPA3R3的强制要求,讲解了如何通过更新hostapdv2.10及配置sae_pwe参数来确保设备兼容,并提到了检测设备支持情况的方法。重点在于WPA3R3的H2E机制和对现有固件的升级指导。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

概述

  • WiFi 联盟将从 2022 年 1 月开始强制要求 WPA3 R3 进行认证。
  • 现有的 wpa_supplicant v2.9 和 hostapd v2.9 及以下版本不支持 WPA3-R3。
  • 需更新到hostapd v2.10版本以上才支持。

笔记

1.Wi-Fi联盟推出了被称为WPA3 R3版本,其中提出了Hash to Element(H2E)作为生成PWE的最新方法
WPA2: Password -> PMK -> PTK

WPA3 v1: Password -> PWE -> PMK -> PTK

WPA3 r3: Password -> PT -> PWE -> PMK -> PTK

参考链接 WPA3也不安全啦?WPA3-R3 H2E了解一下

2.在已支持SAE的hostapd.conf参数配置下添加sae_pwe=2

默认为0不支持,1为H2E only,会导致不支持WPA3-R3的设备连接失败,2为Both兼容

# SAE mechanism for PWE derivation
# 0 = hunting-and-pecking loop only (default without password identifier)
# 1 = hash-to-element only (default with password identifier)
# 2 = both hunting-and-pecking loop and hash-to-element enabled
# Note: The default value is likely to change from 0 to 2 once the new
# hash-to-element mechanism has received more interoperability testing.
# When using SAE password identifier, the hash-to-element mechanism is used
# regardless of the sae_pwe parameter value.
#sae_pwe=0
3.抓空中包确认
  • 判断 Beacon帧 RSN ext 【wlan.rsnx.sae_hash_to_element】标志位以确认是否支持WPA3-R3;

wlan.rsnx.sae_hash_to_element

  • AUTH帧Status codeWLAN_STATUS_SAE_HASH_TO_ELEMENT(0x007e)以确认是否 WPA3-R3 连接;
    Status code返回 WLAN_STATUS_SUCCESS (0X0000)则还为WPA3 v1连接;
    若beacon支持,则可能连接设备不支持,需要找2022年1月份之后过WiFi 联盟WPA3认证的设备测试。

WPA3 v1连接
WP3-R3连接

  • 此部分在hostapd 代码 auth_sae_send_commit函数中

auth_sae_send_commit

4.hostapd v2.9版本支持补丁
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值