最近过认证,需要添加IEEE 802.11w (management frame protection), 简称mfp功能。 

     首先,通过抓空口包查看Association Request包来确认是否有打开mfp功能:      配置支持IEEE 802.11w (management frame protection)

     从上面可以看到, 默认是不支持mfp的。 

     琢磨了一下, 添加步骤其实比较简单:

     1,  在wpa_supplicant源码中添加CONFIG_IEEE80211W=y配置

     2,  在wpa_supplicant.conf配置文件中添加pmf=1 或者 pmf=2

     3,  在wifi driver中添加mfp支持(有些厂商的driver默认支持)

     添加后可以通过抓空口包来确认是否生效: 

     如果wpa_supplicant.conf中配置的是pmf=1 , 那么从空口包看到的是:     

配置支持IEEE 802.11w (management frame protection)

    可以看到, Management Frame Protection Capable:True, 已经可以支持pmf了。 

    如果wpa_supplicant.conf中配置的是pmf=2 , 那么从空口包看到的是:      

配置支持IEEE 802.11w (management frame protection)

     可以看到 Management Frame Protection Capable:True 和  Management Frame Protection Required:True,也是可以支持pmf。

     如果要查看路由是否支持mfp功能, 可以查看空口包中Probe Request包来确认是否支持mfp功能:    配置支持IEEE 802.11w (management frame protection)

 

相关文章:

  • 2021-11-11
  • 2021-05-01
  • 2021-10-27
  • 2021-04-14
  • 2021-04-08
  • 2021-12-09
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2021-08-26
  • 2021-12-26
  • 2021-10-04
  • 2021-12-19
  • 2021-08-31
相关资源
相似解决方案