Hi, I am a new user to wireshark and I just recently compiled wireshark from sources. However, I am facing an issue. Wireshark is not starting up with Lua capability (unable to view it under Tools->Lua) I did the following steps:
I also viewed the "About" section when wireshark starts and I am able to see "built with Lua-5.1" But I am very puzzled and perplexed as to why it doesnt show up under "Tools -> Lua" Also, on another machine, I did this as a non root user and I am able to see Tools->Lua, but the interfaces for packet capture do not show up (probably since this requires root permissions) I would be grateful if someone could kindly help me out regards TJ asked 14 Jun '17, 09:54 tharamur edited 14 Jun '17, 10:22 grahamb ♦ |
One Answer:
By default Lua scripts will not be executed if Wireshark is running as the root user. The theory there is that running Wireshark's 2+ million lines of code as root is bad enough but running scripts would be even worse. I would very strongly suggest you configure things so you don't have to run Wireshark as root. Gerald's blog post has an excellent description; you'll also find answers on this site on how to do it. answered 14 Jun '17, 13:29 JeffMorriss ♦ |
Hi Jeff
Thanks a lot for your reply...I'm sorry I couldn't get back sooner, as I was temporarily assigned to another project.
Btw, I tried out the remedies suggested by you, but then the same issue persists When wireshark starts up as non root, none of the interfaces get displayed.
Is there any other way to resolve the issue ?
regards Tej
Your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information.
Which method did you use to run Wireshark as non-root (there are a couple alternatives outlined in Gerald's blog post)?