From 025bd734932c8ea98835b62bf109f44ff1f23375 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 7 Dec 2021 01:48:48 +0000 Subject: [PATCH] make the option visible in ini files --- bin/Robust.ini.example | 7 +++++ .../StandaloneCommon.ini.example | 31 ++++++++++++------- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index 97aa95fbd1..6cb335db3b 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example @@ -477,6 +477,13 @@ ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows DSTZone = "America/Los_Angeles;Pacific Standard Time" + ;; If the region requested at login is not found and there are no default or fallback regions + ;; online or defined in section [GridService], try to send user to any region online + ;; this similar to legacy (was disabled on 0.9.2.0) + ;; you should set this to false and define regions with Default and possible Fallback flags + ;; With this option set to true, users maybe sent to regions they where not supposed to be, or even know about + ;AllowLoginFallbackToAnyRegion = true + ;Basic Login Service Dos Protection Tweaks ;; ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index 8d0e9978f4..66bd68550e 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -150,23 +150,30 @@ ;; Set minimum fee to publish classified ; ClassifiedFee = 0 + ;; If the region requested at login is not found and there are no default or fallback regions + ;; online or defined in section [GridService], try to send user to any region online + ;; this similar to legacy (was disabled on 0.9.2.0) + ;; you should set this to false and define regions with Default and possible Fallback flags + ;; With this option set to true, users maybe sent to regions they where not supposed to be, or even know about + ;AllowLoginFallbackToAnyRegion = true + ; Basic Login Service Dos Protection Tweaks - ; ; - ; ; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true - ; ; If you set this to true and you don't have a transparent proxy, it may allow attackers to put random things in the X-Forwarded-For header to - ; ; get around this basic DOS protection. + + ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true + ;; If you set this to true and you don't have a transparent proxy, it may allow attackers to put random things in the X-Forwarded-For header to + ;; get around this basic DOS protection. ; DOSAllowXForwardedForHeader = false - ; ; - ; ; The protector adds up requests during this rolling period of time, default 10 seconds + + ;; The protector adds up requests during this rolling period of time, default 10 seconds ; DOSRequestTimeFrameMS = 10000 - ; ; - ; ; The amount of requests in the above timeframe from the same endpoint that triggers protection + ;; + ;; The amount of requests in the above timeframe from the same endpoint that triggers protection ; DOSMaxRequestsInTimeFrame = 5 - ; ; - ; ; The amount of time that a specific endpoint is blocked. Default 2 minutes. + ;; + ;; The amount of time that a specific endpoint is blocked. Default 2 minutes. ; DOSForgiveClientAfterMS = 120000 - ; ; - ; ; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. + + ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. [FreeswitchService] ;; If FreeSWITCH is not being used then you don't need to set any of these parameters