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