1
0

Robust.ini.example 20 KB

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