I have written a dissector and placed it in /home/me
I edited init.lua with dofile("/home/me/mydissector.lua") when i run wireshark i get Lua: Error During Loading
If i cd /home/me and run wireshak the dissector is loaded properly.
I am running Wireshark 1.4.1 & Lua 5.1 on CentOS 5.6 as root.
just to check, if you have seen 'disable potentialy harmful lua functions when running superuser' comment in the init.lua?
there's a special check for running under root that disables dofile and other os related libraries.
If you absolutely need to run wireshark as root then you can temporarly disable that check by adding say '0 and' to if condition:
answered 08 Nov '11, 20:26