Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Open Simulator Technical Help
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
OpenSimulator Internals/Code Map/ROBUST/GatekeeperService
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Constructor and Config Loading === GatekeeperService(IConfigSource config, ISimulationService simService) [GatekeeperService] section is required -- throws if absent. All static fields are initialized once (m_Initialized flag). Subsequent instantiations are no-ops. Services loaded from [GatekeeperService]: {| class="wikitable" ! Key !! Interface !! Required |- | GridService || IGridService || Yes -- throws if empty |- | PresenceService || IPresenceService || Yes -- throws if empty |- | SimulationService || ISimulationService || Yes -- throws if null after loading |- | UserAccountService || IUserAccountService || No |- | UserAgentService || IUserAgentService || No |- | GridUserService || IGridUserService || No |- | BansService || IBansService || No |} simService argument takes precedence over SimulationService config key if non-null. Additional config: {| class="wikitable" ! Section !! Key !! Default !! Notes |- | [GatekeeperService] || ScopeID || UUID.Zero || Grid scope filter |- | [GatekeeperService] || AllowTeleportsToAnyRegion || true || If false, all inbound TPs go to the default HG region |- | [Const]/[Startup]/[Hypergrid]/[GatekeeperService] || GatekeeperURI || (none) || External URL of this gatekeeper; also tries ExternalName |- | [Const]/[Startup]/[Hypergrid]/[GatekeeperService] || GatekeeperURIAlias || (none) || Comma-separated list of alternate hostnames accepted as this grid |- | [GatekeeperService] || ForeignAgentsAllowed || true || Whether visitors from other grids are permitted |- | [GatekeeperService] || AllowExcept || (none) || Comma-separated HomeURIs excluded from ForeignAgentsAllowed=true |- | [GatekeeperService] || DisallowExcept || (none) || Comma-separated HomeURIs excluded from ForeignAgentsAllowed=false |- | [AccessControl]/[GatekeeperService] || AllowedClients || (none) || Regex matched against viewer string |- | [AccessControl]/[GatekeeperService] || DeniedClients || (none) || Regex matched against viewer string |- | [AccessControl]/[GatekeeperService] || DeniedMacs || (none) || Case-insensitive substring match against MAC |- | [AccessControl]/[GatekeeperService] || DeniedID0s || (none) || Case-insensitive substring match against id0 |- | [PresenceService] || AllowDuplicatePresences || false || If false, kick existing session on duplicate login |- | [Messaging] || MessageKey || (none) || Auth key for InstantMessage service |} GatekeeperURI is resolved at startup via OSHHTPHost. Throws if the hostname cannot be resolved or is invalid. GatekeeperURIAlias entries are parsed but not resolved (IsValidHost only, not IsResolvedHost) -- allows aliases that may not be locally resolvable. AllowedClients and DeniedClients regex compilation failures are caught and logged; the regex is set to null (check skipped). ----
Summary:
Please note that all contributions to Open Simulator Technical Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Open Simulator Technical Help:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
OpenSimulator Internals/Code Map/ROBUST/GatekeeperService
(section)
Add topic