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