diff options
Diffstat (limited to '')
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 6 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 23 |
2 files changed, 29 insertions, 0 deletions
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 0a69dbf..5460c0a 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -26,6 +26,12 @@ | |||
26 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | 26 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" |
27 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | 27 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" |
28 | 28 | ||
29 | ; PGSQL | ||
30 | ; Uncomment these lines if you want to use PGSQL storage | ||
31 | ; Change the connection string to your db details | ||
32 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
33 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
34 | |||
29 | [Hypergrid] | 35 | [Hypergrid] |
30 | ; Uncomment the variables in this section only if you are in | 36 | ; Uncomment the variables in this section only if you are in |
31 | ; Hypergrid configuration. Otherwise, ignore. | 37 | ; Hypergrid configuration. Otherwise, ignore. |
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index 12c5b95..a368bb8 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -27,6 +27,12 @@ | |||
27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | 27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" |
28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | 28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" |
29 | 29 | ||
30 | ; PGSQL | ||
31 | ; Uncomment these lines if you want to use PGSQL storage | ||
32 | ; Change the connection string to your db details | ||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
35 | |||
30 | [Hypergrid] | 36 | [Hypergrid] |
31 | ; Uncomment the variables in this section only if you are in | 37 | ; Uncomment the variables in this section only if you are in |
32 | ; Hypergrid configuration. Otherwise, ignore. | 38 | ; Hypergrid configuration. Otherwise, ignore. |
@@ -150,6 +156,23 @@ | |||
150 | ;AllowedClients = "" | 156 | ;AllowedClients = "" |
151 | ;DeniedClients = "" | 157 | ;DeniedClients = "" |
152 | 158 | ||
159 | ; Basic Login Service Dos Protection Tweaks | ||
160 | ; ; | ||
161 | ; ; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true | ||
162 | ; ; 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 | ||
163 | ; ; get around this basic DOS protection. | ||
164 | ; DOSAllowXForwardedForHeader = false | ||
165 | ; ; | ||
166 | ; ; The protector adds up requests during this rolling period of time, default 10 seconds | ||
167 | ; DOSRequestTimeFrameMS = 10000 | ||
168 | ; ; | ||
169 | ; ; The amount of requests in the above timeframe from the same endpoint that triggers protection | ||
170 | ; DOSMaxRequestsInTimeFrame = 5 | ||
171 | ; ; | ||
172 | ; ; The amount of time that a specific endpoint is blocked. Default 2 minutes. | ||
173 | ; DOSForgiveClientAfterMS = 120000 | ||
174 | ; ; | ||
175 | ; ; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. | ||
153 | 176 | ||
154 | [FreeswitchService] | 177 | [FreeswitchService] |
155 | ;; If FreeSWITCH is not being used then you don't need to set any of these parameters | 178 | ;; If FreeSWITCH is not being used then you don't need to set any of these parameters |