This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How do I setup Wireshark to run Lua’s CLRPackage (Works with LFW not with Wireshark

0

As the person here I'm trying to setup Wireshark so that I can use the LuaInterface to use some of the classes in the .NET framework : I have a .Net dll able to decipher frames and I want to reuse it.

When I try to launch the command " require 'luanet' " with LuaForWindows it works:

alt text

But when I try to evaluate the same command with wireshark it doesn't work : alt text alt text alt text

The difference between Wireshark and LuaForWindows is that it doesn't use the same lua5.1.dll. Does a consistent lua5.1.dll exists with luanet and luaInterface taken from here and Wireshark?

asked 01 Apr '15, 02:14

SWLuaTest's gravatar image

SWLuaTest
11225
accept rate: 100%


One Answer:

1

Roughly translating the error dialog, I suspect that there might be a "bittedness" issue. Is your version of Wireshark 32 or 64 bit? And the same question for luanet?

answered 01 Apr '15, 03:05

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

You are right the problem came from my version of Wireshark... I download Wireshark in 32bit (I had 64bit version) and it works now.

(01 Apr '15, 05:13) SWLuaTest

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(01 Apr '15, 05:41) grahamb ♦