Compare commits

..

5 Commits

Author SHA1 Message Date
sla-ppy 5afc07b0b3 add RateLimiter class 2024-06-20 16:39:03 +02:00
sla-ppy bc5e407d60 refactor dos protection 2024-06-20 07:28:55 +02:00
sla-ppy df308c1dc5 Merge branch 'simple-dos-protected' of github.com:Igor20264/BeamMP-Server into simple-dos-protected 2024-06-18 16:49:04 +02:00
Igor f26b091042 Merge branch 'minor' into simple-dos-protected 2024-05-06 22:21:10 +03:00
Igor a008015d78 add a simple DOS protection system 2024-03-29 10:56:05 +03:00
+1 -1
View File
@@ -153,7 +153,7 @@ std::string THeartbeatThread::GenerateCall() {
<< "&clientversion=" << std::to_string(Application::ClientMajorVersion()) + ".0" // FIXME: Wtf.
<< "&name=" << Application::Settings.ServerName
<< "&tags=" << Application::Settings.ServerTags
<< "&guests=" << (Application::Settings.AllowGuests ? "true" : "false")
<< "&allowguests=" << (Application::Settings.AllowGuests ? "true" : "false")
<< "&modlist=" << mResourceManager.TrimmedList()
<< "&modstotalsize=" << mResourceManager.MaxModSize()
<< "&modstotal=" << mResourceManager.ModsLoaded()