Robust.ini.example 20 KB

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