aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorDiva Canto2011-04-27 07:02:37 -0700
committerDiva Canto2011-04-27 07:02:37 -0700
commite0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f (patch)
tree3f9b2bc869684c243ecb66ac99e2ce48098ee708 /bin
parentBump minimum required mono to 2.4.3 from 2.4.2. OpenSim fails at runtime bel... (diff)
downloadopensim-SC-e0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f.zip
opensim-SC-e0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f.tar.gz
opensim-SC-e0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f.tar.bz2
opensim-SC-e0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f.tar.xz
Thank you Snoopy for a patch that adds some filtering to client versions allowed at login and HG-login times. NOTE: additional (optional) configuration variables in [LoginService] and [GatekeeperService]. See .examples.
Diffstat (limited to 'bin')
-rw-r--r--bin/Robust.HG.ini.example33
-rw-r--r--bin/Robust.ini.example17
-rw-r--r--bin/config-include/StandaloneCommon.ini.example34
3 files changed, 84 insertions, 0 deletions
diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example
index f2f2a66..572497c 100644
--- a/bin/Robust.HG.ini.example
+++ b/bin/Robust.HG.ini.example
@@ -197,6 +197,23 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
197 SRV_AssetServerURI = "http://127.0.0.1:8002" 197 SRV_AssetServerURI = "http://127.0.0.1:8002"
198 SRV_ProfileServerURI = "http://127.0.0.1:8002/user" 198 SRV_ProfileServerURI = "http://127.0.0.1:8002/user"
199 199
200 ;; Regular expressions for controlling which client versions are accepted/denied.
201 ;; An empty string means nothing is checked.
202 ;;
203 ;; Example 1: allow only these 3 types of clients (any version of them)
204 ;; AllowedClients = "Imprudence|Hippo|Second Life"
205 ;;
206 ;; Example 2: allow all clients except these
207 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
208 ;;
209 ;; Note that these are regular expressions, so every character counts.
210 ;; Also note that this is very weak security and should not be trusted as a reliable means
211 ;; for keeping bad clients out; modified clients can fake their identifiers.
212 ;;
213 ;;
214 ;AllowedClients = ""
215 ;DeniedClients = ""
216
200[GridInfoService] 217[GridInfoService]
201 ; These settings are used to return information on a get_grid_info call. 218 ; These settings are used to return information on a get_grid_info call.
202 ; Client launcher scripts and third-party clients make use of this to 219 ; Client launcher scripts and third-party clients make use of this to
@@ -256,6 +273,22 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
256 ; If you run this gatekeeper server behind a proxy, set this to true 273 ; If you run this gatekeeper server behind a proxy, set this to true
257 ; HasProxy = false 274 ; HasProxy = false
258 275
276 ;; Regular expressions for controlling which client versions are accepted/denied.
277 ;; An empty string means nothing is checked.
278 ;;
279 ;; Example 1: allow only these 3 types of clients (any version of them)
280 ;; AllowedClients = "Imprudence|Hippo|Second Life"
281 ;;
282 ;; Example 2: allow all clients except these
283 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
284 ;;
285 ;; Note that these are regular expressions, so every character counts.
286 ;; Also note that this is very weak security and should not be trusted as a reliable means
287 ;; for keeping bad clients out; modified clients can fake their identifiers.
288 ;;
289 ;;
290 ;AllowedClients = ""
291 ;DeniedClients = ""
259 292
260[UserAgentService] 293[UserAgentService]
261 LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService" 294 LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService"
diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example
index aef0596..047e9ee 100644
--- a/bin/Robust.ini.example
+++ b/bin/Robust.ini.example
@@ -176,6 +176,23 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
176 ; If you run this login server behind a proxy, set this to true 176 ; If you run this login server behind a proxy, set this to true
177 ; HasProxy = false 177 ; HasProxy = false
178 178
179 ;; Regular expressions for controlling which client versions are accepted/denied.
180 ;; An empty string means nothing is checked.
181 ;;
182 ;; Example 1: allow only these 3 types of clients (any version of them)
183 ;; AllowedClients = "Imprudence|Hippo|Second Life"
184 ;;
185 ;; Example 2: allow all clients except these
186 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
187 ;;
188 ;; Note that these are regular expressions, so every character counts.
189 ;; Also note that this is very weak security and should not be trusted as a reliable means
190 ;; for keeping bad clients out; modified clients can fake their identifiers.
191 ;;
192 ;;
193 ;AllowedClients = ""
194 ;DeniedClients = ""
195
179[GridInfoService] 196[GridInfoService]
180 ; These settings are used to return information on a get_grid_info call. 197 ; These settings are used to return information on a get_grid_info call.
181 ; Client launcher scripts and third-party clients make use of this to 198 ; Client launcher scripts and third-party clients make use of this to
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example
index dcebd63..67efa11 100644
--- a/bin/config-include/StandaloneCommon.ini.example
+++ b/bin/config-include/StandaloneCommon.ini.example
@@ -83,6 +83,23 @@
83 SRV_AssetServerURI = "http://127.0.0.1:9000" 83 SRV_AssetServerURI = "http://127.0.0.1:9000"
84 SRV_ProfileServerURI = "http://127.0.0.1:9000" 84 SRV_ProfileServerURI = "http://127.0.0.1:9000"
85 85
86 ;; Regular expressions for controlling which client versions are accepted/denied.
87 ;; An empty string means nothing is checked.
88 ;;
89 ;; Example 1: allow only these 3 types of clients (any version of them)
90 ;; AllowedClients = "Imprudence|Hippo|Second Life"
91 ;;
92 ;; Example 2: allow all clients except these
93 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
94 ;;
95 ;; Note that these are regular expressions, so every character counts.
96 ;; Also note that this is very weak security and should not be trusted as a reliable means
97 ;; for keeping bad clients out; modified clients can fake their identifiers.
98 ;;
99 ;;
100 ;AllowedClients = ""
101 ;DeniedClients = ""
102
86[GatekeeperService] 103[GatekeeperService]
87 ExternalName = "http://127.0.0.1:9000" 104 ExternalName = "http://127.0.0.1:9000"
88 105
@@ -90,6 +107,23 @@
90 ; If false, HG TPs happen only to the Default regions specified in [GridService] section 107 ; If false, HG TPs happen only to the Default regions specified in [GridService] section
91 AllowTeleportsToAnyRegion = true 108 AllowTeleportsToAnyRegion = true
92 109
110 ;; Regular expressions for controlling which client versions are accepted/denied.
111 ;; An empty string means nothing is checked.
112 ;;
113 ;; Example 1: allow only these 3 types of clients (any version of them)
114 ;; AllowedClients = "Imprudence|Hippo|Second Life"
115 ;;
116 ;; Example 2: allow all clients except these
117 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
118 ;;
119 ;; Note that these are regular expressions, so every character counts.
120 ;; Also note that this is very weak security and should not be trusted as a reliable means
121 ;; for keeping bad clients out; modified clients can fake their identifiers.
122 ;;
123 ;;
124 ;AllowedClients = ""
125 ;DeniedClients = ""
126
93[GridInfoService] 127[GridInfoService]
94 ; These settings are used to return information on a get_grid_info call. 128 ; These settings are used to return information on a get_grid_info call.
95 ; Client launcher scripts and third-party clients make use of this to 129 ; Client launcher scripts and third-party clients make use of this to