hostapd与wpa_supplicant

Posted Rosanne

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hostapd与wpa_supplicant相关的知识,希望对你有一定的参考价值。

hostapd与wpa_supplicant

hostapd

hostapd includes IEEE 802.11 access point management (authentication / association), IEEE 802.1X/WPA/WPA2 Authenticator, EAP server, and RADIUS authentication server functionality. It can be build with various configuration option, e.g., a standalone AP management solution or a RADIUS authentication server with support for number of EAP methods.

The design goal for hostapd was to use hardware, driver, and OS independent, portable C code for all WPA functionality. The source code is divided into separate C files as shown on the code structure page. All hardware/driver specific functionality is in separate files that implement a well-defined driver API.

EAPOL (IEEE 802.1X) state machines are implemented as a separate module that interacts with EAP server implementation. Similarly, RADIUS authentication server is in its own separate module. Both IEEE 802.1X and RADIUS authentication server can use EAP server functionality.

hostapd implements a control interface that can be used by external programs to control the operations of the hostapdt daemon and to get status information and event notifications.

 

wpa_supplicant

wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it can optionally control roaming and IEEE 802.11 authentication/association of the wlan driver.

The design goal for wpa_supplicant was to use hardware, driver, and OS independent, portable C code for all WPA functionality.

EAPOL (IEEE 802.1X) state machines are implemented as a separate module that interacts with EAP peer implementation. In addition to programs aimed at normal production use, wpa_supplicant source tree includes number of testing and development tools that make it easier to test the programs without having to setup a full test setup with wireless cards. These tools can also be used to implement automatic test suites.

wpa_supplicant implements a control interface that can be used by external programs to control the operations of the wpa_supplicant daemon and to get status information and event notifications.

 

开发文档:http://w1.fi/wpa_supplicant/devel/

以上是关于hostapd与wpa_supplicant的主要内容,如果未能解决你的问题,请参考以下文章

hostapd与wpa_supplicant

软AP的实现------hostapd的编译运行

hostapd作为radius服务器

hostapd wpa_supplicant madwifi详细分析——hostapd整体梳理

hostapd/dev/random/dev/urandom

使用hostapd作为radius服务器,用于企业wifi加密认证