From be3afcb8c190c2f5af939675fb6c1d13d8e241a2 Mon Sep 17 00:00:00 2001 From: "OpenGenesis (MPL 2.0)" <153564363+opengenesislink@users.noreply.github.com> Date: Sun, 8 Nov 2026 18:21:06 +0100 Subject: [PATCH] config(g1): complete ROBUST HG missing supported settings and annotate immutable contracts --- bin/Robust.HG.ini | 56 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/bin/Robust.HG.ini b/bin/Robust.HG.ini index 48ec6820..5aae997b 100644 --- a/bin/Robust.HG.ini +++ b/bin/Robust.HG.ini @@ -1,3 +1,18 @@ +; ============================================================================ +; OpenGenesisLINK Generation 1 – ROBUST Hypergrid / Stadt NexVerse +; ============================================================================ +; PRODUKTIVVERTRAG: Nicht ohne geplante Migration aendern: +; [Const] BaseHostname/BaseURL/PublicPort/PrivatePort +; [Network] port und Proxy-Vertrauensgrenzen +; [DatabaseService] Provider/ConnectionString sowie [ServiceList] Connectors +; [GridInfoService] login, [Hypergrid] HomeURI/GatekeeperURI +; [NexBus] NodeId/SharedKey/Peers/InboundPath (HMAC-Knotenidentitaet) +; [OGLFeatureControl] PrivateKeyPath/StorePath (ES256-Vertrauensanker) +; [LoginService], [HG*], [OglIarSelfService] und NV$-Ledger +; Secrets bleiben in der Prozessumgebung/geschuetzten Passwortdateien. +; Mehr Kontext und aktive Schluessel: doc/OpenGenesisLINK/G1_CONFIG_AUDIT.md +; ============================================================================ +; [Environment] ; Secrets are loaded from process environment, /etc/nexverse/nexverse.env, ; or bin/nexverse.local.env and must never be committed. @@ -61,6 +76,7 @@ ; * The full syntax of a connector string is: ; * [[@]/][:] ; * +; KRITISCH: Runtime-Zertifikate und Registry nur mit Rollbackplan aendern. [Startup] ; Place to create a PID file ; If no path if specified then a PID file is not created. @@ -122,6 +138,8 @@ ; set both true if you don't care to use SSL, they are needed to contact regions or grids that do use it. +; KRITISCH: Assembly-/Connector-Namen bestimmen alle ROBUST-Services. +; Nicht ohne Addon-/API- und HG-Integrationstest umstellen. [ServiceList] AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" @@ -225,6 +243,7 @@ ;ConsolePass = secret ;ConsolePort = 0 +; KRITISCH: HG-Home- und Gatekeeper-URI sind die oeffentliche Grid-Identitaet. [Hypergrid] ;# {HomeURI} {Hypergrid} {The Home URL of this grid} {} ;; This is the address of the external robust server that @@ -273,6 +292,8 @@ ;; - "Imprudence 1.3.1" has access ; DeniedClients = "" +; KRITISCH: Gemeinsamen SQL-Store niemals ohne Backup/Migration wechseln. +; DB-Kennwort ausschliesslich ueber geschuetzte Umgebungsvariable. [DatabaseService] ; PGSQL ; Uncomment these lines if you want to use PGSQL storage @@ -295,8 +316,10 @@ TeleportBaseUri = "hop://${Const|BaseHostname}" [NexGroups] - ; OpenGenesisLINK NexGroups management/parity facade over Groups V2. + ; Gruppenland wird gridweit ueber einen gemeinsamen RegionStore aufgeloest. + ; KRITISCH: Gruppenservice/Simulator-Connector muessen zusammenpassen. Enabled = true + EnableGridWideLand = true [NexExperiences] ; Persistent store: only one local Robust writer is supported. @@ -307,6 +330,7 @@ ; Native OpenGenesisLINK Experience authority. StorePath = "data/nexverse-experiences.json" +; KRITISCH: NV$ Buchhaltung nicht im laufenden Betrieb auf andere DB umstellen. [NexEconomy] ; Native OpenGenesisLINK NV$ double-entry ledger bootstrap. Enabled = true @@ -688,6 +712,7 @@ MaxRetries = 3 AllowInsecure = false +; KRITISCH: HMAC-Key-Rotation auf ALLEN Simulatoren und ROBUST koordinieren. [NexBus] ; Authenticated distributed NexBus. Provide a common 32+-byte HMAC key on ; Robust and all simulator hosts. Restrict inbound access to trusted peers. @@ -704,6 +729,21 @@ ; Default NodeAgent heartbeat is 30 seconds, so 90 allows three missed intervals. NodeStaleAfterSeconds = 90 +[OGLVoice] + ; Zentrale Voice-Provider-Discovery (nicht die Audio-Instanz). + ; Explizit aus: ROBUST hat diesen Dienst bislang nicht aktiviert. + ; Niemals aktivieren ohne HMAC-NexBus-Node-ACL, TLS und LiveKit-Secrets + ; in der Prozessumgebung (nicht in Git oder in dieser INI). + Enabled = false + Mode = "GridAuthority" + ServiceUrl = "https://voice.opengenesislink.de" + TenantId = "nexverse" + IncludeHypergridGuests = true + EnableSessionAuthority = false + AllowedNodes = "" + EnableFirestormGateway = false + MediaGatewayUrl = "https://voice.opengenesislink.de/internal/webrtc/v1/exchange" + [NexPortalIM] ; Optional private portal IM archive in the existing [DatabaseService] ; MySQL/MariaDB schema; tables created automatically at startup. @@ -741,6 +781,9 @@ ; Registrierungs-POST ist nur mit users:register-Maschinenschlüssel ; und vertrauenswürdigem TLS-Proxy oder privatem Backend erreichbar. PortalAvatarRegistrationEnabled = true + ; Recovery erst nach Freigabe des Portal-Workflows und eines separaten + ; recovery-only API-Keys aktivieren: sonst bleibt der Endpoint gesperrt. + PasswordRecoveryEnabled = false ; Portal Account & Sicherheit: nur eigenstaendige Bearer-Session und Passwort. ; Loescht zentralen Account, NICHT Grid-Land/NV$/Gruppen/Externdaten. PortalAccountSelfDeleteEnabled = true @@ -751,6 +794,8 @@ ; Optional direct HTTP only from exact backend IP(s) over a VPN/private ; network; NEVER expose plaintext passwords/API keys on the internet. PortalRegistrationTrustedHttpPeers = "" + ; Keine Browser-, Client- oder Wildcard-IP in diese Proxy-Allowlist. + AdminDocsTrustedProxyAddresses = "" ; World registration defaults; form may override home_region on the ; server-to-server call with users:register scope. PortalRegistrationDefaultRegionName = "Magdeburg" @@ -762,10 +807,13 @@ ; Public access terminates TLS at the trusted reverse proxy for world.stadt-nexverse.de. EnablePrivilegedEndpoints = true AdminMinimumUserLevel = 200 + ; Tokenlaufzeit mit Stadtportal/REST-Clients synchron halten. TokenLifetimeSeconds = 1800 ; Per-client fixed-window API limiter. X-Forwarded-For is ignored unless ; TrustForwardedFor is explicitly enabled behind a trusted reverse proxy. + ; Harte Obergrenze fuer serverseitig erlaubte DB-ANALYZE-Jobs. + DatabaseMaintenanceCommandTimeoutSeconds = 300 RateLimitEnabled = true RateLimitRequests = 240 RateLimitWindowSeconds = 60 @@ -800,6 +848,7 @@ UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" +; KRITISCH: Die Login-/HG-Adressen muessen Proxy und Viewer entsprechen. [GridInfoService] ; These settings are used to return information on a get_grid_info call. ; Client launcher scripts and third-party clients make use of this to @@ -936,6 +985,7 @@ ; * while in those grids. The more the user accesses his/her inventory, the more ; * those simulators will know about the user's inventory. ; * +; SECURITY: Veraltete oeffentliche Inventar-API nicht ohne Zugriffsgates aktivieren. [HGInventoryService] ; TEMPORAERE LEGACY-KOMPATIBILITAET: NICHT als sicher ansehen. ; Entfernen oder auf false setzen, wenn eine autorisierte HG-Loesung existiert. @@ -964,6 +1014,7 @@ ; * This restricts the access that the rest of the world has to ; * the assets of this world. ; * +; SECURITY: Export- und Hypergrid-Asset-Rechte duerfen nicht aufgeweicht werden. [HGAssetService] ; Generation 1: allow normal Hypergrid commerce and delivery of purchased assets. ; Emergency opt-in lockdown: true denies ALL public HG reads (including sales). @@ -1023,6 +1074,7 @@ ;MaxOfflineIMs = 25; +; SECURITY: IMAP-Token, TLS und Offline-IM-Reply-Domain zusammen validieren. [OfflineIMMailRelay] ; Central catch-all mailbox relay. Only Robust polls this mailbox. Enabled = true @@ -1077,6 +1129,7 @@ ; OpenGenesisLINK Feature Control - standardmäßig aktiviert. ; VOR dem ROBUST-Neustart einen privaten ES256-Schlüssel ausschließlich ; auf ROBUST bereitstellen. Ohne Schlüssel verweigert die World API den Start. +; KRITISCH: ES256-Private-Key bleibt nur auf ROBUST, nie im Git/Simulator. [OGLFeatureControl] Enabled = true PrivateKeyPath = "config-include/ogl-feature-private.pem" @@ -1101,6 +1154,7 @@ ; Das Kennwort liegt ausschliesslich in /etc/opengenesislink/iar-webdav.pass. ; Binary upload/download is chunked (4 MiB), not sent through NexBus. ; ============================================================================ +; KRITISCH: WebDAV-Pfad/Cert/Passwortdatei vor Wechsel mit Restore testen. [OglIarSelfService] Enabled = true ; WebDAV is default. No NFS kernel/mount is needed on OpenVZ.