Wireshark mailing list archives
Re: lua starter (tshark -X is not working)
From: Guy Harris <guy () alum mit edu>
Date: Wed, 11 Feb 2015 00:34:21 -0800
On Feb 11, 2015, at 12:18 AM, sothy shan <sothy.e98 () gmail com> wrote:
when I do $tshark -v TShark 1.8.10 (SVN Rev Unknown from unknown) Copyright 1998-2013 Gerald Combs <gerald () wireshark org> 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, ... without Lua, ... I got the above.
Well, there's your answer. Your version of Wireshark, including TShark, was not built with support for Lua, so it cannot and will not run *any* Lua scripts. If you want to run a Lua script, you will need to get a version of Wireshark that *is* built with Lua.
Built using gcc 4.4.7 20120313 (Red Hat 4.4.7-9).
So are you running some flavor of Red Hat Linux or Fedora? And are you using the version of Wireshark that was packaged with the system? If so, you might have to build Wireshark from source to get a version that includes Lua.
In my machine, I dont have wireshark GUI, have tshark. Therefore, there is no init.lua file in my machine.
Unless whoever packaged Wireshark did a bad job, it's irrelevant whether you have the Wireshark GUI or not - init.lua should, at least if Wireshark was built with Lua support, include init.lua. But even if you *did* have init.lua, it would make no difference - the problem is that there's no Lua interpreter in your version of TShark, so it couldn't do anything with init.lua if it were there. ___________________________________________________________________________ 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:
- lua starter (tshark -X is not working) sothy shan (Feb 10)
- Re: lua starter (tshark -X is not working) Jeff Morriss (Feb 10)
- Re: lua starter (tshark -X is not working) Guy Harris (Feb 10)
- Re: lua starter (tshark -X is not working) Guy Harris (Feb 10)
- Re: lua starter (tshark -X is not working) sothy shan (Feb 11)
- Re: lua starter (tshark -X is not working) Guy Harris (Feb 11)
- Re: lua starter (tshark -X is not working) sothy shan (Feb 11)
- Re: lua starter (tshark -X is not working) Jeff Morriss (Feb 11)
- Re: lua starter (tshark -X is not working) Hugo van der Kooij (Feb 12)
- Re: lua starter (tshark -X is not working) Jeff Morriss (Feb 12)
- Re: lua starter (tshark -X is not working) Guy Harris (Feb 12)
- Re: modern Wireshark RPMs for RHEL/CentOS (Was: lua starter (tshark -X is not working)) Jeff Morriss (Feb 12)
- Re: lua starter (tshark -X is not working) Guy Harris (Feb 10)
- Re: lua starter (tshark -X is not working) Jeff Morriss (Feb 10)