Robust.ini.example 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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. ; * This is the configuration for the freeswitch server in grid mode
  162. [FreeswitchService]
  163. LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
  164. ;; The IP address of your FreeSWITCH server.
  165. ;; This address must be reachable by viewers.
  166. ; ServerAddress = 127.0.0.1
  167. ;; The following configuration parameters are optional
  168. ;; By default, this is the same as the ServerAddress
  169. ; Realm = 127.0.0.1
  170. ;; By default, this is the same as the ServerAddress on port 5060
  171. ; SIPProxy = 127.0.0.1:5060
  172. ;; Default is 5000ms
  173. ; DefaultTimeout = 5000
  174. ;; The dial plan context. Default is "default"
  175. ; Context = default
  176. ;; Currently unused
  177. ; UserName = freeswitch
  178. ;; Currently unused
  179. ; Password = password
  180. ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
  181. ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
  182. ;; stun.freeswitch.org is not guaranteed to be running so use it in
  183. ;; production at your own risk
  184. ; EchoServer = 127.0.0.1
  185. ; EchoPort = 50505
  186. ; AttemptSTUN = false
  187. ; * This is the new style authentication service. Currently, only MySQL
  188. ; * is implemented.
  189. ; *
  190. [AuthenticationService]
  191. ; for the server connector
  192. LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  193. ;; Allow the service to process HTTP getauthinfo calls.
  194. ;; Default is false.
  195. ; AllowGetAuthInfo = false
  196. ;; Allow the service to process HTTP setauthinfo calls.
  197. ;; Default is false.
  198. ; AllowSetAuthInfo = false
  199. ;; Allow the service to process HTTP setpassword calls.
  200. ;; Default is false.
  201. ; AllowSetPassword = false
  202. [OpenIdService]
  203. ; for the server connector
  204. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  205. UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  206. ; * This is the new style authentication service. Currently, only MySQL
  207. ; * is implemented. "Realm" is the table that is used for user lookup.
  208. ; * It defaults to "useraccounts", which uses the new style.
  209. ; * Realm = "users" will use the legacy tables as an authentication source
  210. ; *
  211. [UserAccountService]
  212. ; for the server connector
  213. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  214. ; Realm = "useraccounts"
  215. ; These are for creating new accounts by the service
  216. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  217. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  218. GridService = "OpenSim.Services.GridService.dll:GridService"
  219. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  220. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  221. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  222. ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
  223. ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
  224. ;; Default is false
  225. CreateDefaultAvatarEntries = true
  226. ;; Allow the service to process HTTP createuser calls.
  227. ;; Default is false.
  228. ; AllowCreateUser = false
  229. ;; Allow the service to process HTTP setaccount calls.
  230. ;; Default is false.
  231. ; AllowSetAccount = false
  232. [GridUserService]
  233. ; for the server connector
  234. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
  235. [PresenceService]
  236. ; for the server connector
  237. LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
  238. ; Set this to true to allow the use of advanced web services and multiple
  239. ; bots using one account
  240. AllowDuplicatePresences = false;
  241. [AvatarService]
  242. ; for the server connector
  243. LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
  244. [FriendsService]
  245. ; for the server connector
  246. LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
  247. [LibraryService]
  248. LibraryName = "OpenSim Library"
  249. DefaultLibrary = "./inventory/Libraries.xml"
  250. [LoginService]
  251. ; for the server connector
  252. LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
  253. ; for the service
  254. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  255. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  256. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  257. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  258. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  259. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  260. GridService = "OpenSim.Services.GridService.dll:GridService"
  261. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  262. LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
  263. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  264. ; The minimum user level required for a user to be able to login. 0 by default
  265. ; If you disable a particular user's account then you can set their login level below this number.
  266. ; You can also change this level from the console though these changes will not be persisted.
  267. ; MinLoginLevel = 0
  268. ; Ask co-operative viewers to use a different currency name
  269. ;Currency = ""
  270. ;; Set minimum fee to publish classified
  271. ; ClassifiedFee = 0
  272. WelcomeMessage = "Welcome, Avatar!"
  273. AllowRemoteSetLoginLevel = "false"
  274. ; For V2 map
  275. MapTileURL = "http://127.0.0.1:8002";
  276. ; For V2/3 Web Profiles
  277. ; Work in progress: The ProfileServerURL/OpenIDServerURL are
  278. ; being used in a development viewer as support for webprofiles
  279. ; is being developed across the componets
  280. ;
  281. ; ProfileServerURL = "http://127.0.0.1/profiles/[AGENT_NAME]"
  282. ;
  283. ; For V2/V3 webapp authentication SSO
  284. ; OpenIDServerURL = "http://127.0.0.1/openid/openidserver/"
  285. ; For V3 destination guide
  286. ; DestinationGuide = "http://127.0.0.1/guide"
  287. ; For V3 avatar picker (( work in progress ))
  288. ; AvatarPicker = "http://127.0.0.1/avatars"
  289. ; If you run this login server behind a proxy, set this to true
  290. ; HasProxy = false
  291. ;; Regular expressions for controlling which client versions are accepted/denied.
  292. ;; An empty string means nothing is checked.
  293. ;;
  294. ;; Example 1: allow only these 3 types of clients (any version of them)
  295. ;; AllowedClients = "Imprudence|Hippo|Second Life"
  296. ;;
  297. ;; Example 2: allow all clients except these
  298. ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
  299. ;;
  300. ;; Note that these are regular expressions, so every character counts.
  301. ;; Also note that this is very weak security and should not be trusted as a reliable means
  302. ;; for keeping bad clients out; modified clients can fake their identifiers.
  303. ;;
  304. ;;
  305. ;AllowedClients = ""
  306. ;DeniedClients = ""
  307. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  308. ;; Viewers do not listen to timezone sent by the server. They use Pacific Standard Time instead,
  309. ;; but rely on the server to calculate Daylight Saving Time. Sending another DST than US Pacific
  310. ;; would result in time inconsistencies between grids (during summer and around DST transition period)
  311. ;; default let OpenSim calculate US Pacific DST
  312. ;; "none" disable DST (equivallent to "local" with system set to GMT)
  313. ;; "local" force legacy behaviour (using local system time to calculate DST)
  314. ; DSTZone = "America/Los_Angeles;Pacific Standard Time"
  315. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  316. ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
  317. ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
  318. ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
  319. ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
  320. ;; Options are
  321. ;; "none" no DST
  322. ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
  323. ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
  324. ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
  325. DSTZone = "America/Los_Angeles;Pacific Standard Time"
  326. ;Basic Login Service Dos Protection Tweaks
  327. ;;
  328. ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
  329. ;; 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
  330. ;; get around this basic DOS protection.
  331. ;DOSAllowXForwardedForHeader = false
  332. ;;
  333. ;; The protector adds up requests during this rolling period of time, default 10 seconds
  334. ;DOSRequestTimeFrameMS = 10000
  335. ;;
  336. ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
  337. ;DOSMaxRequestsInTimeFrame = 5
  338. ;;
  339. ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
  340. ;DOSForgiveClientAfterMS = 120000
  341. ;;
  342. ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
  343. [MapImageService]
  344. LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
  345. ; Set this if you want to change the default
  346. ; TilesStoragePath = "maptiles"
  347. ;
  348. ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002),
  349. ; you may want to set this. Otherwise, don't set it, because it's already protected.
  350. ; GridService = "OpenSim.Services.GridService.dll:GridService"
  351. ;
  352. ; Additionally, if you run this server behind a proxy, set this to true
  353. ; HasProxy = false
  354. [Messaging]
  355. ; OfflineIM
  356. OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
  357. [GridInfoService]
  358. ; These settings are used to return information on a get_grid_info call.
  359. ; Client launcher scripts and third-party clients make use of this to
  360. ; autoconfigure the client and to provide a nice user experience. If you
  361. ; want to facilitate that, you should configure the settings here according
  362. ; to your grid or standalone setup.
  363. ;
  364. ; See http://opensimulator.org/wiki/GridInfo
  365. ; login uri: for grid this is the login server URI
  366. login = http://127.0.0.1:8002/
  367. ; long grid name: the long name of your grid
  368. gridname = "the lost continent of hippo"
  369. ; short grid name: the short name of your grid
  370. gridnick = "hippogrid"
  371. ; login page: optional: if it exists it will be used to tell the client to use
  372. ; this as splash page
  373. ;welcome = http://127.0.0.1/welcome
  374. ; helper uri: optional: if it exists if will be used to tell the client to use
  375. ; this for all economy related things
  376. ;economy = http://127.0.0.1:8002/
  377. ; web page of grid: optional: page providing further information about your grid
  378. ;about = http://127.0.0.1/about/
  379. ; account creation: optional: page providing further information about obtaining
  380. ; a user account on your grid
  381. ;register = http://127.0.0.1/register
  382. ; help: optional: page providing further assistance for users of your grid
  383. ;help = http://127.0.0.1/help
  384. ; password help: optional: page providing password assistance for users of your grid
  385. ;password = http://127.0.0.1/password
  386. [UserProfilesService]
  387. LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
  388. Enabled = false
  389. ;; Configure this for separate profiles database
  390. ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  391. ;; Realm = UserProfiles
  392. UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
  393. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  394. [BakedTextureService]
  395. LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
  396. ;; This directory must be writable by the user ROBUST runs as. It will be created automatically.
  397. BaseDirectory = "./bakes"