This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

OPENSIM OSSL SCRIPTBEFEHL KONFIGURATION in der osslEnable.ini
#1
OPENSIM KONFIGURATION der osslEnable.ini

Kaum ein Thema kann so kontrovers geführt werden wie die Freisschaltung von OSSL Scriptbefehlen.

Es hängt stark davon ab welchen Standpunkt man vertritt:

Von alles verbieten- dann sind Opensim Scripte so dumm wie SL Scripte:
Dann gehen keine Opensim Funktionen wie NPCs, Windlight, optimierte Notecard Bearbeitung etc.
In der Folge kann man die meisten Dinge die speziell für Opensim gescriptet wurden auf dem eigenen Land vergessen.

Von den gut bekannten Scripten gehen nicht: PMAC, Tanzball, Danceliner, NPC Tools,...


Alles Erlauben, aber das hat leider ein hohes Missbrauchspotential.
Leider gibt es einen Haufen "Deppen" wie wir in Bayern sagen, die nichts anderes im Kopfe haben als Leuten zu schaden.
Erlaubt man alles, so kann das Grid komplett zerstört, und die Privatspäre untergraben werden.


Daher habe ich es mir nicht leicht gemacht.
Als Scripter und Gridbesitzer mit hohem Anspruch, versuche ich "soviel wie möglich" an Scriptfunktionalität zu erlauben.

Also soviel erlauben das alle (aus meiner Sicht) ungefährlichen Befehle gehen.
Aber auch einiges Limitieren um Angriffe oder Überwachung zu verhindern und die Privatspäre zu sichern.

Unter diesem Aspekt muss man die nun folgende Konfigurationsdatei sehen.

Ich habe für euch Komentare zu den Passagen eingefügt, damit meine Auswahl transparent wird, und nachvollziehbar.
Ausserdem habe ich bei einigen Passagen die "unterschiedlich" gesehen werden können auch (auskommentierte) Alternativen angefügt.

Die Datei entstammt einer Opensim Version 0.9.2.1.
Andere Opensim Versionen können andere Syntax aufweisen, oder andere Befehle unterstützen.

Befehle die hier nicht aufgeführt sind, werden dann mit den Standard Rechten der Simulatorversion ausgeführt.
Diese Standard Rechte befinden sich im gleichen Verzeichnis in der Datei osslDefaultEnable.ini.

Hier mein Vorschlag zu Konfiguration der osslEnable.ini :

Code:
; Enable OSSL functions.

[OSSL]
  ; Allow the use of os* functions (some are always available)
  AllowOSFunctions = true

  AllowMODFunctions = true
  ; Allow the use of LightShare functions.
  ; The setting enable_windlight = true must also be enabled in the [LightShare] section.
  AllowLightShareFunctions = true

  ; Send function permission error to owner if true, to all if false
  PermissionErrorToOwner = false
 
  ; Function Threat level
  ; Several functions have a predefined threat level, one of:  None, VeryLow, Low, Moderate, High, VeryHigh, Severe.
  ; See http://opensimulator.org/wiki/Threat_level for more information on these levels.
  ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher
  ;   than 'Low' unless you have a high level of trust in all the users that can run scripts
  ;   in your simulator.  It is safer to explicitly allow certain types of user to run
  ;   higher threat level OSSL functions, as detailed later on.
  ; This setting defines the highest level allowed to execute
  OSFunctionThreatLevel = VeryLow

  ; The threat level can be replaced by more detailed rules by lines of the form
  ; Allow_FunctionName = parameters
  ; To use the default threat level coment the respective line
  ; parameters can be:
  ; 'false' disables the function.
  ; 'true' enables for everyone
  ;  or to enable for individuals or groups, set it to a comma separated list. This checks
  ;    against the owner of the object containing the script.
  ;    The comma separated entries in the list may be one of:
  ;           "GRID_GOD" -- enable for users with UserLevel >= 200
  ;           "GOD" -- enable for users with rights to be god (local or grid)
  ;           "ACTIVE_GOD" -- enable for users that are present and with active god power
  ;           "ESTATE_MANAGER" -- enable for estate manager
  ;           "ESTATE_OWNER" -- enable for estate owner
  ;           "PARCEL_OWNER" -- enable for parcel owner
  ;           "PARCEL_GROUP_MEMBER" -- enable for any member of the parcel group
  ;           uuid -- enable for specified ID (may be avatar or group ID)
  ;    from this we can also create macros that can be include in the list as
  ;    ${OSSL|macroname} see examples below

  ; parcel macros
  ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if
  ;    a region is selling or otherwise giving away parcel ownership. By default, parcel
  ;    ownership or group membership does not enable OSSL functions. Uncomment the
  ;    appropriate line below to allow parcel ownership and groups to do restricted
  ;    OSSL functions. It might be better to check the list below and edit the ones
  ;    to enable individually.
  osslParcelO = "PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER"
  osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER"

  osslNPC =                         true
  ; The threat level also can be replaced by lines of the form
  ; Creators__FunctionName = comma separated list of UUIDs
  ; this will enable the function for users that are the script creators and owners of the prim


  ; *************************************************

  ; ThreatLevel  None
 
; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte 
  Allow_osGetAgents =               ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch
 
  Allow_osDrawEllipse =             true
  Allow_osDrawFilledPolygon =       true
  Allow_osDrawFilledRectangle =     true
  Allow_osDrawImage =               true
  Allow_osDrawLine =                true
  Allow_osDrawPolygon =             true
  Allow_osDrawRectangle =           true
  Allow_osDrawText =                true
  Allow_osGetAgents =               true

; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte
  Allow_osGetAvatarList =           ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch 
 
  Allow_osGetCurrentSunHour =       true
  Allow_osGetGender =               true
  Allow_osGetHealth =               true
  Allow_osGetHealRate =             true
  Allow_osGetNPCList =              true
  Allow_osGetInventoryDesc  =       true
  Allow_osGetMapTexture =           true
  Allow_osGetRegionSize =           true
  Allow_osGetRezzingObject =        true
  Allow_osGetSunParam =             true
  Allow_osGetTerrainHeight =        true
  Allow_osIsNpc =                   true
  Allow_osIsUUID =                  true
  Allow_osList2Double =             true
  Allow_osMax =                     true
  Allow_osMin =                     true
  Allow_osMovePen =                 true
  Allow_osNpcGetOwner =             true
  Allow_osParseJSON =               true
  Allow_osParseJSONNew =            true
  Allow_osSetFontName =             true
  Allow_osSetFontSize =             true
  Allow_osSetPenCap =               true
  Allow_osSetPenColor =             true
  Allow_osSetPenSize =              true
 
; FUNKTION kann Sim Einstellungen verändern gegen Willen des Besitzers, daher Einschränkung auf Berechtigte 
  Allow_osSetSunParam =             ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch  
 
  Allow_osTeleportOwner =           true
  Allow_osWindActiveModelPluginName = true
  Allow_osCheckODE =                true    ; Here for completeness. This function cannot be turned off

  ; ThreatLevel  Nuisance
; FUNKTION kann Sim Einstellungen verändern gegen Willen des Besitzers, daher Einschränkung auf Berechtigte 
  Allow_osSetEstateSunSettings =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetRegionSunSettings =    ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch


  ; ThreatLevel  VeryLow
; KRITISCH: Könnte von Griefern missbraucht werden um Gruppenzugang zur Sim zu zerstören
  Allow_osEjectFromGroup =          ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch  

; BRANDGEFÄHRLICH. Könnte von Griefern missbraucht werden um Sims zu zerstörten. Sinnvolle Anwendung fraglich
  Allow_osForceBreakAllLinks =      false
  Allow_osForceBreakLink =          false
; Ende brandgefährlich

  Allow_osGetWindParam =            true
 
; SEHR KRITISCH: Kann durch Unberechtigte zur Privileg Escalation verwendet werden um sich selbst Gruppenzugang zu Sims zu gewähren.
  Allow_osInviteToGroup =           ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; Ende sehr kritisch

  Allow_osReplaceString =           true
 
; Verhindern von Griefer Angriffen. Ermöglicht immer noch gewollte Nutzung wenn Scriptobjekt von Berechtigten gerezzt wurde.
  Allow_osSetDynamicTextureData =       ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureDataFace =   ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureDataBlend =  ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureDataBlendFace = ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetParcelMediaURL =       ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetParcelMusicURL =       ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch 
 
; KRITISCH Könnte zur Übernahme der Voice Kommunikation auf der Sim missbraucht werden.
  Allow_osSetParcelSIPAddress =     ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  Allow_osSetPrimFloatOnWater =     true
  Allow_osSetWindParam =            true

; KRITISCH: Könnte zum Griefen missbraucht werden
  Allow_osTerrainFlush =            ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  Allow_osUnixTimeToTimestamp =     true

  ; ThreatLevel  Low
  Allow_osAvatarName2Key =          true
  Allow_osFormatString =            true
  Allow_osKey2Name =                true
  Allow_osListenRegex =             true

; KRITISCH: Ausnutzung als Asset Spionage Funktion möglich
  Allow_osLoadedCreationDate =      ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osLoadedCreationID =        ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osLoadedCreationTime =      ${OSSL|osslParcelOG},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch 

  Allow_osMessageObject =           true
  Allow_osRegexIsMatch =            true
  Allow_osGetAvatarHomeURI =         true
  Allow_osNpcSetProfileAbout =      true
  Allow_osNpcSetProfileImage =      true
 
; SEHR KRITISCH: Funktion die von Griefern missbraucht werden könnte um AVAs sterben zu lassen
  Allow_osDie =                     false
; Optional für Sims die Kampf enablen:   Allow_osDie =  ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
; ENDE sehr Kritisch

    ; ThreatLevel  Moderate
; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte 
  Allow_osDetectedCountry =         ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osGetAgentCountry =         ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER 
; ENDE Kritisch 
 
; VARIANTEN: Erlaubt RLV ähnliches Scripting, wenn erwünscht.
  Allow_osDropAttachment =          true
  Allow_osDropAttachmentAt =        true
; wenn dies Verhalten nicht pauschal erwünscht, auf Berechtigte Einschränken:
;  Allow_osDropAttachment =          ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osDropAttachmentAt =        ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Varianten 
 
  Allow_osGetGridCustom =           true
  Allow_osGetGridGatekeeperURI =    true
  Allow_osGetGridHomeURI =          true
  Allow_osGetGridLoginURI =         true
  Allow_osGetGridName =             true
  Allow_osGetGridNick =             true
  Allow_osGetNumberOfAttachments =  true
  Allow_osGetRegionStats =          true
  Allow_osMessageAttachments =      true
  Allow_osSetSpeed =                true
  Allow_osSetOwnerSpeed =           true

; LEICHT KRITISCH. Könnte genutzt werden um Simulator Sicherheit zu unterlaufen
  Allow_osGetSimulatorMemory =      ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osGetSimulatorMemoryKB =    ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osReplaceAgentEnvironment = ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRequestURL =              ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRequestSecureURL =        ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ende leicht Kritisch 
 

  ; ThreatLevel High
; KRITISCH. Kann zum Griefen missbraucht werden. Dient aber auch Kampfsystemen
  Allow_osCauseDamage =             ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osCauseHealing =            ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetHealth =               ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetHealRate =             ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch
 
; VARIANTEN: ermöglicht komfortable Poser wie PMAC2.8, die zum Beispiel Gläser in de Hand zaubern, sowie RLV ähnliches Scripting
; Hat aber auch Missbrauchs Potential. Wer auf Sicher gehen will nimmt die auskommentierten Zeilen
  Allow_osForceAttachToAvatar =     true
  Allow_osForceAttachToAvatarFromInventory = true
  Allow_osForceCreateLink =         true
  Allow_osForceDropAttachment =     true
  Allow_osForceDropAttachmentAt =   true
;  Allow_osForceAttachToAvatar =     ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceAttachToAvatarFromInventory = ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceCreateLink =         ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceDropAttachment =     ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceDropAttachmentAt =   ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER 
; ENDE Varianten
 
  Allow_osGetLinkPrimitiveParams =  true
  Allow_osGetPhysicsEngineType =    true
  Allow_osGetPrimitiveParams =      true
  Allow_osGetRegionMapTexture =     true
  Allow_osGetScriptEngineName =     true
  Allow_osGetSimulatorVersion =     true

; KRITISCH. Missbrauchs Potential. Ermöglicht Clonen von fremden AVAs in NPC Notecards, auch ohne Wissen.
  Allow_osMakeNotecard =            ${OSSL|osslParcelOG}
 
; KRITISCH ermöglicht griefen durch rezzen unzähliger NPCs zur Sim Überlastung
  Allow_osNpcCreate =               ${OSSL|osslParcelOG}
; ENDE Kritisch

  Allow_osMatchString =             true
  Allow_osNpcGetPos =               true
  Allow_osNpcGetRot =               true
  Allow_osNpcLoadAppearance =       true
  Allow_osNpcMoveTo =               true
  Allow_osNpcMoveToTarget =         true
  Allow_osNpcPlayAnimation =        true
  Allow_osNpcRemove =               true
  Allow_osNpcSaveAppearance =       true
  Allow_osNpcSay =                  true
  Allow_osNpcSayTo =                true
  Allow_osNpcSetRot =               true
  Allow_osNpcShout =                true
  Allow_osNpcSit =                  true
  Allow_osNpcStand =                true
  Allow_osNpcStopAnimation =        true
  Allow_osNpcStopMoveToTarget =     true
  Allow_osNpcTouch =                true
  Allow_osNpcWhisper =              true
  Allow_osGetPrimitiveParams =      true
 
; SEHR KRITISCH. Ermöglicht Griefing wenn in falschen Händen
  Allow_osParcelJoin =              ESTATE_MANAGER,ESTATE_OWNER
  Allow_osParcelSubdivide =         ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRegionRestart =           ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRegionNotice =            ${OSSL|osslParcelOG}
  Allow_osSetProjectionParams =     ${OSSL|osslParcelOG}
  Allow_osSetRegionWaterHeight =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainHeight =        ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainTexture =       ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainTextureHeight = ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  ; ThreatLevel  VeryHigh
; KRITISCH. Missbrauchs Potential. Ermöglicht Clonen von fremden AVAs in NPC Notecards auch ohne Wissen
  Allow_osAgentSaveAppearance =     ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch  
 
  Allow_osAvatarPlayAnimation =     true
  Allow_osAvatarStopAnimation =     true
 
; KRITISCH, ermöglicht RLV ähnliches Scripting oder Griefing
  Allow_osForceAttachToOtherAvatarFromInventory = true
  Allow_osForceDetachFromAvatar =   true
  Allow_osForceOtherSit =           true
;  Allow_osForceAttachToOtherAvatarFromInventory = ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceDetachFromAvatar =   ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
;  Allow_osForceOtherSit =           ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER 
; ENDE Kritisch 
 
  Allow_osGetNotecard =             true
  Allow_osGetNotecardLine =         true
  Allow_osGetNumberOfNotecardLines = true
  Allow_osSetRot  =                 true
 
; KRITISCH Verhindern von Griefer Angriffen. Ermöglicht immer noch gewollte Nutzung wenn Scriptobjekt von Berechtigten gerezzt wurde.
  Allow_osSetDynamicTextureURL =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureURLBlend = ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureURLBlendFace = ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetParcelDetails =        ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  ; ThreatLevel  Severe
  Allow_osConsoleCommand =          false
; KRITISCH: Griefing Potential
  Allow_osKickAvatar =              ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
  Allow_osTeleportObject =          ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch
 
  Allow_osTeleportAgent =           true


  ; ThreatLevel  Severe with additional internal restrictions
  Allow_osGetAgentIP =              true   ; always restricted to Administrators (true or false to disable)
  Allow_osSetContentType =          false


; Always available
; see http://opensimulator.org/wiki/Category:OSSL_Functions

;; do no remove this line
Include-osslEnable = "config-include/osslEnable.ini"



Den obigen Inhalt speichert ihr als osslEnable.ini  ab, und kopiert ihn in jeder Instanz in das Unterverzeichnis \bin\config-include  hinein.

Damit er überhaupt vom Simulator ausgewertet wird muss man einen Aufruf in der Opensim.ini haben.

Dieser befindet sich in dieser Form in der Opensim.ini :

[OSSL]
    Include-osslDefaultEnable = "config-include/osslDefaultEnable.ini"
    Include-osslEnable = "config-include/osslEnable.ini"
Zitieren
#2
Hallo Tron,

dies kann man in dieser Beziehung dann ja nur so umsetzen wie Du schreibst. Irgendwelche Manipulationen an anderer Stelle sollten natürlich auch

(je nach Wissensstand) unterbunden werden. OpenSim hat leider nicht nur Risse im Mauerwerk. Es ist ein Haus mit ganz vielen Gipsmarken.

Ja und leider auch ein Spielpaltz für fiese Spielereien. Werde das einpflegen!
All done!
Zitieren
#3
Hallo Lukas,

ja es ist auf jeden Fall eine erprobte Ausgangsbasis.

Übrigens falls man zu restiktiv wäre, würden die betroffenen Scripte nicht still versagen, sondern die Sim mit Fehlermeldungen überziehen.
Man merkt also manche Dinge schnell wenn vor der Umstellung noch alles ging.

Das könnte evt auch Darks Probleme mit dem PMAC früher erklären, die dann aber an zu restriktiver OSSL Berechtigung gelegen haben könnte.

Ich würde mir wünschen das die Default Auslieferung der Opensim Serversoftware bereits einen brauchbaren Stand mitbringen würde, der Hypergridweite Kompatibilität ermöglichte. Leider war dem bisher nicht so.

Gruß Tron

PS: Es kommt ja bald wieder Halloween. Das wäre ja mal ne Möglichkeit auf unsere Gruselsim Abyss zur Party zu laden.

   
Zitieren
#4
Hallo Tron,

eine Party auf der Gruselsim Abyss wäre ja absolut thematisch passend. In OpenSim haben wir ja auch auch absolut geniale DJ's.

Da kann das öffentlich-rechtliche Radio schon mal nach Hause gehen. Insofern möglich, plane doch einfach nächste Woche einen Abend ein.

Flyer machen, DJ + Datum drauf und hier rein damit. Wir haben sogar das Glück, einige der besten DJ's hier im Forum zu haben.

Das schwierigste ist die Auswahl vom DJ! Keine leichte Aufgabe, da selbige ja alle gut sind.

Ich plane und habe auch noch einige Ideen in Zusammenarbeit für dieses Jahr.

Gruß

Lukas
All done!
Zitieren
#5
Hallo Tron,

sorry das ich mich mal wieder zu Wort melde. Aber Du wieder sprichst Dir in der config selbst.

Du schreibst
; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte
Allow_osDetectedCountry = ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
Allow_osGetAgentCountry = ${OSSL|osslParcelO},ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

soweit so gut

ABER Du setzt das was wesentlich mehr die "Privatsphäre" verletzen kann auf True

; ThreatLevel Severe with additional internal restrictions
Allow_osGetAgentIP = true ; always restricted to Administrators (true or false to disable)

Wenn ich die Agent Ip habe, die man eh in den lesen kann, kann ich mit den Avas und den Rechnern dahinter, noch ganz andere Dinge machen. Hier handelt es sich um die aktuelle Einwahl Ip des Root Agent.
Was ist da wohl ungeschickter?

Abgesehen davon, sind da noch weitere Einstellungen, die Du nochmal überdenken solltest Smile
Zitieren
#6
Hallo Dark, der von dir beanstandete Eintrag ist ein unveränderbarer System Default.

Allow_osGetAgentIP = true ; always restricted to Administrators (true or false to disable)

Der hat Sytemmäßig IMMER eine Einschränkung auf Administratoren.
Der Kommentar stammt nicht von mir, sondern vom System.

Aber natürlich wäre das eine kritische Funktion wenn da "jeder" innerhalb des Simulators drauf zugreifen könnte.

Der Administrator kann das aber ohnehin, auch ausserhalb von Opensim.
Da gibts nette Tools die jede IP registrieren die sich auf den Server anmeldet.
Um Angriffe zu parieren ist das auch ok.

Die gleiche IP fällt bei allen Internet Diensten an, da die gesamte Kommunikation auf IP basiert.
Also auch bei Suchmaschinen, Webseiten, Werbetrackern, ...., und nicht zu vergessen bei dem DNS Provider den man nutzt.

Wer seine IP verstecken will muß zwangsläufig Dienste wie VPN etc in Anspruch nehmen.

Und wie ich Anfangs schrieb: Dies ist meine Lösung, für meinen Bedarf. Jemand anders kann es als Vorlage für die eigene Lösung verwenden- oder auch nicht.
Zitieren
#7
Mir fiel auf das sich die OSSL.ini Datei noch optimieren läßt.

Da die Präprozessor Makros   osslParcelO = "PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER" schon die Estate Owner und Manager enthalten, war das doppelt gemoppelt, aber nicht fehlerhaft.

Ebenso ist das mit   osslParcelO = "PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER"

Folglich läßt sich dioe OSSL.ini sovereifachen:

Code:
; Enable OSSL functions.

[OSSL]
  ; Allow the use of os* functions (some are always available)
  AllowOSFunctions = true

  AllowMODFunctions = true
  ; Allow the use of LightShare functions.
  ; The setting enable_windlight = true must also be enabled in the [LightShare] section.
  AllowLightShareFunctions = true

  ; Send function permission error to owner if true, to all if false
  PermissionErrorToOwner = false
 
  ; Function Threat level
  ; Several functions have a predefined threat level, one of:  None, VeryLow, Low, Moderate, High, VeryHigh, Severe.
  ; See http://opensimulator.org/wiki/Threat_level for more information on these levels.
  ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher
  ;   than 'Low' unless you have a high level of trust in all the users that can run scripts
  ;   in your simulator.  It is safer to explicitly allow certain types of user to run
  ;   higher threat level OSSL functions, as detailed later on.
  ; This setting defines the highest level allowed to execute
  OSFunctionThreatLevel = VeryLow

  ; The threat level can be replaced by more detailed rules by lines of the form
  ; Allow_FunctionName = parameters
  ; To use the default threat level coment the respective line
  ; parameters can be:
  ; 'false' disables the function.
  ; 'true' enables for everyone
  ;  or to enable for individuals or groups, set it to a comma separated list. This checks
  ;    against the owner of the object containing the script.
  ;    The comma separated entries in the list may be one of:
  ;           "GRID_GOD" -- enable for users with UserLevel >= 200
  ;           "GOD" -- enable for users with rights to be god (local or grid)
  ;           "ACTIVE_GOD" -- enable for users that are present and with active god power
  ;           "ESTATE_MANAGER" -- enable for estate manager
  ;           "ESTATE_OWNER" -- enable for estate owner
  ;           "PARCEL_OWNER" -- enable for parcel owner
  ;           "PARCEL_GROUP_MEMBER" -- enable for any member of the parcel group
  ;           uuid -- enable for specified ID (may be avatar or group ID)
  ;    from this we can also create macros that can be include in the list as
  ;    ${OSSL|macroname} see examples below

  ; parcel macros
  ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if
  ;    a region is selling or otherwise giving away parcel ownership. By default, parcel
  ;    ownership or group membership does not enable OSSL functions. Uncomment the
  ;    appropriate line below to allow parcel ownership and groups to do restricted
  ;    OSSL functions. It might be better to check the list below and edit the ones
  ;    to enable individually.
  osslParcelO = "PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER"
  osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER,ESTATE_MANAGER,ESTATE_OWNER"

  osslNPC =                         true
  Allow_osNpcCreate =               true 
  ; The threat level also can be replaced by lines of the form
  ; Creators__FunctionName = comma separated list of UUIDs
  ; this will enable the function for users that are the script creators and owners of the prim


  ; *************************************************

  ; ThreatLevel  None
 
; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte 
  Allow_osGetAgents =               ${OSSL|osslParcelOG}
; Ende kritisch
 
  Allow_osDrawEllipse =             true
  Allow_osDrawFilledPolygon =       true
  Allow_osDrawFilledRectangle =     true
  Allow_osDrawImage =               true
  Allow_osDrawLine =                true
  Allow_osDrawPolygon =             true
  Allow_osDrawRectangle =           true
  Allow_osDrawText =                true
  Allow_osGetAgents =               true

; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte
  Allow_osGetAvatarList =           ${OSSL|osslParcelOG}
; Ende kritisch 
 
  Allow_osGetCurrentSunHour =       true
  Allow_osGetGender =               true
  Allow_osGetHealth =               true
  Allow_osGetHealRate =             true
  Allow_osGetNPCList =              true
  Allow_osGetInventoryDesc  =       true
  Allow_osGetMapTexture =           true
  Allow_osGetRegionSize =           true
  Allow_osGetRezzingObject =        true
  Allow_osGetSunParam =             true
  Allow_osGetTerrainHeight =        true
  Allow_osIsNpc =                   true
  Allow_osIsUUID =                  true
  Allow_osList2Double =             true
  Allow_osMax =                     true
  Allow_osMin =                     true
  Allow_osMovePen =                 true
  Allow_osNpcGetOwner =             true
  Allow_osParseJSON =               true
  Allow_osParseJSONNew =            true
  Allow_osSetFontName =             true
  Allow_osSetFontSize =             true
  Allow_osSetPenCap =               true
  Allow_osSetPenColor =             true
  Allow_osSetPenSize =              true
 
; FUNKTION kann Sim Einstellungen verändern gegen Willen des Besitzers, daher Einschränkung auf Berechtigte 
  Allow_osSetSunParam =             ${OSSL|osslParcelOG}
; Ende kritisch  
 
  Allow_osTeleportOwner =           true
  Allow_osWindActiveModelPluginName = true
  Allow_osCheckODE =                true    ; Here for completeness. This function cannot be turned off

  ; ThreatLevel  Nuisance
; FUNKTION kann Sim Einstellungen verändern gegen Willen des Besitzers, daher Einschränkung auf Berechtigte 
  Allow_osSetEstateSunSettings =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetRegionSunSettings =    ESTATE_MANAGER,ESTATE_OWNER
; Ende kritisch


  ; ThreatLevel  VeryLow
; KRITISCH: Könnte von Griefern missbraucht werden um Gruppenzugang zur Sim zu zerstören
  Allow_osEjectFromGroup =          ${OSSL|osslParcelOG}
; Ende kritisch  

; BRANDGEFÄHRLICH. Könnte von Griefern missbraucht werden um Sims zu zerstörten. Sinnvolle Anwendung fraglich
  Allow_osForceBreakAllLinks =      false
  Allow_osForceBreakLink =          false
; Ende brandgefährlich

  Allow_osGetWindParam =            true
 
; SEHR KRITISCH: Kann durch Unberechtigte zur Privileg Escalation verwendet werden um sich selbst Gruppenzugang zu Sims zu gewähren.
  Allow_osInviteToGroup =           ${OSSL|osslParcelOG}
; Ende sehr kritisch

  Allow_osReplaceString =           true
 
; Verhindern von Griefer Angriffen. Ermöglicht immer noch gewollte Nutzung wenn Scriptobjekt von Berechtigten gerezzt wurde.
  Allow_osSetDynamicTextureData =       ${OSSL|osslParcelOG}
  Allow_osSetDynamicTextureDataFace =   ${OSSL|osslParcelOG}
  Allow_osSetDynamicTextureDataBlend =  ${OSSL|osslParcelOG}
  Allow_osSetDynamicTextureDataBlendFace = ${OSSL|osslParcelOG}
  Allow_osSetParcelMediaURL =       ${OSSL|osslParcelOG}
  Allow_osSetParcelMusicURL =       ${OSSL|osslParcelOG}
; ENDE Kritisch 
 
; KRITISCH Könnte zur Übernahme der Voice Kommunikation auf der Sim missbraucht werden.
  Allow_osSetParcelSIPAddress =     ${OSSL|osslParcelOG}
; ENDE Kritisch

  Allow_osSetPrimFloatOnWater =     true
  Allow_osSetWindParam =            true

; KRITISCH: Könnte zum Griefen missbraucht werden
  Allow_osTerrainFlush =            ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  Allow_osUnixTimeToTimestamp =     true

  ; ThreatLevel  Low
  Allow_osAvatarName2Key =          true
  Allow_osFormatString =            true
  Allow_osKey2Name =                true
  Allow_osListenRegex =             true

; KRITISCH: Ausnutzung als Asset Spionage Funktion möglich
  Allow_osLoadedCreationDate =      ${OSSL|osslParcelOG}
  Allow_osLoadedCreationID =        ${OSSL|osslParcelOG}
  Allow_osLoadedCreationTime =      ${OSSL|osslParcelOG}
; ENDE Kritisch 

  Allow_osMessageObject =           true
  Allow_osRegexIsMatch =            true
  Allow_osGetAvatarHomeURI =         true
  Allow_osNpcSetProfileAbout =       true
  Allow_osNpcSetProfileImage =       true
 
; SEHR KRITISCH: Funktion die von Griefern missbraucht werden könnte um AVAs sterben zu lassen
  Allow_osDie =                     false
; Optional für Sims die Kampf enablen:   Allow_osDie =  ${OSSL|osslParcelOG}
; ENDE sehr Kritisch

    ; ThreatLevel  Moderate
; FUNKTION kann Privatsphäre beeinträchtigen, daher Einschränkung auf Berechtigte 
  Allow_osDetectedCountry =         ${OSSL|osslParcelO}
  Allow_osGetAgentCountry =         ${OSSL|osslParcelO}
; ENDE Kritisch 
 
; VARIANTEN: Erlaubt RLV ähnliches Scripting, wenn erwünscht.
  Allow_osDropAttachment =          true
  Allow_osDropAttachmentAt =        true
; wenn dies Verhalten nicht pauschal erwünscht, auf Berechtigte Einschränken:
;  Allow_osDropAttachment =          ${OSSL|osslParcelO}
;  Allow_osDropAttachmentAt =        ${OSSL|osslParcelO}
; ENDE Varianten 
 
  Allow_osGetGridCustom =           true
  Allow_osGetGridGatekeeperURI =    true
  Allow_osGetGridHomeURI =          true
  Allow_osGetGridLoginURI =         true
  Allow_osGetGridName =             true
  Allow_osGetGridNick =             true
  Allow_osGetNumberOfAttachments =  true
  Allow_osGetRegionStats =          true
  Allow_osMessageAttachments =      true
  Allow_osSetSpeed =                true
  Allow_osSetOwnerSpeed =           true

; LEICHT KRITISCH. Könnte genutzt werden um Simulator Sicherheit zu unterlaufen
  Allow_osGetSimulatorMemory =      ${OSSL|osslParcelO}
  Allow_osGetSimulatorMemoryKB =    ${OSSL|osslParcelO}
  Allow_osReplaceAgentEnvironment = ${OSSL|osslParcelO}
  Allow_osRequestURL =              ${OSSL|osslParcelO}
  Allow_osRequestSecureURL =        ${OSSL|osslParcelO}
; ende leicht Kritisch 
 

  ; ThreatLevel High
; KRITISCH. Kann zum Griefen missbraucht werden. Dient aber auch Kampfsystemen
  Allow_osCauseDamage =             ${OSSL|osslParcelO}
  Allow_osCauseHealing =            ${OSSL|osslParcelO}
  Allow_osSetHealth =               ${OSSL|osslParcelO}
  Allow_osSetHealRate =             ${OSSL|osslParcelO}
; ENDE Kritisch
 
; VARIANTEN: ermöglicht komfortable Poser wie PMAC2.8, die zum Beispiel Gläser in de Hand zaubern, sowie RLV ähnliches Scripting
; Hat aber auch Missbrauchs Potential. Wer auf Sicher gehen will nimmt die auskommentierten Zeilen
  Allow_osForceAttachToAvatar =     true
  Allow_osForceAttachToAvatarFromInventory = true
  Allow_osForceCreateLink =         true
  Allow_osForceDropAttachment =     true
  Allow_osForceDropAttachmentAt =   true
;  Allow_osForceAttachToAvatar =     ${OSSL|osslParcelO}
;  Allow_osForceAttachToAvatarFromInventory = ${OSSL|osslParcelO}
;  Allow_osForceCreateLink =         ${OSSL|osslParcelO}
;  Allow_osForceDropAttachment =     ${OSSL|osslParcelO}
;  Allow_osForceDropAttachmentAt =   ${OSSL|osslParcelO}
; ENDE Varianten
 
  Allow_osGetLinkPrimitiveParams =  true
  Allow_osGetPhysicsEngineType =    true
  Allow_osGetPrimitiveParams =      true
  Allow_osGetRegionMapTexture =     true
  Allow_osGetScriptEngineName =     true
  Allow_osGetSimulatorVersion =     true

; KRITISCH. Missbrauchs Potential. Ermöglicht Clonen von fremden AVAs in NPC Notecards, auch ohne Wissen.
  Allow_osMakeNotecard =            ${OSSL|osslParcelOG}
 
; KRITISCH ermöglicht griefen durch rezzen unzähliger NPCs zur Sim Überlastung
  Allow_osNpcCreate =               ${OSSL|osslParcelOG}
; ENDE Kritisch

  Allow_osMatchString =             true
  Allow_osNpcGetPos =               true
  Allow_osNpcGetRot =               true
  Allow_osNpcLoadAppearance =       true
  Allow_osNpcMoveTo =               true
  Allow_osNpcMoveToTarget =         true
  Allow_osNpcPlayAnimation =        true
  Allow_osNpcRemove =               true
  Allow_osNpcSaveAppearance =       true
  Allow_osNpcSay =                  true
  Allow_osNpcSayTo =                true
  Allow_osNpcSetRot =               true
  Allow_osNpcShout =                true
  Allow_osNpcSit =                  true
  Allow_osNpcStand =                true
  Allow_osNpcStopAnimation =        true
  Allow_osNpcStopMoveToTarget =     true
  Allow_osNpcTouch =                true
  Allow_osNpcWhisper =              true
  Allow_osGetPrimitiveParams =      true
 
; SEHR KRITISCH. Ermöglicht Griefing wenn in falschen Händen
  Allow_osParcelJoin =              ESTATE_MANAGER,ESTATE_OWNER
  Allow_osParcelSubdivide =         ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRegionRestart =           ESTATE_MANAGER,ESTATE_OWNER
  Allow_osRegionNotice =            ${OSSL|osslParcelOG}
  Allow_osSetProjectionParams =     ${OSSL|osslParcelOG}
  Allow_osSetRegionWaterHeight =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainHeight =        ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainTexture =       ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetTerrainTextureHeight = ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch

  ; ThreatLevel  VeryHigh
; KRITISCH. Missbrauchs Potential. Ermöglicht Clonen von fremden AVAs in NPC Notecards auch ohne Wissen
  Allow_osAgentSaveAppearance =     ESTATE_MANAGER,ESTATE_OWNER
; ENDE Kritisch  
 
  Allow_osAvatarPlayAnimation =     true
  Allow_osAvatarStopAnimation =     true
 
; KRITISCH, ermöglicht RLV ähnliches Scripting oder Griefing
  Allow_osForceAttachToOtherAvatarFromInventory = true
  Allow_osForceDetachFromAvatar =   true
  Allow_osForceOtherSit =           true
;  Allow_osForceAttachToOtherAvatarFromInventory = ${OSSL|osslParcelO}
;  Allow_osForceDetachFromAvatar =   ${OSSL|osslParcelO}
;  Allow_osForceOtherSit =           ${OSSL|osslParcelO}
; ENDE Kritisch 
 
  Allow_osGetNotecard =             true
  Allow_osGetNotecardLine =         true
  Allow_osGetNumberOfNotecardLines = true
  Allow_osSetRot  =                 true
 
; KRITISCH Verhindern von Griefer Angriffen. Ermöglicht immer noch gewollte Nutzung wenn Scriptobjekt von Berechtigten gerezzt wurde.
  Allow_osSetDynamicTextureURL =    ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureURLBlend = ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetDynamicTextureURLBlendFace = ESTATE_MANAGER,ESTATE_OWNER
  Allow_osSetParcelDetails =        ${OSSL|osslParcelO}
; ENDE Kritisch

  ; ThreatLevel  Severe
  Allow_osConsoleCommand =          false
; KRITISCH: Griefing Potential
  Allow_osKickAvatar =              ${OSSL|osslParcelO}
  Allow_osTeleportObject =          ${OSSL|osslParcelO}
; ENDE Kritisch
 
  Allow_osTeleportAgent =           true


  ; ThreatLevel  Severe with additional internal restrictions
  Allow_osGetAgentIP =              true   ; always restricted to Administrators (true or false to disable)
  Allow_osSetContentType =          false


; Always available
; see http://opensimulator.org/wiki/Category:OSSL_Functions

;; do no remove this line
Include-osslEnable = "config-include/osslEnable.ini"
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste