【轉】wpa_supplicant和hostapd的定義和區別


轉自:https://blog.csdn.net/qq_21949217/article/details/44516225

一、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

 

二、hostapd相關

hostapd使用

http://w1.fi/hostapd/

hostapd源代碼分析(一):網絡接口和BSS的初始化

hostapd源代碼分析(二):hostapd的工作機制

hostapd源代碼分析(三):管理幀的收發和處理

 

三、wpa_supplicant相關

http://w1.fi/wpa_supplicant/devel/

wpa_supplicant及wpa_cli使用方法

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM