aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-23 21:57:43 +0200
committerJouni Malinen <j@w1.fi>2009-01-23 21:57:43 +0200
commit3b2cf800afaaf4eec53a237541ec08bebc4c1a0c (patch)
tree261c185b86c689c74f273dffdaaf9f7cb273314a /wpa_supplicant
parent4c29cae9320ccc6675b59f41dddf652b997fdc71 (diff)
downloadexternal_wpa_supplicant_8_ti-3b2cf800afaaf4eec53a237541ec08bebc4c1a0c.zip
external_wpa_supplicant_8_ti-3b2cf800afaaf4eec53a237541ec08bebc4c1a0c.tar.gz
external_wpa_supplicant_8_ti-3b2cf800afaaf4eec53a237541ec08bebc4c1a0c.tar.bz2
WPS: Lock AP Setup on multiple AP PIN validation failures
If a Registrar tries to configure the AP, but fails to validate the device password (AP PIN), lock the AP setup after four failures. This protects the AP PIN against brute force guessing attacks.
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wps_supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 2dd22f2..9b73601 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -275,6 +275,8 @@ static void wpa_supplicant_wps_event(void *ctx, enum wps_event event,
case WPS_EV_SUCCESS:
wpa_supplicant_wps_event_success(wpa_s);
break;
+ case WPS_EV_PWD_AUTH_FAIL:
+ break;
}
}