diff options
-rw-r--r-- | bin/OpenSim.ini | 63 | ||||
-rw-r--r-- | bin/Robust.ini | 825 | ||||
-rw-r--r-- | bin/config-include/FlotsamCache.ini | 97 | ||||
-rw-r--r-- | bin/config-include/GridCommon.ini | 255 |
4 files changed, 1240 insertions, 0 deletions
diff --git a/bin/OpenSim.ini b/bin/OpenSim.ini new file mode 100644 index 0000000..389b3f0 --- /dev/null +++ b/bin/OpenSim.ini | |||
@@ -0,0 +1,63 @@ | |||
1 | ;; This is the main configuration file for OpenSimulator. | ||
2 | ;; If it's named OpenSim.ini then it will be loaded by OpenSimulator. | ||
3 | ;; If it's named OpenSim.ini.example then you will need to copy it to | ||
4 | ;; OpenSim.ini first (if that file does not already exist) | ||
5 | ;; | ||
6 | ;; Once you have copied OpenSim.ini.example to OpenSim.ini you will at least | ||
7 | ;; need to set the constants in the [Const] section and pick an architecture | ||
8 | ;; in the [Architecture] section at the end of this file. The architecture | ||
9 | ;; will require a suitable .ini file in the config-include directory, either | ||
10 | ;; StandaloneCommon.ini or GridCommon.ini which you can copy and modify from the | ||
11 | ;; available .example files. | ||
12 | ;; | ||
13 | ;; The settings in this file are in the form "<key> = <value>". For example, | ||
14 | ;; save_crashes = false in the [Startup] section below. | ||
15 | ;; | ||
16 | ;; All settings are initially commented out and the default value used, as | ||
17 | ;; found in OpenSimDefaults.ini. To change a setting, first uncomment it by | ||
18 | ;; deleting the initial semicolon (;) and then change the value. This will | ||
19 | ;; override the value in OpenSimDefaults.ini | ||
20 | ;; | ||
21 | ;; If you want to find out what configuration OpenSimulator has finished with | ||
22 | ;; once all the configuration files are loaded then type "config show" on the | ||
23 | ;; region console command line. | ||
24 | ;; | ||
25 | ;; | ||
26 | ;; NOTES FOR DEVELOPERS REGARDING THE FORMAT OF THIS FILE | ||
27 | ;; | ||
28 | ;; All leading white space is ignored, but preserved. | ||
29 | ;; | ||
30 | ;; Double semicolons denote a text comment | ||
31 | ;; | ||
32 | ;; A * in the choices list will allow an empty entry. | ||
33 | ;; An empty question will set the default if the dependencies are | ||
34 | ;; satisfied. | ||
35 | ;; | ||
36 | ;; ; denotes a commented out option. | ||
37 | ;; Any options added to OpenSim.ini.example should be initially commented | ||
38 | ;; out. | ||
39 | |||
40 | |||
41 | |||
42 | [Includes] | ||
43 | ;; Uncomment this if using this for MG. | ||
44 | ; Include-Extra = "config-include/extra_MG.ini" | ||
45 | |||
46 | |||
47 | [Architecture] | ||
48 | ;; Uncomment one of the following includes as required. For instance, to create a standalone OpenSim, | ||
49 | ;; uncomment Include-Architecture = "config-include/Standalone.ini" | ||
50 | ;; | ||
51 | ;; Then you will need to copy and edit the corresponding *Common.example file in config-include/ | ||
52 | ;; that the referenced .ini file goes on to include. | ||
53 | ;; | ||
54 | ;; For instance, if you chose "config-include/Standalone.ini" then you will need to copy | ||
55 | ;; "config-include/StandaloneCommon.ini.example" to "config-include/StandaloneCommon.ini" before | ||
56 | ;; editing it to set the database and backend services that OpenSim will use. | ||
57 | ;; | ||
58 | ; Include-Architecture = "config-include/Standalone.ini" | ||
59 | ; Include-Architecture = "config-include/StandaloneHypergrid.ini" | ||
60 | ; Include-Architecture = "config-include/Grid.ini" | ||
61 | Include-Architecture = "config-include/GridHypergrid.ini" | ||
62 | ; Include-Architecture = "config-include/SimianGrid.ini" | ||
63 | ; Include-Architecture = "config-include/HyperSimianGrid.ini" | ||
diff --git a/bin/Robust.ini b/bin/Robust.ini new file mode 100644 index 0000000..dd2bc66 --- /dev/null +++ b/bin/Robust.ini | |||
@@ -0,0 +1,825 @@ | |||
1 | ; * Run | ||
2 | ; * $ Robust.exe -inifile Robust.HG.ini | ||
3 | ; * | ||
4 | |||
5 | ; * Configurations for enabling HG1.5 | ||
6 | ; * | ||
7 | ; * HG1.5 handlers are: OpenSim.Server.Handlers.dll:GatekeeperService | ||
8 | ; * OpenSim.Server.Handlers.dll:UserAgentService | ||
9 | ; * Additional OpenSim.Server.Handlers.dll:AssetServiceConnector and | ||
10 | ; * OpenSim.Server.Handlers.dll:XInventoryInConnector | ||
11 | ; * are started in port 8002, outside the firewall | ||
12 | ; * | ||
13 | ; ** | ||
14 | ; * | ||
15 | ; * The Const section allows us to define some basic information that we | ||
16 | ; * will use throughout our configuration. We will provide examples for | ||
17 | ; * setting the base url of the Robust server and the public and private ports | ||
18 | ; * it uses. Changing the values of the constants will set the operating | ||
19 | ; * parameters thoughout the configuration. Other constants that may prove | ||
20 | ; * to be useful may be added to the followin section. They may be | ||
21 | ; * referenced anywhere in the configuration by using ${Const|Name}. One | ||
22 | ; * such use is providing a base path for setting locations that Robust | ||
23 | ; * uses to write data. | ||
24 | ; * | ||
25 | |||
26 | [Includes] | ||
27 | ; Define your server specific constants in this file. | ||
28 | Include-Common = ../../config/config.ini | ||
29 | |||
30 | |||
31 | |||
32 | ; * The startup section lists all the connectors to start up in this server | ||
33 | ; * instance. This may be only one, or it may be the entire server suite. | ||
34 | ; * Multiple connectors should be separated by commas. | ||
35 | ; * | ||
36 | ; * These are the IN connectors the server uses, the in connectors | ||
37 | ; * read this config file and load the needed service and database connectors | ||
38 | ; * | ||
39 | ; * The full syntax of a connector string is: | ||
40 | ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>] | ||
41 | ; * | ||
42 | [Startup] | ||
43 | ; Place to create a PID file | ||
44 | ; If no path if specified then a PID file is not created. | ||
45 | PIDFile = "${Paths|CachePath}/ROBUST.pid" | ||
46 | |||
47 | ; Plugin Registry Location | ||
48 | ; Set path to directory for plugin registry. Information | ||
49 | ; about the registered repositories and installed plugins | ||
50 | ; will be stored here | ||
51 | ; The Robust.exe process must have R/W access to the location | ||
52 | RegistryLocation = "${Paths|CachePath}" | ||
53 | |||
54 | ; Modular configurations | ||
55 | ; Set path to directory for modular ini files... | ||
56 | ; The Robust.exe process must have R/W access to the location, and it must NOT be shared by the OpenSim.exe process, coz that confuses things. | ||
57 | ConfigDirectory = "${Paths|ConfigPath}/ROBUST" | ||
58 | |||
59 | ; Console commands can be saved to a file, so the command history persists after a restart. (default is true) | ||
60 | ConsoleHistoryFileEnabled = true | ||
61 | |||
62 | ; The history file can be just a filename (relative to OpenSim's bin/ directory | ||
63 | ; or it can be a full path to somewhere else. (default is OpenSimConsoleHistory.txt in bin/) | ||
64 | ConsoleHistoryFile = "${Paths|LogPath}/RobustConsoleHistory.txt" | ||
65 | |||
66 | ; How many lines of command history should we keep? (default is 100) | ||
67 | ConsoleHistoryFileLines = 100 | ||
68 | |||
69 | ; Time stamp commands in history file (default false) | ||
70 | ; ConsoleHistoryTimeStamp = false | ||
71 | |||
72 | ; peers SSL certificate validation options | ||
73 | ; you can allow selfsigned certificates or no official CA with next option set to true | ||
74 | NoVerifyCertChain = true | ||
75 | ; you can also bypass the hostname or domain verification | ||
76 | NoVerifyCertHostname = true | ||
77 | ; having both options true does provide encryption but with low security | ||
78 | ; set both true if you don't care to use SSL, they are needed to contact regions or grids that do use it. | ||
79 | |||
80 | [ServiceList] | ||
81 | AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" | ||
82 | InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" | ||
83 | ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below) | ||
84 | ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector" | ||
85 | GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector" | ||
86 | GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector" | ||
87 | AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector" | ||
88 | ; OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector" | ||
89 | AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector" | ||
90 | LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector" | ||
91 | PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector" | ||
92 | UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" | ||
93 | GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector" | ||
94 | AgentPreferencesServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AgentPreferencesServiceConnector" | ||
95 | FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector" | ||
96 | MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector" | ||
97 | MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector" | ||
98 | ;; Uncomment this if you want offline IM to work | ||
99 | OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" | ||
100 | ;; Uncomment this if you want Groups V2 to work | ||
101 | GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" | ||
102 | ;; Uncomment to provide bakes caching | ||
103 | BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector" | ||
104 | |||
105 | ;; Uncomment for UserProfiles see [UserProfilesService] to configure... | ||
106 | UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" | ||
107 | |||
108 | ;; Uncomment if you want to have centralized estate data | ||
109 | ; EstateDataService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:EstateDataRobustConnector" | ||
110 | |||
111 | MuteListConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MuteListServiceConnector" | ||
112 | |||
113 | ;; Additions for Hypergrid | ||
114 | |||
115 | GatekeeperServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector" | ||
116 | UserAgentServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserAgentServerConnector" | ||
117 | HeloServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HeloServiceInConnector" | ||
118 | HGFriendsServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HGFriendsServerConnector" | ||
119 | InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector" | ||
120 | HGInventoryServiceConnector = "HGInventoryService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" | ||
121 | HGAssetServiceConnector = "HGAssetService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" | ||
122 | ;; Uncomment this if you want Groups V2, HG to work | ||
123 | HGGroupsServiceConnector = "${Const|PublicPort}/OpenSim.Addons.Groups.dll:HGGroupsServiceRobustConnector" | ||
124 | |||
125 | ; * This is common for all services, it's the network setup for the entire | ||
126 | ; * server instance, if none is specified above | ||
127 | ; * | ||
128 | [Network] | ||
129 | port = ${Const|PrivatePort} | ||
130 | |||
131 | ; HTTPS for "Out of band" management applications such as the remote admin | ||
132 | ; module. May specify https_main = True to make the main http server | ||
133 | ; use https or "False" to make the main server HTTP | ||
134 | ; https_main = False | ||
135 | ; | ||
136 | ; Create https_listener = "True" will create a listener on the port | ||
137 | ; specified. Provide the path to your server certificate along with it's | ||
138 | ; password | ||
139 | ; https_listener = False | ||
140 | ; | ||
141 | ; Set our listener to this port | ||
142 | ; https_port = 0 | ||
143 | ; | ||
144 | ; Path to X509 certificate | ||
145 | ; cert_path = "path/to/cert.p12" | ||
146 | ; | ||
147 | ; Password for cert | ||
148 | ; cert_pass = "password" | ||
149 | |||
150 | ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services. | ||
151 | ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet | ||
152 | ;; but you want to protect them from unauthorized access. | ||
153 | ; AuthType = "BasicHttpAuthentication" | ||
154 | ; HttpAuthUsername = "some_username" | ||
155 | ; HttpAuthPassword = "some_password" | ||
156 | ;; | ||
157 | ;; AuthType above can be overriden in any of the service sections below by | ||
158 | ; AuthType = "None" | ||
159 | ;; This is useful in cases where you want to protect most of the services, | ||
160 | ;; but unprotect individual services. Username and Password can also be | ||
161 | ;; overriden if you want to use different credentials for the different services. | ||
162 | ;; Hypergrid services are not affected by this; they are publicly available | ||
163 | ;; by design. | ||
164 | |||
165 | ;; By default, scripts are not allowed to call private services via llHttpRequest() | ||
166 | ;; Such calls are detected by the X-SecondLife-Shared HTTP header | ||
167 | ;; If you allow such calls you must be sure that they are restricted to very trusted scripters | ||
168 | ;; (remember scripts can also be in visiting avatar attachments). | ||
169 | ;; This can be overriden in individual private service sections if necessary | ||
170 | AllowllHTTPRequestIn = false | ||
171 | |||
172 | ; * The following are for the remote console | ||
173 | ; * They have no effect for the local or basic console types | ||
174 | ; * Leave commented to diable logins to the console | ||
175 | ;ConsoleUser = Test | ||
176 | ;ConsolePass = secret | ||
177 | ;ConsolePort = 0 | ||
178 | |||
179 | [Hypergrid] | ||
180 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
181 | ;; This is the address of the external robust server that | ||
182 | ;; runs the UserAgentsService, possibly this server. | ||
183 | ;; For example http://myworld.com:8002 | ||
184 | ;; This is a default that can be overwritten in some sections. | ||
185 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
186 | |||
187 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
188 | ;; This is the address of the external robust server | ||
189 | ;; that runs the Gatekeeper service, possibly this server. | ||
190 | ;; For example http://myworld.com:8002 | ||
191 | ;; This is a default that can be overwritten in some sections. | ||
192 | GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
193 | |||
194 | [AccessControl] | ||
195 | ;# {AllowedClients} {} {Bar (|) separated list of allowed clients} {} | ||
196 | ;; Bar (|) separated list of viewers which may gain access to the regions. | ||
197 | ;; One can use a substring of the viewer name to enable only certain | ||
198 | ;; versions | ||
199 | ;; Example: Agent uses the viewer "Imprudence 1.3.2.0" | ||
200 | ;; - "Imprudence" has access | ||
201 | ;; - "Imprudence 1.3" has access | ||
202 | ;; - "Imprudence 1.3.1" has no access | ||
203 | ; AllowedClients = "" | ||
204 | |||
205 | ;# {DeniedClients} {} {Bar (|) separated list of denied clients} {} | ||
206 | ;; Bar (|) separated list of viewers which may not gain access to the regions. | ||
207 | ;; One can use a Substring of the viewer name to disable only certain | ||
208 | ;; versions | ||
209 | ;; Example: Agent uses the viewer "Imprudence 1.3.2.0" | ||
210 | ;; - "Imprudence" has no access | ||
211 | ;; - "Imprudence 1.3" has no access | ||
212 | ;; - "Imprudence 1.3.1" has access | ||
213 | ; DeniedClients = "" | ||
214 | |||
215 | [DatabaseService] | ||
216 | ; PGSQL | ||
217 | ; Uncomment these lines if you want to use PGSQL storage | ||
218 | ; Change the connection string to your db details | ||
219 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
220 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
221 | |||
222 | ; MySQL | ||
223 | ; Uncomment these lines if you want to use MySQL storage | ||
224 | ; Change the connection string to your db details | ||
225 | StorageProvider = "${Const|DataProvider}" | ||
226 | ConnectionString = "${Const|ConnectionString}" | ||
227 | |||
228 | |||
229 | ; * As an example, the below configuration precisely mimicks the legacy | ||
230 | ; * asset server. It is read by the asset IN connector (defined above) | ||
231 | ; * and it then loads the OUT connector (a local database module). That, | ||
232 | ; * in turn, reads the asset loader and database connection information | ||
233 | ; * | ||
234 | [AssetService] | ||
235 | |||
236 | ;; Choose an asset service (Only one option should be enabled) | ||
237 | ;LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | ||
238 | LocalServiceModule = "OpenSim.Services.FSAssetService.dll:FSAssetConnector" | ||
239 | |||
240 | ;; FSAsset Directories. Base directory, where final asset files are stored and Spool directory for temp files | ||
241 | ;; These directories must be on the same physical filesystem | ||
242 | BaseDirectory = "${Paths|AssetsPath}/data" | ||
243 | SpoolDirectory = "${Paths|AssetsPath}/tmp" | ||
244 | |||
245 | ;; Original service can be checked if FSAssets can not find an asset | ||
246 | FallbackService = "OpenSim.Services.AssetService.dll:AssetService"; | ||
247 | |||
248 | ;; How many days since last updating the access time before its updated again by FSAssets when accessing an asset | ||
249 | ;; Reduces DB calls if asset is requested often. Default value 0 will always update access time | ||
250 | DaysBetweenAccessTimeUpdates = 1 | ||
251 | |||
252 | ;; Should FSAssets print read/write stats to the robust console, default is true | ||
253 | ShowConsoleStats = false | ||
254 | |||
255 | ;; FSAssets Custom Database Config (Leave blank to use grids default database configuration) | ||
256 | ;StorageProvider = "" | ||
257 | ;ConnectionString = "" | ||
258 | ;Realm = "fsassets" | ||
259 | |||
260 | ;; The following are common to both the default asset service and FSAsset service | ||
261 | |||
262 | ;; Common asset service options | ||
263 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
264 | AssetLoaderArgs = "./assets/AssetSets.xml" | ||
265 | |||
266 | ; Allow maptile assets to remotely deleted by remote calls to the asset service. | ||
267 | ; There is no harm in having this as false - it just means that historical maptile assets are not deleted. | ||
268 | ; This only applies to maptiles served via the version 1 viewer mechanisms | ||
269 | ; Default is false | ||
270 | AllowRemoteDelete = false | ||
271 | |||
272 | ; Allow all assets to be remotely deleted. | ||
273 | ; Only set this to true if you are operating a grid where you control all calls to the asset service | ||
274 | ; (where a necessary condition is that you control all simulators) and you need this for admin purposes. | ||
275 | ; If set to true, AllowRemoteDelete = true is required as well. | ||
276 | ; Default is false. | ||
277 | AllowRemoteDeleteAllTypes = false | ||
278 | |||
279 | ; * This configuration loads the inventory server modules. It duplicates | ||
280 | ; * the function of the legacy inventory server | ||
281 | ; * | ||
282 | [InventoryService] | ||
283 | LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService" | ||
284 | |||
285 | ; Will calls to purge folders (empty trash) and immediately delete/update items or folders (not move to trash first) succeed? | ||
286 | ; If this is set to false then some other arrangement must be made to perform these operations if necessary. | ||
287 | AllowDelete = true | ||
288 | |||
289 | |||
290 | ; * This is the new style grid service. | ||
291 | ; * "Realm" is the table that is used for user lookup. | ||
292 | ; * It defaults to "regions", which uses the legacy tables | ||
293 | ; * | ||
294 | [GridService] | ||
295 | LocalServiceModule = "OpenSim.Services.GridService.dll:GridService" | ||
296 | |||
297 | ; Realm = "regions" | ||
298 | ; AllowDuplicateNames = "" | ||
299 | |||
300 | ;; Needed to display non-default map tile images for linked regions | ||
301 | AssetService = "OpenSim.Services.AssetService.dll:AssetService" | ||
302 | |||
303 | ;; Directory for map tile images of linked regions | ||
304 | MapTileDirectory = "${Paths|CachePath}/maptiles" | ||
305 | |||
306 | ;; Next, we can specify properties of regions, including default and fallback regions | ||
307 | ;; The syntax is: Region_<RegionName> = "<flags>" | ||
308 | ;; or: Region_<RegionID> = "<flags>" | ||
309 | ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate | ||
310 | ;; | ||
311 | ;; 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.) | ||
312 | ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion | ||
313 | ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified | ||
314 | ;; an explicit region. | ||
315 | ;; | ||
316 | ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online | ||
317 | ;; region will be used. | ||
318 | ;; | ||
319 | ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the | ||
320 | ;; order specified. This only applies to local logins at this time, not Hypergrid connections. | ||
321 | ;; | ||
322 | ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins. | ||
323 | ;; | ||
324 | ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid. | ||
325 | ;; | ||
326 | ;; Example specification: | ||
327 | ; Region_Welcome_Area = "DefaultRegion, FallbackRegion" | ||
328 | ; (replace spaces with underscore) | ||
329 | |||
330 | ;; Allow Hyperlinks to be created at the console | ||
331 | HypergridLinker = true | ||
332 | |||
333 | ;; Allow supporting viewers to export content | ||
334 | ;; Set to false to prevent export | ||
335 | ExportSupported = true | ||
336 | |||
337 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
338 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
339 | |||
340 | |||
341 | ; * This is the configuration for the freeswitch server in grid mode | ||
342 | [FreeswitchService] | ||
343 | ; LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService" | ||
344 | |||
345 | ;; The IP address of your FreeSWITCH server. | ||
346 | ;; This address must be reachable by viewers. | ||
347 | ; ServerAddress = 127.0.0.1 | ||
348 | |||
349 | ;; The following configuration parameters are optional | ||
350 | |||
351 | ;; By default, this is the same as the ServerAddress | ||
352 | ; Realm = 127.0.0.1 | ||
353 | |||
354 | ;; By default, this is the same as the ServerAddress on port 5060 | ||
355 | ; SIPProxy = 127.0.0.1:5060 | ||
356 | |||
357 | ;; Default is 5000ms | ||
358 | ; DefaultTimeout = 5000 | ||
359 | |||
360 | ;; The dial plan context. Default is "default" | ||
361 | ; Context = default | ||
362 | |||
363 | ;; Currently unused | ||
364 | ; UserName = freeswitch | ||
365 | |||
366 | ;; Currently unused | ||
367 | ; Password = password | ||
368 | |||
369 | ;; The following parameters are for STUN = Simple Traversal of UDP through NATs | ||
370 | ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal | ||
371 | ;; stun.freeswitch.org is not guaranteed to be running so use it in | ||
372 | ;; production at your own risk | ||
373 | ; EchoServer = 127.0.0.1 | ||
374 | ; EchoPort = 50505 | ||
375 | ; AttemptSTUN = false | ||
376 | |||
377 | |||
378 | ; * This is the new style authentication service. Currently, only MySQL | ||
379 | ; * is implemented. | ||
380 | ; * | ||
381 | [AuthenticationService] | ||
382 | ; for the server connector | ||
383 | LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
384 | ; Realm = "auth" | ||
385 | |||
386 | ;; Allow the service to process HTTP getauthinfo calls. | ||
387 | ;; Default is false. | ||
388 | ; AllowGetAuthInfo = false | ||
389 | |||
390 | ;; Allow the service to process HTTP setauthinfo calls. | ||
391 | ;; Default is false. | ||
392 | ; AllowSetAuthInfo = false | ||
393 | |||
394 | ;; Allow the service to process HTTP setpassword calls. | ||
395 | ;; Default is false. | ||
396 | ; AllowSetPassword = false | ||
397 | |||
398 | |||
399 | [OpenIdService] | ||
400 | ; for the server connector | ||
401 | ; AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
402 | ; UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
403 | |||
404 | |||
405 | ; * This is the new style user service. | ||
406 | ; * "Realm" is the table that is used for user lookup. | ||
407 | ; * It defaults to "UserAccounts", which uses the new style. | ||
408 | ; * Realm = "users" will use the legacy tables as an authentication source | ||
409 | ; * | ||
410 | [UserAccountService] | ||
411 | ; for the server connector | ||
412 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
413 | ; Realm = "UserAccounts" | ||
414 | |||
415 | ; These are for creating new accounts by the service | ||
416 | AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
417 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
418 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
419 | InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService" | ||
420 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
421 | GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" | ||
422 | |||
423 | ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2 | ||
424 | ;; to show a default "Ruth" avatar rather than a cloud for a newly created user. | ||
425 | ;; Default is false | ||
426 | CreateDefaultAvatarEntries = true | ||
427 | |||
428 | ;; Allow the service to process HTTP createuser calls. | ||
429 | ;; Default is false. | ||
430 | ; AllowCreateUser = false | ||
431 | |||
432 | ;; Allow the service to process HTTP setaccount calls. | ||
433 | ;; Default is false. | ||
434 | ; AllowSetAccount = false | ||
435 | |||
436 | |||
437 | [GridUserService] | ||
438 | ; for the server connector | ||
439 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService" | ||
440 | |||
441 | |||
442 | [AgentPreferencesService] | ||
443 | ; for the server connector | ||
444 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:AgentPreferencesService" | ||
445 | |||
446 | |||
447 | [PresenceService] | ||
448 | ; for the server connector | ||
449 | LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
450 | |||
451 | [AvatarService] | ||
452 | ; for the server connector | ||
453 | LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
454 | |||
455 | |||
456 | [FriendsService] | ||
457 | ; for the server connector | ||
458 | LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService" | ||
459 | |||
460 | [EstateService] | ||
461 | LocalServiceModule = "OpenSim.Services.EstateService.dll:EstateDataService" | ||
462 | |||
463 | [LibraryService] | ||
464 | LibraryName = "OpenSim Library" | ||
465 | DefaultLibrary = "./inventory/Libraries.xml" | ||
466 | |||
467 | |||
468 | [LoginService] | ||
469 | ; for the server connector | ||
470 | LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService" | ||
471 | ; for the service | ||
472 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
473 | GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" | ||
474 | AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
475 | InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService" | ||
476 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
477 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
478 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
479 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | ||
480 | LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService" | ||
481 | FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService" | ||
482 | |||
483 | ; The minimum user level required for a user to be able to login. 0 by default | ||
484 | ; If you disable a particular user's account then you can set their login level below this number. | ||
485 | ; You can also change this level from the console though these changes will not be persisted. | ||
486 | ; MinLoginLevel = 0 | ||
487 | |||
488 | ;; for hypergrid | ||
489 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
490 | |||
491 | ; This inventory service will be used to initialize the user's inventory | ||
492 | HGInventoryServicePlugin = "HGInventoryService@OpenSim.Services.HypergridService.dll:HGSuitcaseInventoryService" | ||
493 | ; NOTE: HGInventoryServiceConstructorArg is deprecated. For now it will work, but see above | ||
494 | ; for the correct method if passing additional arguments. | ||
495 | ;; end hypergrid | ||
496 | |||
497 | ; Ask co-operative viewers to use a different currency name | ||
498 | Currency = "v " | ||
499 | |||
500 | ;; Set minimum fee to publish classified | ||
501 | ; ClassifiedFee = 0 | ||
502 | |||
503 | WelcomeMessage = "${Const|MOTD}" | ||
504 | AllowRemoteSetLoginLevel = "false" | ||
505 | |||
506 | ; For V2 map | ||
507 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/"; | ||
508 | |||
509 | ; Url to search service | ||
510 | ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/"; | ||
511 | |||
512 | ; For V3 destination guide | ||
513 | ; DestinationGuide = "${Const|BaseURL}/guide" | ||
514 | |||
515 | ; For V3 avatar picker (( work in progress )) | ||
516 | ; AvatarPicker = "${Const|BaseURL}/avatars" | ||
517 | |||
518 | ; If you run this login server behind a proxy, set this to true | ||
519 | ; HasProxy = false | ||
520 | |||
521 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) | ||
522 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | ||
523 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
524 | |||
525 | SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
526 | SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
527 | SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
528 | SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
529 | SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
530 | SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
531 | SRV_GroupsServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
532 | |||
533 | ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time" | ||
534 | ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time | ||
535 | ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not. | ||
536 | ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids. | ||
537 | ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST. | ||
538 | ;; Options are | ||
539 | ;; "none" no DST | ||
540 | ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour. | ||
541 | ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings. | ||
542 | ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows | ||
543 | DSTZone = "local" | ||
544 | |||
545 | ;Basic Login Service Dos Protection Tweaks | ||
546 | ;; | ||
547 | ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true | ||
548 | ;; 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 | ||
549 | ;; get around this basic DOS protection. | ||
550 | ;DOSAllowXForwardedForHeader = false | ||
551 | ;; | ||
552 | ;; The protector adds up requests during this rolling period of time, default 10 seconds | ||
553 | ;DOSRequestTimeFrameMS = 10000 | ||
554 | ;; | ||
555 | ;; The amount of requests in the above timeframe from the same endpoint that triggers protection | ||
556 | ;DOSMaxRequestsInTimeFrame = 5 | ||
557 | ;; | ||
558 | ;; The amount of time that a specific endpoint is blocked. Default 2 minutes. | ||
559 | ;DOSForgiveClientAfterMS = 120000 | ||
560 | ;; | ||
561 | ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. | ||
562 | |||
563 | ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] | ||
564 | ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" | ||
565 | |||
566 | [MapImageService] | ||
567 | LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService" | ||
568 | |||
569 | ; Set this if you want to change the default | ||
570 | TilesStoragePath = "${Paths|CachePath}/maptiles" | ||
571 | ; | ||
572 | ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}), | ||
573 | ; you may want to set this. Otherwise, don't set it, because it's already protected. | ||
574 | ; GridService = "OpenSim.Services.GridService.dll:GridService" | ||
575 | ; | ||
576 | ; Additionally, if you run this server behind a proxy, set this to true | ||
577 | ; HasProxy = false | ||
578 | |||
579 | |||
580 | [GridInfoService] | ||
581 | ; These settings are used to return information on a get_grid_info call. | ||
582 | ; Client launcher scripts and third-party clients make use of this to | ||
583 | ; autoconfigure the client and to provide a nice user experience. If you | ||
584 | ; want to facilitate that, you should configure the settings here according | ||
585 | ; to your grid or standalone setup. | ||
586 | ; | ||
587 | ; See http://opensimulator.org/wiki/GridInfo | ||
588 | |||
589 | ; login uri: for grid this is the login server URI | ||
590 | login = ${Const|BaseURL}:${Const|PublicPort}/ | ||
591 | |||
592 | ; long grid name: the long name of your grid | ||
593 | gridname = "${Const|GridName}" | ||
594 | |||
595 | ; short grid name: the short name of your grid | ||
596 | gridnick = "${Const|ShortGridName}" | ||
597 | |||
598 | ; login page: optional: if it exists it will be used to tell the client to use | ||
599 | ; this as splash page | ||
600 | welcome = ${Const|BaseURL}:${Const|PublicPort}/web/loginpage.html | ||
601 | |||
602 | ; helper uri: optional: if it exists it will be used to tell the client to use | ||
603 | ; this for all economy related things | ||
604 | ;economy = ${Const|SSLURL}:${Const|PublicSSLPort}/economy | ||
605 | |||
606 | ; web page of grid: optional: page providing further information about your grid | ||
607 | about = ${Const|BaseURL}:${Const|PublicPort}/web/about.html | ||
608 | |||
609 | ; account creation: optional: page providing further information about obtaining | ||
610 | ; a user account on your grid | ||
611 | register = ${Const|SSLURL}:${Const|PublicSSLPort}/web/account.html | ||
612 | |||
613 | ; help: optional: page providing further assistance for users of your grid | ||
614 | help = ${Const|BaseURL}:${Const|PublicPort}/web/help.html | ||
615 | |||
616 | ; password help: optional: page providing password assistance for users of your grid | ||
617 | password = ${Const|SSLURL}:${Const|PublicSSLPort}/web/password_help.html | ||
618 | |||
619 | ; HG address of the gatekeeper, if you have one | ||
620 | ; this is the entry point for all the regions of the world | ||
621 | gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ | ||
622 | |||
623 | ; HG user domain, if you have one | ||
624 | ; this is the entry point for all user-related HG services | ||
625 | uas = ${Const|BaseURL}:${Const|PublicPort}/ | ||
626 | |||
627 | |||
628 | [GatekeeperService] | ||
629 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService" | ||
630 | ;; for the service | ||
631 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
632 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
633 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
634 | GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" | ||
635 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
636 | AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" | ||
637 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | ||
638 | ; how does the outside world reach me? This acts as public key too. | ||
639 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | ||
640 | ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" | ||
641 | |||
642 | ; Does this grid allow incoming links to any region in it? | ||
643 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | ||
644 | AllowTeleportsToAnyRegion = true | ||
645 | |||
646 | ; If you run this gatekeeper server behind a proxy, set this to true | ||
647 | ; HasProxy = false | ||
648 | |||
649 | ;; Are foreign visitors allowed? | ||
650 | ForeignAgentsAllowed = true | ||
651 | ;; | ||
652 | ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept. | ||
653 | ;; Leave blank or commented for no exceptions. | ||
654 | ; AllowExcept = "http://griefer.com:8002, http://enemy.com:8002" | ||
655 | ;; | ||
656 | ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept | ||
657 | ;; Leave blank or commented for no exceptions. | ||
658 | ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" | ||
659 | |||
660 | ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] | ||
661 | ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" | ||
662 | |||
663 | [UserAgentService] | ||
664 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
665 | ;; for the service | ||
666 | GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" | ||
667 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
668 | GatekeeperService = "OpenSim.Services.HypergridService.dll:GatekeeperService" | ||
669 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
670 | FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService" | ||
671 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
672 | |||
673 | ; If you run this user agent server behind a proxy, set this to true | ||
674 | ; HasProxy = false | ||
675 | |||
676 | ;; If you separate the UserAgentService from the LoginService, set this to | ||
677 | ;; the IP address of the machine where your LoginService is | ||
678 | ;LoginServerIP = "127.0.0.1" | ||
679 | |||
680 | ; User level required to be contacted from other grids | ||
681 | LevelOutsideContacts = 0 | ||
682 | |||
683 | ;; Restrictions on destinations of local users. | ||
684 | ;; Are local users allowed to visit other grids? | ||
685 | ;; What user level? Use variables of this forrm: | ||
686 | ;; ForeignTripsAllowed_Level_<UserLevel> = true | false | ||
687 | ;; (the default is true) | ||
688 | ;; For example: | ||
689 | ; ForeignTripsAllowed_Level_0 = false | ||
690 | ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it | ||
691 | ;; | ||
692 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept | ||
693 | ;; Leave blank or commented for no exceptions. | ||
694 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" | ||
695 | ;; | ||
696 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. | ||
697 | ;; Leave blank or commented for no exceptions. | ||
698 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | ||
699 | |||
700 | ;; This variable controls what is exposed to profiles of local users | ||
701 | ;; as seen from outside of this grid. Leave it uncommented for exposing | ||
702 | ;; UserTitle, UserFlags and the creation date. Uncomment and change to False | ||
703 | ;; to block this info from being exposed. | ||
704 | ; ShowUserDetailsInHGProfile = True | ||
705 | |||
706 | |||
707 | ; * The interface that local users get when they are in other grids. | ||
708 | ; * This restricts the inventory operations while in other grids. | ||
709 | ; * Still not completely safe, especially if users perform inventory operations | ||
710 | ; * while in those grids. The more the user accesses his/her inventory, the more | ||
711 | ; * those simulators will know about the user's inventory. | ||
712 | ; * | ||
713 | [HGInventoryService] | ||
714 | ; For the InventoryServiceInConnector | ||
715 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGSuitcaseInventoryService" | ||
716 | ;; alternatives: | ||
717 | ;; HG1.5, more permissive, not recommended, but still supported | ||
718 | ;LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInventoryService" | ||
719 | ;; HG1.0, totally permissive, not recommended, but OK for grids with 100% trust | ||
720 | ;LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService" | ||
721 | |||
722 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
723 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
724 | |||
725 | ; HGInventoryService is a public-facing inventory service that allows users to | ||
726 | ; interact with their suitcase folder when on a foreign grid. This reuses the general inventory service connector. | ||
727 | ; Hence, if the user has set up authentication in [Network] to protect their private services | ||
728 | ; make sure it is not set here. | ||
729 | AuthType = None | ||
730 | |||
731 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | ||
732 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
733 | |||
734 | |||
735 | ; * The interface that local users get when they are in other grids. | ||
736 | ; * This restricts the access that the rest of the world has to | ||
737 | ; * the assets of this world. | ||
738 | ; * | ||
739 | [HGAssetService] | ||
740 | ;; Use the second option if you have FSAsset service enabled | ||
741 | ; LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGAssetService" | ||
742 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGFSAssetService" | ||
743 | |||
744 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
745 | |||
746 | ; HGAssetService is a public-facing service that allows users to | ||
747 | ; read and create assets when on another grid. This reuses the general asset service connector. | ||
748 | ; Hence, if the user has set up authentication in [Network] to protect their private services | ||
749 | ; make sure it is overriden for this public service. | ||
750 | AuthType = None | ||
751 | |||
752 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | ||
753 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
754 | |||
755 | ;; The asset types that this grid can export to / import from other grids. | ||
756 | ;; Comma separated. | ||
757 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
758 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
759 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
760 | ;; | ||
761 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
762 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
763 | ;; of scripts, like so: | ||
764 | ; DisallowExport ="LSLText" | ||
765 | ; DisallowImport ="LSLBytecode" | ||
766 | |||
767 | |||
768 | [HGFriendsService] | ||
769 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGFriendsService" | ||
770 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
771 | FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService" | ||
772 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
773 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
774 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
775 | |||
776 | |||
777 | [HGInstantMessageService] | ||
778 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService" | ||
779 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
780 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
781 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
782 | ; This should always be true in the Robust config | ||
783 | InGatekeeper = True | ||
784 | |||
785 | |||
786 | [Messaging] | ||
787 | ; OfflineIM | ||
788 | OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService" | ||
789 | |||
790 | |||
791 | [Groups] | ||
792 | ;; for the HG Groups service | ||
793 | OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService" | ||
794 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
795 | |||
796 | ;; What is the HomeURI of users associated with this grid? | ||
797 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | ||
798 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
799 | ;; end hypergrid | ||
800 | |||
801 | ;; Sets the maximum number of groups an agent may join | ||
802 | MaxAgentGroups = 420 | ||
803 | |||
804 | |||
805 | [UserProfilesService] | ||
806 | LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService" | ||
807 | Enabled = true | ||
808 | ;; Configure this for separate profiles database | ||
809 | ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;" | ||
810 | ;; Realm = UserProfiles | ||
811 | UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService | ||
812 | AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
813 | |||
814 | |||
815 | [BakedTextureService] | ||
816 | LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes" | ||
817 | ;; This directory must be writable by the user ROBUST runs as. It will be created automatically. | ||
818 | BaseDirectory = "${Paths|CachePath}/bakes" | ||
819 | |||
820 | [MuteListService] | ||
821 | LocalServiceModule = "OpenSim.Services.MuteListService.dll:MuteListService" | ||
822 | |||
823 | |||
824 | ;;[WebService] | ||
825 | ;; Include-Common = ../../config/ROBUST/RobustExtra.ini | ||
diff --git a/bin/config-include/FlotsamCache.ini b/bin/config-include/FlotsamCache.ini new file mode 100644 index 0000000..cf06d6c --- /dev/null +++ b/bin/config-include/FlotsamCache.ini | |||
@@ -0,0 +1,97 @@ | |||
1 | [AssetCache] | ||
2 | ;; | ||
3 | ;; Options for FlotsamAssetCache | ||
4 | ;; | ||
5 | |||
6 | ; cache directory can be shared by multiple instances | ||
7 | CacheDirectory = ${Paths|CachePath}/assetcache | ||
8 | ; Other examples: | ||
9 | ;CacheDirectory = /directory/writable/by/OpenSim/instance | ||
10 | |||
11 | ; Log level | ||
12 | ; 0 - (Error) Errors only | ||
13 | ; 1 - (Info) Hit Rate Stats + Level 0 | ||
14 | ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1 | ||
15 | ; | ||
16 | LogLevel = 0 | ||
17 | |||
18 | ; How often should hit rates be displayed (given in AssetRequests) | ||
19 | ; 0 to disable | ||
20 | HitRateDisplay = 100 | ||
21 | |||
22 | ; Set to false for no memory cache | ||
23 | ; assets can be requested several times in short periods | ||
24 | ; so even a small memory cache is useful | ||
25 | MemoryCacheEnabled = false | ||
26 | |||
27 | ; If a memory cache hit happens, or the asset is still in memory | ||
28 | ; due to other causes, update the timestamp on the disk file anyway. | ||
29 | ; Don't turn this on unless you share your asset cache between simulators | ||
30 | ; AND use an external process, e.g. cron job, to clean it up. | ||
31 | UpdateFileTimeOnCacheHit = false | ||
32 | |||
33 | ; Enabling this will cache negative fetches. If an asset is negative-cached | ||
34 | ; it will not be re-requested from the asset server again for a while. | ||
35 | ; Generally, this is a good thing. | ||
36 | ; | ||
37 | ; Regular expiration settings (non-sliding) mean that the asset will be | ||
38 | ; retried after the time has expired. Sliding expiration means that | ||
39 | ; the time the negative cache will keep the asset is refreshed each | ||
40 | ; time a fetch is attempted. Use sliding expiration if you have rogue | ||
41 | ; scripts hammering the asset server with requests for nonexistent | ||
42 | ; assets. | ||
43 | ; | ||
44 | ; There are two cases where negative caching may cause issues: | ||
45 | ; | ||
46 | ; 1 - If an invalid asset is repeatedly requested by a script and that asset is | ||
47 | ; subsequently created, it will not be seen until fcache clear | ||
48 | ; is used. This is a very theoretical scenario since UUID collisions | ||
49 | ; are deemed to be not occuring in practice. | ||
50 | ; This can only become an issue with sliding expiration time. | ||
51 | ; | ||
52 | ; 2 - If the asset service is clustered, an asset may not have propagated | ||
53 | ; to all cluster members when it is first attempted to fetch it. | ||
54 | ; This may theoretically occur with networked vendor systems and | ||
55 | ; would lead to an asset not found message. However, after the | ||
56 | ; expiration time has elapsed, the asset will then be fetchable. | ||
57 | ; | ||
58 | ; The defaults below are suitable for all small to medium installations | ||
59 | ; including grids. | ||
60 | NegativeCacheEnabled = true | ||
61 | NegativeCacheTimeout = 120 | ||
62 | NegativeCacheSliding = false | ||
63 | |||
64 | ; Set to false for no file cache | ||
65 | FileCacheEnabled = true | ||
66 | |||
67 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes | ||
68 | ; even a few minutes may mean many assets loaded to memory, if not all. | ||
69 | ; this is good if memory is not a problem. | ||
70 | ; if memory is a problem then a few seconds may actually save same. | ||
71 | ; see hit rates with console comand: fcache status | ||
72 | MemoryCacheTimeout = .016 ; one minute | ||
73 | |||
74 | ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes | ||
75 | ; Specify 0 if you do not want your disk cache to expire | ||
76 | FileCacheTimeout = 48 | ||
77 | |||
78 | ; How often {in hours} should the disk be checked for expired files | ||
79 | ; Specify 0 to disable expiration checking | ||
80 | FileCleanupTimer = 0.0 ; disabled | ||
81 | |||
82 | ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how | ||
83 | ; long (in miliseconds) to block a request thread while trying to complete | ||
84 | ; an existing write to disk. | ||
85 | ; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE | ||
86 | ; WaitOnInprogressTimeout = 3000 | ||
87 | |||
88 | ; Number of tiers to use for cache directories (current valid | ||
89 | ; range 1 to 3) | ||
90 | ;CacheDirectoryTiers = 1 | ||
91 | |||
92 | ; Number of letters per path tier, 1 will create 16 directories | ||
93 | ; per tier, 2 - 256, 3 - 4096 and 4 - 65K | ||
94 | ;CacheDirectoryTierLength = 3 | ||
95 | |||
96 | ; Warning level for cache directory size | ||
97 | ;CacheWarnAt = 30000 | ||
diff --git a/bin/config-include/GridCommon.ini b/bin/config-include/GridCommon.ini new file mode 100644 index 0000000..26accd9 --- /dev/null +++ b/bin/config-include/GridCommon.ini | |||
@@ -0,0 +1,255 @@ | |||
1 | ; This is the main configuration file for an instance of OpenSim running in grid mode | ||
2 | ; In particular, this one is set up for connecting to IG or MG. | ||
3 | |||
4 | [DatabaseService] | ||
5 | ; | ||
6 | ; ### Choose the DB | ||
7 | ; | ||
8 | |||
9 | ; SQLite | ||
10 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
11 | |||
12 | ; MySql | ||
13 | ; Uncomment these lines if you want to use mysql storage | ||
14 | ; Change the connection string to your db details | ||
15 | ;StorageProvider = "OpenSim.Data.MySQL.dll" | ||
16 | ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
17 | ; Uncomment this line if you are using MySQL and want to use a different database for estates | ||
18 | ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. | ||
19 | ; Most people won't need to do this so only uncomment if you know what you're doing. | ||
20 | ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
21 | |||
22 | ; MSSQL | ||
23 | ; Uncomment these lines if you want to use MSSQL storage | ||
24 | ; Change the connection string to your db details | ||
25 | ; The value for server property is shown in your SQL Server Management Studio login dialog. | ||
26 | ; (This sample is the default of express edition) | ||
27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | ||
28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | ||
29 | |||
30 | ; PGSQL | ||
31 | ; Uncomment these lines if you want to use PGSQL storage | ||
32 | ; Change the connection string to your db details | ||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
35 | |||
36 | StorageProvider = "${Const|DataProvider}" | ||
37 | ConnectionString = "${Const|ConnectionString}" | ||
38 | |||
39 | |||
40 | [Hypergrid] | ||
41 | ; Uncomment the variables in this section only if you are in | ||
42 | ; Hypergrid configuration. Otherwise, ignore. | ||
43 | |||
44 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
45 | ;; If this is a standalone world, this is the address of this instance. | ||
46 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
47 | ;; runs the UserAgentsService. | ||
48 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
49 | ;; This is a default that can be overwritten in some sections. | ||
50 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
51 | |||
52 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
53 | ;; If this is a standalone world, this is the address of this instance. | ||
54 | ;; If this is a grided simulator, this is the address of the external robust server | ||
55 | ;; that runs the Gatekeeper service. | ||
56 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
57 | ;; This is a default that can be overwritten in some sections. | ||
58 | GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
59 | |||
60 | [Modules] | ||
61 | ;; Choose one cache module and the corresponding config file, if it exists. | ||
62 | ;; Copy the config .example file into your own .ini file and adapt that. | ||
63 | ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. | ||
64 | ; I think only Windows needs caching, haven't noticed any difference under Linux, which uses spare memory for file caching anyway. | ||
65 | |||
66 | AssetCaching = "FlotsamAssetCache" | ||
67 | Include-FlotsamCache = "config-include/FlotsamCache.ini" | ||
68 | |||
69 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
70 | ;Include-CenomeCache = "config-include/CenomeCache.ini" | ||
71 | |||
72 | ;AssetCaching = "GlynnTuckerAssetCache" | ||
73 | |||
74 | ;; Optionally, the port for the LLProxyLoginModule module can be changed | ||
75 | ;Setup_LLProxyLoginModule = "9090/" | ||
76 | |||
77 | ;; Authorization is not on by default, as it depends on external php | ||
78 | ;AuthorizationServices = "RemoteAuthorizationServicesConnector" | ||
79 | |||
80 | [AssetService] | ||
81 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
82 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
83 | |||
84 | ; | ||
85 | ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. | ||
86 | ; | ||
87 | AssetServerURI = "${Const|BaseURL}:${Const|AssetServerPort}" | ||
88 | |||
89 | [InventoryService] | ||
90 | ; | ||
91 | ; Change this to your grid-wide inventory server | ||
92 | ; | ||
93 | InventoryServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
94 | ;MaxRetries = 0 | ||
95 | |||
96 | [GridInfo] | ||
97 | ; | ||
98 | ; Change this to your grid info service | ||
99 | ; | ||
100 | GridInfoURI = "${Const|GridURL}:${Const|PublicPort}" | ||
101 | |||
102 | [GridService] | ||
103 | ; | ||
104 | ; Change this to your grid-wide grid server | ||
105 | ; | ||
106 | GridServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
107 | AllowHypergridMapSearch = true | ||
108 | |||
109 | ;; Directory for map tile images of linked regions | ||
110 | MapTileDirectory = "${Paths|CachePath}/maptiles" | ||
111 | |||
112 | ; === HG ONLY === | ||
113 | ;; Change this to the address of your Gatekeeper service | ||
114 | ;; (usually bundled with the rest of the services in one | ||
115 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
116 | GatekeeperURI="${Const|GridURL}:${Const|PublicPort}" | ||
117 | |||
118 | [EstateDataStore] | ||
119 | ; | ||
120 | ; Uncomment if you want centralized estate data at robust server, | ||
121 | ; in which case the URL in [EstateService] will be used | ||
122 | ; | ||
123 | ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector" | ||
124 | |||
125 | [EstateService] | ||
126 | EstateServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
127 | |||
128 | [Messaging] | ||
129 | ; === HG ONLY === | ||
130 | ;; Change this to the address of your Gatekeeper service | ||
131 | ;; (usually bundled with the rest of the services in one | ||
132 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
133 | GatekeeperURI = "${Const|GridURL}:${Const|PublicPort}" | ||
134 | |||
135 | [AvatarService] | ||
136 | ; | ||
137 | ; Change this to your grid-wide grid server | ||
138 | ; | ||
139 | AvatarServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
140 | |||
141 | [AgentPreferencesService] | ||
142 | ; | ||
143 | ; Change this to your grid-wide avatar prefs server | ||
144 | ; | ||
145 | AgentPreferencesServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
146 | |||
147 | [PresenceService] | ||
148 | ; | ||
149 | ; Change this to your grid-wide presence server | ||
150 | ; | ||
151 | PresenceServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
152 | |||
153 | [UserAccountService] | ||
154 | ; | ||
155 | ; Change this to your grid-wide user accounts server | ||
156 | ; | ||
157 | UserAccountServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
158 | |||
159 | [GridUserService] | ||
160 | ; | ||
161 | ; Change this to your grid-wide user accounts server | ||
162 | ; | ||
163 | GridUserServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
164 | |||
165 | [AuthenticationService] | ||
166 | ; | ||
167 | ; Change this to your grid-wide authentication server | ||
168 | ; | ||
169 | AuthenticationServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
170 | |||
171 | [FriendsService] | ||
172 | ; | ||
173 | ; Change this to your grid-wide friends server | ||
174 | ; | ||
175 | FriendsServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
176 | |||
177 | [HGInventoryAccessModule] | ||
178 | ; | ||
179 | ; === HG ONLY === | ||
180 | ; Change this to your server | ||
181 | ; accessible from other grids | ||
182 | ; | ||
183 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
184 | GatekeeperURI = "${Const|GridURL}:${Const|PublicPort}" | ||
185 | ;; If you want to protect your assets from being copied by foreign visitors | ||
186 | ;; set this to false. You may want to do this on sims that have licensed content. | ||
187 | ;; Default is true. | ||
188 | OutboundPermission = True | ||
189 | |||
190 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | ||
191 | ;; and available when they return. True by default. | ||
192 | ;RestrictInventoryAccessAbroad = True | ||
193 | |||
194 | ;; Warning: advanced and unusual. Default is false. | ||
195 | ;; Enables configurations where grids share user services, including inventory, | ||
196 | ;; while separating regions' assets from users' assets. Asset transfer between | ||
197 | ;; the users' asset server and the regions' asset server is done in HG-like manner. | ||
198 | ; CheckSeparateAssets = false | ||
199 | ; RegionHGAssetServerURI = ${Const|GridURL}:${Const|PublicPort} | ||
200 | |||
201 | |||
202 | [HGAssetService] | ||
203 | ; | ||
204 | ; === HG ONLY === | ||
205 | ; Change this to your server | ||
206 | ; accessible from other grids | ||
207 | ; | ||
208 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
209 | |||
210 | ;; The asset types that this grid can export to / import from other grids. | ||
211 | ;; Comma separated. | ||
212 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
213 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
214 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
215 | ;; | ||
216 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
217 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
218 | ;; of scripts, like so: | ||
219 | ; DisallowExport ="LSLText" | ||
220 | ; DisallowImport ="LSLBytecode" | ||
221 | |||
222 | [HGFriendsModule] | ||
223 | ; User level required to be able to send friendship invitations to foreign users | ||
224 | LevelHGFriends = 0; | ||
225 | |||
226 | [UserAgentService] | ||
227 | ; | ||
228 | ; === HG ONLY === | ||
229 | ; Change this to your user agent server (HG robust) | ||
230 | ; | ||
231 | UserAgentServerURI = "${Const|GridURL}:${Const|PublicPort}" | ||
232 | |||
233 | [MapImageService] | ||
234 | MapImageServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
235 | |||
236 | [AuthorizationService] | ||
237 | ; If you have regions with access restrictions | ||
238 | ; specify them here using the convention | ||
239 | ; Region_<Region_Name> = <flags> | ||
240 | ; Valid flags are: | ||
241 | ; DisallowForeigners -- HG visitors not allowed | ||
242 | ; DisallowResidents -- only Admins and Managers allowed | ||
243 | ; Example: | ||
244 | ; Region_Test_1 = "DisallowForeigners" | ||
245 | |||
246 | ;; Uncomment if you are using SimianGrid for grid services | ||
247 | [SimianGrid] | ||
248 | ;; SimianGrid services URL | ||
249 | ;; SimianServiceURL = "http://grid.sciencesim.com/Grid/" | ||
250 | |||
251 | ;; Capability assigned by the grid administrator for the simulator | ||
252 | ;; SimulatorCapability = "00000000-0000-0000-0000-000000000000" | ||
253 | |||
254 | [MuteListService] | ||
255 | MuteListServerURI = "${Const|BaseURL}:${Const|PrivatePort}" | ||