Can't find wireshark init.lua on my CentOS machine

So, I'm trying to get a script to work with tshark on my CentOS 7 server, but I'm having problems. The script works fine on my Windows laptop, I just put it in the plugins folder in appdata, but I cannot find a similar location on Linux. I used yum to download wireshark and I have a program in a different folder, but I can't find any init.lua files or plugins folder.

When I use tshark -v it tells me that it is built "with Lua 5.1", so I know this is not a problem, but I have no idea where to go from here. Any suggestions?

+3


source to share


3 answers


I'm at the Centos / RHEL camp too. I couldn't find init.lua

anywhere. Information that lua should be available, but it was not in the menu.

I eventually found it! It is part of a package devel

that is add-on to the base explorer installation package.



yum install -y wireshark-devel

      

Now I have init.lua

and my custom lavas dissectors are working.

+2


source


Unfortunately CentOS, Fedora, Oracle Linux and RHEL (as of today) do not include init.lua in their wireshark packaging. "init.lua" must be in the wireshark directory (eg / usr / share / wireshark) before wireshark will activate any Lua scripts.



+1


source


Launch Wireshark and go to Help->About Wireshark

and then go to the tab Folders

. This will contain a list of all directories, including the " Personal Plugins

" directory where you must place the Lua script so that it will be automatically loaded. In * nix systems are usually: ~/.wireshark/plugins/

.

0


source







All Articles