fragattacks/src
Jouni Malinen 5bf9a6c859 P2P: Add event messages for possible PSK failures on P2P groups
It is possible for the GO of a persistent group to change the PSK or
remove a client when per-client PSKs are used and this can happen
without the SSID changing (i.e., the group is still valid, but just not
for a specific client). If the client side of such persistent group ends
up trying to use an invalidated persistent group information, the
connection will fail in 4-way handshake. A new WPS provisioning step is
needed to recover from this.

Detect this type of case based on two 4-way handshake failures when
acting as a P2P client in a persistent group. A new
"P2P-PERSISTENT-PSK-FAIL id=<persistent group id>" event is used to
indicate when this happens. This makes it easier for upper layers to
remove the persistent group information with "REMOVE_NETWORK <persistent
group id>" if desired (e.g., based on user confirmation).

In addition to indicating the error cases for persistent groups, all
this type of PSK failures end up in the client removing the group with
the new reason=PSK_FAILURE information in the P2P-GROUP-REMOVED event.

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-09-01 21:35:10 +03:00
..
ap P2P: Add a command for removing a client from all groups 2013-09-01 21:35:10 +03:00
common P2P: Add event messages for possible PSK failures on P2P groups 2013-09-01 21:35:10 +03:00
crypto Fix build with older OpenSSL versions 2013-06-30 12:55:52 +03:00
drivers hostapd: Add Automatic Channel Selection (ACS) support 2013-08-31 11:51:06 +03:00
eap_common EAP-EKE: Add peer implementation 2013-07-07 20:30:10 +03:00
eap_peer Fix MNC length for Swisscom SIM cards 2013-08-31 10:58:23 +03:00
eap_server EAP-EKE: Add server implementation 2013-07-07 20:30:10 +03:00
eapol_auth Add server identity configuration for EAP server 2013-07-07 20:30:10 +03:00
eapol_supp dbus_new: Add EAP logon/logoff 2013-04-23 17:57:55 +03:00
l2_packet Update license notification in files initially contributed by Sam 2012-06-30 19:36:04 +03:00
p2p P2P: Stop listen state when listen-only duration is over 2013-08-31 18:09:15 +03:00
radius Add server identity configuration for EAP server 2013-07-07 20:30:10 +03:00
rsn_supp TDLS: Handle transmission failures of TPK Handshake messages 2013-08-01 10:47:23 +03:00
tls Add dup_binstr() to help common binary string tasks 2013-04-27 23:44:59 +03:00
utils Add missing host_to_le32() for big endian hosts 2013-07-20 17:17:32 +03:00
wps P2P: Store P2P Device Address in per-device PSK records 2013-09-01 10:47:34 +03:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00