I want to register a tap for statisticing private protocols. I can do it by calling the register_tap c api, by how can I do it by lua script? asked 13 Mar '15, 02:51 Francis Wong |
One Answer:
Use the Listener function. Have you looked at the example in the Developers Guide: 10.3. Example of Listener written in Lua? There are also some listener examples on the Wireshark Lua examples page. answered 13 Mar '15, 03:02 grahamb ♦ |
Thank you for your answer; I want to build a stats tree like the http packet counter(Statistics/HTTP/Packet Counter); I can't call tap_queue_packet manually by lua, so I use the C plugin instead of lua now. Thank U again.^-^