Wireshark mailing list archives
IEEE 802.15.4 Payload IE Handling
From: Klaus Hueske <Klaus.Hueske () renesas com>
Date: Thu, 1 Sep 2016 12:11:54 +0000
Hi all, happy to see that recent versions of the 802.15.4 dissector support the dissection of 802.15.4 header and payload information elements. However, there seem to be some issues in the current implementation, especially for unknown payload IEs: 1. The call of "dissect_ieee802154_payload_ie" is after setting "payload_tvb". This leads to the issue that dissection of the next higher protocol starts after the header information elements, not after the payload information elements. 2. Inside "dissect_ieee802154_payload_ie" the "offset" is not incremented in the default case, a line "offset += pie_length;" seems to be missing. I attached some quick fix as a workaround for the above issues, but this would only work in cases where no encryption is used. Best regards, Klaus Renesas Electronics Europe GmbH,Geschaeftsfuehrer/President : Michael Hannawald, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany,Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
Attachment:
packet-ieee802154.c
Description: packet-ieee802154.c
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- IEEE 802.15.4 Payload IE Handling Klaus Hueske (Sep 01)
- Re: IEEE 802.15.4 Payload IE Handling Graham Bloice (Sep 01)