]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/hostapd.conf
hostapd: Add Key MIC in group EAPOL-Key frames corruption test option
authorJohannes Berg <johannes.berg@intel.com>
Sat, 4 May 2013 08:45:03 +0000 (11:45 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 May 2013 08:45:03 +0000 (11:45 +0300)
commit7af092a015f64a47caa298a7938f6337a05d39c2
treebd593816a40666824b7a2d5ff87707799a453e1c
parent409cd147b7a0685cbcae180c4d81526dd10b9159
hostapd: Add Key MIC in group EAPOL-Key frames corruption test option

For some testing it can be useful to force the Key MIC in group
EAPOL-Key frames to be corrupt. Add an option to allow setting a
probability for corrupting the Key MIC and use it in the WPA code,
increasing the first byte of the MIC by one to corrupt it if desired.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_glue.c