Open deathcap opened 8 years ago
I think @roblabla had started some work on that. Not sure how far along he went.
On Sat, Jan 30, 2016, 22:05 deathcap notifications@github.com wrote:
Would be cool if the protocol specs from minecraft-data could be used to generate a dissector for the Wireshark network analyzer: https://www.wireshark.org
There were some previous efforts, but none complete/merged/for PC:
- https://github.com/brandon15811/MinecraftPE-Dissector - pocket edition protocol, different than PC
- https://github.com/maniak89/WiresharkMinecraft - updated year ago, not many (any?) packets, (C++?)
- https://github.com/ScottBrooks/minecraft-dissector - updated 6 years ago (2011), seemed to work at the time, would need to be updated to add new data
- https://github.com/deathcap/wireshark/commits/mc - my incomplete attempt at updating the above dissector for Wireshark 1.99
- https://github.com/AlanDeSmet/minecraft-dissector - another update, 5 years ago
References:
- https://github.com/wireshark/wireshark - Wireshark source code
https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html - how to write dissectors
https://github.com/PrismarineJS/minecraft-data/blob/master/doc/make-a-new-wrapper.md
- how to write new wrappers for minecraft-data
First step would be a C wrapper for minecraft-data. Or actually it could alternatively be written in Lua, as https://github.com/brandon15811/MinecraftPE-Dissector demonstrates. After there is a C or Lua wrapper, next step wiring it up to Wireshark, then getting it merged into the mainline Wireshark project if possible.
This of course would be a separate repository (c-minecraft-data? lua-minecraft-data? wireshark-minecraft-data) but saving this issue here since there isn't one yet (and I'd like to but probably can't work on it anytime soon), in case anyone else wants to pick up these efforts.
— Reply to this email directly or view it on GitHub https://github.com/PrismarineJS/minecraft-data/issues/94.
I started a dissector using minecraft data here https://github.com/aresrpg/minecraft-dissector
Would be cool if the protocol specs from minecraft-data could be used to generate a dissector for the Wireshark network analyzer: https://www.wireshark.org
There were some previous efforts, but none complete/merged/for PC:
References:
First step would be a C wrapper for minecraft-data. Or actually it could alternatively be written in Lua, as https://github.com/brandon15811/MinecraftPE-Dissector demonstrates. After there is a C or Lua wrapper, next step wiring it up to Wireshark, then getting it merged into the mainline Wireshark project if possible.
This of course would be a separate repository (c-minecraft-data? lua-minecraft-data? wireshark-minecraft-data) but saving this issue here since there isn't one yet (and I'd like to but probably can't work on it anytime soon), in case anyone else wants to pick up these efforts.