Skip to content

Do not log every single connect in a DDOS#11633

Draft
BalaM314 wants to merge 1 commit intoAnuken:masterfrom
BalaM314:patch-10
Draft

Do not log every single connect in a DDOS#11633
BalaM314 wants to merge 1 commit intoAnuken:masterfrom
BalaM314:patch-10

Conversation

@BalaM314
Copy link
Contributor

@BalaM314 BalaM314 commented Feb 8, 2026

This log message was added in #10904. It is useful to help players who are falsely dosblacklisted, but it is not worth the massive amounts of console spam (and possibly lag) that it causes in a real DDoS attack.

  • I have read the contribution guidelines.
  • I have ensured that my code compiles, if applicable.
  • I have ensured that any new features in this PR function correctly in-game, if applicable.

@ZetaMap
Copy link
Contributor

ZetaMap commented Feb 8, 2026

mmm yes but this helps to know when your server(s) is being raided.

@GeoNew2011
Copy link
Contributor

maybe better to suppress them when there are more than 10 messages in one minute

@Yaaty256
Copy link

Yaaty256 commented Feb 8, 2026

I don't think straight up removing it is a good idea

@BalaM314
Copy link
Contributor Author

BalaM314 commented Feb 8, 2026

maybe better to suppress them when there are more than 10 messages in one minute

this is a good idea

@phinner
Copy link
Contributor

phinner commented Feb 8, 2026

Maybe lower the log level of those to debug. Because no log at all is just worse...

@BalaM314 BalaM314 marked this pull request as draft February 8, 2026 21:45
@way-zer
Copy link
Contributor

way-zer commented Feb 9, 2026

Perhaps it could aggregate once every minute.
There are % connections from % IPs: xxx (omitted %)

@ZetaMap
Copy link
Contributor

ZetaMap commented Feb 9, 2026

Yes but this need to cache a Ratekeeper, so it also need another thing to clean up this cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants