Ask Your Question
0

Which version of Lua to compile LuaExpat for use with WireShark

asked 2024-10-28 16:11:40 +0000

Arnault gravatar image

updated 2024-10-29 07:44:17 +0000

I use Wireshark 4.0.5 and I want to use LuaExpat library with Lua dissector in order to parse configuration files. I have compiled Lua, then compiled expat, then compiled luaexpat (requires lua54.dll). The Lua scripts I'm using works fine from a command prompt but it crashes when used with Wireshark.

I think it crashes under Wireshark because lua54.dll compiled on my windows machine is not compatible.

My question is how am I supposed to compile luaexpat for use with WireShark ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-10-28 16:34:56 +0000

grahamb gravatar image

updated 2024-10-28 16:40:18 +0000

FYI, Wireshark 4.0.x is now out of support and unmaintained.

Wireshark 4.0.x and 4.2.x both supported Lua 5.1 & 5.2 so I guess you'll need a version of LuaExpat that supports those versions.

edit flag offensive delete link more

Comments

Thanks for the comment it helped.

One can find in the directory <wiresharkportable64>/App/Wireshark the file lua52.dll, so I guess it's the version of lua for use with this version of WireShark. I miss the header files to compile, I'll try the archive found on internet.

Arnault gravatar imageArnault ( 2024-10-29 07:43:47 +0000 )edit

4.4 comes with lua 5.4

Anders gravatar imageAnders ( 2024-10-29 11:18:33 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2024-10-28 16:11:40 +0000

Seen: 80 times

Last updated: Oct 29