mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to bother the sim.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user