Allow EAPOL-Key messages 1/4 and 3/4 to be retransmitted for testing
The new hostapd control interface commands "RESEND_M1 <addr>" and "RESEND_M3 <addr>" can be used to request a retransmission of the 4-Way Handshake messages 1/4 and 3/4 witht he same or modified ANonce (in M1). This functionality is for testing purposes and included only in builds with CONFIG_TESTING_OPTIONS=y. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
6bc2f00f44
commit
d8afdb210e
3 changed files with 225 additions and 0 deletions
|
@ -427,6 +427,8 @@ u8 * wpa_auth_write_assoc_resp_owe(struct wpa_state_machine *sm,
|
|||
u8 *pos, size_t max_len,
|
||||
const u8 *req_ies, size_t req_ies_len);
|
||||
|
||||
int wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce);
|
||||
int wpa_auth_resend_m3(struct wpa_state_machine *sm);
|
||||
int wpa_auth_resend_group_m1(struct wpa_state_machine *sm);
|
||||
|
||||
#endif /* WPA_AUTH_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue