wireshark-socket.io icon indicating copy to clipboard operation
wireshark-socket.io copied to clipboard

Error when using with Wireshark 2 on Windows 7

Open thewilli opened this issue 8 years ago • 3 comments

When using your extension with Wireshark 2.0.4 on Windows 7 x64 I get the following error during startup:

Lua: Error during loading: C:\Path\To\socketio_proto.lua:4 bad argument #1 to 'new' (Field_new: a field with this name must exist).

So there seems to be a problem with the following line

websocket_payload = Field.new("websocket.payload.text")

Do I maybe have to install a Websocket extension first?

thewilli avatar Jul 25 '16 07:07 thewilli

Wireshark comes with a Websocket packet dissector.

That field was removed in https://github.com/wireshark/wireshark/commit/d555aa759b9fb3199eb5822c20c86ed80c4608d3

The current Wireshark doesn't decode Websocket traffic correctly for me, so I cannot fix this issue right now. I've pushed to a new branch newer_wireshark that should work if it gets the correct data.

Can you use an old version of Wireshark? 1.99.2 predates that commit

ksmyth avatar Jul 26 '16 17:07 ksmyth

What version of wireshark do you recommend it might work with?

netpoetica avatar Mar 13 '17 18:03 netpoetica

Wireshark version 1.99.2 worked for me.

ksmyth avatar Mar 14 '17 16:03 ksmyth