Mojira Archive
MC-94908

Missing cooldown for handling client packets

Introduction

This is based on Mincraft 1.8 (decompiled with MCP) and might not be the case anymore.

The bug

There are no restrictions for how often a player can send packets. This is problematic for example for

  • C0BPacketEntityAction: Player could attack multiple entities in one tick
  • C07PacketPlayerDigging: Player can destroy multiple instantly breaking blocks in one tick.1
  • C08PacketPlayerBlockPlacement: Player can place multiple blocks in one tick.2

1 You can destroy multiple instantly breaking blocks, but currently there is no limit which means you can destroy all blocks you could reach in one tick.
2 You can place multiple blocks briefly after each other, but currently there is no limit which mean you can place blocks at all positions you could reach in one tick.

Awaiting Response

Marcono1234

ProfMobius (Thomas Guimbretiere)

2015-12-28, 09:14 PM

2018-10-02, 11:25 PM

2018-10-02, 11:25 PM

1

3

Unconfirmed

Minecraft 1.8.9

-