Wireshark mailing list archives

my purpose [for building with support for Lua in Linux (Ubuntu 20.04)]


From: Vincent Randal <vtrandal () gmail com>
Date: Fri, 21 May 2021 21:03:06 -0600

Hello everyone,

I've plans to use Lua to control tshark behavior in scripts, IF ... I can
get Wireshark to build with support for Lua in Ubuntu 20.4, ... But so far
I am not having any luck. I found this piece of documentation that says ...
"Wireshark contains an embedded Lua 5.2 interpreter ..."
I believe that's true for Windows but not Linux.

I have lots of questions:
1. Before running cmake how can I tell the appropriate "with-lua" sort of
switch is enabled?
2. After running cmake how can I tell I got what I wanted i.e. that it
found Lua and make will build with support for Lua?
3. If it does not find Lua how do I fix that?
4. When the build succeeds how do I compensate for the difference sudo and
non-sudo seem to have on tshark? Non-sudo invokation runs my lua scripts.
Sudo invocations don't.
5. And assuming (with some help) I get past the above issues, how much
control can lua scripts expert over tshark and Wireshark?

Regarding the last question above, the June,2021 InterOp/Plugfests for IEEE
1451.0 are too soon for me to implement the 1451.0 network services (on
embedded hardware or in virtual machines). But thank goodness for the lack
of time, because it's got me asking how I might call tshark (or Wireshark)
in scripts that behave to some degree as though its a real deployment.

By the way, I do not represent the IEEE. I got involved in the IEEE 1451.0
working group because my college advisor (John Schmalzel, currently with
Rowan University) from 30 years suggested it to me.

Also, Richard Sharpe has been tremendously helpful as I've struggled to
learn enough about ASN.1 to get my dissectors generated and working. XDR
and Thrift look like better alternatives to ASN.1 if I had more time to try
those things. Thank you, Richard!

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

Current thread: