aresrpg / minecraft-dissector

A wireshark dissector for the Minecraft protocol using https://github.com/PrismarineJS/minecraft-data
56 stars 28 forks source link
minecraft wireshark wireshark-dissector

Wireshark Minecraft Dissector

A Wireshark dissector for the Minecraft protocol, written in C

Installation

A version for Wireshark 3.4 is precompiled for easier installation

Windows

Linux

Usage

This dissector will automatically decode packets on tcp port 25565 if your connection use another port you need to use Decode As -> Minecraft

You can use the minecraft filter to only display minecraft packets

Build from source

Dependencies

apt install make gcc pkg-config wireshark-dev nodejs # Ubuntu
nix-shell -p gnumake wireshark.dev pkgconfig glib.dev nodejs-14_x # Nixos

Clone and compile

$ git clone https://github.com/aresrpg/minecraft-dissector
$ git submodule update --init
$ cd minecraft-dissector
$ make # Build the plugin
$ make install # Will install the plugin in your local plugin folder