aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-01-30 17:31:06 +0200
committerJouni Malinen <j@w1.fi>2012-01-30 17:36:14 +0200
commit32cdcf15b2d6716d6d348262e4870b3d64289926 (patch)
tree26dec94fb3cfe0c73230b397175f203bdad28012 /src/wps/wps.h
parent80e8a5eef15cbca4e92037e6a92d75bdd0317700 (diff)
downloadexternal_wpa_supplicant_8_ti-32cdcf15b2d6716d6d348262e4870b3d64289926.zip
external_wpa_supplicant_8_ti-32cdcf15b2d6716d6d348262e4870b3d64289926.tar.gz
external_wpa_supplicant_8_ti-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 'src/wps/wps.h')
-rw-r--r--src/wps/wps.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wps/wps.h b/src/wps/wps.h
index 4986881..389be3e 100644
--- a/src/wps/wps.h
+++ b/src/wps/wps.h
@@ -457,7 +457,12 @@ enum wps_event {
/**
* WPS_EV_ER_SET_SELECTED_REGISTRAR - ER: SetSelectedRegistrar event
*/
- WPS_EV_ER_SET_SELECTED_REGISTRAR
+ WPS_EV_ER_SET_SELECTED_REGISTRAR,
+
+ /**
+ * WPS_EV_AP_PIN_SUCCESS - External Registrar used correct AP PIN
+ */
+ WPS_EV_AP_PIN_SUCCESS
};
/**