wireshark/caputils
deagol 1439eb6778 IEEE 802.11: 802.1X (WPA-EAP) rekeying support
This patch extends the existing decryption support for WPA to also
handle rekeys by checking each decrypted packet for a 4-way-handshake.

Rekeys can be used for WPA-PSK, but are more common with WPA-Enterprise
(WPA-EAP).

For decrypting WPA-EAP secured packets the user must provide all used PMK's
of the connection (aka PSK's) as WPA-PSK 32 byte hex values to wireshark
via the existing interface.
(The capture must have all 4-way-handshakes included also, starting with
the first unencrypted one.)

Every decrypted unicast packet will habe the used PMK and TK shown in the
CCMP/TKIP section below the key index in the GUI. Group packets will display the
GTK instead.

Additionally this fixes a small issue with group rekey handling, so every packet
can be selected in the GUI in random order, removing the need to manually find
the correct group keying packets prior to that.

It was tested primary with WPA-CCMP, but TKIP is also working.

One section in the code touch bluetooth 802.1X support. It should do
exactly the same, but will now also examine all decypted packets for rekeys.

Ping-Bug: 11172
Change-Id: I19d055581fce6268df888da63485a48326046748
Reviewed-on: https://code.wireshark.org/review/8268
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-08 04:27:49 +00:00
..
CMakeLists.txt Minor CMake updates to better group build artefacts 2015-01-05 23:48:46 +00:00
Makefile.am Build libcaputils PIE, so it can be linked with dumpcap when it's built PIE. 2014-07-04 17:23:01 +00:00
Makefile.common Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
airpcap.h Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
airpcap_loader.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
airpcap_loader.h IEEE 802.11: 802.1X (WPA-EAP) rekeying support 2015-05-08 04:27:49 +00:00
capture-pcap-util-int.h
capture-pcap-util-unix.c caputils/*.c: As needed: Add editor modelines & Fix indentation 2015-02-13 18:45:23 +00:00
capture-pcap-util.c caputils/*.c: As needed: Add editor modelines & Fix indentation 2015-02-13 18:45:23 +00:00
capture-pcap-util.h Oops, we also need to worry about pcap_get_tstamp_precision(). 2014-11-05 02:09:14 +00:00
capture-wpcap.c Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
capture-wpcap.h
capture_ifinfo.h Extcap Capture Interface 2014-08-21 03:34:02 +00:00
capture_win_ifnames.c caputils/*.c: As needed: Add editor modelines & Fix indentation 2015-02-13 18:45:23 +00:00
capture_win_ifnames.h
capture_wpcap_packet.c
capture_wpcap_packet.h
doxygen.cfg.in
iface_monitor.c libnl: disable pedantic warning of libnl lib 2015-02-19 16:15:53 +00:00
iface_monitor.h Allow the interface monitor routines to be called from C++. 2014-07-16 02:28:39 +00:00
ws80211_utils.c libnl: disable pedantic warning of libnl lib 2015-02-19 16:15:53 +00:00
ws80211_utils.h Add support for split wiphy dump to Wireless Toolbar 2014-10-18 14:26:00 +00:00