Wireshark mailing list archives

Using Lua Field Extractors


From: Markus Pilz <markus () pilz name>
Date: Sun, 22 Nov 2009 01:22:52 +0100

Hi all,

I am using a Lua to obtain data from an SCTP stream. In this scenario, a 
single SCTP packet can contain the same field type multiple times. 
Although Wireshark displays this correctly, I don't know how to access 
these fields via Lua.

Example packet figure:
...[SCTP [M3UA [ ISUP ] ] [ M3UA [ ISUP 2 ] ] ]...

A field extractor only gets the info from the first M3UA/ISUP part. Even 
if the listener is set to M3UA or ISUP packets (local tap = 
Listener.new( "isup" )).

Is there a way to extract a list of all fields (from the same type) via Lua?

Best Regards
Markus

P.S.: This is maybe is Wireshark+Lua newbie question.

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: