mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-07 22:40:49 -08:00
Do not log every single connect in a DDOS
This commit is contained in:
parent
88f1e0c4af
commit
c95775b1a2
1 changed files with 0 additions and 2 deletions
|
|
@ -113,8 +113,6 @@ public class ArcNetProvider implements NetProvider{
|
|||
|
||||
//kill connections above the limit to prevent spam
|
||||
if((playerLimitCache > 0 && server.getConnections().length > playerLimitCache) || netServer.admins.isDosBlacklisted(ip)){
|
||||
Log.info("Closing connection @ - IP marked as a potential DOS attack.", ip);
|
||||
|
||||
connection.close(DcReason.closed);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue