1 ChangeLog for wpa_supplicant 2 3 2010-01-12 - v0.6.10 4 * fixed SHA-256 based key derivation function to match with the 5 standard when using CCMP (for IEEE 802.11r and IEEE 802.11w) 6 (note: this breaks interoperability with previous version) [Bug 307] 7 * changed driver_wext to disconnect at init/deinit to clear state 8 * added explicit disconnect on 4-way handshake failures 9 * added WPS workarounds for known interoperability issues with broken, 10 deployed implementation 11 * update IEEE 802.11w implementation to match with the published 12 standard 13 * do not send WPS M8 message when learning current AP configuration as 14 an external Registrar 15 * added a workaround for race condition between receive EAPOL frames 16 and association events 17 * fixed compilation with newer GnuTLS versions 18 * fixed PKCS#12 use with OpenSSL 1.0.0 19 20 2009-03-23 - v0.6.9 21 * driver_ndis: add PAE group address to the multicast address list to 22 fix wired IEEE 802.1X authentication 23 * fixed IEEE 802.11r key derivation function to match with the standard 24 (note: this breaks interoperability with previous version) [Bug 303] 25 26 2009-02-15 - v0.6.8 27 * increased wpa_cli ping interval to 5 seconds and made this 28 configurable with a new command line options (-G<seconds>) 29 * fixed scan buffer processing with WEXT to handle up to 65535 30 byte result buffer (previously, limited to 32768 bytes) 31 32 2009-01-06 - v0.6.7 33 * added support for Wi-Fi Protected Setup (WPS) 34 (wpa_supplicant can now be configured to act as a WPS Enrollee to 35 enroll credentials for a network using PIN and PBC methods; in 36 addition, wpa_supplicant can act as a wireless WPS Registrar to 37 configure an AP); WPS support can be enabled by adding CONFIG_WPS=y 38 into .config and setting the runtime configuration variables in 39 wpa_supplicant.conf (see WPS section in the example configuration 40 file); new wpa_cli commands wps_pin, wps_pbc, and wps_reg are used to 41 manage WPS negotiation; see README-WPS for more details 42 * added support for EAP-AKA' (draft-arkko-eap-aka-kdf) 43 * added support for using driver_test over UDP socket 44 * fixed PEAPv0 Cryptobinding interoperability issue with Windows Server 45 2008 NPS; optional cryptobinding is now enabled (again) by default 46 * fixed PSK editing in wpa_gui 47 * changed EAP-GPSK to use the IANA assigned EAP method type 51 48 * added a Windows installer that includes WinPcap and all the needed 49 DLLs; in addition, it set up the registry automatically so that user 50 will only need start wpa_gui to get prompted to start the wpasvc 51 servide and add a new interface if needed through wpa_gui dialog 52 * updated management frame protection to use IEEE 802.11w/D7.0 53 54 2008-11-23 - v0.6.6 55 * added Milenage SIM/USIM emulator for EAP-SIM/EAP-AKA 56 (can be used to simulate test SIM/USIM card with a known private key; 57 enable with CONFIG_SIM_SIMULATOR=y/CONFIG_USIM_SIMULATOR=y in .config 58 and password="Ki:OPc"/password="Ki:OPc:SQN" in network configuration) 59 * added a new network configuration option, wpa_ptk_rekey, that can be 60 used to enforce frequent PTK rekeying, e.g., to mitigate some attacks 61 against TKIP deficiencies 62 * added an optional mitigation mechanism for certain attacks against 63 TKIP by delaying Michael MIC error reports by a random amount of time 64 between 0 and 60 seconds; this can be enabled with a build option 65 CONFIG_DELAYED_MIC_ERROR_REPORT=y in .config 66 * fixed EAP-AKA to use RES Length field in AT_RES as length in bits, 67 not bytes 68 * updated OpenSSL code for EAP-FAST to use an updated version of the 69 session ticket overriding API that was included into the upstream 70 OpenSSL 0.9.9 tree on 2008-11-15 (no additional OpenSSL patch is 71 needed with that version anymore) 72 * updated userspace MLME instructions to match with the current Linux 73 mac80211 implementation; please also note that this can only be used 74 with driver_nl80211.c (the old code from driver_wext.c was removed) 75 * added support (Linux only) for RoboSwitch chipsets (often found in 76 consumer grade routers); driver interface 'roboswitch' 77 * fixed canceling of PMKSA caching when using drivers that generate 78 RSN IE and refuse to drop PMKIDs that wpa_supplicant does not know 79 about 80 81 2008-11-01 - v0.6.5 82 * added support for SHA-256 as X.509 certificate digest when using the 83 internal X.509/TLSv1 implementation 84 * updated management frame protection to use IEEE 802.11w/D6.0 85 * added support for using SHA256-based stronger key derivation for WPA2 86 (IEEE 802.11w) 87 * fixed FT (IEEE 802.11r) authentication after a failed association to 88 use correct FTIE 89 * added support for configuring Phase 2 (inner/tunneled) authentication 90 method with wpa_gui-qt4 91 92 2008-08-10 - v0.6.4 93 * added support for EAP Sequences in EAP-FAST Phase 2 94 * added support for using TNC with EAP-FAST 95 * added driver_ps3 for the PS3 Linux wireless driver 96 * added support for optional cryptobinding with PEAPv0 97 * fixed the OpenSSL patches (0.9.8g and 0.9.9) for EAP-FAST to 98 allow fallback to full handshake if server rejects PAC-Opaque 99 * added fragmentation support for EAP-TNC 100 * added support for parsing PKCS #8 formatted private keys into the 101 internal TLS implementation (both PKCS #1 RSA key and PKCS #8 102 encapsulated RSA key can now be used) 103 * added option of using faster, but larger, routines in the internal 104 LibTomMath (for internal TLS implementation) to speed up DH and RSA 105 calculations (CONFIG_INTERNAL_LIBTOMMATH_FAST=y) 106 * fixed race condition between disassociation event and group key 107 handshake to avoid getting stuck in incorrect state [Bug 261] 108 * fixed opportunistic key caching (proactive_key_caching) 109 110 2008-02-22 - v0.6.3 111 * removed 'nai' and 'eappsk' network configuration variables that were 112 previously used for configuring user identity and key for EAP-PSK, 113 EAP-PAX, EAP-SAKE, and EAP-GPSK. 'identity' field is now used as the 114 replacement for 'nai' (if old configuration used a separate 115 'identity' value, that would now be configured as 116 'anonymous_identity'). 'password' field is now used as the 117 replacement for 'eappsk' (it can also be set using hexstring to 118 present random binary data) 119 * removed '-w' command line parameter (wait for interface to be added, 120 if needed); cleaner way of handling this functionality is to use an 121 external mechanism (e.g., hotplug scripts) that start wpa_supplicant 122 when an interface is added 123 * updated FT support to use the latest draft, IEEE 802.11r/D9.0 124 * added ctrl_iface monitor event (CTRL-EVENT-SCAN-RESULTS) for 125 indicating when new scan results become available 126 * added new ctrl_iface command, BSS, to allow scan results to be 127 fetched without hitting the message size limits (this command 128 can be used to iterate through the scan results one BSS at the time) 129 * fixed EAP-SIM not to include AT_NONCE_MT and AT_SELECTED_VERSION 130 attributes in EAP-SIM Start/Response when using fast reauthentication 131 * fixed EAPOL not to end up in infinite loop when processing dynamic 132 WEP keys with IEEE 802.1X 133 * fixed problems in getting NDIS events from WMI on Windows 2000 134 135 2008-01-01 - v0.6.2 136 * added support for Makefile builds to include debug-log-to-a-file 137 functionality (CONFIG_DEBUG_FILE=y and -f<path> on command line) 138 * fixed EAP-SIM and EAP-AKA message parser to validate attribute 139 lengths properly to avoid potential crash caused by invalid messages 140 * added data structure for storing allocated buffers (struct wpabuf); 141 this does not affect wpa_supplicant usage, but many of the APIs 142 changed and various interfaces (e.g., EAP) is not compatible with old 143 versions 144 * added support for protecting EAP-AKA/Identity messages with 145 AT_CHECKCODE (optional feature in RFC 4187) 146 * added support for protected result indication with AT_RESULT_IND for 147 EAP-SIM and EAP-AKA (phase1="result_ind=1") 148 * added driver_wext workaround for race condition between scanning and 149 association with drivers that take very long time to scan all 150 channels (e.g., madwifi with dual-band cards); wpa_supplicant is now 151 using a longer hardcoded timeout for the scan if the driver supports 152 notifications for scan completion (SIOCGIWSCAN event); this helps, 153 e.g., in cases where wpa_supplicant and madwifi driver ended up in 154 loop where the driver did not even try to associate 155 * stop EAPOL timer tick when no timers are in use in order to reduce 156 power consumption (no need to wake up the process once per second) 157 [Bug 237] 158 * added support for privilege separation (run only minimal part of 159 wpa_supplicant functionality as root and rest as unprivileged, 160 non-root process); see 'Privilege separation' in README for details; 161 this is disabled by default and can be enabled with CONFIG_PRIVSEP=y 162 in .config 163 * changed scan results data structure to include all information 164 elements to make it easier to support new IEs; old get_scan_result() 165 driver_ops is still supported for backwards compatibility (results 166 are converted internally to the new format), but all drivers should 167 start using the new get_scan_results2() to make them more likely to 168 work with new features 169 * Qt4 version of wpa_gui (wpa_gui-qt4 subdirectory) is now native Qt4 170 application, i.e., it does not require Qt3Support anymore; Windows 171 binary of wpa_gui.exe is now from this directory and only requires 172 QtCore4.dll and QtGui4.dll libraries 173 * updated Windows binary build to use Qt 4.3.3 and made Qt DLLs 174 available as a separate package to make wpa_gui installation easier: 175 http://w1.fi/wpa_supplicant/qt4/wpa_gui-qt433-windows-dll.zip 176 * added support for EAP-IKEv2 (draft-tschofenig-eap-ikev2-15.txt); 177 only shared key/password authentication is supported in this version 178 179 2007-11-24 - v0.6.1 180 * added support for configuring password as NtPasswordHash 181 (16-byte MD4 hash of password) in hash:<32 hex digits> format 182 * added support for fallback from abbreviated TLS handshake to 183 full handshake when using EAP-FAST (e.g., due to an expired 184 PAC-Opaque) 185 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest 186 draft (draft-ietf-emu-eap-gpsk-07.txt) 187 * added support for drivers that take care of RSN 4-way handshake 188 internally (WPA_DRIVER_FLAGS_4WAY_HANDSHAKE in get_capa flags and 189 WPA_ALG_PMK in set_key) 190 * added an experimental port for Mac OS X (CONFIG_DRIVER_OSX=y in 191 .config); this version supports only ap_scan=2 mode and allow the 192 driver to take care of the 4-way handshake 193 * fixed a buffer overflow in parsing TSF from scan results when using 194 driver_wext.c with a driver that includes the TSF (e.g., iwl4965) 195 [Bug 232] 196 * updated FT support to use the latest draft, IEEE 802.11r/D8.0 197 * fixed an integer overflow issue in the ASN.1 parser used by the 198 (experimental) internal TLS implementation to avoid a potential 199 buffer read overflow 200 * fixed a race condition with -W option (wait for a control interface 201 monitor before starting) that could have caused the first messages to 202 be lost 203 * added support for processing TNCC-TNCS-Messages to report 204 recommendation (allow/none/isolate) when using TNC [Bug 243] 205 206 2007-05-28 - v0.6.0 207 * added network configuration parameter 'frequency' for setting 208 initial channel for IBSS (adhoc) networks 209 * added experimental IEEE 802.11r/D6.0 support 210 * updated EAP-SAKE to RFC 4763 and the IANA-allocated EAP type 48 211 * updated EAP-PSK to use the IANA-allocated EAP type 47 212 * fixed EAP-PAX key derivation 213 * fixed EAP-PSK bit ordering of the Flags field 214 * fixed EAP-PEAP/TTLS/FAST to use the correct EAP identifier in 215 tunnelled identity request (previously, the identifier from the outer 216 method was used, not the tunnelled identifier which could be 217 different) 218 * added support for fragmentation of outer TLS packets during Phase 2 219 of EAP-PEAP/TTLS/FAST 220 * fixed EAP-TTLS AVP parser processing for too short AVP lengths 221 * added support for EAP-FAST authentication with inner methods that 222 generate MSK (e.g., EAP-MSCHAPv2 that was previously only supported 223 for PAC provisioning) 224 * added support for authenticated EAP-FAST provisioning 225 * added support for configuring maximum number of EAP-FAST PACs to 226 store in a PAC list (fast_max_pac_list_len=<max> in phase1 string) 227 * added support for storing EAP-FAST PACs in binary format 228 (fast_pac_format=binary in phase1 string) 229 * fixed dbus ctrl_iface to validate message interface before 230 dispatching to avoid a possible segfault [Bug 190] 231 * fixed PeerKey key derivation to use the correct PRF label 232 * updated Windows binary build to link against OpenSSL 0.9.8d and 233 added support for EAP-FAST 234 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest 235 draft (draft-ietf-emu-eap-gpsk-04.txt) 236 * fixed EAP-AKA Notification processing to allow Notification to be 237 processed after AKA Challenge response has been sent 238 * updated to use IEEE 802.11w/D2.0 for management frame protection 239 (still experimental) 240 * fixed EAP-TTLS implementation not to crash on use of freed memory 241 if TLS library initialization fails 242 * added support for EAP-TNC (Trusted Network Connect) 243 (this version implements the EAP-TNC method and EAP-TTLS changes 244 needed to run two methods in sequence (IF-T) and the IF-IMC and 245 IF-TNCCS interfaces from TNCC) 246 247 2006-11-24 - v0.5.6 248 * added experimental, integrated TLSv1 client implementation with the 249 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by 250 setting CONFIG_TLS=internal and CONFIG_INTERNAL_LIBTOMMATH=y in 251 .config); this can be useful, e.g., if the target system does not 252 have a suitable TLS library and a minimal code size is required 253 (total size of this internal TLS/crypto code is bit under 50 kB on 254 x86 and the crypto code is shared by rest of the supplicant so some 255 of it was already required; TLSv1/X.509/ASN.1/RSA added about 25 kB) 256 * removed STAKey handshake since PeerKey handshake has replaced it in 257 IEEE 802.11ma and there are no known deployments of STAKey 258 * updated EAP Generalized Pre-Shared Key (EAP-GPSK) to use the latest 259 draft (draft-ietf-emu-eap-gpsk-01.txt) 260 * added preliminary implementation of IEEE 802.11w/D1.0 (management 261 frame protection) 262 (Note: this requires driver support to work properly.) 263 (Note2: IEEE 802.11w is an unapproved draft and subject to change.) 264 * fixed Windows named pipes ctrl_iface to not stop listening for 265 commands if client program opens a named pipe and closes it 266 immediately without sending a command 267 * fixed USIM PIN status determination for the case that PIN is not 268 needed (this allows EAP-AKA to be used with USIM cards that do not 269 use PIN) 270 * added support for reading 3G USIM AID from EF_DIR to allow EAP-AKA to 271 be used with cards that do not support file selection based on 272 partial AID 273 * added support for matching the subjectAltName of the authentication 274 server certificate against multiple name components (e.g., 275 altsubject_match="DNS:server.example.com;DNS:server2.example.com") 276 * fixed EAP-SIM/AKA key derivation for re-authentication case (only 277 affects IEEE 802.1X with dynamic WEP keys) 278 * changed ctrl_iface network configuration 'get' operations to not 279 return password/key material; if these fields are requested, "*" 280 will be returned if the password/key is set, but the value of the 281 parameter is not exposed 282 283 2006-08-27 - v0.5.5 284 * added support for building Windows version with UNICODE defined 285 (wide-char functions) 286 * driver_ndis: fixed static WEP configuration to avoid race condition 287 issues with some NDIS drivers between association and setting WEP 288 keys 289 * driver_ndis: added validation for IELength value in scan results to 290 avoid crashes when using buggy NDIS drivers [Bug 165] 291 * fixed Release|Win32 target in the Visual Studio project files 292 (previously, only Debug|Win32 target was set properly) 293 * changed control interface API call wpa_ctrl_pending() to allow it to 294 return -1 on error (e.g., connection lost); control interface clients 295 will need to make sure that they verify that the value is indeed >0 296 when determining whether there are pending messages 297 * added an alternative control interface backend for Windows targets: 298 Named Pipe (CONFIG_CTRL_IFACE=named_pipe); this is now the default 299 control interface mechanism for Windows builds (previously, UDP to 300 localhost was used) 301 * changed ctrl_interface configuration for UNIX domain sockets: 302 - deprecated ctrl_interface_group variable (it may be removed in 303 future versions) 304 - allow both directory and group be configured with ctrl_interface 305 in following format: DIR=/var/run/wpa_supplicant GROUP=wheel 306 - ctrl_interface=/var/run/wpa_supplicant is still supported for the 307 case when group is not changed 308 * added support for controlling more than one interface per process in 309 Windows version 310 * added a workaround for a case where the AP is using unknown address 311 (e.g., MAC address of the wired interface) as the source address for 312 EAPOL-Key frames; previously, that source address was used as the 313 destination for EAPOL-Key frames and in key derivation; now, BSSID is 314 used even if the source address does not match with it 315 (this resolves an interoperability issue with Thomson SpeedTouch 580) 316 * added a workaround for UDP-based control interface (which was used in 317 Windows builds before this release) to prevent packets with forged 318 addresses from being accepted as local control requests 319 * removed ndis_events.cpp and possibility of using external 320 ndis_events.exe; C version (ndis_events.c) is fully functional and 321 there is no desire to maintain two separate versions of this 322 implementation 323 * ndis_events: Changed NDIS event notification design to use WMI to 324 learn the adapter description through Win32_PnPEntity class; this 325 should fix some cases where the adapter name was not recognized 326 correctly (e.g., with some USB WLAN adapters, e.g., Ralink RT2500 327 USB) [Bug 113] 328 * fixed selection of the first network in ap_scan=2 mode; previously, 329 wpa_supplicant could get stuck in SCANNING state when only the first 330 network for enabled (e.g., after 'wpa_cli select_network 0') 331 * winsvc: added support for configuring ctrl_interface parameters in 332 registry (ctrl_interface string value in 333 HKLM\SOFTWARE\wpa_supplicant\interfaces\0000 key); this new value is 334 required to enable control interface (previously, this was hardcoded 335 to be enabled) 336 * allow wpa_gui subdirectory to be built with both Qt3 and Qt4 337 * converted wpa_gui-qt4 subdirectory to use Qt4 specific project format 338 339 2006-06-20 - v0.5.4 340 * fixed build with CONFIG_STAKEY=y [Bug 143] 341 * added support for doing MLME (IEEE 802.11 management frame 342 processing) in wpa_supplicant when using Devicescape IEEE 802.11 343 stack (wireless-dev.git tree) 344 * added a new network block configuration option, fragment_size, to 345 configure the maximum EAP fragment size 346 * driver_ndis: Disable WZC automatically for the selected interface to 347 avoid conflicts with two programs trying to control the radio; WZC 348 will be re-enabled (if it was enabled originally) when wpa_supplicant 349 is terminated 350 * added an experimental TLSv1 client implementation 351 (CONFIG_TLS=internal) that can be used instead of an external TLS 352 library, e.g., to reduce total size requirement on systems that do 353 not include any TLS library by default (this is not yet complete; 354 basic functionality is there, but certificate validation is not yet 355 included) 356 * added PeerKey handshake implementation for IEEE 802.11e 357 direct link setup (DLS) to replace STAKey handshake 358 * fixed WPA PSK update through ctrl_iface for the case where the old 359 PSK was derived from an ASCII passphrase and the new PSK is set as 360 a raw PSK (hex string) 361 * added new configuration option for identifying which network block 362 was used (id_str in wpa_supplicant.conf; included on 363 WPA_EVENT_CONNECT monitor event and as WPA_ID_STR environmental 364 variable in wpa_cli action scripts; in addition WPA_ID variable is 365 set to the current unique identifier that wpa_supplicant assigned 366 automatically for the network and that can be used with 367 GET_NETWORK/SET_NETWORK ctrl_iface commands) 368 * wpa_cli action script is now called only when the connect/disconnect 369 status changes or when associating with a different network 370 * fixed configuration parser not to remove CCMP from group cipher list 371 if WPA-None (adhoc) is used (pairwise=NONE in that case) 372 * fixed integrated NDIS events processing not to hang the process due 373 to a missed change in eloop_win.c API in v0.5.3 [Bug 155] 374 * added support for EAP Generalized Pre-Shared Key (EAP-GPSK, 375 draft-clancy-emu-eap-shared-secret-00.txt) 376 * added Microsoft Visual Studio 2005 solution and project files for 377 build wpa_supplicant for Windows (see vs2005 subdirectory) 378 * eloop_win: fixed unregistration of Windows events 379 * l2_packet_winpcap: fixed a deadlock in deinitializing l2_packet 380 at the end of RSN pre-authentication and added unregistration of 381 a Windows event to avoid getting eloop_win stuck with an invalid 382 handle 383 * driver_ndis: added support for selecting AP based on BSSID 384 * added new environmental variable for wpa_cli action scripts: 385 WPA_CTRL_DIR is the current control interface directory 386 * driver_ndis: added support for using NDISUIO instead of WinPcap for 387 OID set/query operations (CONFIG_USE_NDISUIO=y in .config); with new 388 l2_packet_ndis (CONFIG_L2_PACKET=ndis), this can be used to build 389 wpa_supplicant without requiring WinPcap; note that using NDISUIO 390 requires that WZC is disabled (net stop wzcsvc) since NDISUIO allows 391 only one application to open the device 392 * changed NDIS driver naming to only include device GUID, e.g., 393 {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D}, instead of including WinPcap 394 specific \Device\NPF_ prefix before the GUID; the prefix is still 395 allowed for backwards compatibility, but it is not required anymore 396 when specifying the interface 397 * driver_ndis: re-initialize driver interface is the adapter is removed 398 and re-inserted [Bug 159] 399 * driver_madwifi: fixed TKIP and CCMP sequence number configuration on 400 big endian hosts [Bug 146] 401 402 2006-04-27 - v0.5.3 403 * fixed EAP-GTC response to include correct user identity when run as 404 phase 2 method of EAP-FAST (i.e., EAP-FAST did not work in v0.5.2) 405 * driver_ndis: Fixed encryption mode configuration for unencrypted 406 networks (some NDIS drivers ignored this, but others, e.g., Broadcom, 407 refused to associate with open networks) [Bug 106] 408 * driver_ndis: use BSSID OID polling to detect when IBSS network is 409 formed even when ndis_events code is included since some NDIS drivers 410 do not generate media connect events in IBSS mode 411 * config_winreg: allow global ctrl_interface parameter to be configured 412 in Windows registry 413 * config_winreg: added support for saving configuration data into 414 Windows registry 415 * added support for controlling network device operational state 416 (dormant/up) for Linux 2.6.17 to improve DHCP processing (see 417 http://www.flamewarmaster.de/software/dhcpclient/ for a DHCP client 418 that can use this information) 419 * driver_wext: added support for WE-21 change to SSID configuration 420 * driver_wext: fixed privacy configuration for static WEP keys mode 421 [Bug 140] 422 * added an optional driver_ops callback for MLME-SETPROTECTION.request 423 primitive 424 * added support for EAP-SAKE (no EAP method number allocated yet, so 425 this is using the same experimental type 255 as EAP-PSK) 426 * added support for dynamically loading EAP methods (.so files) instead 427 of requiring them to be statically linked in; this is disabled by 428 default (see CONFIG_DYNAMIC_EAP_METHODS in defconfig for information 429 on how to use this) 430 431 2006-03-19 - v0.5.2 432 * do not try to use USIM APDUs when initializing PC/SC for SIM card 433 access for a network that has not enabled EAP-AKA 434 * fixed EAP phase 2 Nak for EAP-{PEAP,TTLS,FAST} (this was broken in 435 v0.5.1 due to the new support for expanded EAP types) 436 * added support for generating EAP Expanded Nak 437 * try to fetch scan results once before requesting new scan when 438 starting up in ap_scan=1 mode (this can speed up initial association 439 a lot with, e.g., madwifi-ng driver) 440 * added support for receiving EAPOL frames from a Linux bridge 441 interface (-bbr0 on command line) 442 * fixed EAPOL re-authentication for sessions that used PMKSA caching 443 * changed EAP method registration to use a dynamic list of methods 444 instead of a static list generated at build time 445 * fixed PMKSA cache deinitialization not to use freed memory when 446 removing PMKSA entries 447 * fixed a memory leak in EAP-TTLS re-authentication 448 * reject WPA/WPA2 message 3/4 if it does not include any valid 449 WPA/RSN IE 450 * driver_wext: added fallback to use SIOCSIWENCODE for setting auth_alg 451 if the driver does not support SIOCSIWAUTH 452 453 2006-01-29 - v0.5.1 454 * driver_test: added better support for multiple APs and STAs by using 455 a directory with sockets that include MAC address for each device in 456 the name (driver_param=test_dir=/tmp/test) 457 * added support for EAP expanded type (vendor specific EAP methods) 458 * added AP_SCAN command into ctrl_iface so that ap_scan configuration 459 option can be changed if needed 460 * wpa_cli/wpa_gui: skip non-socket files in control directory when 461 using UNIX domain sockets; this avoids selecting an incorrect 462 interface (e.g., a PID file could be in this directory, even though 463 use of this directory for something else than socket files is not 464 recommended) 465 * fixed TLS library deinitialization after RSN pre-authentication not 466 to disable TLS library for normal authentication 467 * driver_wext: Remove null-termination from SSID length if the driver 468 used it; some Linux drivers do this and they were causing problems in 469 wpa_supplicant not finding matching configuration block. This change 470 would break a case where the SSID actually ends in '\0', but that is 471 not likely to happen in real use. 472 * fixed PMKSA cache processing not to trigger deauthentication if the 473 current PMKSA cache entry is replaced with a valid new entry 474 * fixed PC/SC initialization for ap_scan != 1 modes (this fixes 475 EAP-SIM and EAP-AKA with real SIM/USIM card when using ap_scan=0 or 476 ap_scan=2) 477 478 2005-12-18 - v0.5.0 (beginning of 0.5.x development releases) 479 * added experimental STAKey handshake implementation for IEEE 802.11e 480 direct link setup (DLS); note: this is disabled by default in both 481 build and runtime configuration (can be enabled with CONFIG_STAKEY=y 482 and stakey=1) 483 * fixed EAP-SIM and EAP-AKA pseudonym and fast re-authentication to 484 decrypt AT_ENCR_DATA attributes correctly 485 * fixed EAP-AKA to allow resynchronization within the same session 486 * made code closer to ANSI C89 standard to make it easier to port to 487 other C libraries and compilers 488 * started moving operating system or C library specific functions into 489 wrapper functions defined in os.h and implemented in os_*.c to make 490 code more portable 491 * wpa_supplicant can now be built with Microsoft Visual C++ 492 (e.g., with the freely available Toolkit 2003 version or Visual 493 C++ 2005 Express Edition and Platform SDK); see nmake.mak for an 494 example makefile for nmake 495 * added support for using Windows registry for command line parameters 496 (CONFIG_MAIN=main_winsvc) and configuration data 497 (CONFIG_BACKEND=winreg); see win_example.reg for an example registry 498 contents; this version can be run both as a Windows service and as a 499 normal application; 'wpasvc.exe app' to start as applicant, 500 'wpasvc.exe reg <full path to wpasvc.exe>' to register a service, 501 'net start wpasvc' to start the service, 'wpasvc.exe unreg' to 502 unregister a service 503 * made it possible to link ndis_events.exe functionality into 504 wpa_supplicant.exe by defining CONFIG_NDIS_EVENTS_INTEGRATED 505 * added better support for multiple control interface backends 506 (CONFIG_CTRL_IFACE option); currently, 'unix' and 'udp' are supported 507 * fixed PC/SC code to use correct length for GSM AUTH command buffer 508 and to not use pioRecvPci with SCardTransmit() calls; these were not 509 causing visible problems with pcsc-lite, but Windows Winscard.dll 510 refused the previously used parameters; this fixes EAP-SIM and 511 EAP-AKA authentication using SIM/USIM card under Windows 512 * added new event loop implementation for Windows using 513 WaitForMultipleObject() instead of select() in order to allow waiting 514 for non-socket objects; this can be selected with 515 CONFIG_ELOOP=eloop_win in .config 516 * added support for selecting l2_packet implementation in .config 517 (CONFIG_L2_PACKET; following options are available now: linux, pcap, 518 winpcap, freebsd, none) 519 * added new l2_packet implementation for WinPcap 520 (CONFIG_L2_PACKET=winpcap) that uses a separate receive thread to 521 reduce latency in EAPOL receive processing from about 100 ms to about 522 3 ms 523 * added support for EAP-FAST key derivation using other ciphers than 524 RC4-128-SHA for authentication and AES128-SHA for provisioning 525 * added support for configuring CA certificate as DER file and as a 526 configuration blob 527 * fixed private key configuration as configuration blob and added 528 support for using PKCS#12 as a blob 529 * tls_gnutls: added support for using PKCS#12 files; added support for 530 session resumption 531 * added support for loading trusted CA certificates from Windows 532 certificate store: ca_cert="cert_store://<name>", where <name> is 533 likely CA (Intermediate CA certificates) or ROOT (root certificates) 534 * added C version of ndis_events.cpp and made it possible to build this 535 with MinGW so that CONFIG_NDIS_EVENTS_INTEGRATED can be used more 536 easily on cross-compilation builds 537 * added wpasvc.exe into Windows binary release; this is an alternative 538 version of wpa_supplicant.exe with configuration backend using 539 Windows registry and with the entry point designed to run as a 540 Windows service 541 * integrated ndis_events.exe functionality into wpa_supplicant.exe and 542 wpasvc.exe and removed this additional tool from the Windows binary 543 release since it is not needed anymore 544 * load winscard.dll functions dynamically when building with MinGW 545 since MinGW does not yet include winscard library 546 547 2005-11-20 - v0.4.7 (beginning of 0.4.x stable releases) 548 * l2_packet_pcap: fixed wired IEEE 802.1X authentication with libpcap 549 and WinPcap to receive frames sent to PAE group address 550 * disable EAP state machine when IEEE 802.1X authentication is not used 551 in order to get rid of bogus "EAP failed" messages 552 * fixed OpenSSL error reporting to go through all pending errors to 553 avoid confusing reports of old errors being reported at later point 554 during handshake 555 * fixed configuration file updating to not write empty variables 556 (e.g., proto or key_mgmt) that the file parser would not accept 557 * fixed ADD_NETWORK ctrl_iface command to use the same default values 558 for variables as empty network definitions read from config file 559 would get 560 * fixed EAP state machine to not discard EAP-Failure messages in many 561 cases (e.g., during TLS handshake) 562 * fixed a infinite loop in private key reading if the configured file 563 cannot be parsed successfully 564 * driver_madwifi: added support for madwifi-ng 565 * wpa_gui: do not display password/PSK field contents 566 * wpa_gui: added CA certificate configuration 567 * driver_ndis: fixed scan request in ap_scan=2 mode not to change SSID 568 * driver_ndis: include Beacon IEs in AssocInfo in order to notice if 569 the new AP is using different WPA/RSN IE 570 * use longer timeout for IEEE 802.11 association to avoid problems with 571 drivers that may take more than five second to associate 572 573 2005-10-27 - v0.4.6 574 * allow fallback to WPA, if mixed WPA+WPA2 networks have mismatch in 575 RSN IE, but WPA IE would match with wpa_supplicant configuration 576 * added support for named configuration blobs in order to avoid having 577 to use file system for external files (e.g., certificates); 578 variables can be set to "blob://<blob name>" instead of file path to 579 use a named blob; supported fields: pac_file, client_cert, 580 private_key 581 * fixed RSN pre-authentication (it was broken in the clean up of WPA 582 state machine interface in v0.4.5) 583 * driver_madwifi: set IEEE80211_KEY_GROUP flag for group keys to make 584 sure the driver configures broadcast decryption correctly 585 * added ca_path (and ca_path2) configuration variables that can be used 586 to configure OpenSSL CA path, e.g., /etc/ssl/certs, for using the 587 system-wide trusted CA list 588 * added support for starting wpa_supplicant without a configuration 589 file (-C argument must be used to set ctrl_interface parameter for 590 this case; in addition, -p argument can be used to provide 591 driver_param; these new arguments can also be used with a 592 configuration to override the values from the configuration) 593 * added global control interface that can be optionally used for adding 594 and removing network interfaces dynamically (-g command line argument 595 for both wpa_supplicant and wpa_cli) without having to restart 596 wpa_supplicant process 597 * wpa_gui: 598 - try to save configuration whenever something is modified 599 - added WEP key configuration 600 - added possibility to edit the current network configuration 601 * driver_ndis: fixed driver polling not to increase frequency on each 602 received EAPOL frame due to incorrectly cancelled timeout 603 * added simple configuration file examples (in examples subdirectory) 604 * fixed driver_wext.c to filter wireless events based on ifindex to 605 avoid interfaces receiving events from other interfaces 606 * delay sending initial EAPOL-Start couple of seconds to speed up 607 authentication for the most common case of Authenticator starting 608 EAP authentication immediately after association 609 610 2005-09-25 - v0.4.5 611 * added a workaround for clearing keys with ndiswrapper to allow 612 roaming from WPA enabled AP to plaintext one 613 * added docbook documentation (doc/docbook) that can be used to 614 generate, e.g., man pages 615 * l2_packet_linux: use socket type SOCK_DGRAM instead of SOCK_RAW for 616 PF_PACKET in order to prepare for network devices that do not use 617 Ethernet headers (e.g., network stack with native IEEE 802.11 frames) 618 * use receipt of EAPOL-Key frame as a lower layer success indication 619 for EAP state machine to allow recovery from dropped EAP-Success 620 frame 621 * cleaned up internal EAPOL frame processing by not including link 622 layer (Ethernet) header during WPA and EAPOL/EAP processing; this 623 header is added only when transmitted the frame; this makes it easier 624 to use wpa_supplicant on link layers that use different header than 625 Ethernet 626 * updated EAP-PSK to use draft 9 by default since this can now be 627 tested with hostapd; removed support for draft 3, including 628 server_nai configuration option from network blocks 629 * driver_wired: add PAE address to the multicast address list in order 630 to be able to receive EAPOL frames with drivers that do not include 631 these multicast addresses by default 632 * driver_wext: add support for WE-19 633 * added support for multiple configuration backends (CONFIG_BACKEND 634 option); currently, only 'file' is supported (i.e., the format used 635 in wpa_supplicant.conf) 636 * added support for updating configuration ('wpa_cli save_config'); 637 this is disabled by default and can be enabled with global 638 update_config=1 variable in wpa_supplicant.conf; this allows wpa_cli 639 and wpa_gui to store the configuration changes in a permanent store 640 * added GET_NETWORK ctrl_iface command 641 (e.g., 'wpa_cli get_network 0 ssid') 642 643 2005-08-21 - v0.4.4 644 * replaced OpenSSL patch for EAP-FAST support 645 (openssl-tls-extensions.patch) with a more generic and correct 646 patch (the new patch is not compatible with the previous one, so the 647 OpenSSL library will need to be patched with the new patch in order 648 to be able to build wpa_supplicant with EAP-FAST support) 649 * added support for using Windows certificate store (through CryptoAPI) 650 for client certificate and private key operations (EAP-TLS) 651 (see wpa_supplicant.conf for more information on how to configure 652 this with private_key) 653 * ported wpa_gui to Windows 654 * added Qt4 version of wpa_gui (wpa_gui-qt4 directory); this can be 655 built with the open source version of the Qt4 for Windows 656 * allow non-WPA modes (e.g., IEEE 802.1X with dynamic WEP) to be used 657 with drivers that do not support WPA 658 * ndis_events: fixed Windows 2000 support 659 * added support for enabling/disabling networks from the list of all 660 configured networks ('wpa_cli enable_network <network id>' and 661 'wpa_cli disable_network <network id>') 662 * added support for adding and removing network from the current 663 configuration ('wpa_cli add_network' and 'wpa_cli remove_network 664 <network id>'); added networks are disabled by default and they can 665 be enabled with enable_network command once the configuration is done 666 for the new network; note: configuration file is not yet updated, so 667 these new networks are lost when wpa_supplicant is restarted 668 * added support for setting network configuration parameters through 669 the control interface, for example: 670 wpa_cli set_network 0 ssid "\"my network\"" 671 * fixed parsing of strings that include both " and # within double 672 quoted area (e.g., "start"#end") 673 * added EAP workaround for PEAP session resumption: allow outer, 674 i.e., not tunneled, EAP-Success to terminate session since; this can 675 be disabled with eap_workaround=0 676 (this was allowed for PEAPv1 before, but now it is also allowed for 677 PEAPv0 since at least one RADIUS authentication server seems to be 678 doing this for PEAPv0, too) 679 * wpa_gui: added preliminary support for adding new networks to the 680 wpa_supplicant configuration (double click on the scan results to 681 open network configuration) 682 683 2005-06-26 - v0.4.3 684 * removed interface for external EAPOL/EAP supplicant (e.g., 685 Xsupplicant), (CONFIG_XSUPPLICANT_IFACE) since it is not required 686 anymore and is unlikely to be used by anyone 687 * driver_ndis: fixed WinPcap 3.0 support 688 * fixed build with CONFIG_DNET_PCAP=y on Linux 689 * l2_packet: moved different implementations into separate files 690 (l2_packet_*.c) 691 692 2005-06-12 - v0.4.2 693 * driver_ipw: updated driver structures to match with ipw2200-1.0.4 694 (note: ipw2100-1.1.0 is likely to require an update to work with 695 this) 696 * added support for using ap_scan=2 mode with multiple network blocks; 697 wpa_supplicant will go through the networks one by one until the 698 driver reports a successful association; this uses the same order for 699 networks as scan_ssid=1 scans, i.e., the priority field is ignored 700 and the network block order in the file is used instead 701 * fixed a potential issue in RSN pre-authentication ending up using 702 freed memory if pre-authentication times out 703 * added support for matching alternative subject name extensions of the 704 authentication server certificate; new configuration variables 705 altsubject_match and altsubject_match2 706 * driver_ndis: added support for IEEE 802.1X authentication with wired 707 NDIS drivers 708 * added support for querying private key password (EAP-TLS) through the 709 control interface (wpa_cli/wpa_gui) if one is not included in the 710 configuration file 711 * driver_broadcom: fixed couple of memory leaks in scan result 712 processing 713 * EAP-PAX is now registered as EAP type 46 714 * fixed EAP-PAX MAC calculation 715 * fixed EAP-PAX CK and ICK key derivation 716 * added support for using password with EAP-PAX (as an alternative to 717 entering key with eappsk); SHA-1 hash of the password will be used as 718 the key in this case 719 * added support for arbitrary driver interface parameters through the 720 configuration file with a new driver_param field; this adds a new 721 driver_ops function set_param() 722 * added possibility to override l2_packet module with driver interface 723 API (new send_eapol handler); this can be used to implement driver 724 specific TX/RX functions for EAPOL frames 725 * fixed ctrl_interface_group processing for the case where gid is 726 entered as a number, not group name 727 * driver_test: added support for testing hostapd with wpa_supplicant 728 by using test driver interface without any kernel drivers or network 729 cards 730 731 2005-05-22 - v0.4.1 732 * driver_madwifi: fixed WPA/WPA2 mode configuration to allow EAPOL 733 packets to be encrypted; this was apparently broken by the changed 734 ioctl order in v0.4.0 735 * driver_madwifi: added preliminary support for compiling against 'BSD' 736 branch of madwifi CVS tree 737 * added support for EAP-MSCHAPv2 password retries within the same EAP 738 authentication session 739 * added support for password changes with EAP-MSCHAPv2 (used when the 740 password has expired) 741 * added support for reading additional certificates from PKCS#12 files 742 and adding them to the certificate chain 743 * fixed association with IEEE 802.1X (no WPA) when dynamic WEP keys 744 were used 745 * fixed a possible double free in EAP-TTLS fast-reauthentication when 746 identity or password is entered through control interface 747 * display EAP Notification messages to user through control interface 748 with "CTRL-EVENT-EAP-NOTIFICATION" prefix 749 * added GUI version of wpa_cli, wpa_gui; this is not build 750 automatically with 'make'; use 'make wpa_gui' to build (this requires 751 Qt development tools) 752 * added 'disconnect' command to control interface for setting 753 wpa_supplicant in state where it will not associate before 754 'reassociate' command has been used 755 * added support for selecting a network from the list of all configured 756 networks ('wpa_cli select_network <network id>'; this disabled all 757 other networks; to re-enable, 'wpa_cli select_network any') 758 * added support for getting scan results through control interface 759 * added EAP workaround for PEAPv1 session resumption: allow outer, 760 i.e., not tunneled, EAP-Success to terminate session since; this can 761 be disabled with eap_workaround=0 762 763 2005-04-25 - v0.4.0 (beginning of 0.4.x development releases) 764 * added a new build time option, CONFIG_NO_STDOUT_DEBUG, that can be 765 used to reduce the size of the wpa_supplicant considerably if 766 debugging code is not needed 767 * fixed EAPOL-Key validation to drop packets with invalid Key Data 768 Length; such frames could have crashed wpa_supplicant due to buffer 769 overflow 770 * added support for wired authentication (IEEE 802.1X on wired 771 Ethernet); driver interface 'wired' 772 * obsoleted set_wpa() handler in the driver interface API (it can be 773 replaced by moving enable/disable functionality into init()/deinit()) 774 (calls to set_wpa() are still present for backwards compatibility, 775 but they may be removed in the future) 776 * driver_madwifi: fixed association in plaintext mode 777 * modified the EAP workaround that accepts EAP-Success with incorrect 778 Identifier to be even less strict about verification in order to 779 interoperate with some authentication servers 780 * added support for sending TLS alerts 781 * added support for 'any' SSID wildcard; if ssid is not configured or 782 is set to an empty string, any SSID will be accepted for non-WPA AP 783 * added support for asking PIN (for SIM) from frontends (e.g., 784 wpa_cli); if a PIN is needed, but not included in the configuration 785 file, a control interface request is sent and EAP processing is 786 delayed until the PIN is available 787 * added support for using external devices (e.g., a smartcard) for 788 private key operations in EAP-TLS (CONFIG_SMARTCARD=y in .config); 789 new wpa_supplicant.conf variables: 790 - global: opensc_engine_path, pkcs11_engine_path, pkcs11_module_path 791 - network: engine, engine_id, key_id 792 * added experimental support for EAP-PAX 793 * added monitor mode for wpa_cli (-a<path to a program to run>) that 794 allows external commands (e.g., shell scripts) to be run based on 795 wpa_supplicant events, e.g., when authentication has been completed 796 and data connection is ready; other related wpa_cli arguments: 797 -B (run in background), -P (write PID file); wpa_supplicant has a new 798 command line argument (-W) that can be used to make it wait until a 799 control interface command is received in order to avoid missing 800 events 801 * added support for opportunistic WPA2 PMKSA key caching (disabled by 802 default, can be enabled with proactive_key_caching=1) 803 * fixed RSN IE in 4-Way Handshake message 2/4 for the case where 804 Authenticator rejects PMKSA caching attempt and the driver is not 805 using assoc_info events 806 * added -P<pid file> argument for wpa_supplicant to write the current 807 process id into a file 808 809 2005-02-12 - v0.3.7 (beginning of 0.3.x stable releases) 810 * added new phase1 option parameter, include_tls_length=1, to force 811 wpa_supplicant to add TLS Message Length field to all TLS messages 812 even if the packet is not fragmented; this may be needed with some 813 authentication servers 814 * fixed WPA/RSN IE verification in message 3 of 4-Way Handshake when 815 using drivers that take care of AP selection (e.g., when using 816 ap_scan=2) 817 * fixed reprocessing of pending request after ctrl_iface requests for 818 identity/password/otp 819 * fixed ctrl_iface requests for identity/password/otp in Phase 2 of 820 EAP-PEAP and EAP-TTLS 821 * all drivers using driver_wext: set interface up and select Managed 822 mode when starting wpa_supplicant; set interface down when exiting 823 * renamed driver_ipw2100.c to driver_ipw.c since it now supports both 824 ipw2100 and ipw2200; please note that this also changed the 825 configuration variable in .config to CONFIG_DRIVER_IPW 826 827 2005-01-24 - v0.3.6 828 * fixed a busy loop introduced in v0.3.5 for scan result processing 829 when no matching AP is found 830 831 2005-01-23 - v0.3.5 832 * added a workaround for an interoperability issue with a Cisco AP 833 when using WPA2-PSK 834 * fixed non-WPA IEEE 802.1X to use the same authentication timeout as 835 WPA with IEEE 802.1X (i.e., timeout 10 -> 70 sec to allow 836 retransmission of dropped frames) 837 * fixed issues with 64-bit CPUs and SHA1 cleanup in previous version 838 (e.g., segfault when processing EAPOL-Key frames) 839 * fixed EAP workaround and fast reauthentication configuration for 840 RSN pre-authentication; previously these were disabled and 841 pre-authentication would fail if the used authentication server 842 requires EAP workarounds 843 * added support for blacklisting APs that fail or timeout 844 authentication in ap_scan=1 mode so that all APs are tried in cases 845 where the ones with strongest signal level are failing authentication 846 * fixed CA certificate loading after a failed EAP-TLS/PEAP/TTLS 847 authentication attempt 848 * allow EAP-PEAP/TTLS fast reauthentication only if Phase 2 succeeded 849 in the previous authentication (previously, only Phase 1 success was 850 verified) 851 852 2005-01-09 - v0.3.4 853 * added preliminary support for IBSS (ad-hoc) mode configuration 854 (mode=1 in network block); this included a new key_mgmt mode 855 WPA-NONE, i.e., TKIP or CCMP with a fixed key (based on psk) and no 856 key management; see wpa_supplicant.conf for more details and an 857 example on how to configure this (note: this is currently implemented 858 only for driver_hostapd.c, but the changes should be trivial to add 859 in associate() handler for other drivers, too (assuming the driver 860 supports WPA-None) 861 * added preliminary port for native Windows (i.e., no cygwin) using 862 mingw 863 864 2005-01-02 - v0.3.3 865 * added optional support for GNU Readline and History Libraries for 866 wpa_cli (CONFIG_READLINE) 867 * cleaned up EAP state machine <-> method interface and number of 868 small problems with error case processing not terminating on 869 EAP-Failure but waiting for timeout 870 * added couple of workarounds for interoperability issues with a 871 Cisco AP when using WPA2 872 * added support for EAP-FAST (draft-cam-winget-eap-fast-00.txt); 873 Note: This requires a patch for openssl to add support for TLS 874 extensions and number of workarounds for operations without 875 certificates. Proof of concept type of experimental patch is 876 included in openssl-tls-extensions.patch. 877 878 2004-12-19 - v0.3.2 879 * fixed private key loading for cases where passphrase is not set 880 * fixed Windows/cygwin L2 packet handler freeing; previous version 881 could cause a segfault when RSN pre-authentication was completed 882 * added support for PMKSA caching with drivers that generate RSN IEs 883 (e.g., NDIS); currently, this is only implemented in driver_ndis.c, 884 but similar code can be easily added to driver_ndiswrapper.c once 885 ndiswrapper gets full support for RSN PMKSA caching 886 * improved recovery from PMKID mismatches by requesting full EAP 887 authentication in case of failed PMKSA caching attempt 888 * driver_ndis: added support for NDIS NdisMIncidateStatus() events 889 (this requires that ndis_events is ran while wpa_supplicant is 890 running) 891 * driver_ndis: use ADD_WEP/REMOVE_WEP when configuring WEP keys 892 * added support for driver interfaces to replace the interface name 893 based on driver/OS specific mapping, e.g., in case of driver_ndis, 894 this allows the beginning of the adapter description to be used as 895 the interface name 896 * added support for CR+LF (Windows-style) line ends in configuration 897 file 898 * driver_ndis: enable radio before starting scanning, disable radio 899 when exiting 900 * modified association event handler to set portEnabled = FALSE before 901 clearing port Valid in order to reset EAP state machine and avoid 902 problems with new authentication getting ignored because of state 903 machines ending up in AUTHENTICATED/SUCCESS state based on old 904 information 905 * added support for driver events to add PMKID candidates in order to 906 allow drivers to give priority to most likely roaming candidates 907 * driver_hostap: moved PrivacyInvoked configuration to associate() 908 function so that this will not be set for plaintext connections 909 * added KEY_MGMT_802_1X_NO_WPA as a new key_mgmt type so that driver 910 interface can distinguish plaintext and IEEE 802.1X (no WPA) 911 authentication 912 * fixed static WEP key configuration to use broadcast/default type for 913 all keys (previously, the default TX key was configured as pairwise/ 914 unicast key) 915 * driver_ndis: added legacy WPA capability detection for non-WPA2 916 drivers 917 * added support for setting static WEP keys for IEEE 802.1X without 918 dynamic WEP keying (eapol_flags=0) 919 920 2004-12-12 - v0.3.1 921 * added support for reading PKCS#12 (PFX) files (as a replacement for 922 PEM/DER) to get certificate and private key (CONFIG_PKCS12) 923 * fixed compilation with CONFIG_PCSC=y 924 * added new ap_scan mode, ap_scan=2, for drivers that take care of 925 association, but need to be configured with security policy and SSID, 926 e.g., ndiswrapper and NDIS driver; this mode should allow such 927 drivers to work with hidden SSIDs and optimized roaming; when 928 ap_scan=2 is used, only the first network block in the configuration 929 file is used and this configuration should have explicit security 930 policy (i.e., only one option in the lists) for key_mgmt, pairwise, 931 group, proto variables 932 * added experimental port of wpa_supplicant for Windows 933 - driver_ndis.c driver interface (NDIS OIDs) 934 - currently, this requires cygwin and WinPcap 935 - small utility, win_if_list, can be used to get interface name 936 * control interface can now be removed at build time; add 937 CONFIG_CTRL_IFACE=y to .config to maintain old functionality 938 * optional Xsupplicant interface can now be removed at build time; 939 (CONFIG_XSUPPLICANT_IFACE=y in .config to bring it back) 940 * added auth_alg to driver interface associate() parameters to make it 941 easier for drivers to configure authentication algorithm as part of 942 the association 943 944 2004-12-05 - v0.3.0 (beginning of 0.3.x development releases) 945 * driver_broadcom: added new driver interface for Broadcom wl.o driver 946 (a generic driver for Broadcom IEEE 802.11a/g cards) 947 * wpa_cli: fixed parsing of -p <path> command line argument 948 * PEAPv1: fixed tunneled EAP-Success reply handling to reply with TLS 949 ACK, not tunneled EAP-Success (of which only the first byte was 950 actually send due to a bug in previous code); this seems to 951 interoperate with most RADIUS servers that implements PEAPv1 952 * PEAPv1: added support for terminating PEAP authentication on tunneled 953 EAP-Success message; this can be configured by adding 954 peap_outer_success=0 on phase1 parameters in wpa_supplicant.conf 955 (some RADIUS servers require this whereas others require a tunneled 956 reply 957 * PEAPv1: changed phase1 option peaplabel to use default to 0, i.e., to 958 the old label for key derivation; previously, the default was 1, 959 but it looks like most existing PEAPv1 implementations use the old 960 label which is thus more suitable default option 961 * added support for EAP-PSK (draft-bersani-eap-psk-03.txt) 962 * fixed parsing of wep_tx_keyidx 963 * added support for configuring list of allowed Phase 2 EAP types 964 (for both EAP-PEAP and EAP-TTLS) instead of only one type 965 * added support for configuring IEEE 802.11 authentication algorithm 966 (auth_alg; mainly for using Shared Key authentication with static 967 WEP keys) 968 * added support for EAP-AKA (with UMTS SIM) 969 * fixed couple of errors in PCSC handling that could have caused 970 random-looking errors for EAP-SIM 971 * added support for EAP-SIM pseudonyms and fast re-authentication 972 * added support for EAP-TLS/PEAP/TTLS fast re-authentication (TLS 973 session resumption) 974 * added support for EAP-SIM with two challanges 975 (phase1="sim_min_num_chal=3" can be used to require three challenges) 976 * added support for configuring DH/DSA parameters for an ephemeral DH 977 key exchange (EAP-TLS/PEAP/TTLS) using new configuration parameters 978 dh_file and dh_file2 (phase 2); this adds support for using DSA keys 979 and optional DH key exchange to achieve forward secracy with RSA keys 980 * added support for matching subject of the authentication server 981 certificate with a substring when using EAP-TLS/PEAP/TTLS; new 982 configuration variables subject_match and subject_match2 983 * changed SSID configuration in driver_wext.c (used by many driver 984 interfaces) to use ssid_len+1 as the length for SSID since some Linux 985 drivers expect this 986 * fixed couple of unaligned reads in scan result parsing to fix WPA 987 connection on some platforms (e.g., ARM) 988 * added driver interface for Intel ipw2100 driver 989 * added support for LEAP with WPA 990 * added support for larger scan results report (old limit was 4 kB of 991 data, i.e., about 35 or so APs) when using Linux wireless extensions 992 v17 or newer 993 * fixed a bug in PMKSA cache processing: skip sending of EAPOL-Start 994 only if there is a PMKSA cache entry for the current AP 995 * fixed error handling for case where reading of scan results fails: 996 must schedule a new scan or wpa_supplicant will remain waiting 997 forever 998 * changed debug output to remove shared password/key material by 999 default; all key information can be included with -K command line 1000 argument to match the previous behavior 1001 * added support for timestamping debug log messages (disabled by 1002 default, can be enabled with -t command line argument) 1003 * set pairwise/group cipher suite for non-WPA IEEE 802.1X to WEP-104 1004 if keys are not configured to be used; this fixes IEEE 802.1X mode 1005 with drivers that use this information to configure whether Privacy 1006 bit can be in Beacon frames (e.g., ndiswrapper) 1007 * avoid clearing driver keys if no keys have been configured since last 1008 key clear request; this seems to improve reliability of group key 1009 handshake for ndiswrapper & NDIS driver which seems to be suffering 1010 of some kind of timing issue when the keys are cleared again after 1011 association 1012 * changed driver interface API: 1013 - WPA_SUPPLICANT_DRIVER_VERSION define can be used to determine which 1014 version is being used (now, this is set to 2; previously, it was 1015 not defined) 1016 - pass pointer to private data structure to all calls 1017 - the new API is not backwards compatible; all in-tree driver 1018 interfaces has been converted to the new API 1019 * added support for controlling multiple interfaces (radios) per 1020 wpa_supplicant process; each interface needs to be listed on the 1021 command line (-c, -i, -D arguments) with -N as a separator 1022 (-cwpa1.conf -iwlan0 -Dhostap -N -cwpa2.conf -iath0 -Dmadwifi) 1023 * added a workaround for EAP servers that incorrectly use same Id for 1024 sequential EAP packets 1025 * changed libpcap/libdnet configuration to use .config variable, 1026 CONFIG_DNET_PCAP, instead of requiring Makefile modification 1027 * improved downgrade attack detection in IE verification of msg 3/4: 1028 verify both WPA and RSN IEs, if present, not only the selected one; 1029 reject the AP if an RSN IE is found in msg 3/4, but not in Beacon or 1030 Probe Response frame, and RSN is enabled in wpa_supplicant 1031 configuration 1032 * fixed WPA msg 3/4 processing to allow Key Data field contain other 1033 IEs than just one WPA IE 1034 * added support for FreeBSD and driver interface for the BSD net80211 1035 layer (CONFIG_DRIVER_BSD=y in .config); please note that some of the 1036 required kernel mods have not yet been committed 1037 * made EAP workarounds configurable; enabled by default, can be 1038 disabled with network block option eap_workaround=0 1039 1040 2004-07-17 - v0.2.4 (beginning of 0.2.x stable releases) 1041 * resolved couple of interoperability issues with EAP-PEAPv1 and 1042 Phase 2 (inner EAP) fragment reassembly 1043 * driver_madwifi: fixed WEP key configuration for IEEE 802.1X when the 1044 AP is using non-zero key index for the unicast key and key index zero 1045 for the broadcast key 1046 * driver_hostap: fixed IEEE 802.1X WEP key updates and 1047 re-authentication by allowing unencrypted EAPOL frames when not using 1048 WPA 1049 * added a new driver interface, 'wext', which uses only standard, 1050 driver independent functionality in Linux wireless extensions; 1051 currently, this can be used only for non-WPA IEEE 802.1X mode, but 1052 eventually, this is to be extended to support full WPA/WPA2 once 1053 Linux wireless extensions get support for this 1054 * added support for mode in which the driver is responsible for AP 1055 scanning and selection; this is disabled by default and can be 1056 enabled with global ap_scan=0 variable in wpa_supplicant.conf; 1057 this mode can be used, e.g., with generic 'wext' driver interface to 1058 use wpa_supplicant as IEEE 802.1X Supplicant with any Linux driver 1059 supporting wireless extensions. 1060 * driver_madwifi: fixed WPA2 configuration and scan_ssid=1 (e.g., 1061 operation with an AP that does not include SSID in the Beacon frames) 1062 * added support for new EAP authentication methods: 1063 EAP-TTLS/EAP-OTP, EAP-PEAPv0/OTP, EAP-PEAPv1/OTP, EAP-OTP 1064 * added support for asking one-time-passwords from frontends (e.g., 1065 wpa_cli); this 'otp' command works otherwise like 'password' command, 1066 but the password is used only once and the frontend will be asked for 1067 a new password whenever a request from authenticator requires a 1068 password; this can be used with both EAP-OTP and EAP-GTC 1069 * changed wpa_cli to automatically re-establish connection so that it 1070 does not need to be re-started when wpa_supplicant is terminated and 1071 started again 1072 * improved user data (identity/password/otp) requests through 1073 frontends: process pending EAPOL packets after getting new 1074 information so that full authentication does not need to be 1075 restarted; in addition, send pending requests again whenever a new 1076 frontend is attached 1077 * changed control frontends to use a new directory for socket files to 1078 make it easier for wpa_cli to automatically select between interfaces 1079 and to provide access control for the control interface; 1080 wpa_supplicant.conf: ctrl_interface is now a path 1081 (/var/run/wpa_supplicant is the recommended path) and 1082 ctrl_interface_group can be used to select which group gets access to 1083 the control interface; 1084 wpa_cli: by default, try to connect to the first interface available 1085 in /var/run/wpa_supplicant; this path can be overriden with -p option 1086 and an interface can be selected with -i option (i.e., in most common 1087 cases, wpa_cli does not need to get any arguments) 1088 * added support for LEAP 1089 * added driver interface for Linux ndiswrapper 1090 * added priority option for network blocks in the configuration file; 1091 this allows networks to be grouped based on priority (the scan 1092 results are searched for matches with network blocks in this order) 1093 1094 2004-06-20 - v0.2.3 1095 * sort scan results to improve AP selection 1096 * fixed control interface socket removal for some error cases 1097 * improved scan requesting and authentication timeout 1098 * small improvements/bug fixes for EAP-MSCHAPv2, EAP-PEAP, and 1099 TLS processing 1100 * PEAP version can now be forced with phase1="peapver=<ver>" 1101 (mostly for testing; by default, the highest version supported by 1102 both the Supplicant and Authentication Server is selected 1103 automatically) 1104 * added support for madwifi driver (Atheros ar521x) 1105 * added a workaround for cases where AP sets Install Tx/Rx bit for 1106 WPA Group Key messages when pairwise keys are used (without this, 1107 the Group Key would be used for Tx and the AP would drop frames 1108 from the station) 1109 * added GSM SIM/USIM interface for GSM authentication algorithm for 1110 EAP-SIM; this requires pcsc-lite 1111 * added support for ATMEL AT76C5XXx driver 1112 * fixed IEEE 802.1X WEP key derivation in the case where Authenticator 1113 does not include key data in the EAPOL-Key frame (i.e., part of 1114 EAP keying material is used as data encryption key) 1115 * added support for using plaintext and static WEP networks 1116 (key_mgmt=NONE) 1117 1118 2004-05-31 - v0.2.2 1119 * added support for new EAP authentication methods: 1120 EAP-TTLS/EAP-MD5-Challenge 1121 EAP-TTLS/EAP-GTC 1122 EAP-TTLS/EAP-MSCHAPv2 1123 EAP-TTLS/EAP-TLS 1124 EAP-TTLS/MSCHAPv2 1125 EAP-TTLS/MSCHAP 1126 EAP-TTLS/PAP 1127 EAP-TTLS/CHAP 1128 EAP-PEAP/TLS 1129 EAP-PEAP/GTC 1130 EAP-PEAP/MD5-Challenge 1131 EAP-GTC 1132 EAP-SIM (not yet complete; needs GSM/SIM authentication interface) 1133 * added support for anonymous identity (to be used when identity is 1134 sent in plaintext; real identity will be used within TLS protected 1135 tunnel (e.g., with EAP-TTLS) 1136 * added event messages from wpa_supplicant to frontends, e.g., wpa_cli 1137 * added support for requesting identity and password information using 1138 control interface; in other words, the password for EAP-PEAP or 1139 EAP-TTLS does not need to be included in the configuration file since 1140 a frontand (e.g., wpa_cli) can ask it from the user 1141 * improved RSN pre-authentication to use a candidate list and process 1142 all candidates from each scan; not only one per scan 1143 * fixed RSN IE and WPA IE capabilities field parsing 1144 * ignore Tx bit in GTK IE when Pairwise keys are used 1145 * avoid making new scan requests during IEEE 802.1X negotiation 1146 * use openssl/libcrypto for MD5 and SHA-1 when compiling wpa_supplicant 1147 with TLS support (this replaces the included implementation with 1148 library code to save about 8 kB since the library code is needed 1149 anyway for TLS) 1150 * fixed WPA-PSK only mode when compiled without IEEE 802.1X support 1151 (i.e., without CONFIG_IEEE8021X_EAPOL=y in .config) 1152 1153 2004-05-06 - v0.2.1 1154 * added support for internal IEEE 802.1X (actually, IEEE 802.1aa/D6.1) 1155 Supplicant 1156 - EAPOL state machines for Supplicant [IEEE 802.1aa/D6.1] 1157 - EAP peer state machine [draft-ietf-eap-statemachine-02.pdf] 1158 - EAP-MD5 (cannot be used with WPA-RADIUS) 1159 [draft-ietf-eap-rfc2284bis-09.txt] 1160 - EAP-TLS [RFC 2716] 1161 - EAP-MSCHAPv2 (currently used only with EAP-PEAP) 1162 - EAP-PEAP/MSCHAPv2 [draft-josefsson-pppext-eap-tls-eap-07.txt] 1163 [draft-kamath-pppext-eap-mschapv2-00.txt] 1164 (PEAP version 0, 1, and parts of 2; only 0 and 1 are enabled by 1165 default; tested with FreeRADIUS, Microsoft IAS, and Funk Odyssey) 1166 - new configuration file options: eap, identity, password, ca_cert, 1167 client_cert, privatekey, private_key_passwd 1168 - Xsupplicant is not required anymore, but it can be used by 1169 disabling the internal IEEE 802.1X Supplicant with -e command line 1170 option 1171 - this code is not included in the default build; Makefile need to 1172 be edited for this (uncomment lines for selected functionality) 1173 - EAP-TLS and EAP-PEAP require openssl libraries 1174 * use module prefix in debug messages (WPA, EAP, EAP-TLS, ..) 1175 * added support for non-WPA IEEE 802.1X mode with dynamic WEP keys 1176 (i.e., complete IEEE 802.1X/EAP authentication and use IEEE 802.1X 1177 EAPOL-Key frames instead of WPA key handshakes) 1178 * added support for IEEE 802.11i/RSN (WPA2) 1179 - improved PTK Key Handshake 1180 - PMKSA caching, pre-authentication 1181 * fixed wpa_supplicant to ignore possible extra data after WPA 1182 EAPOL-Key packets (this fixes 'Invalid EAPOL-Key MIC when using 1183 TPTK' error from message 3 of 4-Way Handshake in case the AP 1184 includes extra data after the EAPOL-Key) 1185 * added interface for external programs (frontends) to control 1186 wpa_supplicant 1187 - CLI example (wpa_cli) with interactive mode and command line 1188 mode 1189 - replaced SIGUSR1 status/statistics with the new control interface 1190 * made some feature compile time configurable 1191 - .config file for make 1192 - driver interfaces (hostap, hermes, ..) 1193 - EAPOL/EAP functions 1194 1195 2004-02-15 - v0.2.0 1196 * Initial version of wpa_supplicant 1197