I've seen several topics here that relate to this issue, but none of the solutions have worked for me so far, so hopefully someone can point out where I'm going wrong.
I have a capture with 4 separate UDP streams being received on 4 well known ports, 30300 - 30303.
The UDP packets have a private "sequence number" that increments monotonically for each port.
I've been able to write a dissector in Lua that highlights that sequence number, but want to go to the next step: highlighting or somehow calling out packets just after a packet drop has been detected, indicated by a break in the sequence.
Here's my attempt so far: http://pastebin.com/nL9TCPWq
I've seen discussions indicating a Tap may be more appropriate for this purpose, but haven't found any Lua examples as yet.
asked 11 Sep '13, 16:09
The code looks like it could work. So, what is your question?
answered 12 Sep '13, 14:15
Kurt Knochner ♦
Support for 64-bt integers in Lua has now been added in Wireshark 1.11.3, and should be in the latest nightly builds. It provides Int64/UInt64 objects with abilities to use math and comparison operators and such. See wiki.wireshark.org/LuaAPI/Int64 for details.
answered 06 Feb '14, 07:57