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