fragattacks/wlantest
Jouni Malinen b3c43c3c24 wlantest: Allow duplicate frame processing after decryption failure
If a sniffer capture does not include FCS for each frame, but may
included frames with invalid FCS, it would be possible for wlantest to
try to decrypt the first received frame and fail (e.g., due to CCMP MIC
mismatch) because that particular frame was corrupted and then ignore
the following retry of that frame as a duplicate even if that retry has
different payload (e.g., if its reception did not show corruption).

Work around this by skipping duplicate frame detection immediately
following a decryption failure.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-06-12 22:27:34 +03:00
..
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 2016-09-23 17:49:33 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
inject.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
Makefile tests: Remove CONFIG_PEERKEY 2019-02-25 19:48:49 +02:00
monitor.c wlantest: Add support for writing pcapng files 2013-05-26 20:58:42 +03:00
process.c wlantest: Allow duplicate frame processing after decryption failure 2019-06-12 22:27:34 +03:00
readpcap.c wlantest: Add -N command line argument to remove write buffering 2015-11-27 00:10:53 +02:00
rx_data.c wlantest: Allow duplicate frame processing after decryption failure 2019-06-12 22:27:34 +03:00
rx_eapol.c DPP2: Extend wpa_pmk_to_ptk() to support extra Z.x component in context 2019-03-18 01:31:31 +02:00
rx_ip.c wlantest: Recognize hwsim_test packets 2013-05-26 22:19:52 +03:00
rx_mgmt.c wlantest: Allow duplicate frame processing after decryption failure 2019-06-12 22:27:34 +03:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
test_vectors.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
tkip.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c wlantest: Support variable length PMK 2017-09-05 19:05:15 +03:00
wlantest_cli.c wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest.c wlantest: Support variable length PMK 2017-09-05 19:05:15 +03:00
wlantest.h wlantest: Allow duplicate frame processing after decryption failure 2019-06-12 22:27:34 +03:00
writepcap.c wlantest: Add -N command line argument to remove write buffering 2015-11-27 00:10:53 +02:00