Merge branch 'vendor/OPENSSL'
[dragonfly.git] / contrib / hostapd / hostapd / ChangeLog
1 ChangeLog for hostapd
2
3 2014-02-04 - v2.1
4         * added support for simultaneous authentication of equals (SAE) for
5           stronger password-based authentication with WPA2-Personal
6         * added nl80211 functionality
7           - VHT configuration for nl80211
8           - support split wiphy dump
9           - driver-based MAC ACL
10           - QoS Mapping configuration
11         * added fully automated regression testing with mac80211_hwsim
12         * allow ctrl_iface group to be specified on command line (-G<group>)
13         * allow single hostapd process to control independent WPS interfaces
14           (wps_independent=1) instead of synchronized operations through all
15           configured interfaces within a process
16         * avoid processing received management frames multiple times when using
17           nl80211 with multiple BSSes
18         * added support for DFS (processing radar detection events, CAC, channel
19           re-selection)
20         * added EAP-EKE server
21         * added automatic channel selection (ACS)
22         * added option for using per-BSS (vif) configuration files with
23           -b<phyname>:<config file name>
24         * extended global control interface ADD/REMOVE commands to allow BSSes
25           of a radio to be removed individually without having to add/remove all
26           other BSSes of the radio at the same time
27         * added support for sending debug info to Linux tracing (-T on command
28           line)
29         * replace dump_file functionality with same information being available
30           through the hostapd control interface
31         * added support for using Protected Dual of Public Action frames for
32           GAS/ANQP exchanges when PMF is enabled
33         * added support for WPS+NFC updates
34           - improved protocol
35           - option to fetch and report alternative carrier records for external
36             NFC operations
37         * various bug fixes
38
39 2013-01-12 - v2.0
40         * added AP-STA-DISCONNECTED ctrl_iface event
41         * improved debug logging (human readable event names, interface name
42           included in more entries)
43         * added number of small changes to make it easier for static analyzers
44           to understand the implementation
45         * added a workaround for Windows 7 Michael MIC failure reporting and
46           use of the Secure bit in EAPOL-Key msg 3/4
47         * fixed number of small bugs (see git logs for more details)
48         * changed OpenSSL to read full certificate chain from server_cert file
49         * nl80211: number of updates to use new cfg80211/nl80211 functionality
50           - replace monitor interface with nl80211 commands
51           - additional information for driver-based AP SME
52         * EAP-pwd:
53           - fix KDF for group 21 and zero-padding
54           - added support for fragmentation
55           - increased maximum number of hunting-and-pecking iterations
56         * avoid excessive Probe Response retries for broadcast Probe Request
57           frames (only with drivers using hostapd SME/MLME)
58         * added preliminary support for using TLS v1.2 (CONFIG_TLSV12=y)
59         * fixed WPS operation stopping on dual concurrent AP
60         * added wps_rf_bands configuration parameter for overriding RF Bands
61           value for WPS
62         * added support for getting per-device PSK from RADIUS Tunnel-Password
63         * added support for libnl 3.2 and newer
64         * increased initial group key handshake retransmit timeout to 500 ms
65         * added a workaround for 4-way handshake to update SNonce even after
66           having sent EAPOL-Key 3/4 to avoid issues with some supplicant
67           implementations that can change SNonce for each EAP-Key 2/4
68         * added a workaround for EAPOL-Key 4/4 using incorrect type value in
69           WPA2 mode (some deployed stations use WPA type in that message)
70         * added a WPS workaround for mixed mode AP Settings with Windows 7
71         * changed WPS AP PIN disabling mechanism to disable the PIN after 10
72           consecutive failures in addition to using the exponential lockout
73           period
74         * added support for WFA Hotspot 2.0
75           - GAS/ANQP advertisement of network information
76           - disable_dgaf parameter to disable downstream group-addressed
77             forwarding
78         * simplified licensing terms by selecting the BSD license as the only
79           alternative
80         * EAP-SIM: fixed re-authentication not to update pseudonym
81         * EAP-SIM: use Notification round before EAP-Failure
82         * EAP-AKA: added support for AT_COUNTER_TOO_SMALL
83         * EAP-AKA: skip AKA/Identity exchange if EAP identity is recognized
84         * EAP-AKA': fixed identity for MK derivation
85         * EAP-AKA': updated to RFC 5448 (username prefixes changed); note: this
86           breaks interoperability with older versions
87         * EAP-SIM/AKA: allow pseudonym to be used after unknown reauth id
88         * changed ANonce to be a random number instead of Counter-based
89         * added support for canceling WPS operations with hostapd_cli wps_cancel
90         * fixed EAP/WPS to PSK transition on reassociation in cases where
91           deauthentication is missed
92         * hlr_auc_gw enhancements:
93           - a new command line parameter -u can be used to enable updating of
94             SQN in Milenage file
95           - use 5 bit IND for SQN updates
96           - SQLite database can now be used to store Milenage information
97         * EAP-SIM/AKA DB: added optional use of SQLite database for pseudonyms
98           and reauth data
99         * added support for Chargeable-User-Identity (RFC 4372)
100         * added radius_auth_req_attr and radius_acct_req_attr configuration
101           parameters to allow adding/overriding of RADIUS attributes in
102           Access-Request and Accounting-Request packets
103         * added support for RADIUS dynamic authorization server (RFC 5176)
104         * added initial support for WNM operations
105           - BSS max idle period
106           - WNM-Sleep Mode
107         * added new WPS NFC ctrl_iface mechanism
108           - removed obsoleted WPS_OOB command (including support for deprecated
109             UFD config_method)
110         * added FT support for drivers that implement MLME internally
111         * added SA Query support for drivers that implement MLME internally
112         * removed default ACM=1 from AC_VO and AC_VI
113         * changed VENDOR-TEST EAP method to use proper private enterprise number
114           (this will not interoperate with older versions)
115         * added hostapd.conf parameter vendor_elements to allow arbitrary vendor
116           specific elements to be added to the Beacon and Probe Response frames
117         * added support for configuring GCMP cipher for IEEE 802.11ad
118         * added support for 256-bit AES with internal TLS implementation
119         * changed EAPOL transmission to use AC_VO if WMM is active
120         * fixed EAP-TLS/PEAP/TTLS/FAST server to validate TLS Message Length
121           correctly; invalid messages could have caused the hostapd process to
122           terminate before this fix [CVE-2012-4445]
123         * limit number of active wildcard PINs for WPS Registrar to one to avoid
124           confusing behavior with multiple wildcard PINs
125         * added a workaround for WPS PBC session overlap detection to avoid
126           interop issues with deployed station implementations that do not
127           remove active PBC indication from Probe Request frames properly
128         * added support for using SQLite for the eap_user database
129         * added Acct-Session-Id attribute into Access-Request messages
130         * fixed EAPOL frame transmission to non-QoS STAs with nl80211
131           (do not send QoS frames if the STA did not negotiate use of QoS for
132           this association)
133
134 2012-05-10 - v1.0
135         * Add channel selection support in hostapd. See hostapd.conf.
136         * Add support for IEEE 802.11v Time Advertisement mechanism with UTC
137           TSF offset. See hostapd.conf for config info.
138         * Delay STA entry removal until Deauth/Disassoc TX status in AP mode.
139           This allows the driver to use PS buffering of Deauthentication and
140           Disassociation frames when the STA is in power save sleep. Only
141           available with drivers that provide TX status events for Deauth/
142           Disassoc frames (nl80211).
143         * Allow PMKSA caching to be disabled on the Authenticator. See
144           hostap.conf config parameter disable_pmksa_caching.
145         * atheros: Add support for IEEE 802.11w configuration.
146         * bsd: Add support for setting HT values in IFM_MMASK.
147         * Allow client isolation to be configured with ap_isolate. Client
148           isolation can be used to prevent low-level bridging of frames
149           between associated stations in the BSS. By default, this bridging
150           is allowed.
151         * Allow coexistance of HT BSSes with WEP/TKIP BSSes.
152         * Add require_ht config parameter, which can be used to configure
153           hostapd to reject association with any station that does not support
154           HT PHY.
155         * Add support for writing debug log to a file using "-f" option. Also
156           add relog CLI command to re-open the log file.
157         * Add bridge handling for WDS STA interfaces. By default they are
158           added to the configured bridge of the AP interface (if present),
159           but the user can also specify a separate bridge using cli command
160           wds_bridge.
161         * hostapd_cli:
162           - Add wds_bridge command for specifying bridge for WDS STA
163             interfaces.
164           - Add relog command for reopening log file.
165           - Send AP-STA-DISCONNECTED event when an AP disconnects a station
166             due to inactivity.
167           - Add wps_config ctrl_interface command for configuring AP. This
168             command can be used to configure the AP using the internal WPS
169             registrar. It works in the same way as new AP settings received
170             from an ER.
171           - Many WPS/WPS ER commands - see WPS/WPS ER sections for details.
172           - Add command get version, that returns hostapd version string.
173         * WNM: Add BSS Transition Management Request for ESS Disassoc Imminent.
174           Use hostapd_cli ess_disassoc (STA addr) (URL) to send the
175           notification to the STA.
176         * Allow AP mode to disconnect STAs based on low ACK condition (when
177           the data connection is not working properly, e.g., due to the STA
178           going outside the range of the AP). Disabled by default, enable by
179           config option disassoc_low_ack.
180         * Add WPA_IGNORE_CONFIG_ERRORS build option to continue in case of bad
181           config file.
182         * WPS:
183           - Send AP Settings as a wrapped Credential attribute to ctrl_iface
184             in WPS-NEW-AP-SETTINGS.
185           - Dispatch more WPS events through hostapd ctrl_iface.
186           - Add mechanism for indicating non-standard WPS errors.
187           - Change concurrent radio AP to use only one WPS UPnP instance.
188           - Add wps_check_pin command for processing PIN from user input.
189             UIs can use this command to process a PIN entered by a user and to
190             validate the checksum digit (if present).
191           - Add hostap_cli get_config command to display current AP config.
192           - Add new hostapd_cli command, wps_ap_pin, to manage AP PIN at
193             runtime and support dynamic AP PIN management.
194           - Disable AP PIN after 10 consecutive failures. Slow down attacks
195             on failures up to 10.
196           - Allow AP to start in Enrollee mode without AP PIN for probing,
197             to be compatible with Windows 7.
198           - Add Config Error into WPS-FAIL events to provide more info
199             to the user on how to resolve the issue.
200           - When controlling multiple interfaces:
201              - apply WPS commands to all interfaces configured to use WPS
202              - apply WPS config changes to all interfaces that use WPS
203              - when an attack is detected on any interface, disable AP PIN on
204                all interfaces
205         * WPS ER:
206           - Show SetSelectedRegistrar events as ctrl_iface events.
207           - Add special AP Setup Locked mode to allow read only ER.
208             ap_setup_locked=2 can now be used to enable a special mode where
209             WPS ER can learn the current AP settings, but cannot change them.
210         * WPS 2.0: Add support for WPS 2.0 (CONFIG_WPS2)
211           - Add build option CONFIG_WPS_EXTENSIBILITY_TESTING to enable tool
212             for testing protocol extensibility.
213           - Add build option CONFIG_WPS_STRICT to allow disabling of WPS
214             workarounds.
215           - Add support for AuthorizedMACs attribute.
216         * TDLS:
217           - Allow TDLS use or TDLS channel switching in the BSS to be
218             prohibited in the BSS, using config params tdls_prohibit and
219             tdls_prohibit_chan_switch.
220         * EAP server: Add support for configuring fragment size (see
221           fragment_size in hostapd.conf).
222         * wlantest: Add a tool wlantest for IEEE802.11 protocol testing.
223           wlantest can be used to capture frames from a monitor interface
224           for realtime capturing or from pcap files for offline analysis.
225         * Interworking: Support added for 802.11u. Enable in .config with
226           CONFIG_INTERWORKING. See hostapd.conf for config parameters for
227           interworking.
228         * Android: Add build and runtime support for Android hostapd.
229         * Add a new debug message level for excessive information. Use
230           -ddd to enable.
231         * TLS: Add support for tls_disable_time_checks=1 in client mode.
232         * Internal TLS:
233           - Add support for TLS v1.1 (RFC 4346). Enable with build parameter
234             CONFIG_TLSV11.
235           - Add domainComponent parser for X.509 names
236         * Reorder some IEs to get closer to IEEE 802.11 standard. Move
237           WMM into end of Beacon, Probe Resp and (Re)Assoc Resp frames.
238           Move HT IEs to be later in (Re)Assoc Resp.
239         * Many bugfixes.
240
241 2010-04-18 - v0.7.2
242         * fix WPS internal Registrar use when an external Registrar is also
243           active
244         * bsd: Cleaned up driver wrapper and added various low-level
245           configuration options
246         * TNC: fixed issues with fragmentation
247         * EAP-TNC: add Flags field into fragment acknowledgement (needed to
248           interoperate with other implementations; may potentially breaks
249           compatibility with older wpa_supplicant/hostapd versions)
250         * cleaned up driver wrapper API for multi-BSS operations
251         * nl80211: fix multi-BSS and VLAN operations
252         * fix number of issues with IEEE 802.11r/FT; this version is not
253           backwards compatible with old versions
254         * add SA Query Request processing in AP mode (IEEE 802.11w)
255         * fix IGTK PN in group rekeying (IEEE 802.11w)
256         * fix WPS PBC session overlap detection to use correct attribute
257         * hostapd_notif_Assoc() can now be called with all IEs to simplify
258           driver wrappers
259         * work around interoperability issue with some WPS External Registrar
260           implementations
261         * nl80211: fix WPS IE update
262         * hostapd_cli: add support for action script operations (run a script
263           on hostapd events)
264         * fix DH padding with internal crypto code (mainly, for WPS)
265         * fix WPS association with both WPS IE and WPA/RSN IE present with
266           driver wrappers that use hostapd MLME (e.g., nl80211)
267
268 2010-01-16 - v0.7.1
269         * cleaned up driver wrapper API (struct wpa_driver_ops); the new API
270           is not fully backwards compatible, so out-of-tree driver wrappers
271           will need modifications
272         * cleaned up various module interfaces
273         * merge hostapd and wpa_supplicant developers' documentation into a
274           single document
275         * fixed HT Capabilities IE with nl80211 drivers
276         * moved generic AP functionality code into src/ap
277         * WPS: handle Selected Registrar as union of info from all Registrars
278         * remove obsolte Prism54.org driver wrapper
279         * added internal debugging mechanism with backtrace support and memory
280           allocation/freeing validation, etc. tests (CONFIG_WPA_TRACE=y)
281         * EAP-FAST server: piggyback Phase 2 start with the end of Phase 1
282         * WPS: add support for dynamically selecting whether to provision the
283           PSK as an ASCII passphrase or PSK
284         * added support for WDS (4-address frame) mode with per-station virtual
285           interfaces (wds_sta=1 in config file; only supported with
286           driver=nl80211 for now)
287         * fixed WPS Probe Request processing to handle missing required
288           attribute
289         * fixed PKCS#12 use with OpenSSL 1.0.0
290         * detect bridge interface automatically so that bridge parameter in
291           hostapd.conf becomes optional (though, it may now be used to
292           automatically add then WLAN interface into a bridge with
293           driver=nl80211)
294
295 2009-11-21 - v0.7.0
296         * increased hostapd_cli ping interval to 5 seconds and made this
297           configurable with a new command line options (-G<seconds>)
298         * driver_nl80211: use Linux socket filter to improve performance
299         * added support for external Registrars with WPS (UPnP transport)
300         * 802.11n: scan for overlapping BSSes before starting 20/40 MHz channel
301         * driver_nl80211: fixed STA accounting data collection (TX/RX bytes
302           reported correctly; TX/RX packets not yet available from kernel)
303         * added support for WPS USBA out-of-band mechanism with USB Flash
304           Drives (UFD) (CONFIG_WPS_UFD=y)
305         * fixed EAPOL/EAP reauthentication when using an external RADIUS
306           authentication server
307         * fixed TNC with EAP-TTLS
308         * fixed IEEE 802.11r key derivation function to match with the standard
309           (note: this breaks interoperability with previous version) [Bug 303]
310         * fixed SHA-256 based key derivation function to match with the
311           standard when using CCMP (for IEEE 802.11r and IEEE 802.11w)
312           (note: this breaks interoperability with previous version) [Bug 307]
313         * added number of code size optimizations to remove unnecessary
314           functionality from the program binary based on build configuration
315           (part of this automatic; part configurable with CONFIG_NO_* build
316           options)
317         * use shared driver wrapper files with wpa_supplicant
318         * driver_nl80211: multiple updates to provide support for new Linux
319           nl80211/mac80211 functionality
320         * updated management frame protection to use IEEE Std 802.11w-2009
321         * fixed number of small WPS issues and added workarounds to
322           interoperate with common deployed broken implementations
323         * added some IEEE 802.11n co-existence rules to disable 40 MHz channels
324           or modify primary/secondary channels if needed based on neighboring
325           networks
326         * added support for NFC out-of-band mechanism with WPS
327         * added preliminary support for IEEE 802.11r RIC processing
328
329 2009-01-06 - v0.6.7
330         * added support for Wi-Fi Protected Setup (WPS)
331           (hostapd can now be configured to act as an integrated WPS Registrar
332           and provision credentials for WPS Enrollees using PIN and PBC
333           methods; external wireless Registrar can configure the AP, but
334           external WLAN Manager Registrars are not supported); WPS support can
335           be enabled by adding CONFIG_WPS=y into .config and setting the
336           runtime configuration variables in hostapd.conf (see WPS section in
337           the example configuration file); new hostapd_cli commands wps_pin and
338           wps_pbc are used to configure WPS negotiation; see README-WPS for
339           more details
340         * added IEEE 802.11n HT capability configuration (ht_capab)
341         * added support for generating Country IE based on nl80211 regulatory
342           information (added if ieee80211d=1 in configuration)
343         * fixed WEP authentication (both Open System and Shared Key) with
344           mac80211
345         * added support for EAP-AKA' (draft-arkko-eap-aka-kdf)
346         * added support for using driver_test over UDP socket
347         * changed EAP-GPSK to use the IANA assigned EAP method type 51
348         * updated management frame protection to use IEEE 802.11w/D7.0
349         * fixed retransmission of EAP requests if no response is received
350
351 2008-11-23 - v0.6.6
352         * added a new configuration option, wpa_ptk_rekey, that can be used to
353           enforce frequent PTK rekeying, e.g., to mitigate some attacks against
354           TKIP deficiencies
355         * updated OpenSSL code for EAP-FAST to use an updated version of the
356           session ticket overriding API that was included into the upstream
357           OpenSSL 0.9.9 tree on 2008-11-15 (no additional OpenSSL patch is
358           needed with that version anymore)
359         * changed channel flags configuration to read the information from
360           the driver (e.g., via driver_nl80211 when using mac80211) instead of
361           using hostapd as the source of the regulatory information (i.e.,
362           information from CRDA is now used with mac80211); this allows 5 GHz
363           channels to be used with hostapd (if allowed in the current
364           regulatory domain)
365         * fixed EAP-TLS message processing for the last TLS message if it is
366           large enough to require fragmentation (e.g., if a large Session
367           Ticket data is included)
368         * fixed listen interval configuration for nl80211 drivers
369
370 2008-11-01 - v0.6.5
371         * added support for SHA-256 as X.509 certificate digest when using the
372           internal X.509/TLSv1 implementation
373         * fixed EAP-FAST PAC-Opaque padding (0.6.4 broke this for some peer
374           identity lengths)
375         * fixed internal TLSv1 implementation for abbreviated handshake (used
376           by EAP-FAST server)
377         * added support for setting VLAN ID for STAs based on local MAC ACL
378           (accept_mac_file) as an alternative for RADIUS server-based
379           configuration
380         * updated management frame protection to use IEEE 802.11w/D6.0
381           (adds a new association ping to protect against unauthenticated
382           authenticate or (re)associate request frames dropping association)
383         * added support for using SHA256-based stronger key derivation for WPA2
384           (IEEE 802.11w)
385         * added new "driver wrapper" for RADIUS-only configuration
386           (driver=none in hostapd.conf; CONFIG_DRIVER_NONE=y in .config)
387         * fixed WPA/RSN IE validation to verify that the proto (WPA vs. WPA2)
388           is enabled in configuration
389         * changed EAP-FAST configuration to use separate fields for A-ID and
390           A-ID-Info (eap_fast_a_id_info) to allow A-ID to be set to a fixed
391           16-octet len binary value for better interoperability with some peer
392           implementations; eap_fast_a_id is now configured as a hex string
393         * driver_nl80211: Updated to match the current Linux mac80211 AP mode
394           configuration (wireless-testing.git and Linux kernel releases
395           starting from 2.6.29)
396
397 2008-08-10 - v0.6.4
398         * added peer identity into EAP-FAST PAC-Opaque and skip Phase 2
399           Identity Request if identity is already known
400         * added support for EAP Sequences in EAP-FAST Phase 2
401         * added support for EAP-TNC (Trusted Network Connect)
402           (this version implements the EAP-TNC method and EAP-TTLS/EAP-FAST
403           changes needed to run two methods in sequence (IF-T) and the IF-IMV
404           and IF-TNCCS interfaces from TNCS)
405         * added support for optional cryptobinding with PEAPv0
406         * added fragmentation support for EAP-TNC
407         * added support for fragmenting EAP-TTLS/PEAP/FAST Phase 2 (tunneled)
408           data
409         * added support for opportunistic key caching (OKC)
410
411 2008-02-22 - v0.6.3
412         * fixed Reassociation Response callback processing when using internal
413           MLME (driver_{hostap,nl80211,test}.c)
414         * updated FT support to use the latest draft, IEEE 802.11r/D9.0
415         * copy optional Proxy-State attributes into RADIUS response when acting
416           as a RADIUS authentication server
417         * fixed EAPOL state machine to handle a case in which no response is
418           received from the RADIUS authentication server; previous version
419           could have triggered a crash in some cases after a timeout
420         * fixed EAP-SIM/AKA realm processing to allow decorated usernames to
421           be used
422         * added a workaround for EAP-SIM/AKA peers that include incorrect null
423           termination in the username
424         * fixed EAP-SIM/AKA protected result indication to include AT_COUNTER
425           attribute in notification messages only when using fast
426           reauthentication
427         * fixed EAP-SIM Start response processing for fast reauthentication
428           case
429         * added support for pending EAP processing in EAP-{PEAP,TTLS,FAST}
430           phase 2 to allow EAP-SIM and EAP-AKA to be used as the Phase 2 method
431
432 2008-01-01 - v0.6.2
433         * fixed EAP-SIM and EAP-AKA message parser to validate attribute
434           lengths properly to avoid potential crash caused by invalid messages
435         * added data structure for storing allocated buffers (struct wpabuf);
436           this does not affect hostapd usage, but many of the APIs changed
437           and various interfaces (e.g., EAP) is not compatible with old
438           versions
439         * added support for protecting EAP-AKA/Identity messages with
440           AT_CHECKCODE (optional feature in RFC 4187)
441         * added support for protected result indication with AT_RESULT_IND for
442           EAP-SIM and EAP-AKA (eap_sim_aka_result_ind=1)
443         * added support for configuring EAP-TTLS phase 2 non-EAP methods in
444           EAP server configuration; previously all four were enabled for every
445           phase 2 user, now all four are disabled by default and need to be
446           enabled with new method names TTLS-PAP, TTLS-CHAP, TTLS-MSCHAP,
447           TTLS-MSCHAPV2
448         * removed old debug printing mechanism and the related 'debug'
449           parameter in the configuration file; debug verbosity is now set with
450           -d (or -dd) command line arguments
451         * added support for EAP-IKEv2 (draft-tschofenig-eap-ikev2-15.txt);
452           only shared key/password authentication is supported in this version
453
454 2007-11-24 - v0.6.1
455         * added experimental, integrated TLSv1 server implementation with the
456           needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
457           setting CONFIG_TLS=internal and CONFIG_INTERNAL_LIBTOMMATH=y in
458           .config); this can be useful, e.g., if the target system does not
459           have a suitable TLS library and a minimal code size is required
460         * added support for EAP-FAST server method to the integrated EAP
461           server
462         * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
463           draft (draft-ietf-emu-eap-gpsk-07.txt)
464         * added a new configuration parameter, rsn_pairwise, to allow different
465           pairwise cipher suites to be enabled for WPA and RSN/WPA2
466           (note: if wpa_pairwise differs from rsn_pairwise, the driver will
467           either need to support this or will have to use the WPA/RSN IEs from
468           hostapd; currently, the included madwifi and bsd driver interfaces do
469           not have support for this)
470         * updated FT support to use the latest draft, IEEE 802.11r/D8.0
471
472 2007-05-28 - v0.6.0
473         * added experimental IEEE 802.11r/D6.0 support
474         * updated EAP-SAKE to RFC 4763 and the IANA-allocated EAP type 48
475         * updated EAP-PSK to use the IANA-allocated EAP type 47
476         * fixed EAP-PSK bit ordering of the Flags field
477         * fixed configuration reloading (SIGHUP) to re-initialize WPA PSKs
478           by reading wpa_psk_file [Bug 181]
479         * fixed EAP-TTLS AVP parser processing for too short AVP lengths
480         * fixed IPv6 connection to RADIUS accounting server
481         * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
482           draft (draft-ietf-emu-eap-gpsk-04.txt)
483         * hlr_auc_gw: read GSM triplet file into memory and rotate through the
484           entries instead of only using the same three triplets every time
485           (this does not work properly with tests using multiple clients, but
486           provides bit better triplet data for testing a single client; anyway,
487           if a better quality triplets are needed, GSM-Milenage should be used
488           instead of hardcoded triplet file)
489         * fixed EAP-MSCHAPv2 server to use a space between S and M parameters
490           in Success Request [Bug 203]
491         * added support for sending EAP-AKA Notifications in error cases
492         * updated to use IEEE 802.11w/D2.0 for management frame protection
493           (still experimental)
494         * RADIUS server: added support for processing duplicate messages
495           (retransmissions from RADIUS client) by replying with the previous
496           reply
497
498 2006-11-24 - v0.5.6
499         * added support for configuring and controlling multiple BSSes per
500           radio interface (bss=<ifname> in hostapd.conf); this is only
501           available with Devicescape and test driver interfaces
502         * fixed PMKSA cache update in the end of successful RSN
503           pre-authentication
504         * added support for dynamic VLAN configuration (i.e., selecting VLAN-ID
505           for each STA based on RADIUS Access-Accept attributes); this requires
506           VLAN support from the kernel driver/802.11 stack and this is
507           currently only available with Devicescape and test driver interfaces
508         * driver_madwifi: fixed configuration of unencrypted modes (plaintext
509           and IEEE 802.1X without WEP)
510         * removed STAKey handshake since PeerKey handshake has replaced it in
511           IEEE 802.11ma and there are no known deployments of STAKey
512         * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest
513           draft (draft-ietf-emu-eap-gpsk-01.txt)
514         * added preliminary implementation of IEEE 802.11w/D1.0 (management
515           frame protection)
516           (Note: this requires driver support to work properly.)
517           (Note2: IEEE 802.11w is an unapproved draft and subject to change.)
518         * hlr_auc_gw: added support for GSM-Milenage (for EAP-SIM)
519         * hlr_auc_gw: added support for reading per-IMSI Milenage keys and
520           parameters from a text file to make it possible to implement proper
521           GSM/UMTS authentication server for multiple SIM/USIM cards using
522           EAP-SIM/EAP-AKA
523         * fixed session timeout processing with drivers that do not use
524           ieee802_11.c (e.g., madwifi)
525
526 2006-08-27 - v0.5.5
527         * added 'hostapd_cli new_sta <addr>' command for adding a new STA into
528           hostapd (e.g., to initialize wired network authentication based on an
529           external signal)
530         * fixed hostapd to add PMKID KDE into 4-Way Handshake Message 1 when
531           using WPA2 even if PMKSA caching is not used
532         * added -P<pid file> argument for hostapd to write the current process
533           id into a file
534         * added support for RADIUS Authentication Server MIB (RFC 2619)
535
536 2006-06-20 - v0.5.4
537         * fixed nt_password_hash build [Bug 144]
538         * added PeerKey handshake implementation for IEEE 802.11e
539           direct link setup (DLS) to replace STAKey handshake
540         * added support for EAP Generalized Pre-Shared Key (EAP-GPSK,
541           draft-clancy-emu-eap-shared-secret-00.txt)
542         * fixed a segmentation fault when RSN pre-authentication was completed
543           successfully [Bug 152]
544
545 2006-04-27 - v0.5.3
546         * do not build nt_password_hash and hlr_auc_gw by default to avoid
547           requiring a TLS library for a successful build; these programs can be
548           build with 'make nt_password_hash' and 'make hlr_auc_gw'
549         * added a new configuration option, eapol_version, that can be used to
550           set EAPOL version to 1 (default is 2) to work around broken client
551           implementations that drop EAPOL frames which use version number 2
552           [Bug 89]
553         * added support for EAP-SAKE (no EAP method number allocated yet, so
554           this is using the same experimental type 255 as EAP-PSK)
555         * fixed EAP-MSCHAPv2 message length validation
556
557 2006-03-19 - v0.5.2
558         * fixed stdarg use in hostapd_logger(): if both stdout and syslog
559           logging was enabled, hostapd could trigger a segmentation fault in
560           vsyslog on some CPU -- C library combinations
561         * moved HLR/AuC gateway implementation for EAP-SIM/AKA into an external
562           program to make it easier to use for implementing real SS7 gateway;
563           eap_sim_db is not anymore used as a file name for GSM authentication
564           triplets; instead, it is path to UNIX domain socket that will be used
565           to communicate with the external gateway program (e.g., hlr_auc_gw)
566         * added example HLR/AuC gateway implementation, hlr_auc_gw, that uses
567           local information (GSM authentication triplets from a text file and
568           hardcoded AKA authentication data); this can be used to test EAP-SIM
569           and EAP-AKA
570         * added Milenage algorithm (example 3GPP AKA algorithm) to hlr_auc_gw
571           to make it possible to test EAP-AKA with real USIM cards (this is
572           disabled by default; define AKA_USE_MILENAGE when building hlr_auc_gw
573           to enable this)
574         * driver_madwifi: added support for getting station RSN IE from
575           madwifi-ng svn r1453 and newer; this fixes RSN that was apparently
576           broken with earlier change (r1357) in the driver
577         * changed EAP method registration to use a dynamic list of methods
578           instead of a static list generated at build time
579         * fixed WPA message 3/4 not to encrypt Key Data field (WPA IE)
580           [Bug 125]
581         * added ap_max_inactivity configuration parameter
582
583 2006-01-29 - v0.5.1
584         * driver_test: added better support for multiple APs and STAs by using
585           a directory with sockets that include MAC address for each device in
586           the name (test_socket=DIR:/tmp/test)
587         * added support for EAP expanded type (vendor specific EAP methods)
588
589 2005-12-18 - v0.5.0 (beginning of 0.5.x development releases)
590         * added experimental STAKey handshake implementation for IEEE 802.11e
591           direct link setup (DLS); note: this is disabled by default in both
592           build and runtime configuration (can be enabled with CONFIG_STAKEY=y
593           and stakey=1)
594         * added support for EAP methods to use callbacks to external programs
595           by buffering a pending request and processing it after the EAP method
596           is ready to continue
597         * improved EAP-SIM database interface to allow external request to GSM
598           HLR/AuC without blocking hostapd process
599         * added support for using EAP-SIM pseudonyms and fast re-authentication
600         * added support for EAP-AKA in the integrated EAP authenticator
601         * added support for matching EAP identity prefixes (e.g., "1"*) in EAP
602           user database to allow EAP-SIM/AKA selection without extra roundtrip
603           for EAP-Nak negotiation
604         * added support for storing EAP user password as NtPasswordHash instead
605           of plaintext password when using MSCHAP or MSCHAPv2 for
606           authentication (hash:<16-octet hex value>); added nt_password_hash
607           tool for hashing password to generate NtPasswordHash
608
609 2005-11-20 - v0.4.7 (beginning of 0.4.x stable releases)
610         * driver_wired: fixed EAPOL sending to optionally use PAE group address
611           as the destination instead of supplicant MAC address; this is
612           disabled by default, but should be enabled with use_pae_group_addr=1
613           in configuration file if the wired interface is used by only one
614           device at the time (common switch configuration)
615         * driver_madwifi: configure driver to use TKIP countermeasures in order
616           to get correct behavior (IEEE 802.11 association failing; previously,
617           association succeeded, but hostpad forced disassociation immediately)
618         * driver_madwifi: added support for madwifi-ng
619
620 2005-10-27 - v0.4.6
621         * added support for replacing user identity from EAP with RADIUS
622           User-Name attribute from Access-Accept message, if that is included,
623           for the RADIUS accounting messages (e.g., for EAP-PEAP/TTLS to get
624           tunneled identity into accounting messages when the RADIUS server
625           does not support better way of doing this with Class attribute)
626         * driver_madwifi: fixed EAPOL packet receive for configuration where
627           ath# is part of a bridge interface
628         * added a configuration file and log analyzer script for logwatch
629         * fixed EAPOL state machine step function to process all state
630           transitions before processing new events; this resolves a race
631           condition in which EAPOL-Start message could trigger hostapd to send
632           two EAP-Response/Identity frames to the authentication server
633
634 2005-09-25 - v0.4.5
635         * added client CA list to the TLS certificate request in order to make
636           it easier for the client to select which certificate to use
637         * added experimental support for EAP-PSK
638         * added support for WE-19 (hostap, madwifi)
639
640 2005-08-21 - v0.4.4
641         * fixed build without CONFIG_RSN_PREAUTH
642         * fixed FreeBSD build
643
644 2005-06-26 - v0.4.3
645         * fixed PMKSA caching to copy User-Name and Class attributes so that
646           RADIUS accounting gets correct information
647         * start RADIUS accounting only after successful completion of WPA
648           4-Way Handshake if WPA-PSK is used
649         * fixed PMKSA caching for the case where STA (re)associates without
650           first disassociating
651
652 2005-06-12 - v0.4.2
653         * EAP-PAX is now registered as EAP type 46
654         * fixed EAP-PAX MAC calculation
655         * fixed EAP-PAX CK and ICK key derivation
656         * renamed eap_authenticator configuration variable to eap_server to
657           better match with RFC 3748 (EAP) terminology
658         * driver_test: added support for testing hostapd with wpa_supplicant
659           by using test driver interface without any kernel drivers or network
660           cards
661
662 2005-05-22 - v0.4.1
663         * fixed RADIUS server initialization when only auth or acct server
664           is configured and the other one is left empty
665         * driver_madwifi: added support for RADIUS accounting
666         * driver_madwifi: added preliminary support for compiling against 'BSD'
667           branch of madwifi CVS tree
668         * driver_madwifi: fixed pairwise key removal to allow WPA reauth
669           without disassociation
670         * added support for reading additional certificates from PKCS#12 files
671           and adding them to the certificate chain
672         * fixed RADIUS Class attribute processing to only use Access-Accept
673           packets to update Class; previously, other RADIUS authentication
674           packets could have cleared Class attribute
675         * added support for more than one Class attribute in RADIUS packets
676         * added support for verifying certificate revocation list (CRL) when
677           using integrated EAP authenticator for EAP-TLS; new hostapd.conf
678           options 'check_crl'; CRL must be included in the ca_cert file for now
679
680 2005-04-25 - v0.4.0 (beginning of 0.4.x development releases)
681         * added support for including network information into
682           EAP-Request/Identity message (ASCII-0 (nul) in eap_message)
683           (e.g., to implement draft-adrange-eap-network-discovery-07.txt)
684         * fixed a bug which caused some RSN pre-authentication cases to use
685           freed memory and potentially crash hostapd
686         * fixed private key loading for cases where passphrase is not set
687         * added support for sending TLS alerts and aborting authentication
688           when receiving a TLS alert
689         * fixed WPA2 to add PMKSA cache entry when using integrated EAP
690           authenticator
691         * fixed PMKSA caching (EAP authentication was not skipped correctly
692           with the new state machine changes from IEEE 802.1X draft)
693         * added support for RADIUS over IPv6; own_ip_addr, auth_server_addr,
694           and acct_server_addr can now be IPv6 addresses (CONFIG_IPV6=y needs
695           to be added to .config to include IPv6 support); for RADIUS server,
696           radius_server_ipv6=1 needs to be set in hostapd.conf and addresses
697           in RADIUS clients file can then use IPv6 format
698         * added experimental support for EAP-PAX
699         * replaced hostapd control interface library (hostapd_ctrl.[ch]) with
700           the same implementation that wpa_supplicant is using (wpa_ctrl.[ch])
701
702 2005-02-12 - v0.3.7 (beginning of 0.3.x stable releases)
703
704 2005-01-23 - v0.3.5
705         * added support for configuring a forced PEAP version based on the
706           Phase 1 identity
707         * fixed PEAPv1 to use tunneled EAP-Success/Failure instead of EAP-TLV
708           to terminate authentication
709         * fixed EAP identifier duplicate processing with the new IEEE 802.1X
710           draft
711         * clear accounting data in the driver when starting a new accounting
712           session
713         * driver_madwifi: filter wireless events based on ifindex to allow more
714           than one network interface to be used
715         * fixed WPA message 2/4 processing not to cancel timeout for TimeoutEvt
716           setting if the packet does not pass MIC verification (e.g., due to
717           incorrect PSK); previously, message 1/4 was not tried again if an
718           invalid message 2/4 was received
719         * fixed reconfiguration of RADIUS client retransmission timer when
720           adding a new message to the pending list; previously, timer was not
721           updated at this point and if there was a pending message with long
722           time for the next retry, the new message needed to wait that long for
723           its first retry, too
724
725 2005-01-09 - v0.3.4
726         * added support for configuring multiple allowed EAP types for Phase 2
727           authentication (EAP-PEAP, EAP-TTLS)
728         * fixed EAPOL-Start processing to trigger WPA reauthentication
729           (previously, only EAPOL authentication was done)
730
731 2005-01-02 - v0.3.3
732         * added support for EAP-PEAP in the integrated EAP authenticator
733         * added support for EAP-GTC in the integrated EAP authenticator
734         * added support for configuring list of EAP methods for Phase 1 so that
735           the integrated EAP authenticator can, e.g., use the wildcard entry
736           for EAP-TLS and EAP-PEAP
737         * added support for EAP-TTLS in the integrated EAP authenticator
738         * added support for EAP-SIM in the integrated EAP authenticator
739         * added support for using hostapd as a RADIUS authentication server
740           with the integrated EAP authenticator taking care of EAP
741           authentication (new hostapd.conf options: radius_server_clients and
742           radius_server_auth_port); this is not included in default build; use
743           CONFIG_RADIUS_SERVER=y in .config to include
744
745 2004-12-19 - v0.3.2
746         * removed 'daemonize' configuration file option since it has not really
747           been used at all for more than year
748         * driver_madwifi: fixed group key setup and added get_ssid method
749         * added support for EAP-MSCHAPv2 in the integrated EAP authenticator
750
751 2004-12-12 - v0.3.1
752         * added support for integrated EAP-TLS authentication (new hostapd.conf
753           variables: ca_cert, server_cert, private_key, private_key_passwd);
754           this enabled dynamic keying (WPA2/WPA/IEEE 802.1X/WEP) without
755           external RADIUS server
756         * added support for reading PKCS#12 (PFX) files (as a replacement for
757           PEM/DER) to get certificate and private key (CONFIG_PKCS12)
758
759 2004-12-05 - v0.3.0 (beginning of 0.3.x development releases)
760         * added support for Acct-{Input,Output}-Gigawords
761         * added support for Event-Timestamp (in RADIUS Accounting-Requests)
762         * added support for RADIUS Authentication Client MIB (RFC2618)
763         * added support for RADIUS Accounting Client MIB (RFC2620)
764         * made EAP re-authentication period configurable (eap_reauth_period)
765         * fixed EAPOL reauthentication to trigger WPA/WPA2 reauthentication
766         * fixed EAPOL state machine to stop if STA is removed during
767           eapol_sm_step(); this fixes at least one segfault triggering bug with
768           IEEE 802.11i pre-authentication
769         * added support for multiple WPA pre-shared keys (e.g., one for each
770           client MAC address or keys shared by a group of clients);
771           new hostapd.conf field wpa_psk_file for setting path to a text file
772           containing PSKs, see hostapd.wpa_psk for an example
773         * added support for multiple driver interfaces to allow hostapd to be
774           used with other drivers
775         * added wired authenticator driver interface (driver=wired in
776           hostapd.conf, see wired.conf for example configuration)
777         * added madwifi driver interface (driver=madwifi in hostapd.conf, see
778           madwifi.conf for example configuration; Note: include files from
779           madwifi project is needed for building and a configuration file,
780           .config, needs to be created in hostapd directory with
781           CONFIG_DRIVER_MADWIFI=y to include this driver interface in hostapd
782           build)
783         * fixed an alignment issue that could cause SHA-1 to fail on some
784           platforms (e.g., Intel ixp425 with a compiler that does not 32-bit
785           align variables)
786         * fixed RADIUS reconnection after an error in sending interim
787           accounting packets
788         * added hostapd control interface for external programs and an example
789           CLI, hostapd_cli (like wpa_cli for wpa_supplicant)
790         * started adding dot11, dot1x, radius MIBs ('hostapd_cli mib',
791           'hostapd_cli sta <addr>')
792         * finished update from IEEE 802.1X-2001 to IEEE 802.1X-REV (now d11)
793         * added support for strict GTK rekeying (wpa_strict_rekey in
794           hostapd.conf)
795         * updated IAPP to use UDP port 3517 and multicast address 224.0.1.178
796           (instead of broadcast) for IAPP ADD-notify (moved from draft 3 to
797           IEEE 802.11F-2003)
798         * added Prism54 driver interface (driver=prism54 in hostapd.conf;
799           note: .config needs to be created in hostapd directory with
800           CONFIG_DRIVER_PRISM54=y to include this driver interface in hostapd
801           build)
802         * dual-licensed hostapd (GPLv2 and BSD licenses)
803         * fixed RADIUS accounting to generate a new session id for cases where
804           a station reassociates without first being complete deauthenticated
805         * fixed STA disassociation handler to mark next timeout state to
806           deauthenticate the station, i.e., skip long wait for inactivity poll
807           and extra disassociation, if the STA disassociates without
808           deauthenticating
809         * added integrated EAP authenticator that can be used instead of
810           external RADIUS authentication server; currently, only EAP-MD5 is
811           supported, so this cannot yet be used for key distribution; the EAP
812           method interface is generic, though, so adding new EAP methods should
813           be straightforward; new hostapd.conf variables: 'eap_authenticator'
814           and 'eap_user_file'; this obsoletes "minimal authentication server"
815           ('minimal_eap' in hostapd.conf) which is now removed
816         * added support for FreeBSD and driver interface for the BSD net80211
817           layer (driver=bsd in hostapd.conf and CONFIG_DRIVER_BSD=y in
818           .config); please note that some of the required kernel mods have not
819           yet been committed
820
821 2004-07-17 - v0.2.4 (beginning of 0.2.x stable releases)
822         * fixed some accounting cases where Accounting-Start was sent when
823           IEEE 802.1X port was being deauthorized
824
825 2004-06-20 - v0.2.3
826         * modified RADIUS client to re-connect the socket in case of certain
827           error codes that are generated when a network interface state is
828           changes (e.g., when IP address changes or the interface is set UP)
829         * fixed couple of cases where EAPOL state for a station was freed
830           twice causing a segfault for hostapd
831         * fixed couple of bugs in processing WPA deauthentication (freed data
832           was used)
833
834 2004-05-31 - v0.2.2
835         * fixed WPA/WPA2 group rekeying to use key index correctly (GN/GM)
836         * fixed group rekeying to send zero TSC in EAPOL-Key messages to fix
837           cases where STAs dropped multicast frames as replay attacks
838         * added support for copying RADIUS Attribute 'Class' from
839           authentication messages into accounting messages
840         * send canned EAP failure if RADIUS server sends Access-Reject without
841           EAP message (previously, Supplicant was not notified in this case)
842         * fixed mixed WPA-PSK and WPA-EAP mode to work with WPA-PSK (i.e., do
843           not start EAPOL state machines if the STA selected to use WPA-PSK)
844
845 2004-05-06 - v0.2.1
846         * added WPA and IEEE 802.11i/RSN (WPA2) Authenticator functionality
847           - based on IEEE 802.11i/D10.0 but modified to interoperate with WPA
848             (i.e., IEEE 802.11i/D3.0)
849           - supports WPA-only, RSN-only, and mixed WPA/RSN mode
850           - both WPA-PSK and WPA-RADIUS/EAP are supported
851           - PMKSA caching and pre-authentication
852           - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,
853             wpa_key_mgmt, wpa_pairwise, wpa_group_rekey, wpa_gmk_rekey,
854             rsn_preauth, rsn_preauth_interfaces
855         * fixed interim accounting to remove any pending accounting messages
856           to the STA before sending a new one
857
858 2004-02-15 - v0.2.0
859         * added support for Acct-Interim-Interval:
860           - draft-ietf-radius-acct-interim-01.txt
861           - use Acct-Interim-Interval attribute from Access-Accept if local
862             'radius_acct_interim_interval' is not set
863           - allow different update intervals for each STA
864         * fixed event loop to call signal handlers only after returning from
865           the real signal handler
866         * reset sta->timeout_next after successful association to make sure
867           that the previously registered inactivity timer will not remove the
868           STA immediately (e.g., if STA deauthenticates and re-associates
869           before the timer is triggered).
870         * added new hostapd.conf variable, nas_identifier, that can be used to
871           add an optional RADIUS Attribute, NAS-Identifier, into authentication
872           and accounting messages
873         * added support for Accounting-On and Accounting-Off messages
874         * fixed accounting session handling to send Accounting-Start only once
875           per session and not to send Accounting-Stop if the session was not
876           initialized properly
877         * fixed Accounting-Stop statistics in cases where the message was
878           previously sent after the kernel entry for the STA (and/or IEEE
879           802.1X data) was removed
880
881
882 Note:
883
884 Older changes up to and including v0.1.0 are included in the ChangeLog
885 of the Host AP driver.