Wireshark-bugs: [Wireshark-bugs] [Bug 1238] Lua plugin not working

Date: Fri, 24 Nov 2006 10:09:28 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1238





------- Comment #2 from sebbaz+ws@xxxxxxxxx  2006-11-24 10:09 GMT -------
(In reply to comment #1)
> There is no Lua plugin in the top-of-tree SVN version - and I think there might
> not be one in 0.99.4, either (I'm not sure).
> 
> The Lua interpreter is built into Wireshark in those versions, as per the build
> information, which lists "Lua 5.1".
> 
> Therefore, Lua won't show up in the plugin list.

OK, in which case the Wiki Lua Setup section needs updating:

http://wiki.wireshark.org/Lua

> Have you tried using any Lua extensions with that version of Wireshark?

Yes, I tried hello, http and gui from the Wiki (Lua/Taps). None worked with
Tshark.

> And what arguments did you try with the "-X" flag?

-X lua_script:http.lua
-X lua_script:nosuchfile
-X asdasdsadas

None seems to have any effect on Tshark.

However, I've just tried editting the init.lua script, and this does work.

So it seems that the problem is that the -X flag does not work in Tshark.

I have now found that Wireshark 0.99.5-SVN-19958 does successfully process the
-X lua_script qualifier. It detects missing files, and errors in the Lua
scripts. I've also just noticed the Tools Menu has Lua items which seem to
work.

Not tried with WireShark 0.99.4 yet, but I assume that works.

So it's just TShark that does not work for me.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.