luci-mod-admin-full: wifi: expose "wpa_disable_eapol_key_retries" option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
27fbdada6c
commit
48ed00e5b9
1 changed files with 11 additions and 0 deletions
|
@ -1018,6 +1018,17 @@ if hwtype == "mac80211" then
|
||||||
retry_timeout.placeholder = "201"
|
retry_timeout.placeholder = "201"
|
||||||
retry_timeout.rmempty = true
|
retry_timeout.rmempty = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local key_retries = s:taboption("encryption", Flag, "wpa_disable_eapol_key_retries",
|
||||||
|
translate("Enable key reinstallation (KRACK) countermeasures"),
|
||||||
|
translate("Works around key reinstallation attacks on the client side by disabling retransmission of EAPOL-Key frames that are used to install keys. This workaround might cause interoperability issues and reduced robustness of key negotiation especially in environments with heavy traffic load."))
|
||||||
|
|
||||||
|
key_retries:depends({mode="ap", encryption="wpa2"})
|
||||||
|
key_retries:depends({mode="ap", encryption="psk2"})
|
||||||
|
key_retries:depends({mode="ap", encryption="psk-mixed"})
|
||||||
|
key_retries:depends({mode="ap-wds", encryption="wpa2"})
|
||||||
|
key_retries:depends({mode="ap-wds", encryption="psk2"})
|
||||||
|
key_retries:depends({mode="ap-wds", encryption="psk-mixed"})
|
||||||
end
|
end
|
||||||
|
|
||||||
if hwtype == "mac80211" or hwtype == "prism2" then
|
if hwtype == "mac80211" or hwtype == "prism2" then
|
||||||
|
|
Loading…
Reference in a new issue