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