aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mka.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-29MKA: Track offset correctly in Dist. SAK dissectionJaap Keuter1-2/+2
When handling a Distributed SAK parameter set with long SAK tracking the offset was done incorrectly. Fix proposed by Rich Dubrawski. Also remove the mask from XPN suspension time, it has none. Bug: 13927 Change-Id: Iba1018632c719a86eaa24a304e1743210b3b3a1c Reviewed-on: https://code.wireshark.org/review/22836 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-21EAPOL-MKA: Add parameter set info to info columnJaap Keuter1-15/+22
Show which parameter sets are present in the info column, and some more relevant info. Prepare all parameter set handler function interfaces to be able to add relevant info. Change-Id: Idd206eebc4d7196511e118fbf9e30919fb38328e Reviewed-on: https://code.wireshark.org/review/21218 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-19EAPOL-MKA: differentiate between actor and peersJaap Keuter1-2/+15
Actor member identifier and message numbers are something else than peer member identifiers and message numbers. Give them their own header field. Change-Id: I9ee0073447f861084e81ab2e23cf587005184686 Reviewed-on: https://code.wireshark.org/review/21208 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04EAPOL-MKA: Implement updates from IEEE standardsJaap Keuter1-66/+253
Alignment with IEEE 802.1X-2010 - Addition of Announcement Alignment with IEEE 802.1X-2010 EAPOL-MKA - Interpretation of algorithm agility value - Interpretation of confidentiality offset values - Interpretation of (wrong) cipher suite ID - Padding handling for more parameter sets - Improved robustness malformed frames - Flexible SAK size handling - Addition of Announcement parameter set - Split ICV from ICV indicator - Handle unknown parameter set Additions for IEEE 802.1Xbx-2014 - Allow version 2 handling - Addition of XPN parameter set Change-Id: If7a36de6bb3b5148bfd1bd890e4490c045fba40d Reviewed-on: https://code.wireshark.org/review/20899 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-02-03MKA: Padding support for basic-param-set dissection addedsamsaha1-0/+4
* It must be multiple of 4 Octets otherwise NULL padding should be there Change-Id: I7563b0407bd70d1f0b7aac8597ce3a757a08925e Reviewed-on: https://code.wireshark.org/review/19893 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-12-20Make EAPOL packet types into a dissector table.Ethan Young1-0/+12
This decouples EAPOL from the few dissectors it needs to call based on packet type and moves registration to the dissectors themselves. Change-Id: Ia8412fe33370f4aeece52c2c80cda7f140a950cf Reviewed-on: https://code.wireshark.org/review/19328 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-06-17MKA: tvbrange for all subtrees correctedSamiran Saha1-15/+16
* Incorrect tvbrabge was affecting highlight on selection. * AN & Confidentiality Offset dissection fixed. Change-Id: Ibc4422322b765b0073471345f6e0bc3b1aeba2f9 Reviewed-on: https://code.wireshark.org/review/15996 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-06-16MKA: Fix for GCM-AES-256 dissection & Added Enumeration for macsec-cipher-suiteSamiran Saha1-4/+12
Change-Id: Ief38f949d3e30754a65fbfeaa64cbbd2f5646a9b Reviewed-on: https://code.wireshark.org/review/15969 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-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-23register_dissector -> new_register_dissectorMichael Mann1-6/+5
Change-Id: Ic368dd8e83cf39e0c934da0ae2744778e2d54ce6 Reviewed-on: https://code.wireshark.org/review/12050 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-17EAPOL-MKA: Included fixes for the distributed sak handling.maisheri1-3/+19
Change-Id: Id91ba408266f18a9336811bf9d8b875796ea0cc1 Reviewed-on: https://code.wireshark.org/review/6582 Reviewed-by: maisheri <maisheri.hitesh@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-01-08mka: Minor cleanupBill Meier1-44/+33
Remove unneeded/unused code; Remove 'dead initializers'; tvb_captured_length() ==> tvb_reported_length(); Reformat a few long lines. Change-Id: I4a09bf330e939613ea8a47e69d4fc7b21dd496e8 Reviewed-on: https://code.wireshark.org/review/6413 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-23Deleting unnecessary #includes from dissectors.Martin Mathieson1-1/+0
Fourth batch (packet-mac-lte.c -> packet-rtp.c). Will look at cleaning up and committing script afterwards. Change-Id: Id921f07f4b274f0cfb77ce81abe4a285fdb8b644 Reviewed-on: https://code.wireshark.org/review/6023 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in a few recently committed dissectors.Bill Meier1-1/+0
Change-Id: Ie66d4c3f0c5d0037cac65ff39e4dedcedff462f1 Reviewed-on: https://code.wireshark.org/review/5938 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-14Add support for EAPOL-MKA (802.1x-2010)maisheri1-0/+780
Use by MACSec Change-Id: I27eee40ddc476435aecd57711c1b3597c2049901 Reviewed-on: https://code.wireshark.org/review/5751 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>