I have a LUA script which will display user defined protocol fields on Wireshark, when the protocol filter is enabled and packet is not fragmented. When the packet is fragmented My user defined dissector would fail as the next segment is not processed. How to achieve this? Say when I highlight first packet all the fragmented packets must be assembled and displayed? When ever the fragmented packet is highlighted, a notice saying check the first packet for full values? How to achieve this, this is the task given to me in new company, please help. asked 30 May '14, 02:22 testcoder |
2 Answers:
You have to assemble the different packets yourself. I created the following code in my dissector to assemble fragmented packages:
answered 04 Jun ‘14, 23:13 bavh |
Turn on the "Reassemble fragmented IPv4 datagrams" preference for IPv4, or the "Reassemble fragmented IPv6 datagrams" for IPv6, so that Wireshark will reassemble fragmented IP packets for you. answered 04 Jun '14, 23:33 Guy Harris ♦♦ |