opensim-config – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
3 vero 1 ; * Run
2 ; * $ Robust.exe -inifile Robust.ini
3 ; *
4  
5 ; * The startup section lists all the connectors to start up in this server
6 ; * instance. This may be only one, or it may be the entire server suite.
7 ; * Multiple connectors should be separated by commas.
8 ; *
9 ; * These are the IN connectors the server uses, the in connectors
10 ; * read this config file and load the needed service and database connectors
11 ; *
12 ; * The full syntax of a connector string is:
13 ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>]
14 ; *
15 [Startup]
16 ; Place to create a PID file
17 ; If no path if specified then a PID file is not created.
18 ; PIDFile = "/tmp/Robust.exe.pid"
19  
20 ; Plugin Registry Location
21 ; Set path to directory for plugin registry. Information
22 ; about the registered repositories and installed plugins
23 ; will be stored here
24 ; The Robust.exe process must have R/W access to the location
25 RegistryLocation = "."
26  
27 ; Modular configurations
28 ; Set path to directory for modular ini files...
29 ; The Robust.exe process must have R/W access to the location
30 ConfigDirectory = "."
31  
32 [ServiceList]
33 AssetServiceConnector = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector"
34 InventoryInConnector = "8003/OpenSim.Server.Handlers.dll:XInventoryInConnector"
35 ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below)
36 ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector"
37 GridServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridServiceConnector"
38 GridInfoServerInConnector = "8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector"
39 AuthenticationServiceConnector = "8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector"
40 OpenIdServerConnector = "8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector"
41 AvatarServiceConnector = "8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector"
42 LLLoginServiceInConnector = "8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector"
43 PresenceServiceConnector = "8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector"
44 UserAccountServiceConnector = "8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector"
45 GridUserServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector"
46 FriendsServiceConnector = "8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector"
47 MapAddServiceConnector = "8003/OpenSim.Server.Handlers.dll:MapAddServiceConnector"
48 MapGetServiceConnector = "8002/OpenSim.Server.Handlers.dll:MapGetServiceConnector"
49 ;; Uncomment this if you want offline IM to work
50 ;OfflineIMServiceConnector = "8003/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector"
51 ;; Uncomment this if you want Groups V2 to work
52 ;GroupsServiceConnector = "8003/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector"
53 ;; Uncomment to provide bakes caching
54 ;BakedTextureService = "8003/OpenSim.Server.Handlers.dll:XBakesConnector
55  
56 ;; Uncomment for UserProfiles see [UserProfilesService] to configure...
57 ; UserProfilesServiceConnector = "8002/OpenSim.Server.Handlers.dll:UserProfilesConnector"
58  
59 ; * This is common for all services, it's the network setup for the entire
60 ; * server instance, if none is specified above
61 ; *
62 [Network]
63 port = 8003
64  
65 ; HTTPS for "Out of band" management applications such as the remote admin
66 ; module. May specify https_main = True to make the main http server
67 ; use https or "False" to make the main server HTTP
68 ; https_main = False
69 ;
70 ; Create https_listener = "True" will create a listener on the port
71 ; specified. Provide the path to your server certificate along with it's
72 ; password
73 ; https_listener = False
74 ;
75 ; Set our listener to this port
76 ; https_port = 0
77 ;
78 ; Path to X509 certificate
79 ; cert_path = "path/to/cert.p12"
80 ;
81 ; Password for cert
82 ; cert_pass = "password"
83  
84  
85 ; * The following are for the remote console
86 ; * They have no effect for the local or basic console types
87 ; * Leave commented to diable logins to the console
88 ;ConsoleUser = Test
89 ;ConsolePass = secret
90 ;ConsolePort = 0
91  
92 [DatabaseService]
93 ; PGSQL
94 ; Uncomment these lines if you want to use PGSQL storage
95 ; Change the connection string to your db details
96 ;StorageProvider = "OpenSim.Data.PGSQL.dll"
97 ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;"
98  
99 ; MySQL
100 ; Uncomment these lines if you want to use MySQL storage
101 ; Change the connection string to your db details
102 StorageProvider = "OpenSim.Data.MySQL.dll"
103 ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
104  
105 ; * As an example, the below configuration precisely mimicks the legacy
106 ; * asset server. It is read by the asset IN connector (defined above)
107 ; * and it then loads the OUT connector (a local database module). That,
108 ; * in turn, reads the asset loader and database connection information
109 ; *
110 [AssetService]
111 LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
112 DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
113 AssetLoaderArgs = "./assets/AssetSets.xml"
114  
115 ; Allow maptile assets to remotely deleted by remote calls to the asset service.
116 ; There is no harm in having this as false - it just means that historical maptile assets are not deleted.
117 ; This only applies to maptiles served via the version 1 viewer mechanisms
118 ; Default is false
119 AllowRemoteDelete = false
120  
121 ; Allow all assets to be remotely deleted.
122 ; Only set this to true if you are operating a grid where you control all calls to the asset service
123 ; (where a necessary condition is that you control all simulators) and you need this for admin purposes.
124 ; If set to true, AllowRemoteDelete = true is required as well.
125 ; Default is false.
126 AllowRemoteDeleteAllTypes = false
127  
128 ; * This configuration loads the inventory server modules. It duplicates
129 ; * the function of the legacy inventory server
130 ; *
131 [InventoryService]
132 LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
133  
134 ; * This is the new style grid service.
135 ; * "Realm" is the table that is used for user lookup.
136 ; * It defaults to "regions", which uses the legacy tables
137 ; *
138 [GridService]
139 LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
140 ; Realm = "regions"
141 ; AllowDuplicateNames = "True"
142  
143 ;; Next, we can specify properties of regions, including default and fallback regions
144 ;; The syntax is: Region_<RegionName> = "<flags>"
145 ;; or: Region_<RegionID> = "<flags>"
146 ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate
147 ;;
148 ;; 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.)
149 ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion
150 ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified
151 ;; an explicit region.
152 ;;
153 ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online
154 ;; region will be used.
155 ;;
156 ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the
157 ;; order specified. This only applies to local logins at this time, not Hypergrid connections.
158 ;;
159 ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins.
160 ;;
161 ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid.
162 ;;
163 ;; Example specification:
164 ; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
165 ; (replace spaces with underscore)
166  
167 ; * This is the configuration for the freeswitch server in grid mode
168 [FreeswitchService]
169 LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
170  
171 ;; The IP address of your FreeSWITCH server.
172 ;; This address must be reachable by viewers.
173 ; ServerAddress = 127.0.0.1
174  
175 ;; The following configuration parameters are optional
176  
177 ;; By default, this is the same as the ServerAddress
178 ; Realm = 127.0.0.1
179  
180 ;; By default, this is the same as the ServerAddress on port 5060
181 ; SIPProxy = 127.0.0.1:5060
182  
183 ;; Default is 5000ms
184 ; DefaultTimeout = 5000
185  
186 ;; The dial plan context. Default is "default"
187 ; Context = default
188  
189 ;; Currently unused
190 ; UserName = freeswitch
191  
192 ;; Currently unused
193 ; Password = password
194  
195 ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
196 ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
197 ;; stun.freeswitch.org is not guaranteed to be running so use it in
198 ;; production at your own risk
199 ; EchoServer = 127.0.0.1
200 ; EchoPort = 50505
201 ; AttemptSTUN = false
202  
203 ; * This is the new style authentication service. Currently, only MySQL
204 ; * is implemented.
205 ; *
206 [AuthenticationService]
207 ; for the server connector
208 LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
209  
210 ;; Allow the service to process HTTP getauthinfo calls.
211 ;; Default is false.
212 ; AllowGetAuthInfo = false
213  
214 ;; Allow the service to process HTTP setauthinfo calls.
215 ;; Default is false.
216 ; AllowSetAuthInfo = false
217  
218 ;; Allow the service to process HTTP setpassword calls.
219 ;; Default is false.
220 ; AllowSetPassword = false
221  
222 [OpenIdService]
223 ; for the server connector
224 AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
225 UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
226  
227 ; * This is the new style authentication service. Currently, only MySQL
228 ; * is implemented. "Realm" is the table that is used for user lookup.
229 ; * It defaults to "useraccounts", which uses the new style.
230 ; * Realm = "users" will use the legacy tables as an authentication source
231 ; *
232 [UserAccountService]
233 ; for the server connector
234 LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
235 ; Realm = "useraccounts"
236  
237 ; These are for creating new accounts by the service
238 AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
239 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
240 GridService = "OpenSim.Services.GridService.dll:GridService"
241 InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
242 AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
243  
244 ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
245 ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
246 ;; Default is false
247 CreateDefaultAvatarEntries = true
248  
249 ;; Allow the service to process HTTP createuser calls.
250 ;; Default is false.
251 ; AllowCreateUser = false
252  
253 ;; Allow the service to process HTTP setaccount calls.
254 ;; Default is false.
255 ; AllowSetAccount = false
256  
257  
258 [GridUserService]
259 ; for the server connector
260 LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
261  
262 [PresenceService]
263 ; for the server connector
264 LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
265 ; Set this to true to allow the use of advanced web services and multiple
266 ; bots using one account
267 AllowDuplicatePresences = false;
268  
269 [AvatarService]
270 ; for the server connector
271 LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
272  
273 [FriendsService]
274 ; for the server connector
275 LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
276  
277 [LibraryService]
278 LibraryName = "OpenSim Library"
279 DefaultLibrary = "./inventory/Libraries.xml"
280  
281 [LoginService]
282 ; for the server connector
283 LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
284 ; for the service
285 UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
286 GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
287 AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
288 InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
289 AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
290 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
291 GridService = "OpenSim.Services.GridService.dll:GridService"
292 SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
293 LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
294 FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
295  
296 ; The minimum user level required for a user to be able to login. 0 by default
297 ; If you disable a particular user's account then you can set their login level below this number.
298 ; You can also change this level from the console though these changes will not be persisted.
299 ; MinLoginLevel = 0
300  
301 ; Ask co-operative viewers to use a different currency name
302 ;Currency = ""
303  
304 ;; Set minimum fee to publish classified
305 ; ClassifiedFee = 0
306  
307 WelcomeMessage = "Welcome, Avatar!"
308 AllowRemoteSetLoginLevel = "false"
309  
310 ; For V2 map
311 MapTileURL = "http://127.0.0.1:8002";
312  
313 ; For V2/3 Web Profiles
314 ; Work in progress: The ProfileServerURL/OpenIDServerURL are
315 ; being used in a development viewer as support for webprofiles
316 ; is being developed across the componets
317 ;
318 ; ProfileServerURL = "http://127.0.0.1/profiles/[AGENT_NAME]"
319 ;
320 ; For V2/V3 webapp authentication SSO
321 ; OpenIDServerURL = "http://127.0.0.1/openid/openidserver/"
322  
323 ; For V3 destination guide
324 ; DestinationGuide = "http://127.0.0.1/guide"
325  
326 ; For V3 avatar picker (( work in progress ))
327 ; AvatarPicker = "http://127.0.0.1/avatars"
328  
329 ; If you run this login server behind a proxy, set this to true
330 ; HasProxy = false
331  
332 ;; Regular expressions for controlling which client versions are accepted/denied.
333 ;; An empty string means nothing is checked.
334 ;;
335 ;; Example 1: allow only these 3 types of clients (any version of them)
336 ;; AllowedClients = "Imprudence|Hippo|Second Life"
337 ;;
338 ;; Example 2: allow all clients except these
339 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
340 ;;
341 ;; Note that these are regular expressions, so every character counts.
342 ;; Also note that this is very weak security and should not be trusted as a reliable means
343 ;; for keeping bad clients out; modified clients can fake their identifiers.
344 ;;
345 ;;
346 ;AllowedClients = ""
347 ;DeniedClients = ""
348  
349 ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
350 ;; Viewers do not listen to timezone sent by the server. They use Pacific Standard Time instead,
351 ;; but rely on the server to calculate Daylight Saving Time. Sending another DST than US Pacific
352 ;; would result in time inconsistencies between grids (during summer and around DST transition period)
353 ;; default let OpenSim calculate US Pacific DST
354 ;; "none" disable DST (equivallent to "local" with system set to GMT)
355 ;; "local" force legacy behaviour (using local system time to calculate DST)
356 ; DSTZone = "America/Los_Angeles;Pacific Standard Time"
357  
358 ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
359 ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
360 ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
361 ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
362 ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
363 ;; Options are
364 ;; "none" no DST
365 ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
366 ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
367 ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
368 DSTZone = "America/Los_Angeles;Pacific Standard Time"
369  
370 ;Basic Login Service Dos Protection Tweaks
371 ;;
372 ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
373 ;; 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
374 ;; get around this basic DOS protection.
375 ;DOSAllowXForwardedForHeader = false
376 ;;
377 ;; The protector adds up requests during this rolling period of time, default 10 seconds
378 ;DOSRequestTimeFrameMS = 10000
379 ;;
380 ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
381 ;DOSMaxRequestsInTimeFrame = 5
382 ;;
383 ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
384 ;DOSForgiveClientAfterMS = 120000
385 ;;
386 ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
387  
388  
389 [MapImageService]
390 LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
391 ; Set this if you want to change the default
392 ; TilesStoragePath = "maptiles"
393 ;
394 ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002),
395 ; you may want to set this. Otherwise, don't set it, because it's already protected.
396 ; GridService = "OpenSim.Services.GridService.dll:GridService"
397 ;
398 ; Additionally, if you run this server behind a proxy, set this to true
399 ; HasProxy = false
400  
401  
402 [Messaging]
403 ; OfflineIM
404 OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
405  
406 [GridInfoService]
407 ; These settings are used to return information on a get_grid_info call.
408 ; Client launcher scripts and third-party clients make use of this to
409 ; autoconfigure the client and to provide a nice user experience. If you
410 ; want to facilitate that, you should configure the settings here according
411 ; to your grid or standalone setup.
412 ;
413 ; See http://opensimulator.org/wiki/GridInfo
414  
415 ; login uri: for grid this is the login server URI
416 login = http://127.0.0.1:8002/
417  
418 ; long grid name: the long name of your grid
419 gridname = "the lost continent of hippo"
420  
421 ; short grid name: the short name of your grid
422 gridnick = "hippogrid"
423  
424 ; login page: optional: if it exists it will be used to tell the client to use
425 ; this as splash page
426 ;welcome = http://127.0.0.1/welcome
427  
428 ; helper uri: optional: if it exists if will be used to tell the client to use
429 ; this for all economy related things
430 ;economy = http://127.0.0.1:8002/
431  
432 ; web page of grid: optional: page providing further information about your grid
433 ;about = http://127.0.0.1/about/
434  
435 ; account creation: optional: page providing further information about obtaining
436 ; a user account on your grid
437 ;register = http://127.0.0.1/register
438  
439 ; help: optional: page providing further assistance for users of your grid
440 ;help = http://127.0.0.1/help
441  
442 ; password help: optional: page providing password assistance for users of your grid
443 ;password = http://127.0.0.1/password
444  
445 [UserProfilesService]
446 LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
447 Enabled = false
448 ;; Configure this for separate profiles database
449 ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
450 ;; Realm = UserProfiles
451 UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
452 AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
453  
454  
455 [BakedTextureService]
456 LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
457 ;; This directiry must exist and be writable for the user ROBUST runs as
458 BaseDirectory = "/data/bakes"
459