Hello, I'm using Wireshark to read from a pipe and i'm using the native IEEE 802.15.4 dissector, but I'm having trouble feeding Wireshark the proper bytes. I've tried to search but I can't find the right sequence of bytes the dissector is waiting. Can anyone help me? Thanks in advance. asked 29 Jul '13, 07:48 funguy |
One Answer:
802.15.4 dissector does following in proto_reg_handoff_ieee802154:
If you look into wiretap/pcap-common.c you will find that following linktypes are assigned for the WTAP_ENCAP_ defines:
Now, get over to the tcpdump linktypes [1] and check the descriptions for 195, 215, 230. Choose the one that is closest match to your data and then set that number as linktype in pcap header. answered 30 Jul '13, 22:34 desowin |