I am writing a Lua dissector for a protocol on top of the TCP protocol. It needs to store the acknowledgment number of request packets, in order to determine which is the corresponding response packet. For example I can get the packet number with pinfo.number, is there any similar way I can access the acknowledgement number? asked 07 May '12, 03:20 Ville edited 07 May '12, 03:55 |
One Answer:
You can define the desired fields with Field.new() and then use the field definitions in the dissector function.
Regards answered 07 May '12, 06:57 Kurt Knochner ♦ edited 07 May '12, 06:58 |
What protocol are you dissecting?
A special protocol on top of the TCP protocol.