diff options
author | Justin Clark-Casey (justincc) | 2011-10-08 01:23:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-08 01:23:26 +0100 |
commit | 4073cd6ced525cb36e4335e79e3f94ad4872b263 (patch) | |
tree | 58fae0e9d6211967fe084c0d6e96cb58fb59717b /bin | |
parent | Go back to lying that sim fps is 55 when it's actually locked at a maximum of... (diff) | |
download | opensim-SC-4073cd6ced525cb36e4335e79e3f94ad4872b263.zip opensim-SC-4073cd6ced525cb36e4335e79e3f94ad4872b263.tar.gz opensim-SC-4073cd6ced525cb36e4335e79e3f94ad4872b263.tar.bz2 opensim-SC-4073cd6ced525cb36e4335e79e3f94ad4872b263.tar.xz |
Add option to allow only explicitly listed IPs to access RemoteAdmin facilities.
Also adds password check to some functions where this was missing and fixes some parameter checking.
This is a patch from http://opensimulator.org/mantis/view.php?id=5715 with a few small unrelated spacing tweaks from me.
Thanks Michelle Argus.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 4 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index d795952..d7c3a64 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -405,6 +405,10 @@ | |||
405 | ;; the "password" parameter) | 405 | ;; the "password" parameter) |
406 | ; access_password = "" | 406 | ; access_password = "" |
407 | 407 | ||
408 | ;# List the IP addresses allowed to call RemoteAdmin | ||
409 | ;; access_ip_addresses = 0.0.0.0, 0.0.0.0 ... | ||
410 | ; access_ip_addresses = | ||
411 | |||
408 | ;# {create_region_enable_voice} {enabled:true} {Enable voice for newly created regions?} {true false} false | 412 | ;# {create_region_enable_voice} {enabled:true} {Enable voice for newly created regions?} {true false} false |
409 | ;; set this variable to true if you want the create_region XmlRpc | 413 | ;; set this variable to true if you want the create_region XmlRpc |
410 | ;; call to unconditionally enable voice on all parcels for a newly | 414 | ;; call to unconditionally enable voice on all parcels for a newly |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index c4f5592..a2542da 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -802,6 +802,10 @@ | |||
802 | ; This password is required to make any XMLRPC call (should be set as the "password" parameter) | 802 | ; This password is required to make any XMLRPC call (should be set as the "password" parameter) |
803 | access_password = unknown | 803 | access_password = unknown |
804 | 804 | ||
805 | ; List the IP addresses allowed to call RemoteAdmin | ||
806 | ; access_ip_addresses = 0.0.0.0, 0.0.0.0 ... | ||
807 | ; access_ip_addresses = | ||
808 | |||
805 | ; set this variable to true if you want the create_region XmlRpc | 809 | ; set this variable to true if you want the create_region XmlRpc |
806 | ; call to unconditionally enable voice on all parcels for a newly | 810 | ; call to unconditionally enable voice on all parcels for a newly |
807 | ; created region [default: false] | 811 | ; created region [default: false] |