Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to bother the sim.
parent
5a1d6727e1
commit
4d93870fe5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue