Hi, 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. Thanks asked 31 Aug '11, 17:17 mrb edited 31 Aug '11, 17:35 |
One Answer:
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 ShomeaX |
There should be additional detail after "Error during loading". For example:
What is your full error message?