How can I have displayed packet number in Wireshark?
I have written a program to analyze TCP streams. I want to validate my results with Wireshark. My program gives the packet numbers in the related stream, but Wireshark displays packet numbers based on whole packets in the Pcap file. Is there anyway to show the displayed packet number in Wireshark? (Something like "Delta time displayed".)
Comments
You want something like this in a Gui column?
@Chuckc Yeah. Exactly. How can I do that?
I think this could be done with a Lua script (post-dissector) but won't have time today to work on it.
Have an array of counters indexed by
tcp.stream
number, increment for each packet matching the stream then add a field to the packet with the stream packet index.@Chuckc How can I write a Lua script for Wireshark? Can you give me a hint?