diff --git a/.github/workflows/ogl-g1-config-contract.yml b/.github/workflows/ogl-g1-config-contract.yml new file mode 100644 index 00000000..32a66540 --- /dev/null +++ b/.github/workflows/ogl-g1-config-contract.yml @@ -0,0 +1,41 @@ +name: OGL G1 ROBUST and Simulator Configuration Contract + +on: + pull_request: + paths: + - 'bin/OpenSim.ini' + - 'bin/OpenSim.ini.example' + - 'bin/OpenSimDefaults.ini' + - 'bin/Robust.HG.ini' + - 'bin/Robust.HG.ini.example' + - 'bin/config-include/**' + - 'tools/ci/verify_g1_config_contract.py' + - 'tools/ci/verify_opensim_autoports.py' + - '.github/workflows/ogl-g1-config-contract.yml' + push: + branches: [main] + paths: + - 'bin/OpenSim.ini' + - 'bin/OpenSim.ini.example' + - 'bin/OpenSimDefaults.ini' + - 'bin/Robust.HG.ini' + - 'bin/Robust.HG.ini.example' + - 'bin/config-include/**' + - 'tools/ci/verify_g1_config_contract.py' + - 'tools/ci/verify_opensim_autoports.py' + - '.github/workflows/ogl-g1-config-contract.yml' + +permissions: + contents: read + +jobs: + verify-g1-configuration: + name: Verify G1 INI inheritance, safety and operator contracts + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - name: Validate all active ROBUST/Simulator functional sections + run: python3 tools/ci/verify_g1_config_contract.py + - name: Verify compact active simulator options and HTTP autoports + run: python3 tools/ci/verify_opensim_autoports.py diff --git a/bin/OpenSim.ini b/bin/OpenSim.ini index 7dc5b21c..9d47f6d7 100644 --- a/bin/OpenSim.ini +++ b/bin/OpenSim.ini @@ -1,3 +1,10 @@ +; OpenGenesisLINK Generation 1 – Stadt NexVerse Simulator +; Konfigurationsvertrag: aktive Werte hier ueberschreiben OpenSimDefaults.ini +; und je nach Modul config-include/GridHypergrid.ini / GridCommon.ini. +; NICHT JEDE verfuegbare Option muss hier stehen: nicht angegebene Schluessel +; werden bewusst aus Defaults/Code geladen; siehe G1_CONFIG_AUDIT.md. +; KRITISCH: Produktions-OpenSim.ini vor Updates sichern. Keine Secrets in Git. +; ================================================================ ; OpenGenesisLINK 0.9.3.10 compact simulator INI ; Active overrides only. Defaults in OpenSimDefaults.ini / config-include/*.ini. ; Runtime secrets and instance state must not be committed. @@ -5,6 +12,9 @@ ; OpenGenesisLINK Feature Control - standardmäßig aktiviert. ; Voraussetzung: öffentlicher ES256-Schlüssel und gültige, vom ROBUST signierte ; Node-Freigabe. Ohne Richtlinie sind OAR-/IAR-Archive absichtlich gesperrt. +; ES256-Feature-Control: PublicKeyPath darf NUR den Public Key +; enthalten. PrivateKey liegt ausschliesslich auf ROBUST. +; Keyrotation ohne alle Node-Policies kann OAR-/IAR-Aktionen sperren. [OGLFeatureControl] Enabled = true PublicKeyPath = "config-include/ogl-feature-public.pem" @@ -17,6 +27,9 @@ Enabled = true WaitSeconds = 25 +; KRITISCH: Jeder Simulator braucht eine eindeutige NodeId. +; SharedKey/PeerUrl/Signaturen muessen zu ROBUST (NexBus) passen. +; Kein Logging/Management an nicht autorisierte Nodes senden. [NexVerseNodeAgent] Enabled = true ; Jede Simulatorinstanz benoetigt eine eigene NodeId. Fuer Stadt-NexVerse: Mainland_Server_001. @@ -24,6 +37,9 @@ NodeId = "${Environment|NEXVERSE_NODE_ID}" PeerUrl = "${Environment|NEXVERSE_NEXBUS_PEER_URL}" SharedKey = "${Environment|NEXVERSE_NEXBUS_SHARED_KEY}" + ; Entspricht bisherigem NodeAgent-Code-Default. Logdaten enthalten + ; vertrauliche Diagnosen: Versand nur ueber TLS oder Loopback. + LogForwardingEnabled = true InboundPath = "/internal/nexbus/v1/events" HeartbeatSeconds = 30 QueueCapacity = 2048 @@ -63,8 +79,14 @@ PublicPort = "80" PrivURL = ${Const|BaseURL} PrivatePort = "8003" +; Stadt NexVerse: serverseitige Grundstueckskosten fuer Mesh-Linksets. +; Enabled=true wertet bestehende Mesh-Bauten neu (Land Impact statt Primanzahl). +; Nur mit vorherigem Backup/Kapazitaetstest abschalten oder umkonfigurieren. [OGLMeshLandImpact] Enabled = true +; KRITISCH: Physics=BulletSim, meshing=Meshmerizer, YEngine und +; vorhandene Zertifikatsoptionen nur mit Build-, Script- und Rez-Tests aendern. +; Keine produktiven Passwoerter im Klartext eintragen. [Startup] ; OGL 0.9.3.13: Live-Profil, Opt-in fuer erweiterte Regionssicht. ; 1024 m MaxDrawDistance / 768 m MaxRegionsViewDistance als Preset; @@ -119,9 +141,22 @@ allow_grid_gods = true [Estates] +; EstateModule steuert Estate-Kommunikation (NICHT (EstateManagement)). +; Handler/Port sind an die internen Estate-Routen gekoppelt. Port=0 benutzt +; den lokalen Simulator-HTTP-Port. KRITISCH: Port nicht oeffentlich freigeben. +; Das historische Modul nutzt einen Default-Token im Quellcode: nur interne +; vertrauenswuerdige Netze zulassen; geheime Tokens nicht in Git ablegen. + EstateCommunicationsHandler = "EstateModule" + Port = 0 [SMTP] +; LSL/E-Mail-Modul; unabhaengig vom (OfflineIMEmail)-SMTP-Relay. +; NICHT EINSCHALTEN, solange kein dedizierter, TLS-validierter Mail-Transport +; mit eigenen Zugangsdaten konfiguriert wurde. Offline-IM bleibt separat aktiv. + enabled = false +; KRITISCH: http_listener_port=0 erfordert NexVerseAutoPorts. +; Proxy, Gatekeeper und externe Ports muessen sich weiterhin erreichen. [Network] http_listener_port = 0 ExternalHostNameForLSL = "mainland.stadt-nexverse.de" @@ -138,6 +173,14 @@ XmlRpcPort = -1 [ClientStack.LindenUDP] +; Viewer UDP: Werte aus der vorhandenen LLUDPServer-Implementation. +; BITTE NICHT ohne Loadtest aendern: UDP-Bandbreite, ACK/Timeouts +; und Buffer beeinflussen Firestorm-Login, Textur- und Mesh-Ladevorgaenge. +; Vorhandene Module haben diese Defaults schon bei leerem Block benutzt. + scene_throttle_max_bps = 6250000 + TextureSendLimit = 20 + AckTimeout = 60 + PausedAckTimeout = 300 [ClientStack.LindenCaps] Cap_GetTexture = "localhost" @@ -151,12 +194,30 @@ DestinationGuideURI = "https://stadt-nexverse.de/service/destination" [Chat] +; Reichweite des normalen lokalen Chats in Metern. Keine Voice-Option. +; Aenderungen betreffen LSL-Sensorik/Chat-Hoerbarkeit in allen Regionen. + enabled = true + whisper_distance = 10 + say_distance = 20 + shout_distance = 100 [EntityTransfer] +; Regionswechsel und Hypergrid-Teleport. KRITISCH: Border-Transfers +; NICHT deaktivieren; Stadt NexVerse benutzt mehrere Simulatorprozesse. +; LevelHGTeleport = Mindest-Userlevel fuer HG-TP (0 = alle Benutzer). + AllowAvatarCrossing = true + DisableObjectTransfer = false + LevelHGTeleport = 0 + DisableInterRegionTeleportCancellation = false + LandingPointBehavior = LandingPointBehavior_OS [Messaging] OfflineMessageModule = "Offline Message Module V2" +; Mailbenachrichtigung bei Offline-IM, unabhaengig von (SMTP). +; KRITISCH: SMTPHost web01.nexvortex.de, Port 587 und STARTTLS gehoeren +; zusammen; Passwort nur via NEXVERSE_OFFLINE_IM_SMTP_PASSWORD liefern. +; RelaySigningKey mit ROBUST OfflineIMMailRelay synchronisieren. [OfflineIMEmail] Enabled = true RelayDomain = "im.stadt-nexverse.de" @@ -177,10 +238,28 @@ AvatarToAvatarCollisionsByDefault = true [Wind] +; Einfache Simulator-Winddaten, NICHT das Wetteraddon (OGLWeather). +; Windplugin-Wechsel kann physische Objekte/LSL beeinflussen. + enabled = true + wind_update_rate = 150 + wind_plugin = SimpleRandomWind + strength = 1.0 [Materials] +; Material-/PBR-Services fuer Viewer. Zur Firestorm-Kompatibilitaet +; aktiviert lassen; MaxMaterialsPerTransaction ist Request-Obergrenze. + enable_materials = true + MaxMaterialsPerTransaction = 50 [DataSnapshot] +; Legacy-Suche/externes Indexieren: aus Datenschutzgruenden AUS. +; Unabhaengig von WorldAPI/NexDiscovery. NICHT spontan einschalten, +; sonst koennen oeffentliche Such-Crawler Regionsdaten erfassen. + index_sims = false + data_exposure = minimum + gridname = "Stadt NexVerse" + default_snapshot_period = 1200 + snapshot_cache_directory = "DataSnapshot" [Economy] economymodule = NexVerseMoneyModule @@ -236,6 +315,12 @@ CurrencyPurchasePortalUrl = "" [YEngine] +; Produktions-Scriptengine. DefaultScriptEngine ist in (Startup) YEngine. +; KRITISCH: Enginewechsel kann Scriptstatus/Timer nach Teleport beeintraechtigen. +; MinTimerInterval 0.1s verhindert uebermaessig schnelle Timer. + Enabled = true + UseSourceHashCode = true + MinTimerInterval = 0.1 [XEngine] AppDomainLoading = false @@ -251,6 +336,8 @@ [OSSL] Include-osslDefaultEnable = "config-include/osslDefaultEnable.ini" +; KRITISCH: Groups V2 und Messaging sind mit ROBUST gekoppelt. +; Ohne gemeinsame Gruppenautoritaet funktionieren Land- und HG-Rechte nicht. [Groups] Enabled = true Module = "Groups Module V2" @@ -266,6 +353,9 @@ FastRezNearbyFirst = true [MediaOnAPrim] +; Web- und Videooberflaechen auf Prims; Viewer-CAPS erforderlich. +; Nicht mit Hypergrid-Medien-Richtlinien verwechseln. + Enabled = true [NPC] Enabled = true @@ -276,8 +366,20 @@ NexNPCChatEnabled = true [Terrain] +; Terrain-Default nur beim erstmaligen Regionsaufbau wirksam. +; Viewer-Terrainupdates und Malpinselstarke sind laufende Einstellungen. +; KRITISCH: Terrainwerte vor Region-Neuerstellung/OAR-Import sichern. + InitialTerrain = "pinhead-island" + SendTerrainUpdatesByViewDistance = true + OglTerrainBrushStrengthMultiplier = 2.0 [LandManagement] +; Parzellen-Layer-Aktualisierungen/Verbotlinien in Firestorm. +; LimitParcelLayerUpdateDistance optimiert grosse VarRegionen. +; Keine Einstellung ersetzt die serverseitigen Gruppen-/Landrechte. + LimitParcelLayerUpdateDistance = true + ParcelLayerViewDistance = 128 + ShowParcelBansLines = true [UserProfiles] ProfileServiceURL = ${Const|BaseURL}:${Const|PublicPort} @@ -302,6 +404,10 @@ ResendAppearanceUpdates = false [XBakes] +; Altes externes Baked-Texture-Endpoint-Modul. Ohne URL deaktiviert. +; NICHT auf eine fremde HTTP-URL umstellen: Avatar-Texturen/Assets sind +; privat. Verwechsle das nicht mit (Appearance) und ROBUST BakedTextureService. + URL = "" ; ============================================================================ @@ -384,6 +490,9 @@ ; files are temporary and MUST fit the configured size. The operator IAR ; storage location is not changed automatically. ; Match the tracked ROBUST WebDAV endpoint and account; password stays in /etc/opengenesislink/. +; IAR sichert Benutzerinventar und schreibt per WebDAV auf das NAS. +; WebDavBaseUrl, TLS-Zertifikat und PasswordFile muessen zusammenpassen. +; Kein NFS auf OpenVZ ohne Kernelmodul; Restore vor Umstellung testen. [OpenGenesisLINKIAR] Enabled = true StorageBackend = "WebDAV" @@ -393,6 +502,64 @@ WebDavPasswordFile = "/etc/opengenesislink/iar-webdav.pass" MaximumArchiveMiB = 10240 +; KRITISCH: Include-Architecture waehlt Grid-/Hypergrid-Service-Endpunkte. +; Nicht in Standalone.ini oder einen fremden Host tauschen: HG und Inventory +; muessen zum lokalen ROBUST-Service und zur Datenbank passen. + +; ============================================================================ +; Generation 1: explizite, bereits bisher wirksame OpenSimDefaults-Module +; ============================================================================ +; Die folgenden Werte sind keine neuen Features. Sie dokumentieren +; Kernmodule, die zuvor ausschliesslich aus OpenSimDefaults.ini erbten. + +[RegionReady] + ; Login erst erlauben, wenn die Region bereit ist (Statuskanal -800). + ; KRITISCH fuer Regionstart, Nutzeranmeldung und Script-Bereitmeldung. + enabled = true + channel_notify = -800 + login_disable = true + +[EstateManagement] + ; Erlaubt autorisierten Estate-Berechtigten einen Regionsneustart. + ; Nicht mit dem internen (Estates)-Kommunikationshandler verwechseln. + AllowRegionRestartFromClient = true + +[Inventory] + ; Mehrere zusammengehoerige Objekte werden im Inventar gebuendelt. + CoalesceMultipleObjectsToInventory = true + +[Attachments] + ; KRITISCH fuer Avatare, Skriptzustand und Inventar-Transfers. + Enabled = true + +[Mesh] + ; Mesh-Upload erlaubt. Upload-Gebuehren und Land Impact sind separat. + AllowMeshUpload = true + +[PacketPool] + ; UDP-Objektpuffer werden wiederverwendet; nur nach Profiling aendern. + RecycleBaseUDPPackets = true + +[Monitoring] + ; Externe bzw. interne Monitoring-/Diagnose-Schnittstellen. + Enabled = true + +[Statistics] + ; Anzahl Frames fuer die Statistikaggregation. + NumberOfFrames = 10 + +[JsonStore] + ; Legacy JsonStore ist standardmaessig AUS. Aktivierung kann neue + ; Datenhaltung und OSSL/LSL-Verhaltensweisen erfordern. + Enabled = false + EnableObjectStore = false + MaxStringSpace = 0 + +[OGLShutdown] + ; Maximale Wartezeit bis Region-Close/Shutdown (Sekunden). + ; KRITISCH fuer Evakuierung, Backup und geordnetes Herunterfahren. + RegionCloseTimeoutSeconds = 180 + [Architecture] Include-Architecture = "config-include/GridHypergrid.ini" diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 02b77963..e66492f2 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -1,3 +1,7 @@ +; OpenGenesisLINK G1 – allgemeine Standalone-Referenz (kein Stadt-NexVerse-Deployment). +; Nicht den produktiven Hypergrid-/NodeAgent-/Portal-Stand ueberschreiben. +; Geerbte Defaults werden nur bei abweichendem Betriebsbedarf angepasst. +; Erläuterungen und kritische Werte: doc/OpenGenesisLINK/G1_CONFIG_AUDIT.md ; OpenGenesisLINK 0.9.3.10 compact simulator INI ; Active overrides only. Defaults in OpenSimDefaults.ini / config-include/*.ini. ; Runtime secrets and instance state must not be committed. @@ -110,8 +114,15 @@ allow_grid_gods = true [Estates] +; EstateModule: Port=0 nutzt Simulator-HTTP-Port. Token nie in Git speichern. +; Handler nicht ohne Estate-API-/Firewall-Tests umstellen. + EstateCommunicationsHandler = "EstateModule" + Port = 0 [SMTP] +; LSL-Mail ist unabhaengig vom Offline-IM-Mailrelay. +; Bis zur Einrichtung eines gesicherten SMTP-Dienstes ausgeschaltet. + enabled = false [Network] http_listener_port = 9000 @@ -129,6 +140,12 @@ XmlRpcPort = 20800 [ClientStack.LindenUDP] +; Gepruefte Code-Defaults fuer Viewer-UDP, Texture-Limits und ACKs. +; Nur nach Bandbreiten-/Paketverlusttests abweichend konfigurieren. + scene_throttle_max_bps = 6250000 + TextureSendLimit = 20 + AckTimeout = 60 + PausedAckTimeout = 300 [ClientStack.LindenCaps] Cap_GetTexture = "localhost" @@ -142,8 +159,19 @@ DestinationGuideURI = "https://stadt-nexverse.de/service/destination" [Chat] +; Lokale Chat-Reichweite in Metern. + enabled = true + whisper_distance = 10 + say_distance = 20 + shout_distance = 100 [EntityTransfer] +; Regions-/Hypergrid-Wechsel, fuer mehrere Simulatoren nicht deaktivieren. + AllowAvatarCrossing = true + DisableObjectTransfer = false + LevelHGTeleport = 0 + DisableInterRegionTeleportCancellation = false + LandingPointBehavior = LandingPointBehavior_OS [Messaging] OfflineMessageModule = "Offline Message Module V2" @@ -168,10 +196,25 @@ AvatarToAvatarCollisionsByDefault = true [Wind] +; Einfacher Simulatorwind, NICHT OpenGenesisLINK (OGLWeather). + enabled = true + wind_update_rate = 150 + wind_plugin = SimpleRandomWind + strength = 1.0 [Materials] +; Viewer-Materialien, inklusive Firestorm; Standardlimit. + enable_materials = true + MaxMaterialsPerTransaction = 50 [DataSnapshot] +; Legacy-Snapshot-Suche standardmaessig deaktiviert. +; Datenexposition erst nach gesonderter Datenschutzpruefung aktivieren. + index_sims = false + data_exposure = minimum + gridname = "OpenSim" + default_snapshot_period = 1200 + snapshot_cache_directory = "DataSnapshot" [Economy] economymodule = NexVerseMoneyModule @@ -228,6 +271,10 @@ CurrencyPurchasePortalUrl = "" [YEngine] +; Standard-Scriptengine. Engine-/Timer-Wechsel kann Scriptstatus brechen. + Enabled = true + UseSourceHashCode = true + MinTimerInterval = 0.1 [XEngine] AppDomainLoading = false @@ -256,6 +303,8 @@ FastRezNearbyFirst = true [MediaOnAPrim] +; Media-On-A-Prim wird per Viewer-CAPS bereitgestellt. + Enabled = true [NPC] ; Private owner NPC directory: requires valid NEX_NPC_INGEST_URL and _SECRET. @@ -264,8 +313,16 @@ NexNPCChatEnabled = false [Terrain] +; Erstterrain nur bei neuen Regionen, nicht bei vorhandenen Bauten. + InitialTerrain = "pinhead-island" + SendTerrainUpdatesByViewDistance = true + OglTerrainBrushStrengthMultiplier = 2.0 [LandManagement] +; Parcels/VarRegion: optimierte Layer-Updates und sichtbare Ban-Linien. + LimitParcelLayerUpdateDistance = true + ParcelLayerViewDistance = 128 + ShowParcelBansLines = true [UserProfiles] ProfileServiceURL = ${Const|BaseURL}:${Const|PublicPort} @@ -290,6 +347,63 @@ ResendAppearanceUpdates = false [XBakes] +; Deaktivierte alte externe Texture-Bake-URL, kein untrusted HTTP. + URL = "" + + +; ============================================================================ +; Generation 1: explizite, bereits bisher wirksame OpenSimDefaults-Module +; ============================================================================ +; Die folgenden Werte sind keine neuen Features. Sie dokumentieren +; Kernmodule, die zuvor ausschliesslich aus OpenSimDefaults.ini erbten. + +[RegionReady] + ; Login erst erlauben, wenn die Region bereit ist (Statuskanal -800). + ; KRITISCH fuer Regionstart, Nutzeranmeldung und Script-Bereitmeldung. + enabled = true + channel_notify = -800 + login_disable = true + +[EstateManagement] + ; Erlaubt autorisierten Estate-Berechtigten einen Regionsneustart. + ; Nicht mit dem internen (Estates)-Kommunikationshandler verwechseln. + AllowRegionRestartFromClient = true + +[Inventory] + ; Mehrere zusammengehoerige Objekte werden im Inventar gebuendelt. + CoalesceMultipleObjectsToInventory = true + +[Attachments] + ; KRITISCH fuer Avatare, Skriptzustand und Inventar-Transfers. + Enabled = true + +[Mesh] + ; Mesh-Upload erlaubt. Upload-Gebuehren und Land Impact sind separat. + AllowMeshUpload = true + +[PacketPool] + ; UDP-Objektpuffer werden wiederverwendet; nur nach Profiling aendern. + RecycleBaseUDPPackets = true + +[Monitoring] + ; Externe bzw. interne Monitoring-/Diagnose-Schnittstellen. + Enabled = true + +[Statistics] + ; Anzahl Frames fuer die Statistikaggregation. + NumberOfFrames = 10 + +[JsonStore] + ; Legacy JsonStore ist standardmaessig AUS. Aktivierung kann neue + ; Datenhaltung und OSSL/LSL-Verhaltensweisen erfordern. + Enabled = false + EnableObjectStore = false + MaxStringSpace = 0 + +[OGLShutdown] + ; Maximale Wartezeit bis Region-Close/Shutdown (Sekunden). + ; KRITISCH fuer Evakuierung, Backup und geordnetes Herunterfahren. + RegionCloseTimeoutSeconds = 180 [Architecture] Include-Architecture = "config-include/Standalone.ini" @@ -311,7 +425,7 @@ ; NexBus und erreichbarem Robust-Peer konfigurieren. -; Anzeigeoptionen unter [Startup]: +; Anzeigeoptionen unter (Startup): ; OGLConsoleGermanHelp = true ; OGLConsoleExpertHelp = false diff --git a/bin/Robust.HG.ini b/bin/Robust.HG.ini index 48ec6820..73c81e04 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" @@ -146,7 +164,7 @@ ;; Uncomment to provide bakes caching ; BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector" - ;; Uncomment for UserProfiles see [UserProfilesService] to configure... + ;; Uncomment for UserProfiles see (UserProfilesService) to configure... UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" ;; Uncomment if you want to have centralized estate data @@ -165,7 +183,7 @@ ; WARNUNG: Das alte Protokoll liefert keine sichere Avatar-Autorisierung. ; Fremde Server koennen ggf. unerlaubte Inventaroperationen ausfuehren. ; Zum Sperren diese Connector-Zeile auskommentieren UND die Option - ; AllowLegacyPublicHGInventory in [HGInventoryService] auf false setzen. + ; AllowLegacyPublicHGInventory in (HGInventoryService) auf false setzen. HGInventoryServiceConnector = "HGInventoryService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" HGAssetServiceConnector = "HGAssetService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" ;; Uncomment this if you want Groups V2, HG to work @@ -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,11 +330,12 @@ ; 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 - ; Empty values inherit the authoritative [DatabaseService] settings. + ; Empty values inherit the authoritative (DatabaseService) settings. ; Do not duplicate the database password here unless a dedicated ledger DB is intended. StorageProvider = "" ConnectionString = "" @@ -436,7 +460,7 @@ ;; Set to false to prevent export ExportSupported = true - ;; If you have this set under [Hypergrid], no need to set it here, leave it commented + ;; If you have this set under (Hypergrid), no need to set it here, leave it commented ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" [AuthenticationService] @@ -594,7 +618,7 @@ ; HasProxy = false ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) - ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented + ;; If you have GatekeeperURI set under (Hypergrid), no need to set it here, leave it commented ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" @@ -621,7 +645,7 @@ DSTZone = "Europe/Berlin;W. Europe Standard Time" ;; If the region requested at login is not found and there are no default or fallback regions - ;; online or defined in section [GridService], try to send user to any region online + ;; online or defined in section (GridService), try to send user to any region online ;; this similar to legacy (was disabled on 0.9.2.0) ;; you should set this to false and define regions with Default and possible Fallback flags ;; With this option set to true, users maybe sent to regions they where not supposed to be, or even know about @@ -645,7 +669,7 @@ ;; ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. - ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] + ;; Allow banning via hashed MAC must be set in both (GatekeeperService) and (LoginService) ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" [MapImageService] @@ -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,14 +729,29 @@ ; 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] + ; Optional private portal IM archive in the existing (DatabaseService) ; MySQL/MariaDB schema; tables created automatically at startup. ; Missing 32+-byte NEX_PORTAL_IM_SECRET disables ONLY the archive, ; not the World API. Configure the SAME key on all simulators. Enabled = true StoreBackend = "MariaDB" - ; Empty overrides inherit the authoritative [DatabaseService] values. + ; Empty overrides inherit the authoritative (DatabaseService) values. StorageProvider = "" ConnectionString = "" RetentionDays = 30 @@ -728,7 +768,7 @@ [NexNPCChat] Enabled = true - ; Stored in the existing [DatabaseService] MariaDB only, no SQLite. + ; Stored in the existing (DatabaseService) MariaDB only, no SQLite. ; Two private environment keys are required for signed simulator ingest: ; NEX_NPC_INGEST_SECRET and NEX_NPC_CHAT_SECRET (32+ bytes each). ; Without valid keys only NPC directory/archive stays unavailable. @@ -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 @@ -773,7 +821,7 @@ AuditStorePath = "data/nexverse-audit.jsonl" ; AuditConsoleMode = important (Standard), all oder off. ; important = nur Aktionen mit Änderungen und wichtige Ereignisse, - ; all = auch reguläre Leseaufrufe, off = keine [NEX-AUDIT]-Konsolenzeilen. + ; all = auch reguläre Leseaufrufe, off = keine (NEX-AUDIT)-Konsolenzeilen. ; Die persistente administrative Audit-Datei bleibt IMMER erhalten. AuditConsoleMode = "important" ; Öffentliche GETs wie /api/v1/health auch bei all standardmäßig ausblenden. @@ -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 @@ -849,8 +898,8 @@ ;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS ; optional web page for profiles - ;[AGENT_NAME] will be converted to Firstname.LastName by viewers - ; web_profile_url = http://webprofilesurl:ItsPort?name=[AGENT_NAME] + ;(AGENT_NAME) will be converted to Firstname.LastName by viewers + ; web_profile_url = http://webprofilesurl:ItsPort?name=(AGENT_NAME) [GatekeeperService] LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService" @@ -863,11 +912,11 @@ AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" ; how does the outside world reach me? This acts as public key too. - ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented + ;; If you have GatekeeperURI set under (Hypergrid), no need to set it here, leave it commented ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" ; Does this grid allow incoming links to any region in it? - ; If false, HG TPs happen only to the Default regions specified in [GridService] section + ; If false, HG TPs happen only to the Default regions specified in (GridService) section AllowTeleportsToAnyRegion = true ; If you run this gatekeeper server behind a proxy, set this to true @@ -884,7 +933,7 @@ ;; Leave blank or commented for no exceptions. ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" - ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] + ;; Allow banning via hashed MAC must be set in both (GatekeeperService) and (LoginService) ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" [UserAgentService] @@ -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. @@ -953,17 +1003,18 @@ ; HGInventoryService is a public-facing inventory service that allows users to ; interact with their suitcase folder when on a foreign grid. This reuses the general inventory service connector. - ; Hence, if the user has set up authentication in [Network] to protect their private services + ; Hence, if the user has set up authentication in (Network) to protect their private services ; make sure it is not set here. AuthType = None - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ; * The interface that local users get when they are in other grids. ; * 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). @@ -981,11 +1032,11 @@ ; HGAssetService is a public-facing service that allows users to ; read and create assets when on another grid. This reuses the general asset service connector. - ; Hence, if the user has set up authentication in [Network] to protect their private services + ; Hence, if the user has set up authentication in (Network) to protect their private services ; make sure it is overriden for this public service. AuthType = None - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;; The asset types that this grid can export to / import from other grids. @@ -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 @@ -1050,7 +1102,7 @@ UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" ;; What is the HomeURI of users associated with this grid? - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;; end hypergrid @@ -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" @@ -1085,7 +1138,7 @@ ; ============================================================================ ; Stadt-NexVerse public OGLWeather forecast (WORLD API / ROBUST ONLY) ; Public, read-only GET /api/v1/weather, subject to World API rate limit. -; Keep seed + timezone identical to all [OGLWeather] simulators. +; Keep seed + timezone identical to all (OGLWeather) simulators. ; No simulator particle emitters run in ROBUST. ; ============================================================================ [OGLWeatherPortal] @@ -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. diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index 742a7763..b2b72aa0 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example @@ -1,3 +1,6 @@ +; OpenGenesisLINK Generation 1 – Hypergrid Installationsvorlage. +; Nicht ueber die aktive ROBUST-Ini kopieren. Domains, TLS, DB und HMAC +; muessen pro Deployment konsistent sein. Siehe G1_CONFIG_AUDIT.md. ; * Run ; * $ Robust.exe -inifile Robust.HG.ini ; * @@ -144,7 +147,7 @@ ;; Uncomment to provide bakes caching ; BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector" - ;; Uncomment for UserProfiles see [UserProfilesService] to configure... + ;; Uncomment for UserProfiles see (UserProfilesService) to configure... UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" ;; Uncomment if you want to have centralized estate data @@ -163,7 +166,7 @@ ; WARNUNG: Das alte Protokoll liefert keine sichere Avatar-Autorisierung. ; Fremde Server koennen ggf. unerlaubte Inventaroperationen ausfuehren. ; Zum Sperren diese Connector-Zeile auskommentieren UND die Option - ; AllowLegacyPublicHGInventory in [HGInventoryService] auf false setzen. + ; AllowLegacyPublicHGInventory in (HGInventoryService) auf false setzen. HGInventoryServiceConnector = "HGInventoryService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" HGAssetServiceConnector = "HGAssetService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" ;; Uncomment this if you want Groups V2, HG to work @@ -224,19 +227,21 @@ ;ConsolePort = 0 [Hypergrid] + ; KRITISCH: HomeURI/GatekeeperURI sind die Hypergrid-Identitaet. + ; Dieser generische Beispielwert muss mit dem realen Proxy/Port passen. ;# {HomeURI} {Hypergrid} {The Home URL of this grid} {} ;; This is the address of the external robust server that ;; runs the UserAgentsService, possibly this server. ;; For example http://myworld.com:8002 ;; This is a default that can be overwritten in some sections. - ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" + HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this grid} {} ;; This is the address of the external robust server ;; that runs the Gatekeeper service, possibly this server. ;; For example http://myworld.com:8002 ;; This is a default that can be overwritten in some sections. - ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" + GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" ;# {GatekeeperURIAlias} {Hypergrid} {alternative hostnames (FQDN), or IPs of the gatekeeper of this grid and port (default 80 or 443 if alias starts with https://)} {} ;; comma separated list, @@ -316,7 +321,7 @@ ; Native OpenGenesisLINK NV$ double-entry ledger bootstrap. Enabled = true - ; Leave these empty to inherit StorageProvider and ConnectionString from [DatabaseService]. + ; Leave these empty to inherit StorageProvider and ConnectionString from (DatabaseService). ; Set them only when the NV$ ledger intentionally uses a dedicated database. StorageProvider = "" ConnectionString = "" @@ -441,7 +446,7 @@ ;; Set to false to prevent export ExportSupported = true - ;; If you have this set under [Hypergrid], no need to set it here, leave it commented + ;; If you have this set under (Hypergrid), no need to set it here, leave it commented ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" [AuthenticationService] @@ -597,7 +602,7 @@ ; HasProxy = false ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) - ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented + ;; If you have GatekeeperURI set under (Hypergrid), no need to set it here, leave it commented ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" @@ -624,7 +629,7 @@ DSTZone = "Europe/Berlin;W. Europe Standard Time" ;; If the region requested at login is not found and there are no default or fallback regions - ;; online or defined in section [GridService], try to send user to any region online + ;; online or defined in section (GridService), try to send user to any region online ;; this similar to legacy (was disabled on 0.9.2.0) ;; you should set this to false and define regions with Default and possible Fallback flags ;; With this option set to true, users maybe sent to regions they where not supposed to be, or even know about @@ -648,7 +653,7 @@ ;; ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. - ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] + ;; Allow banning via hashed MAC must be set in both (GatekeeperService) and (LoginService) ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" [MapImageService] @@ -744,7 +749,7 @@ ; The active Simulator must use the same NEX_PORTAL_IM_SECRET. Enabled = false ; Set true after provisioning one shared 32+-byte HMAC secret. - ; MariaDB uses the existing [DatabaseService] connection. + ; MariaDB uses the existing (DatabaseService) connection. StoreBackend = "MariaDB" StorageProvider = "" ConnectionString = "" @@ -752,7 +757,7 @@ SharedSecret = "${Environment|NEX_PORTAL_IM_SECRET}" ; Optional owner-scoped NPC directory and direct-IM archive. Both disabled by default. -; Uses the authoritative [DatabaseService] MariaDB connection, no SQLite. +; Uses the authoritative (DatabaseService) MariaDB connection, no SQLite. [NexNPCPortal] Enabled = false ; 0 = discover active regions from trusted signed NexBus/NodeAgent inventory; @@ -774,7 +779,7 @@ ; P0 #301: keep disabled until the portal has migrated to World-owned ; one-time challenges. Backend must hold separate recovery-only API key. ; Challenges are stored in a new InnoDB table (ogl_password_recovery) - ; in the EXISTING [UserAccountService] / [DatabaseService] MariaDB. + ; in the EXISTING (UserAccountService) / (DatabaseService) MariaDB. ; No additional file, password, SQLite service or connection string. PasswordRecoveryEnabled = false ; Portal Account & Sicherheit: nur eigenstaendige Bearer-Session und Passwort. @@ -819,7 +824,7 @@ AuditStorePath = "data/nexverse-audit.jsonl" ; AuditConsoleMode = important (Standard), all oder off. ; important = nur Aktionen mit Änderungen und wichtige Ereignisse, - ; all = auch reguläre Leseaufrufe, off = keine [NEX-AUDIT]-Konsolenzeilen. + ; all = auch reguläre Leseaufrufe, off = keine (NEX-AUDIT)-Konsolenzeilen. ; Die persistente administrative Audit-Datei bleibt IMMER erhalten. AuditConsoleMode = "important" ; Öffentliche GETs wie /api/v1/health auch bei all standardmäßig ausblenden. @@ -895,8 +900,8 @@ ;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS ; optional web page for profiles - ;[AGENT_NAME] will be converted to Firstname.LastName by viewers - ; web_profile_url = http://webprofilesurl:ItsPort?name=[AGENT_NAME] + ;(AGENT_NAME) will be converted to Firstname.LastName by viewers + ; web_profile_url = http://webprofilesurl:ItsPort?name=(AGENT_NAME) [GatekeeperService] LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService" @@ -909,11 +914,11 @@ AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" ; how does the outside world reach me? This acts as public key too. - ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented + ;; If you have GatekeeperURI set under (Hypergrid), no need to set it here, leave it commented ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" ; Does this grid allow incoming links to any region in it? - ; If false, HG TPs happen only to the Default regions specified in [GridService] section + ; If false, HG TPs happen only to the Default regions specified in (GridService) section AllowTeleportsToAnyRegion = true ; If you run this gatekeeper server behind a proxy, set this to true @@ -930,7 +935,7 @@ ;; Leave blank or commented for no exceptions. ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" - ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService] + ;; Allow banning via hashed MAC must be set in both (GatekeeperService) and (LoginService) ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC" [UserAgentService] @@ -999,11 +1004,11 @@ ; HGInventoryService is a public-facing inventory service that allows users to ; interact with their suitcase folder when on a foreign grid. This reuses the general inventory service connector. - ; Hence, if the user has set up authentication in [Network] to protect their private services + ; Hence, if the user has set up authentication in (Network) to protect their private services ; make sure it is not set here. AuthType = None - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ; * The interface that local users get when they are in other grids. @@ -1026,11 +1031,11 @@ ; HGAssetService is a public-facing service that allows users to ; read and create assets when on another grid. This reuses the general asset service connector. - ; Hence, if the user has set up authentication in [Network] to protect their private services + ; Hence, if the user has set up authentication in (Network) to protect their private services ; make sure it is overriden for this public service. AuthType = None - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;; The asset types that this grid can export to / import from other grids. @@ -1096,7 +1101,7 @@ UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" ;; What is the HomeURI of users associated with this grid? - ;; Can overwrite the default in [Hypergrid], but probably shouldn't + ;; Can overwrite the default in (Hypergrid), but probably shouldn't ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;; end hypergrid @@ -1140,7 +1145,7 @@ ; ============================================================================ ; Opt-in public GET /api/v1/weather with no citizen login. Uses the same ; deterministic climate code as the simulator, not real weather services. -; IMPORTANT: match WeatherSeed and TimeZone from EVERY [OGLWeather] +; IMPORTANT: match WeatherSeed and TimeZone from EVERY (OGLWeather) ; simulator you want to represent. No synchronisation across mismatched seeds. [OGLWeatherPortal] Enabled = false @@ -1152,7 +1157,7 @@ ; ============================================================================ ; Resident IAR self-service (World API / ROBUST only). ; Keep disabled until an identical shared storage mount is configured on ROBUST -; and every target simulator's [OpenGenesisLINKIAR].StorageRoot. +; and every target simulator's (OpenGenesisLINKIAR).StorageRoot. ; Binary upload/download is chunked (4 MiB), not sent through NexBus. ; ============================================================================ [OglIarSelfService] diff --git a/doc/OpenGenesisLINK/G1_CONFIG_AUDIT.md b/doc/OpenGenesisLINK/G1_CONFIG_AUDIT.md new file mode 100644 index 00000000..fbefeca0 --- /dev/null +++ b/doc/OpenGenesisLINK/G1_CONFIG_AUDIT.md @@ -0,0 +1,840 @@ +# OpenGenesisLINK G1 – Vollstaendiger Konfigurationsabgleich +**Stand:** 8. November 2026 +**Projekt:** `opengenesislink/opengenesislinkserver` +**Basis:** `main` vor dieser Aenderung: `78a2fb3cfa83cc33f62f6fdac7b31aae2d794d6a` +**Original OpenSimulator:** `opensim/opensim`, `master` vom 7. November 2026, `9d00a5555225b17d3d1063cb0f3496fb1b6217f9`. + +## Befund und Umfang + +- Die aktive `bin/OpenSim.ini` besitzt **63 aktive Sektionen** und **268 explizite Schluessel**. Keine Sektion ist ohne aktive Einstellung. +- Die aktive `bin/Robust.HG.ini` besitzt **52 aktive Sektionen** und **315 explizite Schluessel**. Keine Sektion ist ohne aktive Einstellung. +- `OpenSim.ini.example` und `Robust.HG.ini.example` sind ebenfalls ohne leere Sektionen, und **jeder Schluessel der jeweiligen Vorlage ist im zugehoerigen aktiven Profil vorhanden**. +- `OpenSimDefaults.ini` besitzt 55 Sektionen mit 394 Schluesseln. Das sind gemeinsame Defaults, die nicht pauschal in die knappe Betreiber-INI kopiert werden duerfen. Einige historischen Sektionen sind nur Kommentar-/Erweiterungspunkte; sie erzeugen **keine** automatisch implementierte Funktion. +- Addon-`.ini.example`-Dateien und `config-include/*` bleiben eigene Ebenen. Sie sind **nicht** durch das blosse Vorhandensein eines Schluessels in der Hauptdatei ersetzt. + +## Prioritaet 1 – keine ungeplanten Aenderungen + +| Bereich | Schutzgrund | Kontrollierte Aenderung | +|---|---|---| +| ROBUST `[Const]`, `[Network]`, `[Hypergrid]`, `[GridInfoService]` | Grid-Identitaet und HG-/Viewer-Teleport; bestehende Teleportlinks und Grid-Adressen koennen ungultig werden | Nur mit FQDN-, Reverse-Proxy-, Login- und Gatekeeper-Tests | +| ROBUST `[DatabaseService]`, `[ServiceList]` | SQL-Konsistenz und Assembly-/Service-Registrierung | Backup, Schema-Migration, CI und Fallback | +| `[NexBus]` / `[NexVerseNodeAgent]` | HMAC-Vertrauensanker, signierte interne Events, Node-Erkennung | Identitaeten/Keys synchron auf ROBUST und allen Simulatoren rotieren | +| `[OGLFeatureControl]` | ES256-Policy-Signatur, OAR-/IAR-Archiv-Freigabe | Privaten Schluessel ausschliesslich auf ROBUST halten; alle Nodes bei Keyrotation pruefen | +| `[NexEconomy]`, `[NexEconomyViewer]` | NV$ Ledger, idempotente Buchungen und Viewer-Wallet | Keine Provider-/Waehrungs-/Wallet-Wechsel ohne Buchhaltungsabgleich | +| `[LoginService]`, `[NexVerseWorldApi]`, `[AccessControl]` | Registrierung, Auth, Proxy-Trust, Admin-/Viewer-Freigabe | Aenderungen nur nach Berechtigungs- und TLS-Test | +| `[HGAssetService]`, `[HGInventoryService]` | HG-Asset-Rechte, Inventarzugriff | Nie Export- oder Public-Legacy-Gates ungeprueft oeffnen | +| `[OpenGenesisLINKIAR]` / `[OglIarSelfService]` | Echte NAS-Backups via WebDAV | SSL-Validierung, Privatrechte und erfolgreichen Import testen | +| `[Startup]`, `[EntityTransfer]`, `[YEngine]`, `[OGLShutdown]` | Runtime/Physics, Scriptstatus, HG-/Regionswechsel, geordnete Evakuierung | Nur zusammen mit OAR-/IAR-, Rez-, TP- und Neustart-Tests | +| `[OfflineIMEmail]`, `[OfflineIMMailRelay]` | SMTP/IMAP plus signierte Antwort-Token | Host, TLS, RelayDomain, HMAC und Worker gemeinsam testen | +| `[OGLVoice]` | Signierte Viewer-/LiveKit-Sitzungen | ROBUST bewusst deaktiviert; Aktivierung nur mit Tenant, HTTPS, Node-ACL und Server-Credentials | + +**„Nicht aendern“ bedeutet:** produktive, miteinander gekoppelte Parameter nicht isoliert oder ohne Migrations-/Rollbackplan veraendern. Sie sind nicht technisch unveraenderlich. + +## Prioritaet 2 – Schalter, die absichtlich AUS bleiben + +- ROBUST `[OGLVoice] Enabled = false`: Diese Angabe dokumentiert den bisherigen Zustand; Audio wird nicht durch das Anlegen der INI-Sektion implementiert. `EnableSessionAuthority` und `EnableFirestormGateway` bleiben aus. LiveKit-API-Secrets duerfen nicht in Git landen. +- ROBUST `[NexVerseWorldApi] PasswordRecoveryEnabled = false`: Eine Recovery-Freigabe erfordert einen gesonderten API-Key, vertrauliches Challenge-Handling und ein geprueftes Portal. +- ROBUST `AdminDocsTrustedProxyAddresses = ""`: Keine Client-/Wildcard-IP in die Proxy-Allowlist. +- Simulator `[SMTP] enabled = false`: Dies ist der allgemeine LSL-Maildienst und **nicht** der bereits konfigurierte Offline-IM-Mailversand. +- Simulator `[XBakes] URL = ""`: Der alte externe Bake-Endpunkt ist deaktiviert. Avatar-Appearance und ROBUST BakedTextureService sind eigenstaendige Funktionen. +- Simulator `[JsonStore] Enabled = false`, `[DataSnapshot] index_sims = false`: Keine unbeabsichtigte Legacy-K/V- oder Suchdaten-Exposition. +- Simulator `[OGLMeshLandImpact] Enabled = true`: Entspricht dem bereits freigegebenen G1-Stadt-NexVerse-Profil; im gemeinsamen `OpenSimDefaults.ini` bewusst aus. + +## Gefundene funktionale Luecken – geschlossen + +1. ROBUST `[OGLVoice]` fehlte vollstaendig. Die neun bekannten Schluessel sind jetzt mit sicheren, **deaktivierten** Ausgangswerten vorhanden; kein neuer Server oder Token-Service wird dadurch gestartet. +2. ROBUST `NexGroups.EnableGridWideLand = true` fehlte, ist aber bereits der dokumentierte `GetBoolean(..., true)`-Default. +3. ROBUST `NexVerseWorldApi`: `PasswordRecoveryEnabled`, `AdminDocsTrustedProxyAddresses`, `DatabaseMaintenanceCommandTimeoutSeconds` wurden anhand des eigenen Codes und der HG-Beispielkonfiguration ergaenzt. +4. Simulator: ehemals leere Sektionen `Estates`, `SMTP`, `ClientStack.LindenUDP`, `Chat`, `EntityTransfer`, `Wind`, `Materials`, `DataSnapshot`, `YEngine`, `MediaOnAPrim`, `Terrain`, `LandManagement`, `XBakes` wurden mit **tatsaechlich vom eigenen Code akzeptierten** Schluesseln belegt. +5. Die wichtigsten geerbten Kernblöcke `RegionReady`, `EstateManagement`, `Inventory`, `Attachments`, `Mesh`, `PacketPool`, `Monitoring`, `Statistics`, `JsonStore` und `OGLShutdown` sind als explizite, unveraenderte Defaults dokumentiert. +6. Simulator `NexVerseNodeAgent.LogForwardingEnabled = true` war bereits Code-Default, jetzt explizit dokumentiert. Logs koennen vertrauliche Diagnosen enthalten: nur ueber sichere Transporte. +7. HG-Beispiel `[Hypergrid]` enthielt nur auskommentierte Werte: `HomeURI` und `GatekeeperURI` sind nun ueber `[Const]` definiert. Produktions-FQDNs wurden nicht ueberschrieben. +8. CI prueft Konfigurationsvertraege, die INI-Kompaktheit nach aktiven Schluesseln, und existierende HTTP-Autoports-Regeln. Die umfangreichen Kommentare zaehlen nicht als Konfigurationswachstum. + +**Wichtig:** Einstellungen sind keine Implementierung. Nicht durch Code gedeckte Phantasie-Flags wurden **nicht** hinzugefuegt. Die aktiven Werte stellen keine automatisierte Ermittlung aller moeglichen `GetString/GetBoolean/GetInt`-Aufrufe und aller externen Plugins dar. + +## Offener, eigenstaendiger Sicherheitsbefund + +In `OpenSim/Region/CoreModules/World/Estate/EstateModule.cs` ist ein historischer statischer Default-Token fuer `[Estates]` hinterlegt. Ein blosser INI-Default kann die Sicherheit eines exponierten HTTP-Handers nicht garantieren. Die bestehenden Handler-/Port-Werte wurden **nicht** riskant umgestellt. Empfehlung: in einem separaten Security-PR einen zufaelligen, geschuetzten Token oder eine authentifizierte interne Route erzwingen und Estate-API-Gates testen. + +## Gezielter Vergleich gegen Original OpenSimulator (7.–8.11.2026) + +Upstream-Referenz: https://github.com/opensim/opensim (Branch `master`, SHA `9d00a5555225b17d3d1063cb0f3496fb1b6217f9`). + +| Upstream-Commit | Modul / Unterschied | G1-Einordnung | +|---|---|---| +| `acb3dd2d6785` (04.11.) | `Warp3DImageModule`: Null-/Laengencheck vor JPEG2000-Texturdekodierung | **Relevant, im G1 sinngemaess bereits abgesichert:** G1 LunaTexture klassifiziert inkompatible Asset-Payloads und behandelt leere Daten. Kein blindes Ueberschreiben der erweiterten G1-Pipeline. Kurze 1–2-Byte-Payloads als extra Regression pruefen | +| `5a5ffee0df12` (04.11.) | Materialeintrag loeschen ohne Index-Overflow | **Bereits vorhanden:** G1 `MaterialsModule` prueft `indx >= entries.Length` | +| `092a7f54b637` (04.11.) | PBR-Override-Eintraege im LLUDP-Protokoll spaeter/anders kodieren | **Bereits teilweise vorhanden:** G1 `LLClientView` nutzt `new OSDllsdxml(ovr.data)`; nur Viewer-Protokolltests entscheiden ueber weitere Uebernahme | +| `f53491faa148` (04.11.) | UDP-UseCircuitCode und Cache-Reinigung / neue `ExpiringCacheOS.Remove(out ...)` | **Moeglicher Folgekandidat** bei mehrfachen Login-/Reconnect-Circuits. Vor Backport Session-/Logout-/Hypergrid-Tests, nicht im INI-PR mischen | +| `755aa0e4e68b` (07.11.) | PostgreSQL-Inventar-Abfrage: gequotete Spaltennamen | **Nicht fuer aktuelle MariaDB-Deployment-Konfiguration erforderlich**, nur bei PostgreSQL-Provider relevant | +| `8e3f6932197c` (06.11.) | PostgreSQL-18-Estate-Manager/-Bans | **Nur PostgreSQL**, separates Backend-Review noetig | +| `cbab20a5735a` (05.11.) | PostgreSQL-UserProfiles-Upserts und Insertkorrekturen | **Nur PostgreSQL**, nicht ohne Migration in MariaDB-Pfade portieren | +| `929b6dc79390` (07.11.) | Bereinigung eines `OutboundUrlFilter.Split`-Ausdrucks | **In G1 bereits sauber:** einfache `Split(new char[]{'|'}, RemoveEmptyEntries)` | +| `9d00a5555225` (07.11.) | Whitespace-Korrektur | Keine funktionale Uebernahme erforderlich | + +Dies ist ein **gezielter Abgleich** aktueller Upstream-Aenderungen und gemeinsam genutzter Module, **kein automatischer Voll-Diff oder Merge aller 2.900+ Upstream-Dateien**. G1-Regionen, Addons, .NET-10-Build, Hypergrid, OpenMetaverse-Interop und eigene Datenbankschemata haben Vorrang. + +## Anhang A – Aktive ROBUST-HG-Sektionen und Schluessel + +Alle Schluesselnamen, **keine geheimen Werte**. `Robust.HG.ini.example` liefert Installationsdefaults; die Stadt-NexVerse-Werte werden nicht durch die Beispiel-INI ersetzt. + +### `[Environment]` – Service-/Modulkonfiguration + +`NEXVERSE_DB_PASSWORD`, `NEXVERSE_ROBUST_CERT_PASSWORD`, `NEXVERSE_NATIVE_TOKEN_SIGNING_KEY`, `NEXVERSE_NEXBUS_SHARED_KEY`, `NEXVERSE_NEXBUS_PEERS`, `NEXVERSE_IM_RELAY_SIGNING_KEY`, `NEXVERSE_IM_RELAY_IMAP_PASSWORD`, `NEX_PORTAL_IM_SECRET` + +### `[Const]` – Grid-FQDNs und feste Public-/Private-Ports + +`BaseHostname`, `BaseURL`, `PublicPort`, `PrivatePort` + +### `[Startup]` – Simulatorstart, Skriptengine, Physik, Regionssicht, Zertifikate + +`RegistryLocation`, `ConfigDirectory`, `ConsoleHistoryFileEnabled`, `ConsoleHistoryFile`, `ConsoleHistoryFileLines`, `EnableRobustSelfsignedCertSupport`, `RobustCertRenewOnStartup`, `RobustCertFileName`, `RobustCertPassword`, `RobustCertHostName`, `RobustCertHostIp`, `NoVerifyCertChain`, `NoVerifyCertHostname` + +### `[ServiceList]` – ROBUST-Service-Connector und Assembly-Auswahl + +`AssetServiceConnector`, `InventoryInConnector`, `GridServiceConnector`, `GridInfoServerInConnector`, `NexVerseWorldApiConnector`, `NexEconomyConnector`, `AuthenticationServiceConnector`, `AvatarServiceConnector`, `LLLoginServiceInConnector`, `PresenceServiceConnector`, `UserAccountServiceConnector`, `GridUserServiceConnector`, `AgentPreferencesServiceConnector`, `FriendsServiceConnector`, `MapAddServiceConnector`, `MapGetServiceConnector`, `GroupsServiceConnector`, `UserProfilesServiceConnector`, `MuteListConnector`, `GatekeeperServiceInConnector`, `UserAgentServerConnector`, `HeloServiceInConnector`, `HGFriendsServerConnector`, `InstantMessageServerConnector`, `HGInventoryServiceConnector`, `HGAssetServiceConnector`, `HGGroupsServiceConnector` + +### `[Network]` – Listener, Reverse-Proxy und Rate-Grenzen + +`port`, `AllowllHTTPRequestIn` + +### `[Hypergrid]` – HG-Home/Gatekeeper-FQDNs + +`HomeURI`, `GatekeeperURI` + +### `[AccessControl]` – Viewer-Zugang und Zugangspolitik + +`OGLApprovedViewersOnly` + +### `[DatabaseService]` – gemeinsamer SQL-Datenbestand + +`StorageProvider`, `ConnectionString` + +### `[NexDiscovery]` – Land/Region-Discovery + +`StorePath`, `TeleportBaseUri` + +### `[NexGroups]` – gruppenweite Land-/Rechte-Auskunft + +`Enabled`, `EnableGridWideLand` + +### `[NexExperiences]` – NexVerse-Experiences-Store und Writer-Schutz + +`StoreBackend`, `StorePath` + +### `[NexEconomy]` – serverautoritative NV$-Buchhaltung + +`Enabled`, `StorageProvider`, `ConnectionString`, `InitializeSchema`, `DailyLoginRewardEnabled`, `DailyLoginRewardTimezone` + +### `[EstateDataStore]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[AssetService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `BaseDirectory`, `SpoolDirectory`, `DaysBetweenAccessTimeUpdates`, `ShowConsoleStats`, `DefaultAssetLoader`, `AssetLoaderArgs` + +### `[InventoryService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `AllowDelete` + +### `[GridService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `AssetService`, `HypergridLinker`, `ExportSupported` + +### `[AuthenticationService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[OglAvatarTemplates]` – Service-/Modulkonfiguration + +`Enabled`, `BenjaminModel`, `LunaModel`, `RequirePublishedModels`, `BenjaminPublishedModel`, `LunaPublishedModel` + +### `[UserAccountService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `AuthenticationService`, `PresenceService`, `GridService`, `InventoryService`, `AvatarService`, `GridUserService`, `CreateDefaultAvatarEntries` + +### `[GridUserService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[AgentPreferencesService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[PresenceService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[AvatarService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[FriendsService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[EstateService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[LibraryService]` – Service-/Modulkonfiguration + +`LibraryName`, `DefaultLibrary` + +### `[LoginService]` – Login, Startregion, TOS, Land-/Marketplace-Adressen + +`EnableNexVerseResidentNames`, `EnableFirestormBridgeBootstrap`, `FirestormBridgeVersion`, `LocalServiceModule`, `UserAccountService`, `GridUserService`, `AuthenticationService`, `InventoryService`, `AvatarService`, `PresenceService`, `GridService`, `SimulationService`, `LibraryService`, `FriendsService`, `UserAgentService`, `HGInventoryServicePlugin`, `Currency`, `WelcomeMessage`, `NexVerseTosEnabled`, `NexVerseTosVersion`, `NexVerseTosUrl`, `WelcomeMessages`, `AllowRemoteSetLoginLevel`, `MapTileURL`, `SearchURL`, `DestinationGuide`, `SRV_HomeURI`, `SRV_InventoryServerURI`, `SRV_AssetServerURI`, `SRV_ProfileServerURI`, `SRV_FriendsServerURI`, `SRV_IMServerURI`, `SRV_GroupsServerURI`, `DSTZone`, `AllowLoginFallbackToAnyRegion` + +### `[MapImageService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[NexMetrics]` – read-only Betriebsmetriken + +`Enabled`, `Path` + +### `[NexTelemetry]` – signierte OpenTelemetry-Ausgabe + +`Enabled`, `Protocol`, `Endpoint`, `TracesEndpoint`, `MetricsEndpoint`, `ServiceName`, `ServiceInstanceId`, `Headers`, `ExportIntervalSeconds`, `BatchSize`, `QueueCapacity`, `TimeoutMilliseconds`, `MaxRetries`, `AllowInsecure` + +### `[NexBus]` – signierte Server-Events und Knotensitzungen + +`Enabled`, `NodeId`, `SharedKey`, `Peers`, `InboundPath`, `QueueCapacity`, `RequestTimeoutMilliseconds`, `DeduplicationWindow`, `NodeStaleAfterSeconds` + +### `[OGLVoice]` – ROBUST Voice-Discovery (optionale Freigabe) + +`Enabled`, `Mode`, `ServiceUrl`, `TenantId`, `IncludeHypergridGuests`, `EnableSessionAuthority`, `AllowedNodes`, `EnableFirestormGateway`, `MediaGatewayUrl` + +### `[NexPortalIM]` – Portal-Messenger-Archiv + +`Enabled`, `StoreBackend`, `StorageProvider`, `ConnectionString`, `RetentionDays`, `SharedSecret` + +### `[NexNPCPortal]` – Service-/Modulkonfiguration + +`Enabled`, `ExpectedRegionCount` + +### `[NexNPCChat]` – Service-/Modulkonfiguration + +`Enabled`, `RetentionDays` + +### `[NexVerseWorldApi]` – NexVerse World API/Portal-Registrierung/Admin-Rechte + +`Enabled`, `PortalAvatarRegistrationEnabled`, `PasswordRecoveryEnabled`, `PortalAccountSelfDeleteEnabled`, `PortalRegistrationTrustedProxyIPs`, `PortalRegistrationTrustedHttpPeers`, `AdminDocsTrustedProxyAddresses`, `PortalRegistrationDefaultRegionName`, `PortalRegistrationDefaultX`, `PortalRegistrationDefaultY`, `PortalRegistrationDefaultZ`, `PublicBaseUrl`, `EnablePrivilegedEndpoints`, `AdminMinimumUserLevel`, `TokenLifetimeSeconds`, `DatabaseMaintenanceCommandTimeoutSeconds`, `RateLimitEnabled`, `RateLimitRequests`, `RateLimitWindowSeconds`, `TrustForwardedFor`, `AuditStorePath`, `AuditConsoleMode`, `AuditConsolePublicReads`, `AuditConsoleShowIds`, `ApiKeyStorePath`, `IdempotencyStorePath`, `IdempotencyTtlSeconds`, `EnableNativeTokens`, `NativeTokenSigningKey`, `NativeTokenIssuer`, `NativeTokenAudience`, `AuthStorePath`, `OidcIssuer`, `OidcSigningKeyPath`, `OidcTokenLifetimeSeconds`, `AuthorizationCodeLifetimeSeconds`, `RefreshTokenLifetimeSeconds`, `UserAccountServiceModule`, `AuthenticationServiceModule` + +### `[GridInfoService]` – oeffentliche Grid-/Viewer-Identitaet + +`login`, `gridname`, `gridnick`, `welcome`, `about`, `register`, `help`, `password`, `gatekeeper` + +### `[GatekeeperService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `UserAccountService`, `UserAgentService`, `PresenceService`, `GridUserService`, `GridService`, `AuthenticationService`, `SimulationService`, `AllowTeleportsToAnyRegion` + +### `[UserAgentService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `GridUserService`, `GridService`, `GatekeeperService`, `PresenceService`, `FriendsService`, `UserAccountService` + +### `[HGInventoryService]` – Hypergrid-Inventar-Gates + +`AllowLegacyPublicHGInventory`, `LocalServiceModule`, `UserAccountsService`, `AvatarService`, `AuthType` + +### `[HGAssetService]` – Hypergrid-Asset-Sicherheit + +`DisallowAllExport`, `MaxHGAssetExistIds`, `MaxHGAssetExistXmlChars`, `LocalServiceModule`, `UserAccountsService`, `AuthType` + +### `[HGFriendsService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `UserAgentService`, `FriendsService`, `UserAccountService`, `GridService`, `PresenceService` + +### `[HGInstantMessageService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `GridService`, `PresenceService`, `UserAgentService`, `InGatekeeper` + +### `[Messaging]` – Service-/Modulkonfiguration + +`OfflineIMService` + +### `[OfflineIMMailRelay]` – IMAP-Rueckantworten auf Offline-Nachrichten + +`Enabled`, `RelayDomain`, `RelaySigningKey`, `IMAPHost`, `IMAPPort`, `UseSslOnConnect`, `UseStartTls`, `IMAPUsername`, `IMAPPassword`, `PollSeconds`, `BatchSize`, `MaximumReplyCharacters`, `MaximumReplyLifetimeDays` + +### `[Groups]` – Service-/Modulkonfiguration + +`NexModerationStorePath`, `OfflineIMService`, `UserAccountService` + +### `[UserProfilesService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `Enabled`, `UserAccountService`, `AuthenticationServiceModule` + +### `[BakedTextureService]` – Service-/Modulkonfiguration + +`LocalServiceModule`, `BaseDirectory` + +### `[MuteListService]` – Service-/Modulkonfiguration + +`LocalServiceModule` + +### `[OGLFeatureControl]` – ES256-Schluessel und OAR/IAR-Freigabe + +`Enabled`, `PrivateKeyPath`, `StorePath` + +### `[OGLWeatherPortal]` – oeffentliche Grid-Wetter-API + +`Enabled`, `WeatherSeed`, `TimeZone`, `DisplayName` + +### `[OglIarSelfService]` – ROBUST WebDAV-Inventory-Backup + +`Enabled`, `StorageBackend`, `TemporaryStorageRoot`, `NasHost`, `WebDavBaseUrl`, `WebDavUsername`, `WebDavPasswordFile`, `SharedStorageRoot`, `RetentionDays`, `MaximumArchiveMiB` + +## Anhang B – Aktive Simulator-Sektionen und Schluessel + +Die angefuehrten Werte stehen nach dieser Aktualisierung in `bin/OpenSim.ini`. Zusätzliche defaults koennen geerbt oder durch `config-include/GridHypergrid.ini` gesetzt sein. + +### `[OGLFeatureControl]` – ES256-Schluessel und OAR/IAR-Freigabe + +`Enabled`, `PublicKeyPath` + +### `[NexVerseAvatarEvacuation]` – Simulator-/Regionmodul-Konfiguration + +`Enabled`, `WaitSeconds` + +### `[NexVerseNodeAgent]` – signierte Simulator/ROBUST-Kommunikation + +`Enabled`, `NodeId`, `PeerUrl`, `SharedKey`, `LogForwardingEnabled`, `InboundPath`, `HeartbeatSeconds`, `QueueCapacity`, `RequestTimeoutMilliseconds`, `DeduplicationWindow`, `CrossRegionObjectMessaging`, `CrossRegionChatMessaging`, `AllowCrossOwnerObjectMessages`, `EstateScriptMessaging`, `GridScriptMessaging`, `ObjectMessagesPerSecond`, `ObjectMessageMaxAgeSeconds`, `ManagedRegionCommands`, `UpdateStagingEnabled`, `UpdateStagingRoot`, `UpdateStagingBuild`, `ManagedRegionConfigDirectory`, `ManagedRegionInternalAddress`, `ManagedRegionExternalHostName`, `ManagedRegionType`, `ManagedRegionPortMin`, `ManagedRegionPortMax` + +### `[OpenGenesisLINKOAR]` – OAR-Sicherung/Restore + +`Enabled`, `StorageRoot`, `MaximumArchiveMiB`, `MigrationStorageId` + +### `[Const]` – Grid-FQDNs und feste Public-/Private-Ports + +`BaseHostname`, `BaseURL`, `PublicPort`, `PrivURL`, `PrivatePort` + +### `[OGLMeshLandImpact]` – landbasierte Mesh-Quota statt roher Linkanzahl + +`Enabled` + +### `[Startup]` – Simulatorstart, Skriptengine, Physik, Regionssicht, Zertifikate + +`OGLExtendedRegionVisibility`, `OGLIarLiveProgress`, `meshing`, `physics`, `EnableCertConverter`, `PemCertPublicKey`, `PemCertPrivateKey`, `outputCertName`, `outputCertPassword`, `EnableSelfsignedCertSupport`, `CertRenewOnStartup`, `CertFileName`, `CertPassword`, `CertHostName`, `CertHostIp` + +### `[AccessControl]` – Viewer-Zugang und Zugangspolitik + +`OGLApprovedViewersOnly` + +### `[Map]` – Simulator-/Regionmodul-Konfiguration + +`GenerateMaptiles`, `FastMapAsyncStartup`, `FastMapStartupDelaySeconds`, `MapImageModule`, `TextureOnMapTile`, `DrawPrimOnMapTile`, `TexturePrims`, `RenderMeshes`, `RenderMaxHeight` + +### `[Permissions]` – Simulator-/Regionmodul-Konfiguration + +`automatic_gods`, `implicit_gods`, `allow_grid_gods` + +### `[Estates]` – interner Estate-Kommunikationshandler + +`EstateCommunicationsHandler`, `Port` + +### `[SMTP]` – separater LSL-Email-Server (derzeit aus) + +`enabled` + +### `[Network]` – Listener, Reverse-Proxy und Rate-Grenzen + +`http_listener_port`, `ExternalHostNameForLSL`, `shard` + +### `[NexVerseAutoPorts]` – dynamische Simulator-HTTP-Ports + +`Enabled`, `HttpPortMin`, `HttpPortMax` + +### `[XMLRPC]` – Simulator-/Regionmodul-Konfiguration + +`XmlRpcRouterModule`, `XmlRpcPort` + +### `[ClientStack.LindenUDP]` – Viewer-UDP, Bandbreite, ACK und Timeouts + +`scene_throttle_max_bps`, `TextureSendLimit`, `AckTimeout`, `PausedAckTimeout` + +### `[ClientStack.LindenCaps]` – Viewer-CAPS, Uploads und Objekt-/Inventar-HTTP + +`Cap_GetTexture`, `Cap_GetMesh`, `Cap_AvatarPickerSearch`, `Cap_GetDisplayNames`, `Cap_SetDisplayName` + +### `[SimulatorFeatures]` – Simulator-/Regionmodul-Konfiguration + +`SearchServerURI`, `DestinationGuideURI` + +### `[Chat]` – lokale Chatreichweiten + +`enabled`, `whisper_distance`, `say_distance`, `shout_distance` + +### `[EntityTransfer]` – Teleport, Grenzuebergang und Hypergrid + +`AllowAvatarCrossing`, `DisableObjectTransfer`, `LevelHGTeleport`, `DisableInterRegionTeleportCancellation`, `LandingPointBehavior` + +### `[Messaging]` – Simulator-/Regionmodul-Konfiguration + +`OfflineMessageModule` + +### `[OfflineIMEmail]` – Offline-IM-Mailversand via SMTP STARTTLS + +`Enabled`, `RelayDomain`, `SubjectTemplate`, `RelaySigningKey`, `ReplyLifetimeDays`, `SMTPHost`, `SMTPPort`, `UseStartTls`, `UseSslOnConnect`, `SMTPUsername`, `SMTPPassword`, `PerSenderPerHour`, `PerRecipientPerHour`, `GlobalPerHour` + +### `[BulletSim]` – Simulator-/Regionmodul-Konfiguration + +`AvatarToAvatarCollisionsByDefault` + +### `[Wind]` – Simulator-Wind (nicht OGLWeather) + +`enabled`, `wind_update_rate`, `wind_plugin`, `strength` + +### `[Materials]` – PBR/Materialien und Request-Limits + +`enable_materials`, `MaxMaterialsPerTransaction` + +### `[DataSnapshot]` – Legacy-Suche/Indexierung (aus) + +`index_sims`, `data_exposure`, `gridname`, `default_snapshot_period`, `snapshot_cache_directory` + +### `[Economy]` – Simulator-/Regionmodul-Konfiguration + +`economymodule` + +### `[OGLViewerAdvisor]` – Simulator-/Regionmodul-Konfiguration + +`Enabled`, `IntervalMinutes`, `OfficialViewerPrefixes`, `Message` + +### `[NexDiscoveryViewer]` – Simulator-/Regionmodul-Konfiguration + +`Enabled`, `LegacyFirestormCompatibility`, `WorldApiBaseUrl`, `GroupLandApiKey`, `RequestTimeoutMilliseconds` + +### `[NexExperiencesViewer]` – Viewer-Experiences, derzeit aus + +`Enabled`, `WorldApiBaseUrl`, `ApiKey`, `RequestTimeoutMilliseconds`, `FirestormReadCaps`, `FirestormPermissionCaps`, `ScriptPendingConsent`, `NativeExperiencePrompt`, `ViewerPermissionsApiKey`, `FirestormManageCaps`, `ViewerManageApiKey` + +### `[NexEconomyViewer]` – Simulator-/Regionmodul-Konfiguration + +`Enabled`, `WorldApiBaseUrl`, `ApiKey`, `FeeWalletId`, `UploadCharge`, `GroupCreationCharge`, `RequestTimeoutMilliseconds`, `BalanceRefreshSeconds`, `AllowHypergridGuests`, `MasterBankEnabled`, `MasterBankAccountId`, `MasterBankOperatorId`, `MasterBankAuthorizedScripts`, `MasterBankMaxPayout`, `CurrencyPurchasePortalUrl` + +### `[YEngine]` – Standard-LSL-/OSSL-Skripting + +`Enabled`, `UseSourceHashCode`, `MinTimerInterval` + +### `[XEngine]` – Legacy-Skripting / kompatible Fallbacks + +`AppDomainLoading` + +### `[NexPortalIM]` – Portal-Messenger-Archiv + +`Enabled`, `IngestUrl`, `SharedSecret` + +### `[OSSL]` – Simulator-/Regionmodul-Konfiguration + +`Include-osslDefaultEnable` + +### `[Groups]` – Simulator-/Regionmodul-Konfiguration + +`Enabled`, `Module`, `ServicesConnectorModule`, `LocalService`, `GroupsServerURI`, `MessagingEnabled`, `MessagingModule`, `NoticesEnabled`, `MessageOnlineUsersOnly` + +### `[InterestManagement]` – Simulator-/Regionmodul-Konfiguration + +`FastRezNearbyFirst` + +### `[MediaOnAPrim]` – Simulator-/Regionmodul-Konfiguration + +`Enabled` + +### `[NPC]` – NPC/Avatar-Simulation + +`Enabled`, `NexNPCSnapshotEnabled`, `NexNPCChatEnabled` + +### `[Terrain]` – Terrain-Erstellung/Viewer-Aktualisierung + +`InitialTerrain`, `SendTerrainUpdatesByViewDistance`, `OglTerrainBrushStrengthMultiplier` + +### `[LandManagement]` – Grundstueck-Updates und Ban-Linien + +`LimitParcelLayerUpdateDistance`, `ParcelLayerViewDistance`, `ShowParcelBansLines` + +### `[UserProfiles]` – Simulator-/Regionmodul-Konfiguration + +`ProfileServiceURL` + +### `[FirestormBridge]` – Simulator-/Regionmodul-Konfiguration + +`Enabled` + +### `[Textures]` – Simulator-/Regionmodul-Konfiguration + +`DynamicTexturePreviousRetentionSeconds`, `DynamicTexturePreviousRetentionLimit` + +### `[Appearance]` – Avatar-Aussehen/Backen + +`PersistBakedTextures`, `ReuseTextures`, `DelayBeforeAppearanceSend`, `DelayBeforeAppearanceSave`, `WearablesRequestDelayMs`, `ResendAppearanceUpdates` + +### `[XBakes]` – alter externer Bake-Endpunkt (aus) + +`URL` + +### `[NexTraffic]` – Ampel- und Strassenstatus + +`Enabled`, `LSLChannel`, `RefreshSeconds`, `GreenSeconds`, `YellowSeconds`, `AllRedSeconds`, `Junctions` + +### `[NexTransit]` – OePNV/Sollfahrplan + +`Enabled`, `LSLChannel`, `RefreshSeconds`, `TimeZone`, `MaxDepartures`, `Routes` + +### `[NexSmartLight]` – dynamische Strassenbeleuchtung + +`Enabled`, `LSLChannel`, `RefreshSeconds`, `TimeZone`, `NightStarts`, `NightEnds` + +### `[OGLWeather]` – Stadt-NexVerse Wetter- und Partikeladdon + +`Enabled`, `WeatherSeed`, `TimeZone`, `LSLChannel`, `CurrentBroadcastSeconds`, `ForecastBroadcastSeconds`, `CloudBaseMeters`, `LegacyParticleEmitters`, `ViewerEnvironmentEffects`, `EmitterHeightMeters`, `EmitterSpacingMeters`, `MaxEmittersPerRegion`, `VisualRefreshSeconds`, `TestWeatherMode`, `TestWeatherIntensity`, `TestWeatherDurationMinutes` + +### `[OGLEnergy]` – Stadtweite Energiedaten + +`Enabled`, `LSLChannel`, `RefreshSeconds`, `TimeZone`, `SolarCapacityKw`, `WindCapacityKw`, `HydroCapacityKw`, `BaseCapacityKw`, `BaseDemandKw` + +### `[OpenGenesisLINKIAR]` – WebDAV-IAR-Backups + +`Enabled`, `StorageBackend`, `NasHost`, `WebDavBaseUrl`, `WebDavUsername`, `WebDavPasswordFile`, `MaximumArchiveMiB` + +### `[RegionReady]` – Login-Gate bis Region bereit + +`enabled`, `channel_notify`, `login_disable` + +### `[EstateManagement]` – Estate-Neustarts + +`AllowRegionRestartFromClient` + +### `[Inventory]` – objektgebundene Inventar- und Rezlogik + +`CoalesceMultipleObjectsToInventory` + +### `[Attachments]` – Avatar-Attachments + +`Enabled` + +### `[Mesh]` – Mesh-Upload und Viewer-Kompatibilitaet + +`AllowMeshUpload` + +### `[PacketPool]` – Simulator-/Regionmodul-Konfiguration + +`RecycleBaseUDPPackets` + +### `[Monitoring]` – Simulator-/Regionmodul-Konfiguration + +`Enabled` + +### `[Statistics]` – Simulator-/Regionmodul-Konfiguration + +`NumberOfFrames` + +### `[JsonStore]` – Legacy-Skript-K/V-Storage (aus) + +`Enabled`, `EnableObjectStore`, `MaxStringSpace` + +### `[OGLShutdown]` – geordnetes Herunterfahren und Evakuierung + +`RegionCloseTimeoutSeconds` + +### `[Architecture]` – Service-Auswahl fuer Grid/Standalone + +`Include-Architecture` + +## Anhang C – Standard-Optionen (geerbt vs explizit) + +Datenquelle: `bin/OpenSimDefaults.ini`. Diese Einstellungen duerfen nicht alle parallel in `OpenSim.ini` kopiert werden: eine bewusste globale Default-Ebene erleichtert G1-Updates. Falls ein Default in OpenSim.ini fehlt, wird er **nicht automatisch als Fehler** klassifiziert. + +### `[NexVerseNodeAgent]` (26 Defaults; 26 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled`, `NodeId`, `PeerUrl`, `SharedKey`, `InboundPath`, `HeartbeatSeconds`, `QueueCapacity`, `RequestTimeoutMilliseconds`, `DeduplicationWindow`, `CrossRegionObjectMessaging`, `CrossRegionChatMessaging`, `AllowCrossOwnerObjectMessages`, `EstateScriptMessaging`, `GridScriptMessaging`, `ObjectMessagesPerSecond`, `ObjectMessageMaxAgeSeconds`, `ManagedRegionCommands`, `UpdateStagingEnabled`, `UpdateStagingRoot`, `UpdateStagingBuild`, `ManagedRegionConfigDirectory`, `ManagedRegionInternalAddress`, `ManagedRegionExternalHostName`, `ManagedRegionType`, `ManagedRegionPortMin`, `ManagedRegionPortMax` + +**Nicht lokal ueberschrieben:** — + +### `[OpenGenesisLINKOAR]` (4 Defaults; 4 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled`, `StorageRoot`, `MaximumArchiveMiB`, `MigrationStorageId` + +**Nicht lokal ueberschrieben:** — + +### `[OGLMeshLandImpact]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled` + +**Nicht lokal ueberschrieben:** — + +### `[Startup]` (58 Defaults; 13 explizit, 45 geerbt) + +**Auch im aktiven Profil:** `meshing`, `physics`, `EnableCertConverter`, `PemCertPublicKey`, `PemCertPrivateKey`, `outputCertName`, `outputCertPassword`, `EnableSelfsignedCertSupport`, `CertRenewOnStartup`, `CertFileName`, `CertPassword`, `CertHostName`, `CertHostIp` + +**Nicht lokal ueberschrieben:** `ConsolePrompt`, `ConsoleHistoryFileEnabled`, `ConsoleHistoryFile`, `ConsoleHistoryFileLines`, `save_crashes`, `crash_dir`, `startup_console_commands_file`, `shutdown_console_commands_file`, `async_call_method`, `MaxPoolThreads`, `JobEngineEnabled`, `RegistryLocation`, `ConfigDirectory`, `clientstack_plugin`, `region_info_source`, `allow_regionless`, `see_into_region`, `MaxPrimUndos`, `NonPhysicalPrimMax`, `PhysicalPrimMax`, `ClampPrimSize`, `ClampNegativeZ`, `LinksetPrims`, `AllowScriptCrossing`, `TrustBinaries`, `InworldRestartShutsDown`, `FrameTime`, `UpdateObjectsEveryNFrames`, `UpdateAgentsEveryNFrames`, `UpdateEntityMovementEveryNFrames`, `UpdateCoarseLocationsEveryNFrames`, `UpdatePhysicsEveryNFrames`, `UpdateEventsEveryNFrames`, `UpdateTerrainEveryNFrames`, `UpdateStorageEveryNFrames`, `UpdateTempCleaningEveryNSeconds`, `MinimumTimeBeforePersistenceConsidered`, `MaximumTimeBeforePersistenceConsidered`, `collidable_prim`, `physical_prim`, `DefaultScriptEngine`, `enableflyslow`, `Stats_URI`, `UseTrashOnDelete`, `LogOverloads` + +### `[Map]` (14 Defaults; 8 explizit, 6 geerbt) + +**Auch im aktiven Profil:** `GenerateMaptiles`, `FastMapAsyncStartup`, `FastMapStartupDelaySeconds`, `MapImageModule`, `DrawPrimOnMapTile`, `TextureOnMapTile`, `TexturePrims`, `RenderMeshes` + +**Nicht lokal ueberschrieben:** `TexturePrimSize`, `LunaTextureEnabled`, `LunaTextureRasterFallback`, `LunaTexturePlaceholder`, `LunaTextureDiagnosticLimit`, `LunaTextureDiagnosticStore` + +### `[Permissions]` (4 Defaults; 3 explizit, 1 geerbt) + +**Auch im aktiven Profil:** `allow_grid_gods`, `automatic_gods`, `implicit_gods` + +**Nicht lokal ueberschrieben:** `serverside_object_permissions` + +### `[RegionReady]` (3 Defaults; 3 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `enabled`, `channel_notify`, `login_disable` + +**Nicht lokal ueberschrieben:** — + +### `[EstateManagement]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `AllowRegionRestartFromClient` + +**Nicht lokal ueberschrieben:** — + +### `[UserProfiles]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[SMTP]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `enabled` + +**Nicht lokal ueberschrieben:** — + +### `[Network]` (11 Defaults; 2 explizit, 9 geerbt) + +**Auch im aktiven Profil:** `http_listener_port`, `shard` + +**Nicht lokal ueberschrieben:** `ConsoleUser`, `ConsolePass`, `console_port`, `http_listener_ssl`, `http_listener_sslport`, `http_listener_cn`, `http_listener_cert_path`, `http_listener_cert_pass`, `OutboundDisallowForUserScripts` + +### `[ScriptsHttpRequestModule]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[AccessControl]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[ClientStack.LindenUDP]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[ClientStack.LindenCaps]` (68 Defaults; 5 explizit, 63 geerbt) + +**Auch im aktiven Profil:** `Cap_GetDisplayNames`, `Cap_GetTexture`, `Cap_GetMesh`, `Cap_SetDisplayName`, `Cap_AvatarPickerSearch` + +**Nicht lokal ueberschrieben:** `Cap_AttachmentResources`, `Cap_ChatSessionRequest`, `Cap_CopyInventoryFromNotecard`, `Cap_DispatchRegionInfo`, `Cap_EstateAccess`, `Cap_EnvironmentSettings`, `Cap_EventQueueGet`, `Cap_FetchInventory`, `Cap_ObjectMedia`, `Cap_ObjectMediaNavigate`, `Cap_FetchLib`, `Cap_FetchLibDescendents`, `Cap_GetMesh2`, `Cap_GetAsset`, `Cap_GetObjectCost`, `Cap_GetObjectPhysicsData`, `Cap_GroupProposalBallot`, `Cap_GroupMemberData`, `Cap_HomeLocation`, `Cap_LandResources`, `Cap_MapLayer`, `Cap_MapLayerGod`, `Cap_NewFileAgentInventory`, `Cap_NewFileAgentInventoryVariablePrice`, `Cap_ObjectAdd`, `Cap_ParcelPropertiesUpdate`, `Cap_ParcelMediaURLFilterList`, `Cap_ParcelNavigateMedia`, `Cap_ParcelVoiceInfoRequest`, `Cap_ProductInfoRequest`, `Cap_ProvisionVoiceAccountRequest`, `Cap_RemoteParcelRequest`, `Cap_RequestTextureDownload`, `Cap_SearchStatRequest`, `Cap_SearchStatTracking`, `Cap_SendPostcard`, `Cap_SendUserReport`, `Cap_SendUserReportWithScreenshot`, `Cap_ServerReleaseNotes`, `Cap_SimConsole`, `Cap_SimulatorFeatures`, `Cap_StartGroupProposal`, `Cap_TextureStats`, `Cap_UntrustedSimulatorMessage`, `Cap_UpdateAgentInformation`, `Cap_UpdateAgentLanguage`, `Cap_UpdateGestureAgentInventory`, `Cap_UpdateNotecardAgentInventory`, `Cap_UpdateScriptAgent`, `Cap_UpdateGestureTaskInventory`, `Cap_UpdateNotecardTaskInventory`, `Cap_UpdateScriptTask`, `Cap_InventoryThumbnailUpload`, `InventoryThumbnailUploadMaxBytes`, `Cap_UploadBakedTexture`, `Cap_UploadObjectAsset`, `Cap_ViewerStartAuction`, `Cap_ViewerStats`, `Cap_WebFetchInventoryDescendents`, `Cap_FetchInventoryDescendents2`, `Cap_FetchInventory2`, `Cap_FetchLib2`, `Cap_FetchLibDescendents2` + +### `[Chat]` (4 Defaults; 4 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `enabled`, `whisper_distance`, `say_distance`, `shout_distance` + +**Nicht lokal ueberschrieben:** — + +### `[EntityTransfer]` (5 Defaults; 5 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `AllowAvatarCrossing`, `DisableObjectTransfer`, `LevelHGTeleport`, `DisableInterRegionTeleportCancellation`, `LandingPointBehavior` + +**Nicht lokal ueberschrieben:** — + +### `[Messaging]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `InstantMessageModule` + +### `[Inventory]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `CoalesceMultipleObjectsToInventory` + +**Nicht lokal ueberschrieben:** — + +### `[Appearance]` (6 Defaults; 6 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `PersistBakedTextures`, `DelayBeforeAppearanceSave`, `DelayBeforeAppearanceSend`, `WearablesRequestDelayMs`, `ResendAppearanceUpdates`, `ReuseTextures` + +**Nicht lokal ueberschrieben:** — + +### `[Attachments]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled` + +**Nicht lokal ueberschrieben:** — + +### `[Mesh]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `AllowMeshUpload` + +**Nicht lokal ueberschrieben:** — + +### `[Textures]` (4 Defaults; 2 explizit, 2 geerbt) + +**Auch im aktiven Profil:** `DynamicTexturePreviousRetentionSeconds`, `DynamicTexturePreviousRetentionLimit` + +**Nicht lokal ueberschrieben:** `ReuseDynamicTextures`, `ReuseDynamicLowDataTextures` + +### `[ODEPhysicsSettings]` (28 Defaults; 0 explizit, 28 geerbt) + +**Nicht lokal ueberschrieben:** `collect_stats`, `world_gravityx`, `world_gravityy`, `world_gravityz`, `avatar_terminal_velocity`, `world_stepsize`, `world_solver_iterations`, `filter_collisions`, `nm_terraincontact_friction`, `nm_terraincontact_bounce`, `nm_terraincontact_erp`, `m_terraincontact_friction`, `m_terraincontact_bounce`, `m_terrainContact_erp`, `m_avatarobjectcontact_friction`, `m_avatarobjectcontact_bounce`, `objectcontact_friction`, `objectcontact_bounce`, `av_density`, `av_movement_divisor_walk`, `av_movement_divisor_run`, `geometry_default_density`, `body_frames_auto_disable`, `geom_updates_before_throttled_update`, `maximum_mass_object`, `mesh_sculpted_prim`, `mesh_lod`, `mesh_physical_lod` + +### `[BulletSim]` (20 Defaults; 1 explizit, 19 geerbt) + +**Auch im aktiven Profil:** `AvatarToAvatarCollisionsByDefault` + +**Nicht lokal ueberschrieben:** `BulletEngine`, `UseSeparatePhysicsThread`, `TerrainImplementation`, `TerrainMeshMagnification`, `AvatarHeightLowFudge`, `AvatarHeightMidFudge`, `AvatarHeightHighFudge`, `AvatarTerminalVelocity`, `LinkImplementation`, `LinksetOffsetCenterOfMass`, `MeshSculptedPrim`, `ForceSimplePrimMeshing`, `ShouldRemoveZeroWidthTriangles`, `ShouldUseAssetHulls`, `MaxCollisionsPerFrame`, `MaxUpdatesPerFrame`, `PhysicsLoggingEnabled`, `PhysicsLoggingDir`, `VehicleLoggingEnabled` + +### `[Wind]` (4 Defaults; 4 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `enabled`, `wind_update_rate`, `wind_plugin`, `strength` + +**Nicht lokal ueberschrieben:** — + +### `[Trees]` (4 Defaults; 0 explizit, 4 geerbt) + +**Nicht lokal ueberschrieben:** `enabled`, `active_trees`, `update_rate`, `allowGrow` + +### `[VectorRender]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[LL-Functions]` (52 Defaults; 0 explizit, 52 geerbt) + +**Nicht lokal ueberschrieben:** `AllowGodFunctions`, `RestrictEmail`, `max_listens_per_region`, `max_listens_per_script`, `max_external_urls_per_simulator`, `UseSimpleBoxesInGetBoundingBox`, `AddStatsInGetBoundingBox`, `LowerAvatarBoundingBoxStandingXconst`, `UpperAvatarBoundingBoxStandingXconst`, `LowerAvatarBoundingBoxStandingYconst`, `UpperAvatarBoundingBoxStandingYconst`, `LowerAvatarBoundingBoxStandingZconst`, `LowerAvatarBoundingBoxStandingZcoeff`, `UpperAvatarBoundingBoxStandingZconst`, `UpperAvatarBoundingBoxStandingZcoeff`, `LowerAvatarBoundingBoxGroundsittingXconst`, `UpperAvatarBoundingBoxGroundsittingXconst`, `LowerAvatarBoundingBoxGroundsittingYconst`, `UpperAvatarBoundingBoxGroundsittingYconst`, `LowerAvatarBoundingBoxGroundsittingZconst`, `LowerAvatarBoundingBoxGroundsittingZcoeff`, `UpperAvatarBoundingBoxGroundsittingZconst`, `UpperAvatarBoundingBoxGroundsittingZcoeff`, `LowerAvatarBoundingBoxSittingXconst`, `UpperAvatarBoundingBoxSittingXconst`, `LowerAvatarBoundingBoxSittingYconst`, `UpperAvatarBoundingBoxSittingYconst`, `LowerAvatarBoundingBoxSittingZconst`, `LowerAvatarBoundingBoxSittingZcoeff`, `UpperAvatarBoundingBoxSittingZconst`, `UpperAvatarBoundingBoxSittingZcoeff`, `PrimBoundingBoxSafetyCoefficientX`, `PrimBoundingBoxSafetyCoefficientY`, `PrimBoundingBoxSafetyCoefficientZ`, `UseLlCastRayV3`, `FloatToleranceInLlCastRay`, `FloatTolerance2InLlCastRay`, `PrimDetailLevelInLlCastRay`, `SculptDetailLevelInLlCastRay`, `MeshDetailLevelInLlCastRay`, `AvatarDetailLevelInLlCastRay`, `MaxHitsInLlCastRay`, `MaxHitsPerPrimInLlCastRay`, `MaxHitsPerObjectInLlCastRay`, `DetectExitHitsInLlCastRay`, `DoAttachmentsInLlCastRay`, `ThrottleTimeInMsInLlCastRay`, `AvailableTimeInMsPerRegionInLlCastRay`, `AvailableTimeInMsPerAvatarInLlCastRay`, `RequiredAvailableTimeInMsInLlCastRay`, `MaximumAvailableTimeInMsInLlCastRay`, `UseMeshCacheInLlCastRay` + +### `[DataSnapshot]` (5 Defaults; 5 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `index_sims`, `data_exposure`, `gridname`, `default_snapshot_period`, `snapshot_cache_directory` + +**Nicht lokal ueberschrieben:** — + +### `[Economy]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[YEngine]` (3 Defaults; 3 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled`, `UseSourceHashCode`, `MinTimerInterval` + +**Nicht lokal ueberschrieben:** — + +### `[XEngine]` (15 Defaults; 0 explizit, 15 geerbt) + +**Nicht lokal ueberschrieben:** `Enabled`, `MinThreads`, `MaxThreads`, `IdleTimeout`, `Priority`, `MaxScriptEventQueue`, `ThreadStackSize`, `ScriptStopStrategy`, `WriteScriptSourceToDebugFile`, `CompileWithDebugInformation`, `SaveInterval`, `MaintenanceInterval`, `EventLimit`, `KillTimedOutScripts`, `WaitForEventCompletionOnScriptStop` + +### `[Concierge]` (4 Defaults; 0 explizit, 4 geerbt) + +**Nicht lokal ueberschrieben:** `enabled`, `whoami`, `password`, `regions` + +### `[Hypergrid]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `safemode` + +### `[Groups]` (6 Defaults; 3 explizit, 3 geerbt) + +**Auch im aktiven Profil:** `Enabled`, `Module`, `MessageOnlineUsersOnly` + +**Nicht lokal ueberschrieben:** `DebugEnabled`, `DebugMessagingEnabled`, `GroupsCacheTimeout` + +### `[PacketPool]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `RecycleBaseUDPPackets` + +**Nicht lokal ueberschrieben:** — + +### `[InterestManagement]` (11 Defaults; 0 explizit, 11 geerbt) + +**Nicht lokal ueberschrieben:** `UpdatePrioritizationScheme`, `ReprioritizationEnabled`, `ReprioritizationInterval`, `RootReprioritizationDistance`, `ChildReprioritizationDistance`, `ObjectsCullingByDistance`, `RootTerseUpdatePeriod`, `ChildTerseUpdatePeriod`, `RootPositionUpdateTolerance`, `RootRotationUpdateTolerance`, `RootVelocityUpdateTolerance` + +### `[Monitoring]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled` + +**Nicht lokal ueberschrieben:** — + +### `[Statistics]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `NumberOfFrames` + +**Nicht lokal ueberschrieben:** — + +### `[MediaOnAPrim]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled` + +**Nicht lokal ueberschrieben:** — + +### `[NPC]` (0 Defaults; 0 explizit, 0 geerbt) + +**Nicht lokal ueberschrieben:** — + +### `[Terrain]` (3 Defaults; 3 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `InitialTerrain`, `SendTerrainUpdatesByViewDistance`, `OglTerrainBrushStrengthMultiplier` + +**Nicht lokal ueberschrieben:** — + +### `[LandManagement]` (3 Defaults; 3 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `LimitParcelLayerUpdateDistance`, `ParcelLayerViewDistance`, `ShowParcelBansLines` + +**Nicht lokal ueberschrieben:** — + +### `[JsonStore]` (3 Defaults; 3 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `Enabled`, `EnableObjectStore`, `MaxStringSpace` + +**Nicht lokal ueberschrieben:** — + +### `[AssetService]` (3 Defaults; 0 explizit, 3 geerbt) + +**Nicht lokal ueberschrieben:** `DefaultAssetLoader`, `AssetLoaderArgs`, `AssetLoaderEnabled` + +### `[GridService]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `StorageProvider` + +### `[AutoBackupModule]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `AutoBackupModuleEnabled` + +### `[Sounds]` (2 Defaults; 0 explizit, 2 geerbt) + +**Nicht lokal ueberschrieben:** `Module`, `MaxDistance` + +### `[ServiceThrottle]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `Interval` + +### `[Dwell]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `DwellModule` + +### `[ServerReleaseNotes]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `ServerReleaseNotesURL` + +### `[Modules]` (1 Defaults; 0 explizit, 1 geerbt) + +**Nicht lokal ueberschrieben:** `Include-modules` + +### `[XMLRPC]` (2 Defaults; 2 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `XmlRpcRouterModule`, `XmlRpcPort` + +**Nicht lokal ueberschrieben:** — + +### `[OGLShutdown]` (1 Defaults; 1 explizit, 0 geerbt) + +**Auch im aktiven Profil:** `RegionCloseTimeoutSeconds` + +**Nicht lokal ueberschrieben:** — + +## Nachweis / Test + +- `python3 tools/ci/verify_g1_config_contract.py` +- `python3 tools/ci/verify_opensim_autoports.py` +- `dotnet build OpenSim.sln --configuration Release` plus bestehende NexVerse, Linux x64, Windows x64 und ARM64 Actions +- Nach dem Einspielen: ROBUST-Login und GridInfo, lokale/HG-Anmeldung, Offline-IM-Mail, Mesh-Upload, Estate-Rechte, Scripts, WebDAV-IAR-Restore und dynamische NodeAgent-Meldungen pruefen. +- Secrets und produktive Daten vor einem Update sichern; es findet **keine** automatische Veraenderung auf dem laufenden Simulator statt. diff --git a/tools/ci/verify_g1_config_contract.py b/tools/ci/verify_g1_config_contract.py new file mode 100644 index 00000000..d52af9cd --- /dev/null +++ b/tools/ci/verify_g1_config_contract.py @@ -0,0 +1,189 @@ +#!/usr/bin/env python3 +"""Validate G1 simulator/ROBUST configuration contracts, documented defaults and secure fallbacks. + +No network, database, SMTP or secret access is needed for this regression gate. +""" +from configparser import ConfigParser +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[2] +FILES = ( + "bin/OpenSim.ini", + "bin/OpenSim.ini.example", + "bin/Robust.HG.ini", + "bin/Robust.HG.ini.example", + "bin/OpenSimDefaults.ini", +) + + +def text(path: str) -> str: + return (ROOT / path).read_text(encoding="utf-8") + + +def parse(path: str) -> ConfigParser: + config = ConfigParser(interpolation=None, strict=True) + config.optionxform = str + # Nini's OpenSimDefaults.ini contains legacy tab-indented keys. + # ConfigParser treats following four-space keys as multiline values unless + # their indentation is normalized. The actual INI is left untouched. + config.read_string(text(path).expandtabs(4), source=path) + return config + + +c = {path: parse(path) for path in FILES} +sim = c["bin/OpenSim.ini"] +sim_example = c["bin/OpenSim.ini.example"] +defaults = c["bin/OpenSimDefaults.ini"] +robust = c["bin/Robust.HG.ini"] +robust_example = c["bin/Robust.HG.ini.example"] + +# A section-only stub is not a feature implementation. Every declared block +# in the two operator profiles and their install templates must have values. +for path in FILES[:4]: + source = c[path] + for name in source.sections(): + assert source.options(name), f"{path}: empty [{name}] section" + +# An operator-specific profile must explicitly cover every supported key +# offered in its matching example; higher-level inherited defaults are a +# separate layer and must NOT be copied wholesale into either profile. +for active, example in ((sim, sim_example), (robust, robust_example)): + for section in example.sections(): + assert active.has_section(section), section + for option in example.options(section): + assert active.has_option(section, option), (section, option) + +expected_sim = { + "Estates": ("EstateCommunicationsHandler", "Port"), + "SMTP": ("enabled",), + "ClientStack.LindenUDP": ( + "scene_throttle_max_bps", "TextureSendLimit", "AckTimeout", "PausedAckTimeout"), + "Chat": ("enabled", "whisper_distance", "say_distance", "shout_distance"), + "EntityTransfer": ("AllowAvatarCrossing", "DisableObjectTransfer", + "LevelHGTeleport", "DisableInterRegionTeleportCancellation", + "LandingPointBehavior"), + "Wind": ("enabled", "wind_update_rate", "wind_plugin", "strength"), + "Materials": ("enable_materials", "MaxMaterialsPerTransaction"), + "DataSnapshot": ("index_sims", "data_exposure", "gridname", + "default_snapshot_period", "snapshot_cache_directory"), + "YEngine": ("Enabled", "UseSourceHashCode", "MinTimerInterval"), + "MediaOnAPrim": ("Enabled",), + "Terrain": ("InitialTerrain", "SendTerrainUpdatesByViewDistance", + "OglTerrainBrushStrengthMultiplier"), + "LandManagement": ("LimitParcelLayerUpdateDistance", + "ParcelLayerViewDistance", "ShowParcelBansLines"), + "XBakes": ("URL",), + "RegionReady": ("enabled", "channel_notify", "login_disable"), + "EstateManagement": ("AllowRegionRestartFromClient",), + "Inventory": ("CoalesceMultipleObjectsToInventory",), + "Attachments": ("Enabled",), + "Mesh": ("AllowMeshUpload",), + "PacketPool": ("RecycleBaseUDPPackets",), + "Monitoring": ("Enabled",), + "Statistics": ("NumberOfFrames",), + "JsonStore": ("Enabled", "EnableObjectStore", "MaxStringSpace"), + "OGLShutdown": ("RegionCloseTimeoutSeconds",), +} +for section, keys in expected_sim.items(): + for opt in keys: + assert sim.has_option(section, opt), f"OpenSim.ini missing [{section}] {opt}" + assert sim_example.has_option(section, opt), ( + f"OpenSim.ini.example missing [{section}] {opt}") + +# Defaults must be preserved unless an already running production override +# intentionally disagrees (e.g. the city's Landscape/Grid profiles). +for section in ( + "SMTP", "Chat", "EntityTransfer", "Wind", "YEngine", "MediaOnAPrim", + "LandManagement", "RegionReady", "EstateManagement", "Inventory", + "Attachments", "Mesh", "PacketPool", "Monitoring", "Statistics", + "JsonStore", "OGLShutdown"): + for key in defaults.options(section): + if sim.has_option(section, key): + # Legacy OpenSimDefaults.ini uses semicolon inline comments for + # some settings. Normalize those while comparing actual values. + effective = lambda value: value.partition(";")[0].strip().strip('"').lower() + assert effective(sim.get(section, key)) == effective( + defaults.get(section, key) + ), f"Unexpected default override: [{section}] {key}" + +assert sim.get("Startup", "physics") == "BulletSim" +assert sim.get("Startup", "meshing") == "Meshmerizer" +assert sim.getboolean("EntityTransfer", "AllowAvatarCrossing") +assert not sim.getboolean("EntityTransfer", "DisableObjectTransfer") +assert sim.getboolean("Mesh", "AllowMeshUpload") +assert sim.getboolean("YEngine", "Enabled") +assert sim.getboolean("OGLMeshLandImpact", "Enabled") +assert not defaults.getboolean("OGLMeshLandImpact", "Enabled") +assert not sim.getboolean("SMTP", "enabled") # Separate from OfflineIMEmail. +assert sim.getboolean("OfflineIMEmail", "Enabled") +assert sim.get("OfflineIMEmail", "SMTPHost").strip('"') == "web01.nexvortex.de" +assert sim.getint("OfflineIMEmail", "SMTPPort") == 587 +assert sim.getboolean("OfflineIMEmail", "UseStartTls") +assert sim.get("XBakes", "URL").strip('"') == "" # External bake disabled. +assert not sim.getboolean("DataSnapshot", "index_sims") +assert not sim.getboolean("JsonStore", "Enabled") +assert sim.getboolean("NexVerseNodeAgent", "LogForwardingEnabled") +assert sim.get("Architecture", "Include-Architecture").strip('"') == ( + "config-include/GridHypergrid.ini") +assert sim_example.get("Architecture", "Include-Architecture").strip('"') == ( + "config-include/Standalone.ini") + +required_robust = { + "NexGroups": ("Enabled", "EnableGridWideLand"), + "OGLVoice": ("Enabled", "Mode", "ServiceUrl", "TenantId", + "IncludeHypergridGuests", "EnableSessionAuthority", + "AllowedNodes", "EnableFirestormGateway", "MediaGatewayUrl"), + "NexVerseWorldApi": ("PasswordRecoveryEnabled", + "AdminDocsTrustedProxyAddresses", + "DatabaseMaintenanceCommandTimeoutSeconds"), + "Hypergrid": ("HomeURI", "GatekeeperURI"), +} +for section, keys in required_robust.items(): + for key in keys: + assert robust.has_option(section, key), f"Robust.HG.ini [{section}] {key}" + assert robust_example.has_option(section, key), ( + f"Robust.HG.ini.example [{section}] {key}") + +assert robust.getboolean("NexGroups", "Enabled") +assert robust.getboolean("NexGroups", "EnableGridWideLand") +assert not robust.getboolean("OGLVoice", "Enabled") +assert not robust.getboolean("OGLVoice", "EnableSessionAuthority") +assert not robust.getboolean("OGLVoice", "EnableFirestormGateway") +assert robust.get("OGLVoice", "AllowedNodes").strip('"') == "" +assert not robust.getboolean("NexVerseWorldApi", "PasswordRecoveryEnabled") +assert robust.get("NexVerseWorldApi", "AdminDocsTrustedProxyAddresses").strip('"') == "" +assert robust.getint("NexVerseWorldApi", "DatabaseMaintenanceCommandTimeoutSeconds") == 300 +assert robust.getboolean("OGLFeatureControl", "Enabled") +assert sim.getboolean("OGLFeatureControl", "Enabled") +assert robust.getboolean("NexBus", "Enabled") +assert sim.getboolean("NexVerseNodeAgent", "Enabled") +assert robust.get("NexBus", "SharedKey") == sim.get("NexVerseNodeAgent", "SharedKey") +assert robust.get("OglIarSelfService", "StorageBackend").strip('"') == "WebDAV" +assert sim.get("OpenGenesisLINKIAR", "StorageBackend").strip('"') == "WebDAV" + +# Code-backed parser contract: these names are not decorative INI keys. +code_contracts = ( + ("OpenSim/Region/CoreModules/World/Estate/EstateModule.cs", + ("EstateCommunicationsHandler", 'GetInt("Port"', 'GetString("Token"')), + ("OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs", + ('Configs["XBakes"]', 'GetString("URL"')), + ("OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs", + ('GetBoolean("enable_materials"', 'GetInt("MaxMaterialsPerTransaction"')), + ("NexVerse/Server/Api/NexVerseWorldApiConnector.cs", + ('GetBoolean("EnableGridWideLand"', 'GetBoolean("EnableSessionAuthority"', + 'GetInt("DatabaseMaintenanceCommandTimeoutSeconds"')), + ("NexVerse/RegionModules/NodeAgent/NexVerseNodeAgentModule.cs", + ('GetBoolean("LogForwardingEnabled"',)), +) +for path, needles in code_contracts: + code = text(path) + for needle in needles: + assert needle in code, f"Unsupported key contract {needle} in {path}" + +# Critical operator warning text must remain visible in the editable INIs. +for path in ("bin/OpenSim.ini", "bin/Robust.HG.ini"): + contents = text(path) + assert contents.count("KRITISCH") >= 5, path + assert "G1_CONFIG_AUDIT.md" in contents, path + +print("OpenGenesisLINK G1: simulator/ROBUST/Hypergrid contract and INI coverage: PASS") diff --git a/tools/ci/verify_opensim_autoports.py b/tools/ci/verify_opensim_autoports.py index 7eabd587..bed5b0da 100644 --- a/tools/ci/verify_opensim_autoports.py +++ b/tools/ci/verify_opensim_autoports.py @@ -12,15 +12,22 @@ for rel, arch, enabled, http, xmlrpc in ( cfg = ConfigParser(interpolation=None, strict=True) cfg.optionxform = str cfg.read_string(src) - # The active Stadt-NexVerse simulator INI now contains four fully - # configured Generation-1 city modules. Keep the compactness gate for - # the reusable Standalone example and a bounded site-specific allowance - # for the active simulator INI, without dropping the strict INI parser, - # HTTP auto-port checks or disabled-Experiences contract. - # The compact profiles now also declare the WebDAV IAR backend without - # changing existing startup/physics/auto-port semantics. - max_lines = 400 if rel == "bin/OpenSim.ini" else 340 + # G1 configuration guide intentionally includes extensive safety comments. + # Bound the ACTUAL CONFIGURATION SURFACE (active assignments), rather than + # rejecting comments that explain high-risk Hypergrid/DB/feature switches. + # Keep a separate generous physical bound against accidental bulk-copying + # of the entire defaults file into these operator-specific profiles. + max_lines = 950 if rel == "bin/OpenSim.ini" else 800 + max_active_keys = 350 if rel == "bin/OpenSim.ini" else 300 + active_lines = [ + line for line in src.splitlines() + if line.strip() and not line.lstrip().startswith((";", "#", "[")) + and "=" in line + ] assert len(src.splitlines()) < max_lines, rel + assert len(active_lines) <= max_active_keys, ( + rel, "active configuration is no longer compact", len(active_lines) + ) assert "[Startup] section below." not in src assert not any(k in cfg.sections() for k in ("OGLPathfinding", "OGLNpcNavigation")) assert cfg.get("Architecture", "Include-Architecture").strip('"') == arch