Preparations for 0.6.7 release
[wpasupplicant] / www / hostapd / index.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3   <head>
4     <title>hostapd: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator</title>
5     <meta name="description" content="hostapd (IEEE 802.1X, WPA, WPA2, RSN, IEEE 802.11i Authenticator and RADIUS authentication server)">
6     <meta name="keywords" content="WPA, WPA2, IEEE 802.11i, IEEE 802.1X, WPA Authenticator, hostapd, TKIP, CCMP, EAP-PEAP, EAP-TLS, EAP-TTLS, EAP-SIM, EAP-AKA, EAP-GTC, EAP-MSCHAPv2, EAP-MD5, EAP-PAX, EAP-PSK, EAP-FAST, IEEE 802.1X Supplicant, IEEE 802.1aa, EAPOL, RSN, pre-authentication, PMKSA caching, BSD WPA Authenticator, FreeBSD WPA Authenticator, RADIUS authentication server, EAP authenticator, EAP server, EAP-TNC, TNCS, IF-IMV, IF-TNCCS, WPS">
7     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8   </head>
9
10   <body>
11     <h2>hostapd: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator</h2>
12
13 <p>hostapd is a user space daemon for access point and authentication
14 servers. It implements IEEE 802.11 access point management, IEEE
15 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and
16 RADIUS authentication server. The current version supports Linux (Host
17 AP, madwifi, Prism54, mac80211-based drivers) and FreeBSD (net80211).</p>
18
19 <p>hostapd is designed to be a "daemon" program that runs in the
20 background and acts as the backend component controlling
21 authentication.  hostapd supports separate frontend programs and an
22 example text-based frontend, hostapd_cli, is included with
23 hostapd.</p>
24
25 <h4>Supported WPA/IEEE 802.11i/EAP/IEEE 802.1X features</h4>
26
27 <ul>
28 <li>WPA-PSK ("WPA-Personal")</li>
29 <li>WPA with EAP (with integrated EAP server or an external
30 RADIUS backend authentication server) ("WPA-Enterprise")</li>
31 <li>key management for CCMP, TKIP, WEP104, WEP40</li>
32 <li>WPA and full IEEE 802.11i/RSN/WPA2</li>
33 <li>RSN: PMKSA caching, pre-authentication</li>
34 <li>RADIUS accounting</li>
35 <li>RADIUS authentication server with EAP</li>
36 <li>Wi-Fi Protected Setup (WPS)</li>
37 </ul>
38
39 <h4>Supported EAP methods (integrated EAP server and RADIUS authentication server)</h4>
40
41 <ul>
42 <li>EAP-TLS</li>
43 <li>EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1)</li>
44 <li>EAP-PEAP/TLS (both PEAPv0 and PEAPv1)</li>
45 <li>EAP-PEAP/GTC (both PEAPv0 and PEAPv1)</li>
46 <li>EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1)</li>
47 <li>EAP-TTLS/EAP-MD5-Challenge</li>
48 <li>EAP-TTLS/EAP-GTC</li>
49 <li>EAP-TTLS/EAP-MSCHAPv2</li>
50 <li>EAP-TTLS/MSCHAPv2</li>
51 <li>EAP-TTLS/EAP-TLS</li>
52 <li>EAP-TTLS/MSCHAP</li>
53 <li>EAP-TTLS/PAP</li>
54 <li>EAP-TTLS/CHAP</li>
55 <li>EAP-SIM</li>
56 <li>EAP-AKA</li>
57 <li>EAP-AKA'</li>
58 <li>EAP-PAX</li>
59 <li>EAP-PSK</li>
60 <li>EAP-SAKE</li>
61 <li>EAP-FAST</li>
62 <li>EAP-IKEv2</li>
63 <li>EAP-GPSK</li>
64 </ul>
65
66 <p>Following methods are also supported, but since they do not generate keying
67 material, they cannot be used with WPA or IEEE 802.1X WEP keying.</p>
68
69 <ul>
70 <li>EAP-MD5-Challenge</li>
71 <li>EAP-MSCHAPv2</li>
72 <li>EAP-GTC</li>
73 <li>EAP-TNC (Trusted Network Connect; TNCS, IF-IMV, IF-T, IF-TNCCS)</li>
74 </ul>
75
76 <p>More information about EAP methods and interoperability testing is
77 available in <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/eap_testing.txt">eap_testing.txt</a>.</p>
78
79
80 <h4>Supported wireless cards/drivers</h4>
81
82 <ul>
83 <li><a href="http://hostap.epitest.fi/">Host AP driver for Prism2/2.5/3</a></li>
84 <li><a href="http://sourceforge.net/projects/madwifi/">madwifi (Atheros ar521x)</a></li>
85 <li><a href="http://www.prism54.org/">Prism54.org (Prism GT/Duette/Indigo)</a></li>
86 <li>BSD net80211 layer (e.g., Atheros driver) (FreeBSD 6-CURRENT)</li>
87 </ul>
88
89 <h3><a name="download">Download</a></h3>
90
91 <p>
92 <b>hostapd</b><br>
93 Copyright (c) 2002-2009, Jouni Malinen &lt;j@w1.fi&gt;
94 and contributors.
95 </p>
96
97 <p>
98 This program is free software; you can redistribute it and/or modify
99 it under the terms of the GNU General Public License version 2 as
100 published by the Free Software Foundation. See
101 <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=COPYING">COPYING</a>
102 for more details.
103 </p>
104
105 <p>Alternatively, this software may be distributed, used, and modified
106 under the terms of BSD license. See <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/README">README</a>
107 for more details.</p>
108
109 <p>
110 <b>Please see
111 <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/README">README</a>
112 for the current documentation.</b></p>
113
114
115 <ul>
116 <li><a href="../releases.html">Release graph</a></li>
117 <li>Latest stable release:
118 <ul>
119 <li><a href="../releases/hostapd-0.5.11.tar.gz">hostapd-0.5.11.tar.gz</a></li>
120 </ul>
121 <li>Older stable release:
122 <ul>
123 <li><a href="../releases/hostapd-0.4.11.tar.gz">hostapd-0.4.11.tar.gz</a></li>
124 </ul>
125 <li>Older stable release:
126 <ul>
127 <li><a href="../releases/hostapd-0.3.11.tar.gz">hostapd-0.3.11.tar.gz</a></li>
128 </ul>
129 <li>Obsolete stable release<BR>
130 (note: 0.2.x branch is not supported anymore - please upgrade to 0.4.x or 0.5.x):
131 <ul>
132 <li><a href="../releases/hostapd-0.2.8.tar.gz">hostapd-0.2.8.tar.gz</a></li>
133 </ul>
134 <li>Latest development release:
135 <ul>
136 <li><a href="../releases/hostapd-0.6.7.tar.gz">hostapd-0.6.7.tar.gz</a></li>
137 </ul>
138 <li>ChangeLog:
139 <ul>
140 <li><a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/ChangeLog">development branch</a></li>
141 <li><a href="/cgi-bin/viewcvs.cgi/*checkout*/hostap/hostapd/ChangeLog?rev=stable&amp;content-type=text/plain">stable branch</a>
142 </ul>
143 <li><a href="../releases/">Old releases</a></li>
144 <li><a href="http://lists.shmoo.com/mailman/listinfo/hostap">Mailing list</a></li>
145 <li><a href="http://lists.shmoo.com/pipermail/hostap/">New mailing list archives</a></li>
146 <li><a href="/gitweb/gitweb.cgi">Web interface to GIT repository (0.6.x and newer)</a></li>
147 <li><a href="/cgi-bin/viewcvs.cgi/hostap/">Web interface to CVS repository (0.5.x and older)</a></li>
148 <li><a href="../releases/snapshots/">Snapshot releases from all active branches</a>
149 <li><a href="../cvs.html">GIT and read-only anonymous CVS access (pserver)</a></li>
150 <li><a href="../bugz/">Bug and feature request tracking</a></li>
151 <li><a href="devel/">Developers' documentation for hostapd</a></li>
152 </ul>
153
154 <h3>WPA</h3>
155
156 <p>The original security mechanism of IEEE 802.11 standard was not
157 designed to be strong and has proven to be insufficient for most
158 networks that require some kind of security. Task group I (Security)
159 of <a href="http://www.ieee802.org/11/">IEEE 802.11 working group</a>
160 has worked to address the flaws of the base standard and in
161 practice completed its work in May 2004. The IEEE 802.11i amendment to
162 the IEEE 802.11 standard was approved in June 2004 and published in
163 July 2004.</p>
164
165 <p><a href="http://www.wi-fi.org/">Wi-Fi Alliance</a> used a draft
166 version of the IEEE 802.11i work (draft 3.0) to define a subset of the
167 security enhancements that can be implemented with existing wlan
168 hardware. This is called Wi-Fi Protected Access (WPA). This has
169 now become a mandatory component of interoperability testing and
170 certification done by Wi-Fi Alliance. Wi-Fi has
171 <a href="http://www.wi-fi.org/OpenSection/protected_access.asp">information
172 about WPA</a> at its web site.</p>
173
174 <p>IEEE 802.11 standard defined wired equivalent privacy (WEP) algorithm
175 for protecting wireless networks. WEP uses RC4 with 40-bit keys,
176 24-bit initialization vector (IV), and CRC32 to protect against packet
177 forgery. All these choices have proven to be insufficient: key space is
178 too small against current attacks, RC4 key scheduling is insufficient
179 (beginning of the pseudorandom stream should be skipped), IV space is
180 too small and IV reuse makes attacks easier, there is no replay
181 protection, and non-keyed authentication does not protect against bit
182 flipping packet data.</p>
183
184 <p>WPA is an intermediate solution for the security issues. It uses
185 Temporal Key Integrity Protocol (TKIP) to replace WEP. TKIP is a
186 compromise on strong security and possibility to use existing
187 hardware. It still uses RC4 for the encryption like WEP, but with
188 per-packet RC4 keys. In addition, it implements replay protection,
189 keyed packet authentication mechanism (Michael MIC).</p>
190
191 <p>Keys can be managed using two different mechanisms. WPA can either use
192 an external authentication server (e.g., RADIUS) and EAP just like
193 IEEE 802.1X is using or pre-shared keys without need for additional
194 servers. Wi-Fi calls these "WPA-Enterprise" and "WPA-Personal",
195 respectively. Both mechanisms will generate a master session key for
196 the Authenticator (AP) and Supplicant (client station).</p>
197
198 <p>WPA implements a new key handshake (4-Way Handshake and Group Key
199 Handshake) for generating and exchanging data encryption keys between
200 the Authenticator and Supplicant. This handshake is also used to
201 verify that both Authenticator and Supplicant know the master session
202 key. These handshakes are identical regardless of the selected key
203 management mechanism (only the method for generating master session
204 key changes).</p>
205
206
207 <h3>IEEE 802.11i / RSN / WPA2</h3>
208
209 <p>The design for parts of IEEE 802.11i that were not included in WPA
210 has finished (May 2004) and this amendment to IEEE 802.11 was approved
211 in June 2004. Wi-Fi Alliance is using the final IEEE 802.11i as a new
212 version of WPA called WPA2. This included, e.g., support for more
213 robust encryption algorithm (CCMP: AES in Counter mode with CBC-MAC)
214 to replace TKIP, optimizations for handoff (reduced number of messages
215 in initial key handshake, pre-authentication, and PMKSA caching).</p>
216
217 <h4>Configuration file</h4>
218
219 <p>hostapd is configured using a text file that lists all the configuration
220 parameters. See an example configuration file,
221 <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/hostapd.conf">hostapd.conf</a>,
222 for detailed information about the configuration format and supported
223 fields.</p>
224
225 <h3>Feedback, comments, mailing list</h3>
226
227 <p>
228 Any comments, reports on success/failure, ideas for further
229 improvement, feature requests, etc. are welcome at j@w1.fi.
230 Please note, that I often receive more email than I have time to answer.
231 Unfortunately, some messages may not get a reply, but I'll try to go
232 through my mail whenever time permits.
233 </p>
234
235 <p>
236 Host AP mailing list can also be used for topics related to
237 hostapd. Since this list has a broader audience, your likelyhood of
238 getting responses is higher. This list is recommended for general
239 questions about hostapd and its development. In addition, I
240 will send release notes to it whenever a new version is available.
241 </p>
242
243 <p>
244 The mailing list information and web archive is at <a
245 href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a>.
246 Messages to hostap@shmoo.com will be delivered to the
247 subscribers. Please note, that due to large number of spam and virus
248 messages sent to the list address, the list is configured to accept
249 messages only from subscribed addresses. Messages from unsubscribed addresses
250 may be accepted manually, but their delivery will be delayed.
251 </p>
252
253 <p>
254 If you want to make sure your bug report of feature request does not
255 get lost, please report it through the bug tracking system as
256 <a href="../bugz/enter_bug.cgi">a new
257 bug/feature request</a>.
258 </p>
259
260     <hr>
261     <div>
262     <address><a href="mailto:j@w1.fi">Jouni Malinen</a></address>
263 <!-- Created: Sun Jan  2 17:20:17 PST 2005 -->
264 <!-- hhmts start -->
265 Last modified: Tue Jan  6 20:05:09 EET 2009
266 <!-- hhmts end -->
267     </div>
268   </body>
269 </html>