Jouni Malinen
9a994178f1
wlantest: Add command for adding WEP keys during run time
2011-01-28 13:33:21 +02:00
Jouni Malinen
244c9303cb
wlantest: Determine ping matches properly for direct link
...
Check ICMP echo request/response matches for both STAs to get proper
counter values for a ping from a one STA to another one using TDLS.
2011-01-24 14:50:51 +02:00
Jouni Malinen
0d2e395d74
wlantest: Maintain only a single entry for an active direct link
...
The TDLS link itself is bidirectional, but there is explicit
initiator/responder roles. Remove the other direction of the link if it
exists when processing TDLS Setup Confirm to make sure that the link
counters are stored for the current TDLS entery.
This is also changing the control interface search for TDLS counters
to require initiator/responder addresses in the correct order instead
of matching entries regardless of the role.
2011-01-24 14:34:45 +02:00
Jouni Malinen
2e479416d1
wlantest: Add support for decrypting WEP frames
2011-01-14 17:43:17 +02:00
Jouni Malinen
7e7a57ae3f
wlantest: Track station PS state
2011-01-07 15:54:58 +02:00
Jouni Malinen
fb8f5fc6fd
wlantest: Count number of STA ACK'ed Deauth/Disassoc frames
2011-01-03 19:28:40 +02:00
Jouni Malinen
0e42fff3de
wlantest: Add counters and AP/direct path validation for TDLS
...
These can be used to write automated test scripts for verifying
that TDLS STAs are using correct data path.
2010-12-16 19:08:49 +02:00
Jouni Malinen
29ec745719
wlantest: Check FTIE MIC in TDLS Teardown messages
2010-12-16 17:08:00 +02:00
Jouni Malinen
b39f58347d
wlantest: Add support for decrypting TDLS frames
...
Derive TPK based on TDLS TPK Handshake and decrypt frames on the
direct link with TPK-TK.
2010-12-13 11:20:55 +02:00
Jouni Malinen
0f3e4f2a83
wlantest: Add support for reading DLT_IEEE802_11 pcap files
2010-12-04 11:18:21 -08:00
Jouni Malinen
350132bec5
wlantest: Add support for reading pcap files with prism header
2010-12-02 12:56:37 -08:00
Jouni Malinen
a912dd16c5
wlantest: Implement IEEE 802.11 duplicate detection
...
This cleans up debug logs by avoiding incorrect entries on TKIP/CCMP
replays and some state changes.
2010-11-23 14:27:28 +02:00
Jouni Malinen
221519dea3
wlantest: Derive PMK to existing BSSes when a new passphrase is added
2010-11-21 13:19:43 +02:00
Jouni Malinen
ee3b84beb3
wlantest: Parse ICMP echo packet and record STA ping success
2010-11-20 22:34:42 +02:00
Jouni Malinen
161d0339c6
wlantest: Move RX EAPOL processing into its own file
2010-11-20 21:40:04 +02:00
Jouni Malinen
57f7d03f91
wlantest: Do not add new BSS/STA entries based on ctrl commands
...
Introduce bss_find()/sta_find() as an alternative bss_get()/sta_get()
command that do not allocate new BSS/STA entry if no existing entry
is found.
2010-11-19 22:00:10 +02:00
Jouni Malinen
990153b4dd
wlantest: Add support for injecting (Re)Association Request frames
2010-11-19 17:09:02 +02:00
Jouni Malinen
2e4c34691b
wlantest: Add support for protecting injected broadcast frames
2010-11-19 16:48:33 +02:00
Jouni Malinen
571ab37b86
wlantest: Add support for CCMP protection for injected frames
2010-11-19 16:09:19 +02:00
Jouni Malinen
7d23e971f0
wlantest: Add preliminary infrastructure for injecting frames
...
This adds new commands for wlantest_cli to request wlantest to
inject frames. This version can only send out Authentication
frames and unprotected SA Query Request frames, but there is
now place to add more frames and encryption with future commits.
2010-11-19 00:35:13 +02:00
Jouni Malinen
6d5ce9fc90
wlantest: Add BSS/STA statistics counters
...
These counters can be cleared and queried from external programs to
script various testing tasks.
2010-11-18 19:05:29 +02:00
Jouni Malinen
d356bd630b
wlantest: Add flush command for dropping all BSS data
2010-11-18 17:36:08 +02:00
Jouni Malinen
644fb8c8a0
wlantest: Add control interface and wlantest_cli
...
This can be used to manage wlantest operation during run time.
2010-11-13 18:38:19 +02:00
Jouni Malinen
4dac84539e
wlantest: Implement TKIP replay detection
2010-11-13 12:40:36 +02:00
Jouni Malinen
2924b0eb79
wlantest: Add support for TKIP decryption
2010-11-13 11:36:37 +02:00
Jouni Malinen
327f71604c
wlantest: Parse WPA/RSN IE and store info for BSS/STA
...
In addition, verify that the parameters that the STA is requesting
match with what is enabled in the BSS.
2010-11-12 22:40:59 +02:00
Jouni Malinen
64f45d070b
wlantest: Add option for writing a PCAP dump file
...
The output file includes all the capture (or read from wireless PCAP
file) frames in their original contents and another copy of each
frame that is decrypted in wlantest (including EAPOL-Key Key Data
field).
2010-11-12 01:00:31 +02:00
Jouni Malinen
0819b65b17
wlantest: Process Action frames
...
Parse Action frames and verify SA Query transactions.
2010-11-11 21:34:06 +02:00
Jouni Malinen
47fe6880ed
wlantest: Decrypt CCMP protected unicast Robust Management frames
2010-11-11 20:46:15 +02:00
Jouni Malinen
2edd5c23ad
wlantest: Add replay detection for CCMP
2010-11-11 20:21:11 +02:00
Jouni Malinen
d318c534da
wlantest: Add support for decrypting CCMP protected unicast Data frames
2010-11-11 01:29:30 +02:00
Jouni Malinen
bacc31286c
wlantest: Validate MMIE MIC
2010-11-10 02:06:59 +02:00
Jouni Malinen
4d9f9ee7e5
wlantest: Parse Key Data KDEs and store GTK and IGTK
2010-11-09 20:29:12 +02:00
Jouni Malinen
d06df64d14
wlantest: Derive PMK from RADIUS exchange
...
Decrypt MPPE keys and derive PMK from RADIUS exchange if RADIUS
shared secret is known. Use the derived PMK when trying to derive
PTK during 4-Way Handshake.
2010-11-07 23:29:02 +02:00
Jouni Malinen
3215df77ee
wlantest: Add capturing and parsing of RADIUS messages
...
Another interface (-I) or pcap file (-R) can now be specified as a
source of RADIUS packets. These packets are now parsed, but the
MSK is not yet derived for PMK use.
2010-11-07 23:29:02 +02:00
Jouni Malinen
53650bcab4
wlantest: Add PTK derivation based on passphrases
...
Allow pre-configuration of passphrases (-p<passphrase>) to provide
enough information for wlantest to be able to derive PMK for each
BSS and PTK for each STA going through 4-Way Handshake (at least
message 2 and 3 needs to be received).
2010-11-07 23:29:01 +02:00
Jouni Malinen
021a6fe499
wlantest: Maintain a copy of WPA/RSN IE from (Re)AssocReq
2010-11-07 23:29:01 +02:00
Jouni Malinen
2d73f0a875
wlantest: Move Mgmt and Data frame processing into their own files
2010-11-07 23:29:01 +02:00
Jouni Malinen
b50111fbb2
wlantest: Move bss_update() into bss.c
2010-11-07 23:29:00 +02:00
Jouni Malinen
d30edf54b8
wlantest: Maintain STA state based on auth/assoc/deauth/disassoc
2010-11-07 23:29:00 +02:00
Jouni Malinen
422ef7d205
wlantest: Create station list for each BSS
2010-11-07 23:29:00 +02:00
Jouni Malinen
d84d389351
wlantest: Maintain table of BSS information
...
Whenever a Beacon or Probe Response frame is observed, add or update
a BSS entry to maintain current information about the active BSSes.
2010-11-07 23:29:00 +02:00
Jouni Malinen
a149fcc77d
wlantest: Add preliminary version of IEEE 802.11 protocol testing tool
...
This tool can be used to capture IEEE 802.11 frames either from a
monitor interface for realtime capturing or from pcap files for
offline analysis. This version is only adding basic infrastructure for
going through the frames and parsing their headers.
2010-11-07 23:29:00 +02:00