diff options
Diffstat (limited to '')
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 169 |
1 files changed, 112 insertions, 57 deletions
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index f80044e..a368bb8 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -27,26 +27,31 @@ | |||
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. |
33 | 39 | ||
34 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | 40 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} |
35 | ;; If this is a standalone world, this is the address of this instance. | 41 | ;; If this is a standalone world, this is the address of this instance. |
36 | ;; If this is a grided simulator, this is the address of the external robust server that | 42 | ;; If this is a grided simulator, this is the address of the external robust server that |
37 | ;; runs the UserAgentsService. | 43 | ;; runs the UserAgentsService. |
38 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 44 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 |
39 | ;; This is a default that can be overwritten in some sections. | 45 | ;; This is a default that can be overwritten in some sections. |
40 | ; HomeURI = "http://127.0.0.1:9000" | 46 | ; HomeURI = "http://127.0.0.1:9000" |
41 | 47 | ||
42 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | 48 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} |
43 | ;; If this is a standalone world, this is the address of this instance. | 49 | ;; If this is a standalone world, this is the address of this instance. |
44 | ;; If this is a grided simulator, this is the address of the external robust server | 50 | ;; If this is a grided simulator, this is the address of the external robust server |
45 | ;; that runs the Gatekeeper service. | 51 | ;; that runs the Gatekeeper service. |
46 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 52 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 |
47 | ;; This is a default that can be overwritten in some sections. | 53 | ;; This is a default that can be overwritten in some sections. |
48 | ; GatekeeperURI = "http://127.0.0.1:9000" | 54 | ; GatekeeperURI = "http://127.0.0.1:9000" |
49 | |||
50 | 55 | ||
51 | [Modules] | 56 | [Modules] |
52 | ;; Choose one cache module and the corresponding config file, if it exists. | 57 | ;; Choose one cache module and the corresponding config file, if it exists. |
@@ -81,11 +86,27 @@ | |||
81 | ;; Next, we can specify properties of regions, including default and fallback regions | 86 | ;; Next, we can specify properties of regions, including default and fallback regions |
82 | ;; The syntax is: Region_<RegioName> = "<flags>" | 87 | ;; The syntax is: Region_<RegioName> = "<flags>" |
83 | ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut | 88 | ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut |
89 | ;; | ||
90 | ;; DefaultRegion If a local login cannot be placed in the required region (e.g. home region does not exist, avatar is not allowed entry, etc.) | ||
91 | ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion | ||
92 | ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified | ||
93 | ;; an explicit region. | ||
94 | ;; | ||
95 | ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online | ||
96 | ;; region will be used. | ||
97 | ;; | ||
98 | ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the | ||
99 | ;; order specified. This only applies to local logins at this time, not Hypergrid connections. | ||
100 | ;; | ||
101 | ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins. | ||
102 | ;; | ||
103 | ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid. | ||
104 | ;; | ||
84 | ;; For example: | 105 | ;; For example: |
85 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" | 106 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" |
86 | 107 | ||
87 | ; === HG ONLY === | 108 | ; === HG ONLY === |
88 | ;; If you have this set under [Startup], no need to set it here, leave it commented | 109 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
89 | ; GatekeeperURI="http://127.0.0.1:9000" | 110 | ; GatekeeperURI="http://127.0.0.1:9000" |
90 | 111 | ||
91 | [LibraryModule] | 112 | [LibraryModule] |
@@ -94,7 +115,7 @@ | |||
94 | 115 | ||
95 | [LoginService] | 116 | [LoginService] |
96 | WelcomeMessage = "Welcome, Avatar!" | 117 | WelcomeMessage = "Welcome, Avatar!" |
97 | ;; If you have Gatekeeper set under [Startup], no need to set it here, leave it commented | 118 | ;; If you have Gatekeeper set under [Hypergrid], no need to set it here, leave it commented |
98 | ; GatekeeperURI = "http://127.0.0.1:9000" | 119 | ; GatekeeperURI = "http://127.0.0.1:9000" |
99 | 120 | ||
100 | SRV_HomeURI = "http://127.0.0.1:9000" | 121 | SRV_HomeURI = "http://127.0.0.1:9000" |
@@ -115,6 +136,9 @@ | |||
115 | ;; Ask co-operative viewers to use a different currency name | 136 | ;; Ask co-operative viewers to use a different currency name |
116 | ;Currency = "" | 137 | ;Currency = "" |
117 | 138 | ||
139 | ;; Set minimum fee to publish classified | ||
140 | ; ClassifiedFee = 0 | ||
141 | |||
118 | ;; Regular expressions for controlling which client versions are accepted/denied. | 142 | ;; Regular expressions for controlling which client versions are accepted/denied. |
119 | ;; An empty string means nothing is checked. | 143 | ;; An empty string means nothing is checked. |
120 | ;; | 144 | ;; |
@@ -132,6 +156,23 @@ | |||
132 | ;AllowedClients = "" | 156 | ;AllowedClients = "" |
133 | ;DeniedClients = "" | 157 | ;DeniedClients = "" |
134 | 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. | ||
135 | 176 | ||
136 | [FreeswitchService] | 177 | [FreeswitchService] |
137 | ;; 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 |
@@ -240,27 +281,27 @@ | |||
240 | ;; HG configurations | 281 | ;; HG configurations |
241 | ;; | 282 | ;; |
242 | [GatekeeperService] | 283 | [GatekeeperService] |
243 | ;; If you have GatekeeperURI set under [Startup], no need to set it here, leave it commented | 284 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented |
244 | ; ExternalName = "http://127.0.0.1:9000" | 285 | ; ExternalName = "http://127.0.0.1:9000" |
245 | 286 | ||
246 | ; Does this grid allow incoming links to any region in it? | 287 | ; Does this grid allow incoming links to any region in it? |
247 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | 288 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section |
248 | AllowTeleportsToAnyRegion = true | 289 | AllowTeleportsToAnyRegion = true |
249 | 290 | ||
250 | ;; Regular expressions for controlling which client versions are accepted/denied. | 291 | ;; Regular expressions for controlling which client versions are accepted/denied. |
251 | ;; An empty string means nothing is checked. | 292 | ;; An empty string means nothing is checked. |
252 | ;; | 293 | ;; |
253 | ;; Example 1: allow only these 3 types of clients (any version of them) | 294 | ;; Example 1: allow only these 3 types of clients (any version of them) |
254 | ;; AllowedClients = "Imprudence|Hippo|Second Life" | 295 | ;; AllowedClients = "Imprudence|Hippo|Second Life" |
255 | ;; | 296 | ;; |
256 | ;; Example 2: allow all clients except these | 297 | ;; Example 2: allow all clients except these |
257 | ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" | 298 | ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" |
258 | ;; | 299 | ;; |
259 | ;; Note that these are regular expressions, so every character counts. | 300 | ;; Note that these are regular expressions, so every character counts. |
260 | ;; Also note that this is very weak security and should not be trusted as a reliable means | 301 | ;; Also note that this is very weak security and should not be trusted as a reliable means |
261 | ;; for keeping bad clients out; modified clients can fake their identifiers. | 302 | ;; for keeping bad clients out; modified clients can fake their identifiers. |
262 | ;; | 303 | ;; |
263 | ;; | 304 | ;; |
264 | ;AllowedClients = "" | 305 | ;AllowedClients = "" |
265 | ;DeniedClients = "" | 306 | ;DeniedClients = "" |
266 | 307 | ||
@@ -283,7 +324,7 @@ | |||
283 | ;; Are local users allowed to visit other grids? | 324 | ;; Are local users allowed to visit other grids? |
284 | ;; What user level? Use variables of this forrm: | 325 | ;; What user level? Use variables of this forrm: |
285 | ;; ForeignTripsAllowed_Level_<UserLevel> = true | false | 326 | ;; ForeignTripsAllowed_Level_<UserLevel> = true | false |
286 | ;; (the default is true) | 327 | ;; (the default is true) |
287 | ;; For example: | 328 | ;; For example: |
288 | ; ForeignTripsAllowed_Level_0 = false | 329 | ; ForeignTripsAllowed_Level_0 = false |
289 | ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it | 330 | ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it |
@@ -291,45 +332,45 @@ | |||
291 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept | 332 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept |
292 | ;; Leave blank or commented for no exceptions. | 333 | ;; Leave blank or commented for no exceptions. |
293 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" | 334 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" |
294 | ;; | 335 | ;; |
295 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. | 336 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. |
296 | ;; Leave blank or commented for no exceptions. | 337 | ;; Leave blank or commented for no exceptions. |
297 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | 338 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" |
298 | 339 | ||
299 | [HGInventoryService] | 340 | [HGInventoryService] |
300 | ;; If you have this set under [Startup], no need to set it here, leave it commented | 341 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
301 | ; HomeURI = "http://127.0.0.1:9000" | 342 | ; HomeURI = "http://127.0.0.1:9000" |
302 | 343 | ||
303 | [HGAssetService] | 344 | [HGAssetService] |
304 | ;; If you have this set under [Startup], no need to set it here, leave it commented | 345 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
305 | ; HomeURI = "http://127.0.0.1:9000" | 346 | ; HomeURI = "http://127.0.0.1:9000" |
306 | 347 | ||
307 | ;; The asset types that this grid can export to / import from other grids. | 348 | ;; The asset types that this grid can export to / import from other grids. |
308 | ;; Comma separated. | 349 | ;; Comma separated. |
309 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | 350 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: |
310 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | 351 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, |
311 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | 352 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh |
312 | ;; | 353 | ;; |
313 | ;; Leave blank or commented if you don't want to apply any restrictions. | 354 | ;; Leave blank or commented if you don't want to apply any restrictions. |
314 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | 355 | ;; A more strict, but still reasonable, policy may be to disallow the exchange |
315 | ;; of scripts, like so: | 356 | ;; of scripts, like so: |
316 | ; DisallowExport ="LSLText" | 357 | ; DisallowExport ="LSLText" |
317 | ; DisallowImport ="LSLBytecode" | 358 | ; DisallowImport ="LSLBytecode" |
318 | 359 | ||
319 | 360 | ||
320 | [HGInventoryAccessModule] | 361 | [HGInventoryAccessModule] |
321 | ;; If you have these set under [Startup], no need to set it here, leave it commented | 362 | ;; If you have these set under [Hypergrid], no need to set it here, leave it commented |
322 | ; HomeURI = "http://127.0.0.1:9000" | 363 | ; HomeURI = "http://127.0.0.1:9000" |
323 | ; GatekeeperURI = "http://127.0.0.1:9000" | 364 | ; GatekeeperURI = "http://127.0.0.1:9000" |
324 | 365 | ||
325 | ;; If you want to protect your assets from being copied by foreign visitors | 366 | ;; If you want to protect your assets from being copied by foreign visitors |
326 | ;; uncomment the next line. You may want to do this on sims that have licensed content. | 367 | ;; uncomment the next line. You may want to do this on sims that have licensed content. |
327 | ;; true = allow exports, false = disallow exports. True by default. | 368 | ;; true = allow exports, false = disallow exports. True by default. |
328 | ; OutboundPermission = True | 369 | ; OutboundPermission = True |
329 | 370 | ||
330 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | 371 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling |
331 | ;; and available when they return. True by default. | 372 | ;; and available when they return. True by default. |
332 | ;RestrictInventoryAccessAbroad = True | 373 | ;RestrictInventoryAccessAbroad = True |
333 | 374 | ||
334 | [HGFriendsModule] | 375 | [HGFriendsModule] |
335 | ; User level required to be able to send friendship invitations to foreign users | 376 | ; User level required to be able to send friendship invitations to foreign users |
@@ -337,18 +378,32 @@ | |||
337 | 378 | ||
338 | [Messaging] | 379 | [Messaging] |
339 | ; === HG ONLY === | 380 | ; === HG ONLY === |
340 | ;; If you have this set under [Startup], no need to set it here, leave it commented | 381 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
341 | ; GatekeeperURI = "http://127.0.0.1:9000" | 382 | ; GatekeeperURI = "http://127.0.0.1:9000" |
342 | 383 | ||
343 | 384 | ||
344 | [EntityTransfer] | 385 | [EntityTransfer] |
345 | ;; User level from which local users are allowed to HG teleport. Default 0 (all users) | 386 | ;; User level from which local users are allowed to HG teleport. Default 0 (all users) |
346 | ;LevelHGTeleport = 0 | 387 | ;LevelHGTeleport = 0 |
347 | 388 | ||
348 | ;; Are local users restricted from taking their appearance abroad? | 389 | ;; Are local users restricted from taking their appearance abroad? |
349 | ;; Default is no restrictions | 390 | ;; Default is no restrictions |
350 | ;RestrictAppearanceAbroad = false | 391 | ;RestrictAppearanceAbroad = false |
351 | 392 | ||
352 | ;; If appearance is restricted, which accounts' appearances are allowed to be exported? | 393 | ;; If appearance is restricted, which accounts' appearances are allowed to be exported? |
353 | ;; Comma-separated list of account names | 394 | ;; Comma-separated list of account names |
354 | AccountForAppearance = "Test User, Astronaut Smith" | 395 | AccountForAppearance = "Test User, Astronaut Smith" |
396 | |||
397 | ;; UserProfiles Service | ||
398 | ;; | ||
399 | ;; To use, set Enabled to true then configure for your site... | ||
400 | [UserProfilesService] | ||
401 | LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService" | ||
402 | Enabled = false | ||
403 | |||
404 | ;; Configure this for separate databse | ||
405 | ; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
406 | ; Realm = UserProfiles | ||
407 | |||
408 | UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService | ||
409 | AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||