summaryrefslogtreecommitdiff
path: root/epan/crypt/airpdcap_int.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-13[airpcap] Decrypt protected management frames (802.11w)Cedric Izoard1-2/+18
Enable decryption of Protected Management Frames by: - Authorizing decryption for robust management frame (i.e. management frame that may be encrypted): deauth, disassoc and action (Note: Assume all action frames are robust even if it is not the case) - Updating initialization of Additional Authentication Data (AAD) (don't filter-out subtype) and construct nonce (set mgmt flag) for management frames Bug: 11995 Change-Id: I7c34a021e4c49111b85d217c9272d24d0e29ecb2 Reviewed-on: https://code.wireshark.org/review/13232 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2012-01-19fix compile errors found by dumpabi targetBalint Reczey1-0/+1
svn path=/trunk/; revision=40595
2011-09-12Move airpcap_wep.c to /wsutilAnders Broman1-3/+0
svn path=/trunk/; revision=38969
2010-08-29Doxygen changes.Anders Broman1-1/+1
svn path=/trunk/; revision=33990
2008-07-30Add WPA group key decryption from Brian Stormont, via bug 1420:Gerald Combs1-0/+2
Although this patch successfully recognizes group keys and decrypts packets properly using the group key, there is a limitation. If an AP is using key rotation, clicking on individual packets in a trace may not properly decrypt a packet encrypted with a group key. This is because the current structure used in Wireshark only supports one active unicast and one active group key. If a new key has been seen, but you are looking at a packet encrypted with an older key, it will not decrypt. The summary lines, however, do show the packets properly decrypted. I've written up a much longer and more detailed explanation in a comment in the code, along with a proposed idea for a solution, plus a clunky work-around in the GUI when using the current code. I also suspect there might still be a problem with decrypting TKIP groups keys that are sent using WPA2 authentication. In the most common operation, if you are using WPA2, you'll also be using AES keys. It's not a common AP configuration to use WPA2 with TKIP. In fact, most APs don't seem to support it. Since it is an uncommon setup, I haven't put aside the time to test this patch against such an AP. I do have access to an AP that supports this, so when I have the time I'll test it and if needed, will submit another patch to handle that odd-ball condition. From me: Remove the decrypt element of s_rijndael_ctx (which was unused, as indicated in the comments). Preserve the GPL licensing text in several files (which the patch shouldn't have removed). Remove changes that added whitespace. Convert C++-style comments to C-style. Update to include recent SVN changes (e.g. renaming variables named "index"). Remove extraneous printf's. Define DEBUG_DUMP in airpdcap_debug.h. Comment out some instances of DEBUG_DUMP. Change malloc/free to g_malloc/g_free. Use g_memdup instead of allocating and copying. Use gint16 instead of INT16 in airpdcap_rijndael.c. Add Brian to AUTHORS. svn path=/trunk/; revision=25879
2008-03-10Change the BSD-licensed written by CACE to BSD+GPL.Gerald Combs1-0/+4
svn path=/trunk/; revision=24599
2007-06-14The 802.11 dissector calculates the header size, so pass that value toGerald Combs1-7/+0
the WEP/WPA decryption code instead of re-calculating it. Fixes bug 1639. Remove fcsPresent, radiotapPresent, and associated code from airpdcap.c since they were always FALSE. Glib-ize some data types. Fixup white space. Update the release notes. svn path=/trunk/; revision=22104
2007-05-20The fix for ad-hoc WEP decryption in r21814 broke WPA. Replace it withGerald Combs1-0/+1
a better fix. Clean up whitespace while we're at it. svn path=/trunk/; revision=21847
2007-01-12Add copyright attributions and licenses. License each derived workGerald Combs1-0/+32
according to its pedigree. svn path=/trunk/; revision=20401
2007-01-01Fix a compiler warning. Surround an MSVC-specific #pragma with anGerald Combs1-43/+58
#ifdef, and add a link to a -dev mailing list thread pointing out that it may not be necessary. Fixup whitespace and comments. svn path=/trunk/; revision=20256
2006-12-28Move the contents of airpdcap to epan/crypt. Try to fix the currentGerald Combs1-0/+113
distcheck failure. Move the nmake build targets for airpdcap from epan/dissectors to epan. This will probably break the Windows build. svn path=/trunk/; revision=20231