4 * added peer identity into EAP-FAST PAC-Opaque and skip Phase 2
5 Identity Request if identity is already known
6 * added support for EAP Sequences in EAP-FAST Phase 2
7 * added support for EAP-TNC (Trusted Network Connect)
8 (this version implements the EAP-TNC method and EAP-TTLS/EAP-FAST
9 changes needed to run two methods in sequence (IF-T) and the IF-IMV
10 and IF-TNCCS interfaces from TNCS)
11 * added support for optional cryptobinding with PEAPv0
12 * added fragmentation support for EAP-TNC
13 * added support for fragmenting EAP-TTLS/PEAP/FAST Phase 2 (tunneled)
17 * fixed Reassociation Response callback processing when using internal
18 MLME (driver_{hostap,nl80211,test}.c)
19 * updated FT support to use the latest draft, IEEE 802.11r/D9.0
20 * copy optional Proxy-State attributes into RADIUS response when acting
21 as a RADIUS authentication server
22 * fixed EAPOL state machine to handle a case in which no response is
23 received from the RADIUS authentication server; previous version
24 could have triggered a crash in some cases after a timeout
25 * fixed EAP-SIM/AKA realm processing to allow decorated usernames to
27 * added a workaround for EAP-SIM/AKA peers that include incorrect null
28 termination in the username
29 * fixed EAP-SIM/AKA protected result indication to include AT_COUNTER
30 attribute in notification messages only when using fast
32 * fixed EAP-SIM Start response processing for fast reauthentication
34 * added support for pending EAP processing in EAP-{PEAP,TTLS,FAST}
35 phase 2 to allow EAP-SIM and EAP-AKA to be used as the Phase 2 method
38 * fixed EAP-SIM and EAP-AKA message parser to validate attribute
39 lengths properly to avoid potential crash caused by invalid messages
40 * added data structure for storing allocated buffers (struct wpabuf);
41 this does not affect hostapd usage, but many of the APIs changed
42 and various interfaces (e.g., EAP) is not compatible with old
44 * added support for protecting EAP-AKA/Identity messages with
45 AT_CHECKCODE (optional feature in RFC 4187)
46 * added support for protected result indication with AT_RESULT_IND for
47 EAP-SIM and EAP-AKA (eap_sim_aka_result_ind=1)
48 * added support for configuring EAP-TTLS phase 2 non-EAP methods in
49 EAP server configuration; previously all four were enabled for every
50 phase 2 user, now all four are disabled by default and need to be
51 enabled with new method names TTLS-PAP, TTLS-CHAP, TTLS-MSCHAP,
53 * removed old debug printing mechanism and the related 'debug'
54 parameter in the configuration file; debug verbosity is now set with
55 -d (or -dd) command line arguments
56 * added support for EAP-IKEv2 (draft-tschofenig-eap-ikev2-15.txt);
57 only shared key/password authentication is supported in this version
60 * added experimental, integrated TLSv1 server implementation with the
61 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
62 setting CONFIG_TLS=internal and CONFIG_INTERNAL_LIBTOMMATH=y in
63 .config); this can be useful, e.g., if the target system does not
64 have a suitable TLS library and a minimal code size is required
65 * added support for EAP-FAST server method to the integrated EAP
67 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
68 draft (draft-ietf-emu-eap-gpsk-07.txt)
69 * added a new configuration parameter, rsn_pairwise, to allow different
70 pairwise cipher suites to be enabled for WPA and RSN/WPA2
71 (note: if wpa_pairwise differs from rsn_pairwise, the driver will
72 either need to support this or will have to use the WPA/RSN IEs from
73 hostapd; currently, the included madwifi and bsd driver interfaces do
74 not have support for this)
75 * updated FT support to use the latest draft, IEEE 802.11r/D8.0
78 * added experimental IEEE 802.11r/D6.0 support
79 * updated EAP-SAKE to RFC 4763 and the IANA-allocated EAP type 48
80 * updated EAP-PSK to use the IANA-allocated EAP type 47
81 * fixed EAP-PSK bit ordering of the Flags field
82 * fixed configuration reloading (SIGHUP) to re-initialize WPA PSKs
83 by reading wpa_psk_file [Bug 181]
84 * fixed EAP-TTLS AVP parser processing for too short AVP lengths
85 * fixed IPv6 connection to RADIUS accounting server
86 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
87 draft (draft-ietf-emu-eap-gpsk-04.txt)
88 * hlr_auc_gw: read GSM triplet file into memory and rotate through the
89 entries instead of only using the same three triplets every time
90 (this does not work properly with tests using multiple clients, but
91 provides bit better triplet data for testing a single client; anyway,
92 if a better quality triplets are needed, GSM-Milenage should be used
93 instead of hardcoded triplet file)
94 * fixed EAP-MSCHAPv2 server to use a space between S and M parameters
95 in Success Request [Bug 203]
96 * added support for sending EAP-AKA Notifications in error cases
97 * updated to use IEEE 802.11w/D2.0 for management frame protection
99 * RADIUS server: added support for processing duplicate messages
100 (retransmissions from RADIUS client) by replying with the previous
104 * added support for configuring and controlling multiple BSSes per
105 radio interface (bss=<ifname> in hostapd.conf); this is only
106 available with Devicescape and test driver interfaces
107 * fixed PMKSA cache update in the end of successful RSN
109 * added support for dynamic VLAN configuration (i.e., selecting VLAN-ID
110 for each STA based on RADIUS Access-Accept attributes); this requires
111 VLAN support from the kernel driver/802.11 stack and this is
112 currently only available with Devicescape and test driver interfaces
113 * driver_madwifi: fixed configuration of unencrypted modes (plaintext
114 and IEEE 802.1X without WEP)
115 * removed STAKey handshake since PeerKey handshake has replaced it in
116 IEEE 802.11ma and there are no known deployments of STAKey
117 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
118 draft (draft-ietf-emu-eap-gpsk-01.txt)
119 * added preliminary implementation of IEEE 802.11w/D1.0 (management
121 (Note: this requires driver support to work properly.)
122 (Note2: IEEE 802.11w is an unapproved draft and subject to change.)
123 * hlr_auc_gw: added support for GSM-Milenage (for EAP-SIM)
124 * hlr_auc_gw: added support for reading per-IMSI Milenage keys and
125 parameters from a text file to make it possible to implement proper
126 GSM/UMTS authentication server for multiple SIM/USIM cards using
128 * fixed session timeout processing with drivers that do not use
129 ieee802_11.c (e.g., madwifi)
132 * added 'hostapd_cli new_sta <addr>' command for adding a new STA into
133 hostapd (e.g., to initialize wired network authentication based on an
135 * fixed hostapd to add PMKID KDE into 4-Way Handshake Message 1 when
136 using WPA2 even if PMKSA caching is not used
137 * added -P<pid file> argument for hostapd to write the current process
139 * added support for RADIUS Authentication Server MIB (RFC 2619)
142 * fixed nt_password_hash build [Bug 144]
143 * added PeerKey handshake implementation for IEEE 802.11e
144 direct link setup (DLS) to replace STAKey handshake
145 * added support for EAP Generalized Pre-Shared Key (EAP-GPSK,
146 draft-clancy-emu-eap-shared-secret-00.txt)
147 * fixed a segmentation fault when RSN pre-authentication was completed
148 successfully [Bug 152]
151 * do not build nt_password_hash and hlr_auc_gw by default to avoid
152 requiring a TLS library for a successful build; these programs can be
153 build with 'make nt_password_hash' and 'make hlr_auc_gw'
154 * added a new configuration option, eapol_version, that can be used to
155 set EAPOL version to 1 (default is 2) to work around broken client
156 implementations that drop EAPOL frames which use version number 2
158 * added support for EAP-SAKE (no EAP method number allocated yet, so
159 this is using the same experimental type 255 as EAP-PSK)
160 * fixed EAP-MSCHAPv2 message length validation
163 * fixed stdarg use in hostapd_logger(): if both stdout and syslog
164 logging was enabled, hostapd could trigger a segmentation fault in
165 vsyslog on some CPU -- C library combinations
166 * moved HLR/AuC gateway implementation for EAP-SIM/AKA into an external
167 program to make it easier to use for implementing real SS7 gateway;
168 eap_sim_db is not anymore used as a file name for GSM authentication
169 triplets; instead, it is path to UNIX domain socket that will be used
170 to communicate with the external gateway program (e.g., hlr_auc_gw)
171 * added example HLR/AuC gateway implementation, hlr_auc_gw, that uses
172 local information (GSM authentication triplets from a text file and
173 hardcoded AKA authentication data); this can be used to test EAP-SIM
175 * added Milenage algorithm (example 3GPP AKA algorithm) to hlr_auc_gw
176 to make it possible to test EAP-AKA with real USIM cards (this is
177 disabled by default; define AKA_USE_MILENAGE when building hlr_auc_gw
179 * driver_madwifi: added support for getting station RSN IE from
180 madwifi-ng svn r1453 and newer; this fixes RSN that was apparently
181 broken with earlier change (r1357) in the driver
182 * changed EAP method registration to use a dynamic list of methods
183 instead of a static list generated at build time
184 * fixed WPA message 3/4 not to encrypt Key Data field (WPA IE)
186 * added ap_max_inactivity configuration parameter
189 * driver_test: added better support for multiple APs and STAs by using
190 a directory with sockets that include MAC address for each device in
191 the name (test_socket=DIR:/tmp/test)
192 * added support for EAP expanded type (vendor specific EAP methods)
194 2005-12-18 - v0.5.0 (beginning of 0.5.x development releases)
195 * added experimental STAKey handshake implementation for IEEE 802.11e
196 direct link setup (DLS); note: this is disabled by default in both
197 build and runtime configuration (can be enabled with CONFIG_STAKEY=y
199 * added support for EAP methods to use callbacks to external programs
200 by buffering a pending request and processing it after the EAP method
202 * improved EAP-SIM database interface to allow external request to GSM
203 HLR/AuC without blocking hostapd process
204 * added support for using EAP-SIM pseudonyms and fast re-authentication
205 * added support for EAP-AKA in the integrated EAP authenticator
206 * added support for matching EAP identity prefixes (e.g., "1"*) in EAP
207 user database to allow EAP-SIM/AKA selection without extra roundtrip
208 for EAP-Nak negotiation
209 * added support for storing EAP user password as NtPasswordHash instead
210 of plaintext password when using MSCHAP or MSCHAPv2 for
211 authentication (hash:<16-octet hex value>); added nt_password_hash
212 tool for hashing password to generate NtPasswordHash
214 2005-11-20 - v0.4.7 (beginning of 0.4.x stable releases)
215 * driver_wired: fixed EAPOL sending to optionally use PAE group address
216 as the destination instead of supplicant MAC address; this is
217 disabled by default, but should be enabled with use_pae_group_addr=1
218 in configuration file if the wired interface is used by only one
219 device at the time (common switch configuration)
220 * driver_madwifi: configure driver to use TKIP countermeasures in order
221 to get correct behavior (IEEE 802.11 association failing; previously,
222 association succeeded, but hostpad forced disassociation immediately)
223 * driver_madwifi: added support for madwifi-ng
226 * added support for replacing user identity from EAP with RADIUS
227 User-Name attribute from Access-Accept message, if that is included,
228 for the RADIUS accounting messages (e.g., for EAP-PEAP/TTLS to get
229 tunneled identity into accounting messages when the RADIUS server
230 does not support better way of doing this with Class attribute)
231 * driver_madwifi: fixed EAPOL packet receive for configuration where
232 ath# is part of a bridge interface
233 * added a configuration file and log analyzer script for logwatch
234 * fixed EAPOL state machine step function to process all state
235 transitions before processing new events; this resolves a race
236 condition in which EAPOL-Start message could trigger hostapd to send
237 two EAP-Response/Identity frames to the authentication server
240 * added client CA list to the TLS certificate request in order to make
241 it easier for the client to select which certificate to use
242 * added experimental support for EAP-PSK
243 * added support for WE-19 (hostap, madwifi)
246 * fixed build without CONFIG_RSN_PREAUTH
247 * fixed FreeBSD build
250 * fixed PMKSA caching to copy User-Name and Class attributes so that
251 RADIUS accounting gets correct information
252 * start RADIUS accounting only after successful completion of WPA
253 4-Way Handshake if WPA-PSK is used
254 * fixed PMKSA caching for the case where STA (re)associates without
258 * EAP-PAX is now registered as EAP type 46
259 * fixed EAP-PAX MAC calculation
260 * fixed EAP-PAX CK and ICK key derivation
261 * renamed eap_authenticator configuration variable to eap_server to
262 better match with RFC 3748 (EAP) terminology
263 * driver_test: added support for testing hostapd with wpa_supplicant
264 by using test driver interface without any kernel drivers or network
268 * fixed RADIUS server initialization when only auth or acct server
269 is configured and the other one is left empty
270 * driver_madwifi: added support for RADIUS accounting
271 * driver_madwifi: added preliminary support for compiling against 'BSD'
272 branch of madwifi CVS tree
273 * driver_madwifi: fixed pairwise key removal to allow WPA reauth
274 without disassociation
275 * added support for reading additional certificates from PKCS#12 files
276 and adding them to the certificate chain
277 * fixed RADIUS Class attribute processing to only use Access-Accept
278 packets to update Class; previously, other RADIUS authentication
279 packets could have cleared Class attribute
280 * added support for more than one Class attribute in RADIUS packets
281 * added support for verifying certificate revocation list (CRL) when
282 using integrated EAP authenticator for EAP-TLS; new hostapd.conf
283 options 'check_crl'; CRL must be included in the ca_cert file for now
285 2005-04-25 - v0.4.0 (beginning of 0.4.x development releases)
286 * added support for including network information into
287 EAP-Request/Identity message (ASCII-0 (nul) in eap_message)
288 (e.g., to implement draft-adrange-eap-network-discovery-07.txt)
289 * fixed a bug which caused some RSN pre-authentication cases to use
290 freed memory and potentially crash hostapd
291 * fixed private key loading for cases where passphrase is not set
292 * added support for sending TLS alerts and aborting authentication
293 when receiving a TLS alert
294 * fixed WPA2 to add PMKSA cache entry when using integrated EAP
296 * fixed PMKSA caching (EAP authentication was not skipped correctly
297 with the new state machine changes from IEEE 802.1X draft)
298 * added support for RADIUS over IPv6; own_ip_addr, auth_server_addr,
299 and acct_server_addr can now be IPv6 addresses (CONFIG_IPV6=y needs
300 to be added to .config to include IPv6 support); for RADIUS server,
301 radius_server_ipv6=1 needs to be set in hostapd.conf and addresses
302 in RADIUS clients file can then use IPv6 format
303 * added experimental support for EAP-PAX
304 * replaced hostapd control interface library (hostapd_ctrl.[ch]) with
305 the same implementation that wpa_supplicant is using (wpa_ctrl.[ch])
307 2005-02-12 - v0.3.7 (beginning of 0.3.x stable releases)
310 * added support for configuring a forced PEAP version based on the
312 * fixed PEAPv1 to use tunneled EAP-Success/Failure instead of EAP-TLV
313 to terminate authentication
314 * fixed EAP identifier duplicate processing with the new IEEE 802.1X
316 * clear accounting data in the driver when starting a new accounting
318 * driver_madwifi: filter wireless events based on ifindex to allow more
319 than one network interface to be used
320 * fixed WPA message 2/4 processing not to cancel timeout for TimeoutEvt
321 setting if the packet does not pass MIC verification (e.g., due to
322 incorrect PSK); previously, message 1/4 was not tried again if an
323 invalid message 2/4 was received
324 * fixed reconfiguration of RADIUS client retransmission timer when
325 adding a new message to the pending list; previously, timer was not
326 updated at this point and if there was a pending message with long
327 time for the next retry, the new message needed to wait that long for
331 * added support for configuring multiple allowed EAP types for Phase 2
332 authentication (EAP-PEAP, EAP-TTLS)
333 * fixed EAPOL-Start processing to trigger WPA reauthentication
334 (previously, only EAPOL authentication was done)
337 * added support for EAP-PEAP in the integrated EAP authenticator
338 * added support for EAP-GTC in the integrated EAP authenticator
339 * added support for configuring list of EAP methods for Phase 1 so that
340 the integrated EAP authenticator can, e.g., use the wildcard entry
341 for EAP-TLS and EAP-PEAP
342 * added support for EAP-TTLS in the integrated EAP authenticator
343 * added support for EAP-SIM in the integrated EAP authenticator
344 * added support for using hostapd as a RADIUS authentication server
345 with the integrated EAP authenticator taking care of EAP
346 authentication (new hostapd.conf options: radius_server_clients and
347 radius_server_auth_port); this is not included in default build; use
348 CONFIG_RADIUS_SERVER=y in .config to include
351 * removed 'daemonize' configuration file option since it has not really
352 been used at all for more than year
353 * driver_madwifi: fixed group key setup and added get_ssid method
354 * added support for EAP-MSCHAPv2 in the integrated EAP authenticator
357 * added support for integrated EAP-TLS authentication (new hostapd.conf
358 variables: ca_cert, server_cert, private_key, private_key_passwd);
359 this enabled dynamic keying (WPA2/WPA/IEEE 802.1X/WEP) without
360 external RADIUS server
361 * added support for reading PKCS#12 (PFX) files (as a replacement for
362 PEM/DER) to get certificate and private key (CONFIG_PKCS12)
364 2004-12-05 - v0.3.0 (beginning of 0.3.x development releases)
365 * added support for Acct-{Input,Output}-Gigawords
366 * added support for Event-Timestamp (in RADIUS Accounting-Requests)
367 * added support for RADIUS Authentication Client MIB (RFC2618)
368 * added support for RADIUS Accounting Client MIB (RFC2620)
369 * made EAP re-authentication period configurable (eap_reauth_period)
370 * fixed EAPOL reauthentication to trigger WPA/WPA2 reauthentication
371 * fixed EAPOL state machine to stop if STA is removed during
372 eapol_sm_step(); this fixes at least one segfault triggering bug with
373 IEEE 802.11i pre-authentication
374 * added support for multiple WPA pre-shared keys (e.g., one for each
375 client MAC address or keys shared by a group of clients);
376 new hostapd.conf field wpa_psk_file for setting path to a text file
377 containing PSKs, see hostapd.wpa_psk for an example
378 * added support for multiple driver interfaces to allow hostapd to be
379 used with other drivers
380 * added wired authenticator driver interface (driver=wired in
381 hostapd.conf, see wired.conf for example configuration)
382 * added madwifi driver interface (driver=madwifi in hostapd.conf, see
383 madwifi.conf for example configuration; Note: include files from
384 madwifi project is needed for building and a configuration file,
385 .config, needs to be created in hostapd directory with
386 CONFIG_DRIVER_MADWIFI=y to include this driver interface in hostapd
388 * fixed an alignment issue that could cause SHA-1 to fail on some
389 platforms (e.g., Intel ixp425 with a compiler that does not 32-bit
391 * fixed RADIUS reconnection after an error in sending interim
393 * added hostapd control interface for external programs and an example
394 CLI, hostapd_cli (like wpa_cli for wpa_supplicant)
395 * started adding dot11, dot1x, radius MIBs ('hostapd_cli mib',
396 'hostapd_cli sta <addr>')
397 * finished update from IEEE 802.1X-2001 to IEEE 802.1X-REV (now d11)
398 * added support for strict GTK rekeying (wpa_strict_rekey in
400 * updated IAPP to use UDP port 3517 and multicast address 224.0.1.178
401 (instead of broadcast) for IAPP ADD-notify (moved from draft 3 to
403 * added Prism54 driver interface (driver=prism54 in hostapd.conf;
404 note: .config needs to be created in hostapd directory with
405 CONFIG_DRIVER_PRISM54=y to include this driver interface in hostapd
407 * dual-licensed hostapd (GPLv2 and BSD licenses)
408 * fixed RADIUS accounting to generate a new session id for cases where
409 a station reassociates without first being complete deauthenticated
410 * fixed STA disassociation handler to mark next timeout state to
411 deauthenticate the station, i.e., skip long wait for inactivity poll
412 and extra disassociation, if the STA disassociates without
414 * added integrated EAP authenticator that can be used instead of
415 external RADIUS authentication server; currently, only EAP-MD5 is
416 supported, so this cannot yet be used for key distribution; the EAP
417 method interface is generic, though, so adding new EAP methods should
418 be straightforward; new hostapd.conf variables: 'eap_authenticator'
419 and 'eap_user_file'; this obsoletes "minimal authentication server"
420 ('minimal_eap' in hostapd.conf) which is now removed
421 * added support for FreeBSD and driver interface for the BSD net80211
422 layer (driver=bsd in hostapd.conf and CONFIG_DRIVER_BSD=y in
423 .config); please note that some of the required kernel mods have not
426 2004-07-17 - v0.2.4 (beginning of 0.2.x stable releases)
427 * fixed some accounting cases where Accounting-Start was sent when
428 IEEE 802.1X port was being deauthorized
431 * modified RADIUS client to re-connect the socket in case of certain
432 error codes that are generated when a network interface state is
433 changes (e.g., when IP address changes or the interface is set UP)
434 * fixed couple of cases where EAPOL state for a station was freed
435 twice causing a segfault for hostapd
436 * fixed couple of bugs in processing WPA deauthentication (freed data
440 * fixed WPA/WPA2 group rekeying to use key index correctly (GN/GM)
441 * fixed group rekeying to send zero TSC in EAPOL-Key messages to fix
442 cases where STAs dropped multicast frames as replay attacks
443 * added support for copying RADIUS Attribute 'Class' from
444 authentication messages into accounting messages
445 * send canned EAP failure if RADIUS server sends Access-Reject without
446 EAP message (previously, Supplicant was not notified in this case)
447 * fixed mixed WPA-PSK and WPA-EAP mode to work with WPA-PSK (i.e., do
448 not start EAPOL state machines if the STA selected to use WPA-PSK)
451 * added WPA and IEEE 802.11i/RSN (WPA2) Authenticator functionality
452 - based on IEEE 802.11i/D10.0 but modified to interoperate with WPA
453 (i.e., IEEE 802.11i/D3.0)
454 - supports WPA-only, RSN-only, and mixed WPA/RSN mode
455 - both WPA-PSK and WPA-RADIUS/EAP are supported
456 - PMKSA caching and pre-authentication
457 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,
458 wpa_key_mgmt, wpa_pairwise, wpa_group_rekey, wpa_gmk_rekey,
459 rsn_preauth, rsn_preauth_interfaces
460 * fixed interim accounting to remove any pending accounting messages
461 to the STA before sending a new one
464 * added support for Acct-Interim-Interval:
465 - draft-ietf-radius-acct-interim-01.txt
466 - use Acct-Interim-Interval attribute from Access-Accept if local
467 'radius_acct_interim_interval' is not set
468 - allow different update intervals for each STA
469 * fixed event loop to call signal handlers only after returning from
470 the real signal handler
471 * reset sta->timeout_next after successful association to make sure
472 that the previously registered inactivity timer will not remove the
473 STA immediately (e.g., if STA deauthenticates and re-associates
474 before the timer is triggered).
475 * added new hostapd.conf variable, nas_identifier, that can be used to
476 add an optional RADIUS Attribute, NAS-Identifier, into authentication
477 and accounting messages
478 * added support for Accounting-On and Accounting-Off messages
479 * fixed accounting session handling to send Accounting-Start only once
480 per session and not to send Accounting-Stop if the session was not
482 * fixed Accounting-Stop statistics in cases where the message was
483 previously sent after the kernel entry for the STA (and/or IEEE
484 802.1X data) was removed
489 Older changes up to and including v0.1.0 are included in the ChangeLog
490 of the Host AP driver.