Ask Your Question
0

tshark doesn't load lua dissectors

asked 2020-12-28 13:35:10 +0000

learningnew gravatar image

Hi, I installed wireshark with tshark on linux centos (Inside docker) and it all works, but when I copied some lua dissector files which work on Windows to /usr/local/lib/wireshark/plugins/2.4.0 the tshark just ignores them and parse the pcap regularly... How can I make it not to ignore the dissectors? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-28 16:52:46 +0000

cmaynard gravatar image

If you run tshark -G folders, you'll see the location expected for the Personal Lua Plugins. Try locating your Lua plugins in that folder instead.

Alternatively, you can load a Lua plugin on the command-line using tshark's -X lua_script:lua_script_filename option, in which case the location of the Lua script can be anywhere you choose as long as you specify the full path to the file in the option.

edit flag offensive delete link more

Comments

You might want to check init.lua to verify Lua is enabled. And also check that there is an init.lua - Cant find wireshark's init.lua on my CentOS machine

Chuckc gravatar imageChuckc ( 2020-12-29 01:09:28 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-12-28 13:35:10 +0000

Seen: 1,446 times

Last updated: Dec 28 '20