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