Robust.ini.example 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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 follow 3 variables are for HTTP Basic Authentication for the Robust services.
  77. ;; Use this if your central services in port 8003 need to be accessible on the Internet
  78. ;; but you want to protect them from unauthorized access.
  79. ; AuthType = "BasicHttpAuthentication"
  80. ; HttpAuthUsername = "some_username"
  81. ; HttpAuthPassword = "some_password"
  82. ;;
  83. ;; AuthType above can be overriden in any of the service sections below by
  84. ; AuthType = "None"
  85. ;; This is useful in cases where you want to protect most of the services,
  86. ;; but unprotect individual services. Username and Password can also be
  87. ;; overriden if you want to use different credentials for the different services.
  88. ; * The following are for the remote console
  89. ; * They have no effect for the local or basic console types
  90. ; * Leave commented to diable logins to the console
  91. ;ConsoleUser = Test
  92. ;ConsolePass = secret
  93. ;ConsolePort = 0
  94. [DatabaseService]
  95. ; PGSQL
  96. ; Uncomment these lines if you want to use PGSQL storage
  97. ; Change the connection string to your db details
  98. ;StorageProvider = "OpenSim.Data.PGSQL.dll"
  99. ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;"
  100. ; MySQL
  101. ; Uncomment these lines if you want to use MySQL storage
  102. ; Change the connection string to your db details
  103. StorageProvider = "OpenSim.Data.MySQL.dll"
  104. ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  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. ; Allow maptile assets to remotely deleted by remote calls to the asset service.
  115. ; There is no harm in having this as false - it just means that historical maptile assets are not deleted.
  116. ; This only applies to maptiles served via the version 1 viewer mechanisms
  117. ; Default is false
  118. AllowRemoteDelete = false
  119. ; Allow all assets to be remotely deleted.
  120. ; Only set this to true if you are operating a grid where you control all calls to the asset service
  121. ; (where a necessary condition is that you control all simulators) and you need this for admin purposes.
  122. ; If set to true, AllowRemoteDelete = true is required as well.
  123. ; Default is false.
  124. AllowRemoteDeleteAllTypes = false
  125. ; * This configuration loads the inventory server modules. It duplicates
  126. ; * the function of the legacy inventory server
  127. ; *
  128. [InventoryService]
  129. LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
  130. ; * This is the new style grid service.
  131. ; * "Realm" is the table that is used for user lookup.
  132. ; * It defaults to "regions", which uses the legacy tables
  133. ; *
  134. [GridService]
  135. LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
  136. ; Realm = "regions"
  137. ; AllowDuplicateNames = "True"
  138. ;; Next, we can specify properties of regions, including default and fallback regions
  139. ;; The syntax is: Region_<RegionName> = "<flags>"
  140. ;; or: Region_<RegionID> = "<flags>"
  141. ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate
  142. ;;
  143. ;; 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.)
  144. ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion
  145. ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified
  146. ;; an explicit region.
  147. ;;
  148. ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online
  149. ;; region will be used.
  150. ;;
  151. ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the
  152. ;; order specified. This only applies to local logins at this time, not Hypergrid connections.
  153. ;;
  154. ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins.
  155. ;;
  156. ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid.
  157. ;;
  158. ;; Example specification:
  159. ; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
  160. ; (replace spaces with underscore)
  161. ;; Allow supporting viewers to export content
  162. ;; Set to false to prevent export
  163. ExportSupported = true
  164. ; * This is the configuration for the freeswitch server in grid mode
  165. [FreeswitchService]
  166. LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
  167. ;; The IP address of your FreeSWITCH server.
  168. ;; This address must be reachable by viewers.
  169. ; ServerAddress = 127.0.0.1
  170. ;; The following configuration parameters are optional
  171. ;; By default, this is the same as the ServerAddress
  172. ; Realm = 127.0.0.1
  173. ;; By default, this is the same as the ServerAddress on port 5060
  174. ; SIPProxy = 127.0.0.1:5060
  175. ;; Default is 5000ms
  176. ; DefaultTimeout = 5000
  177. ;; The dial plan context. Default is "default"
  178. ; Context = default
  179. ;; Currently unused
  180. ; UserName = freeswitch
  181. ;; Currently unused
  182. ; Password = password
  183. ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
  184. ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
  185. ;; stun.freeswitch.org is not guaranteed to be running so use it in
  186. ;; production at your own risk
  187. ; EchoServer = 127.0.0.1
  188. ; EchoPort = 50505
  189. ; AttemptSTUN = false
  190. ; * This is the new style authentication service. Currently, only MySQL
  191. ; * is implemented.
  192. ; *
  193. [AuthenticationService]
  194. ; for the server connector
  195. LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  196. ;; Allow the service to process HTTP getauthinfo calls.
  197. ;; Default is false.
  198. ; AllowGetAuthInfo = false
  199. ;; Allow the service to process HTTP setauthinfo calls.
  200. ;; Default is false.
  201. ; AllowSetAuthInfo = false
  202. ;; Allow the service to process HTTP setpassword calls.
  203. ;; Default is false.
  204. ; AllowSetPassword = false
  205. [OpenIdService]
  206. ; for the server connector
  207. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  208. UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  209. ; * This is the new style authentication service. Currently, only MySQL
  210. ; * is implemented. "Realm" is the table that is used for user lookup.
  211. ; * It defaults to "useraccounts", which uses the new style.
  212. ; * Realm = "users" will use the legacy tables as an authentication source
  213. ; *
  214. [UserAccountService]
  215. ; for the server connector
  216. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  217. ; Realm = "useraccounts"
  218. ; These are for creating new accounts by the service
  219. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  220. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  221. GridService = "OpenSim.Services.GridService.dll:GridService"
  222. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  223. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  224. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  225. ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
  226. ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
  227. ;; Default is false
  228. CreateDefaultAvatarEntries = true
  229. ;; Allow the service to process HTTP createuser calls.
  230. ;; Default is false.
  231. ; AllowCreateUser = false
  232. ;; Allow the service to process HTTP setaccount calls.
  233. ;; Default is false.
  234. ; AllowSetAccount = false
  235. [GridUserService]
  236. ; for the server connector
  237. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
  238. [PresenceService]
  239. ; for the server connector
  240. LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
  241. ; Set this to true to allow the use of advanced web services and multiple
  242. ; bots using one account
  243. AllowDuplicatePresences = false;
  244. [AvatarService]
  245. ; for the server connector
  246. LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
  247. [FriendsService]
  248. ; for the server connector
  249. LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
  250. [LibraryService]
  251. LibraryName = "OpenSim Library"
  252. DefaultLibrary = "./inventory/Libraries.xml"
  253. [LoginService]
  254. ; for the server connector
  255. LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
  256. ; for the service
  257. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  258. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  259. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  260. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  261. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  262. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  263. GridService = "OpenSim.Services.GridService.dll:GridService"
  264. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  265. LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
  266. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  267. ; The minimum user level required for a user to be able to login. 0 by default
  268. ; If you disable a particular user's account then you can set their login level below this number.
  269. ; You can also change this level from the console though these changes will not be persisted.
  270. ; MinLoginLevel = 0
  271. ; Ask co-operative viewers to use a different currency name
  272. ;Currency = ""
  273. ;; Set minimum fee to publish classified
  274. ; ClassifiedFee = 0
  275. WelcomeMessage = "Welcome, Avatar!"
  276. AllowRemoteSetLoginLevel = "false"
  277. ; For V2 map
  278. MapTileURL = "http://127.0.0.1:8002/";
  279. ; Url to search service
  280. ; SearchURL = "http://127.0.0.1:8002/";
  281. ; For V3 destination guide
  282. ; DestinationGuide = "http://127.0.0.1/guide"
  283. ; For V3 avatar picker (( work in progress ))
  284. ; AvatarPicker = "http://127.0.0.1/avatars"
  285. ; If you run this login server behind a proxy, set this to true
  286. ; HasProxy = false
  287. ;; Regular expressions for controlling which client versions are accepted/denied.
  288. ;; An empty string means nothing is checked.
  289. ;;
  290. ;; Example 1: allow only these 3 types of clients (any version of them)
  291. ;; AllowedClients = "Imprudence|Hippo|Second Life"
  292. ;;
  293. ;; Example 2: allow all clients except these
  294. ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
  295. ;;
  296. ;; Note that these are regular expressions, so every character counts.
  297. ;; Also note that this is very weak security and should not be trusted as a reliable means
  298. ;; for keeping bad clients out; modified clients can fake their identifiers.
  299. ;;
  300. ;;
  301. ;AllowedClients = ""
  302. ;DeniedClients = ""
  303. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  304. ;; Viewers do not listen to timezone sent by the server. They use Pacific Standard Time instead,
  305. ;; but rely on the server to calculate Daylight Saving Time. Sending another DST than US Pacific
  306. ;; would result in time inconsistencies between grids (during summer and around DST transition period)
  307. ;; default let OpenSim calculate US Pacific DST
  308. ;; "none" disable DST (equivallent to "local" with system set to GMT)
  309. ;; "local" force legacy behaviour (using local system time to calculate DST)
  310. ; DSTZone = "America/Los_Angeles;Pacific Standard Time"
  311. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  312. ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
  313. ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
  314. ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
  315. ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
  316. ;; Options are
  317. ;; "none" no DST
  318. ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
  319. ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
  320. ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
  321. DSTZone = "America/Los_Angeles;Pacific Standard Time"
  322. ;Basic Login Service Dos Protection Tweaks
  323. ;;
  324. ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
  325. ;; 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
  326. ;; get around this basic DOS protection.
  327. ;DOSAllowXForwardedForHeader = false
  328. ;;
  329. ;; The protector adds up requests during this rolling period of time, default 10 seconds
  330. ;DOSRequestTimeFrameMS = 10000
  331. ;;
  332. ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
  333. ;DOSMaxRequestsInTimeFrame = 5
  334. ;;
  335. ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
  336. ;DOSForgiveClientAfterMS = 120000
  337. ;;
  338. ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
  339. [MapImageService]
  340. LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
  341. ; Set this if you want to change the default
  342. ; TilesStoragePath = "maptiles"
  343. ;
  344. ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002),
  345. ; you may want to set this. Otherwise, don't set it, because it's already protected.
  346. ; GridService = "OpenSim.Services.GridService.dll:GridService"
  347. ;
  348. ; Additionally, if you run this server behind a proxy, set this to true
  349. ; HasProxy = false
  350. [Messaging]
  351. ; OfflineIM
  352. OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
  353. [GridInfoService]
  354. ; These settings are used to return information on a get_grid_info call.
  355. ; Client launcher scripts and third-party clients make use of this to
  356. ; autoconfigure the client and to provide a nice user experience. If you
  357. ; want to facilitate that, you should configure the settings here according
  358. ; to your grid or standalone setup.
  359. ;
  360. ; See http://opensimulator.org/wiki/GridInfo
  361. ; login uri: for grid this is the login server URI
  362. login = http://127.0.0.1:8002/
  363. ; long grid name: the long name of your grid
  364. gridname = "the lost continent of hippo"
  365. ; short grid name: the short name of your grid
  366. gridnick = "hippogrid"
  367. ; login page: optional: if it exists it will be used to tell the client to use
  368. ; this as splash page
  369. ;welcome = http://127.0.0.1/welcome
  370. ; helper uri: optional: if it exists if will be used to tell the client to use
  371. ; this for all economy related things
  372. ;economy = http://127.0.0.1:8002/
  373. ; web page of grid: optional: page providing further information about your grid
  374. ;about = http://127.0.0.1/about/
  375. ; account creation: optional: page providing further information about obtaining
  376. ; a user account on your grid
  377. ;register = http://127.0.0.1/register
  378. ; help: optional: page providing further assistance for users of your grid
  379. ;help = http://127.0.0.1/help
  380. ; password help: optional: page providing password assistance for users of your grid
  381. ;password = http://127.0.0.1/password
  382. [UserProfilesService]
  383. LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
  384. Enabled = false
  385. ;; Configure this for separate profiles database
  386. ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  387. ;; Realm = UserProfiles
  388. UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
  389. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  390. [BakedTextureService]
  391. LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
  392. ;; This directory must be writable by the user ROBUST runs as. It will be created automatically.
  393. BaseDirectory = "./bakes"