Decode as LUA - how do I do that?
asked Nov 21 '17
updated Nov 22 '17
I am using a third party LUA dissector (which I know works, as I have previously used the same file successfully with Wireshark a few months ago).
Unfortunately, this time around the decode does not happen, and the TCP payload is just shown as the raw hex data, instead of parsed and decoded values as provided by the dissector file.
I seem to remember that last time round, I set Decode As... to use the LUA dissector for the specific port, but this time round the LUA dissector does not appear in the "Decode As" list of protocols, and I can see no way of adding it, so I can't set it for the specific port I need to decode.
I'd upload a screenshot but apparently I need 60 points to do so. Both the protocol (MAVLINK_PROTO) and the LUA_Dissector appear in the Internals>Supported Protocols, and it's enabled under Enabled Protocols, and I've checked that a LUA file runs using -X lua_script:hello.lua, as suggested in the wireshark docs.
Can anybody suggest what else I need to do?
I'm running wireshark-GTK 2.2.6 on Ubuntu 16.04.
Thanks, Stevod

Hi, can you point me to how you solved the first issue? I am trying to decode UDP data as TCP for a project and my Wireshark 1.12.1 on Debian does not seem to allow me to do so when I go into the "Decode As..." menu. Basically, TCP does not appear as a protocol for the transport layer. However, I can do it on Wireshark 2.4.2 on Mac OS 10.12.6. Any help is much appreciated. Thanks!