wireshark/test/captures
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
..
c1222_std_example8.pcap
dhcp-nanosecond.pcap
dhcp-nanosecond.pcapng
dhcp.pcap
dhcp.pcapng
dhe1.pcapng.gz add a test for SSL/TLS decryption using the master secret 2014-03-13 21:42:50 +00:00
dns+icmp.pcapng.gz
dns_port.pcap Add filterable expert info for Lua 2014-03-26 05:20:17 +00:00
dvb-ci_UV1_0000.pcap add a decryption test for DVB-CI to the testsuite 2013-12-07 17:56:39 +00:00
empty.pcap Add test suite for verifying Lua global variables/tables of previous releases have not disappeared. 2014-02-21 16:28:07 +00:00
ikev1-certs.pcap test: add decryption test for isakmp with certificates 2014-09-24 22:06:31 +00:00
packet-h2-14_headers.pcapng HTTP2: Add HPACK decode to test suite 2015-01-20 07:31:23 +00:00
rsasnakeoil2.pcap
sample_control4_2012-03-24.pcap
segmented_fpm.pcap Lua: Expose tcp_dissect_pdus() to Lua 2015-01-27 15:14:12 +00:00
sip.pcapng Fix lua file testsuite not working and weak heuristic readers not being registered 2014-03-19 17:02:40 +00:00
sipmsg.log Add capture file reader/writer support for Lua so scripts can implement new capture file formats. 2014-03-19 05:04:54 +00:00
snakeoil-dtls.pcap
wpa-eap-tls.pcap.gz IEEE 802.11: 802.1X (WPA-EAP) rekeying support 2015-05-08 04:27:49 +00:00
wpa-Induction.pcap.gz