Wireshark-dev: [Wireshark-dev] Accessing decoded data in packet details pane trough LUA listene

Date: Wed, 07 Oct 2009 20:54:21 +0200
Hi

I am using a Listener/tap in LUA to do some logical checks on protocol
level via a third party protocol dissector.

In the packet details pane (of wireshark 1.2.1), some fields could be
auto translated into a Display Filter via the context menu
(right-mouse-function) 'prepare a filter' or 'copy fieldname'. I can
easily access the values via the 'Field.new()' function in LUA.
However some other fields are displayed in the tree view in the packet
details pane, but can't be translated into a Display Filter.
Is there any way to access this data (fieldname seems to be "Text item")
through Lua? I.e. iterating through the dissected tree as displayed in
wireshark? I didn't find any hint in the LUA API or the examples.

Additional question: can the content of any column (i.e. info) be read
from LUA?
I was only able to write (append/prepend) some additional text to the
colums in LUA.

Best Regards,

Florian.