aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorDiva Canto2013-07-13 17:52:05 -0700
committerDiva Canto2013-07-13 17:52:05 -0700
commit4d93870fe589ec4d184ee1e4165b7a1bbf18abc6 (patch)
treea5a136f3457ca0a5a29ed6a3bb91855dcfaa111d /OpenSim/Services
parentSome more debug to see how many threads are available. (diff)
downloadopensim-SC_OLD-4d93870fe589ec4d184ee1e4165b7a1bbf18abc6.zip
opensim-SC_OLD-4d93870fe589ec4d184ee1e4165b7a1bbf18abc6.tar.gz
opensim-SC_OLD-4d93870fe589ec4d184ee1e4165b7a1bbf18abc6.tar.bz2
opensim-SC_OLD-4d93870fe589ec4d184ee1e4165b7a1bbf18abc6.tar.xz
Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to bother the sim.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/HypergridService/GatekeeperService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs
index 0cf1c14..0a3e70b 100644
--- a/OpenSim/Services/HypergridService/GatekeeperService.cs
+++ b/OpenSim/Services/HypergridService/GatekeeperService.cs
@@ -419,6 +419,12 @@ namespace OpenSim.Services.HypergridService
419 if (!CheckAddress(aCircuit.ServiceSessionID)) 419 if (!CheckAddress(aCircuit.ServiceSessionID))
420 return false; 420 return false;
421 421
422 if (string.IsNullOrEmpty(aCircuit.IPAddress))
423 {
424 m_log.DebugFormat("[GATEKEEPER SERVICE]: Agent did not provide a client IP address.");
425 return false;
426 }
427
422 string userURL = string.Empty; 428 string userURL = string.Empty;
423 if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) 429 if (aCircuit.ServiceURLs.ContainsKey("HomeURI"))
424 userURL = aCircuit.ServiceURLs["HomeURI"].ToString(); 430 userURL = aCircuit.ServiceURLs["HomeURI"].ToString();