aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eap.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-16From Nick Lowe:pascal1-3/+11
Add a security warning if EAP-LEAP or EAP-MD5 is seen. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=42102
2012-04-16From Nick Lowe:Anders Broman1-57/+57
Improve names for the EAP types, add missing definition. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=42092
2012-04-11Clean up indentation (use 2 spaces)Alexis La Goutte1-887/+893
Add Modelines info svn path=/trunk/; revision=42027
2012-04-11Update Extensible Authentication Protocol (EAP) Registry (2011-02-22)Alexis La Goutte1-4/+4
svn path=/trunk/; revision=42026
2012-04-09From Nick Lowe: Minor cosmetic name changes for consistency and brevity. ↵Anders Broman1-2/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=41992
2012-04-05From Nick Lowe via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020Alexis La Goutte1-8/+12
Put EAP-TLS flags in to a tree to tidy the UI. svn path=/trunk/; revision=41958
2012-04-05From Nick Lowe:Anders Broman1-81/+120
- Update eap header file to include MS-CHAP v2 definitions. - Convert EAP-MS-CHAP-V2 to use proto_tree_add_item() and make a few, hopefully final, changes. Fixed a couple of typos etc. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=41955
2012-04-05From Nick Lowe:Anders Broman1-66/+91
Convert EAP-LEAP to use proto_tree_add_item() and make a few fixups. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=41949
2012-04-04Try to fix:Anders Broman1-8/+8
packet-eap.c: At top level: packet-eap.c:150: error: static declaration of ‘eap_sim_subtype_vals’ follows non-static declaration ../../epan/eap.h:62: note: previous declaration of ‘eap_sim_subtype_vals’ was here packet-eap.c:159: error: static declaration of ‘eap_aka_subtype_vals’ follows non-static declaration ../../epan/eap.h:72: note: previous declaration of ‘eap_aka_subtype_vals’ was here packet-eap.c: In function ‘dissect_eap’: packet-eap.c:668: warning: request for implicit conversion from ‘void *’ to ‘struct conv_state_t *’ not permitted in C++ packet-eap.c:673: warning: request for implicit conversion from ‘void *’ to ‘struct conv_state_t *’ not permitted in C++ packet-eap.c:866: warning: request for implicit conversion from ‘void *’ to ‘struct frame_state_t *’ not permitted in C++ packet-eap.c:927: warning: request for implicit conversion from ‘void *’ to ‘struct frame_state_t *’ not permitted in C++ packet-eap.c:1048: warning: request for implicit conversion from ‘void *’ to ‘struct frame_state_t *’ not permitted in C++ packet-eap.c:1067: warning: request for implicit conversion from ‘void *’ to ‘struct frame_state_t *’ not permitted in C++ svn path=/trunk/; revision=41924
2012-04-04From Nick Lowe:Anders Broman1-74/+76
- Update eap header file to include SIM and AKA definitions. - Change the SIM and AKA EAP types to use proto_tree_add_item(). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 svn path=/trunk/; revision=41922
2012-04-04Change to use eap. in filter names isof eap_Anders Broman1-16/+16
svn path=/trunk/; revision=41921
2012-04-04From Nick Lowe:Anders Broman1-95/+111
Convert EAP-IDENTITY, EAP-NOTIFY and EAP-MD5 to use proto_tree_add_item(). From me consistently use "proto abbr"_"name". svn path=/trunk/; revision=41918
2012-04-03From Nick Lowe via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7020 :Jeff Morriss1-44/+44
First patch to start the conversion of the EAP dissector from its use of proto_tree_add_text() to proto_tree_add_item(). svn path=/trunk/; revision=41913
2012-04-02From Nick Lowe:Anders Broman1-7/+7
Negate version bits in flags for PEAP, TTLS, FAST. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7019 svn path=/trunk/; revision=41892
2012-04-01From Nick Lowe: Show the reserved bits if set for EAP-TLS, unify/clean up ↵Anders Broman1-13/+33
the display output. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7017 svn path=/trunk/; revision=41886
2012-02-28From Josip Medved: EAP-SIM and EAP-AKA are missing some attributes. ↵Anders Broman1-51/+45
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6877 svn path=/trunk/; revision=41217
2012-02-06Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-7/+0
svn path=/trunk/; revision=40894
2012-02-05From billyjeans:Anders Broman1-2/+6
EAP-TLS cannot re-initialize properly if previous EAP-TLS conversation is not properly finished. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5633 svn path=/trunk/; revision=40863
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-6/+6
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-4/+4
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-3/+0
svn path=/trunk/; revision=37716
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+6
svn path=/trunk/; revision=35705
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-3/+3
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-02-06Renamed some reassembled data texts.Stig Bjørlykke1-1/+1
Removed some check_col(). svn path=/trunk/; revision=31809
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-0/+6
reassembly. svn path=/trunk/; revision=31767
2010-01-27From shivesh83@gmail.com:Anders Broman1-1/+7
Enhancement to dissect EAP/AKA' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4426 I also updated some PPP and EAP numbers. svn path=/trunk/; revision=31704
2009-11-29Fix EAP method type 25, 26 interpretation.Jaap Keuter1-2/+2
svn path=/trunk/; revision=31115
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-05-13Apply some of the patches from:Anders Broman1-2/+1
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-05-07Clean up header file and dissector code. Update EAP numbers list.Jaap Keuter1-33/+36
svn path=/trunk/; revision=28295
2007-11-23From Jens Braeuer:Stig Bjørlykke1-6/+69
Added support for Wifi Simple Config aka Wifi Protected Setup From me: Added standard copyright header to packet-wps svn path=/trunk/; revision=23549
2007-11-16Embedding EAP inside wimaxasncp.Martin Mathieson1-19/+6
svn path=/trunk/; revision=23474
2006-12-06Dissect EAP inside ISAKMP update some strings from IANA.Anders Broman1-6/+9
(fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=777) svn path=/trunk/; revision=20054
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-12gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-26/+4
svn path=/trunk/; revision=15323
2005-07-24Fix some typoes.Guy Harris1-27/+1
Call "dissect_attribute_value_pairs()" regardless of whether we're building a protocol tree, so the EAP subdissector is always called. "dissect_attribute_value_pairs()" is only called when the length of AVPs in the packet is non-zero; don't bother checking for a zero length. Don't put two items in for each AVP - one is sufficient. Add some more length checks when processing AVPs. Don't require AVPs to be at least 3 bytes long - they might have just a type and length; let an exception be thrown if that's a problem. Don't require that the entire AVP be available in the tvbuff before processing it; let an exception be thrown as we're processing the AVP if we don't have all the data, so the stuff before the end is processed. Give the tvbuff for the AVP data a length that reflects the length of data left in the tvbuff, so that the appropriate exception is thrown if the packet was cut short by a snapshot length. Don't have a fixed-length buffer for reassembled EAP messages; grow it as necessary. Don't special-case the initial part of the processing of EAP messages; put in the standard length item, as well as, for fragments, an item for the fragment data. Check for non-consecutive EAP-Message attributes. Set the columns non-writable while dissecting the EAP message, so Protocol and Info reflect the RADIUS packet. Doing the reassembly by gluing together all the consecutive EAP-Message attributes means we don't need help from the EAP dissector, returning the total length of the EAP message. Get rid of the no-longer-needed eap_fragment dissector; just call the regular EAP dissector. svn path=/trunk/; revision=15046
2005-06-02add a generated toplevel line between the connectionless DCE/RPC protocol ↵Ulf Lamping1-1/+2
and the defragmented DCE/RPC content, to better understand what's going on if defragmentation is done. svn path=/trunk/; revision=14531
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2005-02-02From Jon Ringle:Anders Broman1-4/+4
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13243
2004-10-01From Jouni Malinen:Guy Harris1-3/+8
adds support for dissecting EAP-FAST packets; add version field displaying for EAP-TTLS since the latest TTLS draft defines a new version mechanism (which matches with both EAP-PEAP and EAP-FAST in design). svn path=/trunk/; revision=12167
2004-09-04From Jouni Malinen: add a dissector for EAP-AKA, and fix some incorrectGuy Harris1-6/+118
attribute numbers in the EAP-SIM code. svn path=/trunk/; revision=11899
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1166
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410