⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 最新的Host AP 新添加了许多pcmcia 的驱动
💻
📖 第 1 页 / 共 2 页
字号:
hostapd - user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP	  Authenticator and RADIUS authentication server================================================================Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi> and contributorsAll Rights Reserved.This program is dual-licensed under both the GPL version 2 and BSDlicense. Either license may be used at your option.License-------GPL v2:This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License version 2 aspublished by the Free Software Foundation.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA(this copy of the license is in COPYING file)Alternatively, this software may be distributed, used, and modifiedunder the terms of BSD license:Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions aremet:1. Redistributions of source code must retain the above copyright   notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright   notice, this list of conditions and the following disclaimer in the   documentation and/or other materials provided with the distribution.3. Neither the name(s) of the above-listed copyright holder(s) nor the   names of its contributors may be used to endorse or promote products   derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Introduction============Originally, hostapd was an optional user space component for Host APdriver. It adds more features to the basic IEEE 802.11 managementincluded in the kernel driver: using external RADIUS authenticationserver for MAC address based access control, IEEE 802.1X Authenticatorand dynamic WEP keying, RADIUS accounting, WPA/WPA2 (IEEE 802.11i/RSN)Authenticator and dynamic TKIP/CCMP keying.The current version includes support for other drivers, an integratedEAP server (i.e., allow full authentication without requiringan external RADIUS authentication server), and RADIUS authenticationserver for EAP authentication.Requirements------------Current hardware/software requirements:- drivers:	Host AP driver for Prism2/2.5/3.	(http://hostap.epitest.fi/)	Please note that station firmware version needs to be 1.7.0 or newer	to work in WPA mode.	madwifi driver for cards based on Atheros chip set (ar521x)	(http://sourceforge.net/projects/madwifi/)	Please note that you will need to add the correct path for	madwifi driver root directory in .config (see defconfig file for	an example: CFLAGS += -I<path>)	Prism54 driver for Intersil/Conexant Prism GT/Duette/Indigo	(http://www.prism54.org/)	mac80211-based drivers that support AP mode (with driver=nl80211).	This includes drivers for Atheros (ath9k) and Broadcom (b43)	chipsets.	Any wired Ethernet driver for wired IEEE 802.1X authentication	(experimental code)	FreeBSD -current (with some kernel mods that have not yet been	committed when hostapd v0.3.0 was released)	BSD net80211 layer (e.g., Atheros driver)Build configuration-------------------In order to be able to build hostapd, you will need to create a buildtime configuration file, .config that selects which optionalcomponents are included. See defconfig file for example configurationand list of available options.IEEE 802.1X===========IEEE Std 802.1X-2001 is a standard for port-based network accesscontrol. In case of IEEE 802.11 networks, a "virtual port" is usedbetween each associated station and the AP. IEEE 802.11 specifiesminimal authentication mechanism for stations, whereas IEEE 802.1Xintroduces a extensible mechanism for authenticating and authorizingusers.IEEE 802.1X uses elements called Supplicant, Authenticator, PortAccess Entity, and Authentication Server. Supplicant is a component ina station and it performs the authentication with the AuthenticationServer. An access point includes an Authenticator that relays the packetsbetween a Supplicant and an Authentication Server. In addition, it has aPort Access Entity (PAE) with Authenticator functionality forcontrolling the virtual port authorization, i.e., whether to acceptpackets from or to the station.IEEE 802.1X uses Extensible Authentication Protocol (EAP). The framesbetween a Supplicant and an Authenticator are sent using EAP over LAN(EAPOL) and the Authenticator relays these frames to the AuthenticationServer (and similarly, relays the messages from the AuthenticationServer to the Supplicant). The Authentication Server can be colocated with theAuthenticator, in which case there is no need for additional protocolfor EAP frame transmission. However, a more common configuration is touse an external Authentication Server and encapsulate EAP frame in theframes used by that server. RADIUS is suitable for this, but IEEE802.1X would also allow other mechanisms.Host AP driver includes PAE functionality in the kernel driver. Itis a relatively simple mechanism for denying normal frames going toor coming from an unauthorized port. PAE allows IEEE 802.1X relatedframes to be passed between the Supplicant and the Authenticator evenon an unauthorized port.User space daemon, hostapd, includes Authenticator functionality. Itreceives 802.1X (EAPOL) frames from the Supplicant using the wlan#apdevice that is also used with IEEE 802.11 management frames. Theframes to the Supplicant are sent using the same device.The normal configuration of the Authenticator would use an externalAuthentication Server. hostapd supports RADIUS encapsulation of EAPpackets, so the Authentication Server should be a RADIUS server, likeFreeRADIUS (http://www.freeradius.org/). The Authenticator in hostapdrelays the frames between the Supplicant and the AuthenticationServer. It also controls the PAE functionality in the kernel driver bycontrolling virtual port authorization, i.e., station-APconnection, based on the IEEE 802.1X state.When a station would like to use the services of an access point, itwill first perform IEEE 802.11 authentication. This is normally donewith open systems authentication, so there is no security. Afterthis, IEEE 802.11 association is performed. If IEEE 802.1X isconfigured to be used, the virtual port for the station is set inUnauthorized state and only IEEE 802.1X frames are accepted at thispoint. The Authenticator will then ask the Supplicant to authenticatewith the Authentication Server. After this is completed successfully,the virtual port is set to Authorized state and frames from and to thestation are accepted.Host AP configuration for IEEE 802.1X-------------------------------------The user space daemon has its own configuration file that can be used todefine AP options. Distribution package contains an exampleconfiguration file (hostapd/hostapd.conf) that can be used as a basisfor configuration. It includes examples of all supported configurationoptions and short description of each option. hostapd should be startedwith full path to the configuration file as the command line argument,e.g., './hostapd /etc/hostapd.conf'. If you have more that one wirelessLAN card, you can use one hostapd process for multiple interfaces bygiving a list of configuration files (one per interface) in the commandline.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -