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