Incorrect packet handling


Nqnja
Nqnja
2023-03-05 23:06:39
0 Votes
Descrição

After developing custom source code for a Minecraft proxy that is supposed to become a ddos filter, I found that labymod 1.19.3 (laby4) does not understand my packet order / the protocol. I have not found out exact details of this issue, but I will include everything I have so far.

I have done the following to verify if this is a bug:

  • I have tested which clients have this issue. Vanilla 1.17.1, 1.18.2 and 1.19.3 do not have the issue. LabyMod:3, version 1.12.2 does not have this issue. LabyMod:4, 1.19.3 does have this issue.
  • I have tested this with multiple MOTD packet contents and I have verified that the contents of the packet are the exact same for all tries on the clients. I will append the raw contents of the packets, including their Minecraft protocol contents. The issue is not on the packet side, it works on all other client versions for all MOTDs tested.

The following packet order occurs when pinging a server that returns a ping on LabyMod:4:
Image

The following packet order occurs when pinging my proxy that only works for other clients than LabyMod:4:
Image

The raw hex dump for the server list packet that is sent to the client that works on LabyMod:4 (the Minecraft protocol is surrounded by []): https://pastebin.com/K6iTupDq

The raw hex dump for the server list packet that is not accepted by LabyMod:4 (the Minecraft protocol is again surrounded by []): https://pastebin.com/mnxrPYeg

I have tried different formats of MOTDs, where some ones would have spacing between the JSON formats while others would not. The JSON contents that represent the MOTD do not seem to be an issue. I have matched the MOTD to one that did work of another server, which did not make any difference. I have verified that the Minecraft protocol packet contents for these packets were identical.

My "%appdata%/.minecraft/logs/latest.log" does not contain any errors with regard to this issue. No exceptions were printed.

Operating System: Windows 10
LabyMod Version: 4.0.0+675 snapshot/22a181
Minecraft Version: 1.19.3


Comentários

Nenhum comentário encontrado Por favor faça login para deixar um comentário.