/rex

Minecraft packet sniffer

Primary LanguagePythonOtherNOASSERTION

Rex: Minecraft packet sniffer

Rex is a Minecraft proxy server that can identify, print and dump packets that pass through it. It might be a useful tool if you're interested in how Minecraft works or are writing your own client/server.

Features

These can be turned on/off and filtered by packet type:

  • Print the direction, id and name of packets that pass through the proxy
  • Print hexdumps of packet payloads
  • Save payloads to disk
  • Authenticate connecting users
  • Connect to online-mode servers (requires an account)

Limitations

These might be fixed at some point.

  • No support for sniffing packets in protocol modes other than "play". Both client-side and server-side login (whether online-mode or not) take place in isolation. Support for dumping handshake/status/login packets should be possible in offline-to-offline proxies, but isn't available yet.
  • No "transport-level" information. Rex won't give you information about encryption, compression, etc.

Requirements

Sample output