wpa_supplicant和hostapd的定义和区别

一、hostapd 和 wap_supplicant

hostapd : user space daemon for access points, including, e.g., IEEE 802.1X/WPA/EAP Authenticator for number of Linux and BSD drivers, RADIUS client, integrated EAP server, and RADIUS authentication server

直译为: AP侧进程,包含:如 linux和BSD 驱动中的802.1x/WPA/EAP认证功能,RADIUS客户端,整合了EAP服务器和RADIUS认证服务器。

也就是说,hostapd是一个AP侧使用的进程,它的功能包含了802.1x、RADIUS认证等的处理。

wpa_supplicant:  user space IEEE 802.1X/WPA supplicant (wireless client) for number of Linux, BSD, and Windows drivers

直译为: 用户空间802.1x/WPA请求者(无线client端),适用于linux /BSD/Windows驱动

也就是说,wpa_supplicant是一个client侧使用的进程,它包含了802.1x、WPA的请求工作。

wpad is a hostapd + wpa_supplicant multicall binary

wpad是 包含了hostapd 和 wpa_supplicant 的合体。wpad 的使用如下:

root@hbg:/# wpad -h
Invalid command.
Usage: wpad wpa_supplicant|hostapd [<arguments>]

后面先加 wpa_supplicant 或 hostapd,然后再跟参数。

抄自:https://www.cnblogs.com/rohens-hbg/p/7422828.html

二、EAP状态机文档

https://download.csdn.net/download/lee244868149/8288875

深入理解Android:WiFi模块 NFC和GPS卷

三、hostapd相关的

https://www.cnblogs.com/happygirl-zjj/p/5995776.html(重要)

https://www.cnblogs.com/happygirl-zjj/p/5995825.html(管理帧的处理分析)

https://www.cnblogs.com/happygirl-zjj/p/5997161.html

http://blog.sina.com.cn/s/blog_6e228288010153uq.html

https://blog.csdn.net/chaty_chu/article/details/80440898?utm_source=blogxgwz2

猜你喜欢

转载自blog.csdn.net/yudelian/article/details/88820552