ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] lua starter (tshark -X is not working)

From: sothy shan <sothy.e98@xxxxxxxxx>
Date: Wed, 11 Feb 2015 09:18:50 +0100
 when I do

 $tshark -v
TShark 1.8.10 (SVN Rev Unknown from unknown)
Copyright 1998-2013 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GLib 2.28.8, with libpcap, with libz 1.2.3, without POSIX
capabilities, with SMI 0.4.8, without c-ares, without ADNS, without Lua, without
Python, with GnuTLS 2.8.5, with Gcrypt 1.4.5, with MIT Kerberos, without GeoIP.
Running on Linux 2.6.32-431.el6.x86_64, with locale en_US.UTF-8, with libpcap
version 1.4.0, with libz 1.2.3.
Built using gcc 4.4.7 20120313 (Red Hat 4.4.7-9).

I got the above. In my machine, I dont have wireshark GUI, have
tshark. Therefore, there is no init.lua file in my machine.


On Wed, Feb 11, 2015 at 8:55 AM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On Feb 10, 2015, at 11:09 AM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
>> On Feb 10, 2015, at 10:59 AM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
>>
>>> Does "tshark -v" say "with Lua" somewhere in its output?
>>
>> Send us the entire output of "tshark -v", so we know what version of TShark you're using.
>
> If this is you:
>
>         https://ask.wireshark.org/questions/39777/canot-run-lua-script-in-tshark
>
> then the answer to Jeff's question is "no", and that's why it's not working - the version of Wireshark you have doesn't include support for Lua scripts, as it's not linked with the Lua interpreter.
>
> ___________________________________________________________________________
> Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>              mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe