Robust.Tests.ini 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. ; * FOR TESTS ONLY -- DO NOT USE THIS FILE
  2. [Const]
  3. ; The URL of the Robust server
  4. BaseURL = "http://127.0.0.1"
  5. ; The public port of the Robust server
  6. PublicPort = "8888"
  7. ; The private port of the Robust server, same for testing
  8. PrivatePort = "8888"
  9. ; * The startup section lists all the connectors to start up in this server
  10. ; * instance. This may be only one, or it may be the entire server suite.
  11. ; * Multiple connectors should be separated by commas.
  12. ; *
  13. ; * These are the IN connectors the server uses, the in connectors
  14. ; * read this config file and load the needed service and database connectors
  15. ; *
  16. ; * The full syntax of a connector string is:
  17. ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>]
  18. ; *
  19. [Startup]
  20. ; Place to create a PID file
  21. ; If no path if specified then a PID file is not created.
  22. ; PIDFile = "/tmp/Robust.exe.pid"
  23. ; Plugin Registry Location
  24. ; Set path to directory for plugin registry. Information
  25. ; about the registered repositories and installed plugins
  26. ; will be stored here
  27. ; The Robust.exe process must have R/W access to the location
  28. RegistryLocation = "."
  29. ; Modular configurations
  30. ; Set path to directory for modular ini files...
  31. ; The Robust.exe process must have R/W access to the location
  32. ConfigDirectory = "."
  33. console = "rest"
  34. ; Console commands can be saved to a file, so the command history persists after a restart. (default is true)
  35. ConsoleHistoryFileEnabled = false
  36. ; The history file can be just a filename (relative to OpenSim's bin/ directory
  37. ; or it can be a full path to somewhere else. (default is OpenSimConsoleHistory.txt in bin/)
  38. ConsoleHistoryFile = "RobustConsoleHistory.txt"
  39. ; How many lines of command history should we keep? (default is 100)
  40. ConsoleHistoryFileLines = 100
  41. [ServiceList]
  42. GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector"
  43. PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector"
  44. InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector"
  45. UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector"
  46. InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
  47. ;; Uncomment as more tests are added
  48. ;AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
  49. ;GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector"
  50. ;AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector"
  51. ;OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector"
  52. ;AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector"
  53. ;LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector"
  54. ;GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector"
  55. ;FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector"
  56. ;MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector"
  57. ;MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector"
  58. ;OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector"
  59. ;GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector"
  60. ;BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector"
  61. ;UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector"
  62. ;EstateDataService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:EstateDataRobustConnector"
  63. ; * This is common for all services, it's the network setup for the entire
  64. ; * server instance, if none is specified above
  65. ; *
  66. [Network]
  67. port = ${Const|PrivatePort}
  68. ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services.
  69. ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet
  70. ;; but you want to protect them from unauthorized access.
  71. ; AuthType = "BasicHttpAuthentication"
  72. ; HttpAuthUsername = "some_username"
  73. ; HttpAuthPassword = "some_password"
  74. ;;
  75. ;; AuthType above can be overriden in any of the service sections below by
  76. ; AuthType = "None"
  77. ;; This is useful in cases where you want to protect most of the services,
  78. ;; but unprotect individual services. Username and Password can also be
  79. ;; overriden if you want to use different credentials for the different services.
  80. ;; By default, scripts are not allowed to call private services via llHttpRequest()
  81. ;; Such calls are detected by the X-SecondLife-Shared HTTP header
  82. ;; If you allow such calls you must be sure that they are restricted to very trusted scripters
  83. ;; (remember scripts can also be in visiting avatar attachments).
  84. ;; This can be overriden in individual private service sections if necessary
  85. AllowllHTTPRequestIn = false
  86. ; * The following are for the remote console
  87. ; * They have no effect for the local or basic console types
  88. ; * Leave commented to diable logins to the console
  89. ;ConsoleUser = Test
  90. ;ConsolePass = secret
  91. ;ConsolePort = 0
  92. [DatabaseService]
  93. ; PGSQL
  94. ; Uncomment these lines if you want to use PGSQL storage
  95. ; Change the connection string to your db details
  96. ;StorageProvider = "OpenSim.Data.PGSQL.dll"
  97. ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;"
  98. ; Null
  99. ; Uncomment these lines if you want to use MySQL storage
  100. ; Change the connection string to your db details
  101. StorageProvider = "OpenSim.Data.Null.dll"
  102. ConnectionString = ""
  103. ; * As an example, the below configuration precisely mimicks the legacy
  104. ; * asset server. It is read by the asset IN connector (defined above)
  105. ; * and it then loads the OUT connector (a local database module). That,
  106. ; * in turn, reads the asset loader and database connection information
  107. ; *
  108. [AssetService]
  109. LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
  110. DefaultAssetLoader = ""
  111. ; Allow maptile assets to remotely deleted by remote calls to the asset service.
  112. ; There is no harm in having this as false - it just means that historical maptile assets are not deleted.
  113. ; This only applies to maptiles served via the version 1 viewer mechanisms
  114. ; Default is false
  115. AllowRemoteDelete = false
  116. ; Allow all assets to be remotely deleted.
  117. ; Only set this to true if you are operating a grid where you control all calls to the asset service
  118. ; (where a necessary condition is that you control all simulators) and you need this for admin purposes.
  119. ; If set to true, AllowRemoteDelete = true is required as well.
  120. ; Default is false.
  121. AllowRemoteDeleteAllTypes = false
  122. ; * This configuration loads the inventory server modules. It duplicates
  123. ; * the function of the legacy inventory server
  124. ; *
  125. [InventoryService]
  126. LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
  127. StorageProvider = "OpenSim.Tests.Common.dll:TestXInventoryDataPlugin"
  128. ConnectionString = ""
  129. ; Will calls to purge folders (empty trash) and immediately delete/update items or folders (not move to trash first) succeed?
  130. ; If this is set to false then some other arrangement must be made to perform these operations if necessary.
  131. AllowDelete = true
  132. ; * This is the new style grid service.
  133. ; * "Realm" is the table that is used for user lookup.
  134. ; * It defaults to "regions", which uses the legacy tables
  135. ; *
  136. [GridService]
  137. LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
  138. ; Realm = "regions"
  139. ; AllowDuplicateNames = "True"
  140. ;; Next, we can specify properties of regions, including default and fallback regions
  141. ;; The syntax is: Region_<RegionName> = "<flags>"
  142. ;; or: Region_<RegionID> = "<flags>"
  143. ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate
  144. ;;
  145. ;; 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.)
  146. ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion
  147. ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified
  148. ;; an explicit region.
  149. ;;
  150. ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online
  151. ;; region will be used.
  152. ;;
  153. ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the
  154. ;; order specified. This only applies to local logins at this time, not Hypergrid connections.
  155. ;;
  156. ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins.
  157. ;;
  158. ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid.
  159. ;;
  160. ;; Example specification:
  161. ; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
  162. ; (replace spaces with underscore)
  163. ;; Allow supporting viewers to export content
  164. ;; Set to false to prevent export
  165. ExportSupported = true
  166. ; * This is the new style authentication service. Currently, only MySQL
  167. ; * is implemented.
  168. ; *
  169. [AuthenticationService]
  170. ; for the server connector
  171. LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  172. ;; Allow the service to process HTTP getauthinfo calls.
  173. ;; Default is false.
  174. ; AllowGetAuthInfo = false
  175. ;; Allow the service to process HTTP setauthinfo calls.
  176. ;; Default is false.
  177. ; AllowSetAuthInfo = false
  178. ;; Allow the service to process HTTP setpassword calls.
  179. ;; Default is false.
  180. ; AllowSetPassword = false
  181. ; * This is the new style authentication service. Currently, only MySQL
  182. ; * is implemented. "Realm" is the table that is used for user lookup.
  183. ; * It defaults to "useraccounts", which uses the new style.
  184. ; * Realm = "users" will use the legacy tables as an authentication source
  185. ; *
  186. [UserAccountService]
  187. StorageProvider = "OpenSim.Data.Null.dll"
  188. ConnectionString = ""
  189. ; for the server connector
  190. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  191. ; Realm = "useraccounts"
  192. ; These are for creating new accounts by the service
  193. ;AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  194. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  195. GridService = "OpenSim.Services.GridService.dll:GridService"
  196. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  197. ;AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  198. ;GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  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 = true
  206. ;; Allow the service to process HTTP setaccount calls.
  207. ;; Default is false.
  208. AllowSetAccount = true
  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. [EstateService]
  225. LocalServiceModule = "OpenSim.Services.EstateService.dll:EstateDataService"
  226. [LibraryService]
  227. LibraryName = "OpenSim Library"
  228. DefaultLibrary = "./inventory/Libraries.xml"
  229. [LoginService]
  230. ; for the server connector
  231. LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
  232. ; for the service
  233. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  234. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  235. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  236. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  237. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  238. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  239. GridService = "OpenSim.Services.GridService.dll:GridService"
  240. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  241. LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
  242. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  243. ; The minimum user level required for a user to be able to login. 0 by default
  244. ; If you disable a particular user's account then you can set their login level below this number.
  245. ; You can also change this level from the console though these changes will not be persisted.
  246. ; MinLoginLevel = 0
  247. ; Ask co-operative viewers to use a different currency name
  248. ;Currency = ""
  249. ;; Set minimum fee to publish classified
  250. ; ClassifiedFee = 0
  251. WelcomeMessage = "Welcome, Avatar!"
  252. AllowRemoteSetLoginLevel = "false"
  253. ; For V2 map
  254. MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/";
  255. ; Url to search service
  256. ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/";
  257. ; For V3 destination guide
  258. ; DestinationGuide = "${Const|BaseURL}/guide"
  259. ; For V3 avatar picker (( work in progress ))
  260. ; AvatarPicker = "${Const|BaseURL}/avatars"
  261. ; If you run this login server behind a proxy, set this to true
  262. ; HasProxy = false
  263. ;; Regular expressions for controlling which client versions are accepted/denied.
  264. ;; An empty string means nothing is checked.
  265. ;;
  266. ;; Example 1: allow only these 3 types of clients (any version of them)
  267. ;; AllowedClients = "Imprudence|Hippo|Second Life"
  268. ;;
  269. ;; Example 2: allow all clients except these
  270. ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
  271. ;;
  272. ;; Note that these are regular expressions, so every character counts.
  273. ;; Also note that this is very weak security and should not be trusted as a reliable means
  274. ;; for keeping bad clients out; modified clients can fake their identifiers.
  275. ;;
  276. ;;
  277. ;AllowedClients = ""
  278. ;DeniedClients = ""
  279. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  280. ;; Viewers do not listen to timezone sent by the server. They use Pacific Standard Time instead,
  281. ;; but rely on the server to calculate Daylight Saving Time. Sending another DST than US Pacific
  282. ;; would result in time inconsistencies between grids (during summer and around DST transition period)
  283. ;; default let OpenSim calculate US Pacific DST
  284. ;; "none" disable DST (equivallent to "local" with system set to GMT)
  285. ;; "local" force legacy behaviour (using local system time to calculate DST)
  286. ; DSTZone = "America/Los_Angeles;Pacific Standard Time"
  287. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  288. ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
  289. ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
  290. ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
  291. ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
  292. ;; Options are
  293. ;; "none" no DST
  294. ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
  295. ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
  296. ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
  297. DSTZone = "America/Los_Angeles;Pacific Standard Time"
  298. ;Basic Login Service Dos Protection Tweaks
  299. ;;
  300. ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
  301. ;; 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
  302. ;; get around this basic DOS protection.
  303. ;DOSAllowXForwardedForHeader = false
  304. ;;
  305. ;; The protector adds up requests during this rolling period of time, default 10 seconds
  306. ;DOSRequestTimeFrameMS = 10000
  307. ;;
  308. ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
  309. ;DOSMaxRequestsInTimeFrame = 5
  310. ;;
  311. ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
  312. ;DOSForgiveClientAfterMS = 120000
  313. ;;
  314. ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
  315. [MapImageService]
  316. LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
  317. ; Set this if you want to change the default
  318. ; TilesStoragePath = "maptiles"
  319. ;
  320. ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}),
  321. ; you may want to set this. Otherwise, don't set it, because it's already protected.
  322. ; GridService = "OpenSim.Services.GridService.dll:GridService"
  323. ;
  324. ; Additionally, if you run this server behind a proxy, set this to true
  325. ; HasProxy = false
  326. [Messaging]
  327. ; OfflineIM
  328. OfflineIMService = ""
  329. [GridInfoService]
  330. ; These settings are used to return information on a get_grid_info call.
  331. ; Client launcher scripts and third-party clients make use of this to
  332. ; autoconfigure the client and to provide a nice user experience. If you
  333. ; want to facilitate that, you should configure the settings here according
  334. ; to your grid or standalone setup.
  335. ;
  336. ; See http://opensimulator.org/wiki/GridInfo
  337. ; login uri: for grid this is the login server URI
  338. login = ${Const|BaseURL}:${Const|PublicPort}/
  339. ; long grid name: the long name of your grid
  340. gridname = "the lost continent of hippo"
  341. ; short grid name: the short name of your grid
  342. gridnick = "hippogrid"
  343. ; login page: optional: if it exists it will be used to tell the client to use
  344. ; this as splash page
  345. ;welcome = ${Const|BaseURL}/welcome
  346. ; helper uri: optional: if it exists if will be used to tell the client to use
  347. ; this for all economy related things
  348. ;economy = ${Const|BaseURL}:${Const|PublicPort}/
  349. ; web page of grid: optional: page providing further information about your grid
  350. ;about = ${Const|BaseURL}/about/
  351. ; account creation: optional: page providing further information about obtaining
  352. ; a user account on your grid
  353. ;register = ${Const|BaseURL}/register
  354. ; help: optional: page providing further assistance for users of your grid
  355. ;help = ${Const|BaseURL}/help
  356. ; password help: optional: page providing password assistance for users of your grid
  357. ;password = ${Const|BaseURL}/password
  358. [UserProfilesService]
  359. LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
  360. Enabled = false
  361. ;; Configure this for separate profiles database
  362. ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  363. ;; Realm = UserProfiles
  364. UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
  365. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  366. [BakedTextureService]
  367. LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
  368. ;; This directory must be writable by the user ROBUST runs as. It will be created automatically.
  369. BaseDirectory = "./bakes"
  370. [HGInstantMessageService]
  371. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService"
  372. GridService = "OpenSim.Services.GridService.dll:GridService"
  373. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  374. UserAgentService = ""
  375. ; This should always be true in the Robust config
  376. InGatekeeper = True