[Wireshark-dev] How to get wireshark's plugins path with lua?

2014-03-25 Thread Nakayama Kenjiro
Hi, I want to get the wireshark's plugins path. eg) /usr/local/lib/wireshark/plugins/1.11.3 According to [1], there are no function to get it, nevertheless there are persconffile_path([filename])http://wiki.wireshark.org/LuaAPI/Utils#persconffile_path.28.5Bfilename.5D.29and

Re: [Wireshark-dev] How to get wireshark's plugins path with lua?

2014-03-25 Thread Hadriel Kaplan
On Mar 25, 2014, at 11:00 AM, Nakayama Kenjiro nakayamakenj...@gmail.com wrote: I want to get the wireshark's plugins path. eg) /usr/local/lib/wireshark/plugins/1.11.3 That would be the global plugins path, yes? Not the personal plugins path. According to [1], there are no function

Re: [Wireshark-dev] How to get wireshark's plugins path with lua?

2014-03-25 Thread Nakayama Kenjiro
I want to get the wireshark's plugins path. eg) /usr/local/lib/wireshark/plugins/1.11.3 That would be the global plugins path, yes? Not the personal plugins path. Yes, it is. But if you plan to give your Lua script to others you'll need to be careful as the global plugins directory path

[Wireshark-dev] How to include new dissector wrriten in Lua (pure Lua) to Wireshark

2014-03-25 Thread Nakayama Kenjiro
Hi, Recently I wrote new dissector by pure Lua[1] and I am thinking about submitting a request to include the dissector to Wireshark. But as far as I checked upstream, there are no pure Lua dissector yet. And I don't know where shoudld I put the code in and how to modify Makefiles. So my