Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to bother the sim.

This commit is contained in:
Diva Canto
2013-07-13 17:52:05 -07:00
parent 5a1d6727e1
commit 4d93870fe5

View File

@@ -419,6 +419,12 @@ namespace OpenSim.Services.HypergridService
if (!CheckAddress(aCircuit.ServiceSessionID))
return false;
if (string.IsNullOrEmpty(aCircuit.IPAddress))
{
m_log.DebugFormat("[GATEKEEPER SERVICE]: Agent did not provide a client IP address.");
return false;
}
string userURL = string.Empty;
if (aCircuit.ServiceURLs.ContainsKey("HomeURI"))
userURL = aCircuit.ServiceURLs["HomeURI"].ToString();