Robust.ini.example 20 KB

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