aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-01-30 15:31:06 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-30 15:36:14 (GMT)
commit32cdcf15b2d6716d6d348262e4870b3d64289926 (patch)
tree26dec94fb3cfe0c73230b397175f203bdad28012 /wpa_supplicant/wps_supplicant.c
parent80e8a5eef15cbca4e92037e6a92d75bdd0317700 (diff)
downloadhostap-32cdcf15b2d6716d6d348262e4870b3d64289926.zip
hostap-32cdcf15b2d6716d6d348262e4870b3d64289926.tar.gz
hostap-32cdcf15b2d6716d6d348262e4870b3d64289926.tar.bz2
WPS: Disable AP PIN after 10 consecutive failures
While the exponential increase in the lockout period provides an efficient mitigation mechanism against brute force attacks, this additional trigger to enter indefinite lockout period (cleared by restarting hostapd) will limit attacks even further by giving maximum of 10 attempts (without authorized user action) even in a very long term attack. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-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 fcf6c3d..69acd58 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -664,6 +664,8 @@ static void wpa_supplicant_wps_event(void *ctx, enum wps_event event,
wpa_supplicant_wps_event_er_set_sel_reg(wpa_s,
&data->set_sel_reg);
break;
+ case WPS_EV_AP_PIN_SUCCESS:
+ break;
}
}