SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.57k stars 1.1k forks source link

Disable responses to InitialHandler handshake pings? #3643

Open thetayloredman opened 5 months ago

thetayloredman commented 5 months ago

Feature description

We're currently receiving a possible DoS based on Handshake Ping requests and it'd be nice to just disable responses to them.

Goal of the feature

Allow servers to not respond to Handshake Pings.

Unfitting alternatives

Unsure of any. I've been looking for a config option to obtain this.

Checking

Outfluencer commented 5 months ago

feel free to create a plugin yourself using the PlayerHandshakeEvent

Janmm14 commented 5 months ago

Or maybe already the ClientConnectEvent, if you want to do actions solely based on source IP