aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2010-05-15 20:27:25 -0700
committerDiva Canto2010-05-15 20:27:25 -0700
commite5e52e4072f8eab2a44f79dd4a31403d5eb2d5a7 (patch)
treef11cb660dd78c5870d8475c411974522bb55c07e /OpenSim
parentAlmost, but not quite. Commenting verification again, until I understand wher... (diff)
downloadopensim-SC_OLD-e5e52e4072f8eab2a44f79dd4a31403d5eb2d5a7.zip
opensim-SC_OLD-e5e52e4072f8eab2a44f79dd4a31403d5eb2d5a7.tar.gz
opensim-SC_OLD-e5e52e4072f8eab2a44f79dd4a31403d5eb2d5a7.tar.bz2
opensim-SC_OLD-e5e52e4072f8eab2a44f79dd4a31403d5eb2d5a7.tar.xz
This combination is working. It all points to not being able to use 127.0.0.1/localhost in testing HG situations. The login server must have the LAN IP address, and the regions must show ExternalHostname as SYSTEMIP. Working, but this needs more testing.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs10
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs1
2 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 4a275c6..2f1fed4 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -213,15 +213,15 @@ namespace OpenSim.Services.HypergridService
213 public bool VerifyClient(UUID sessionID, string token) 213 public bool VerifyClient(UUID sessionID, string token)
214 { 214 {
215 m_log.DebugFormat("[USER AGENT SERVICE]: Verifying Client session {0} with token {1}", sessionID, token); 215 m_log.DebugFormat("[USER AGENT SERVICE]: Verifying Client session {0} with token {1}", sessionID, token);
216 return true; 216 //return true;
217 217
218 // Commenting this for now until I understand better what part of a sender's 218 // Commenting this for now until I understand better what part of a sender's
219 // info stays unchanged throughout a session 219 // info stays unchanged throughout a session
220 //
221 //if (m_TravelingAgents.ContainsKey(sessionID))
222 // return m_TravelingAgents[sessionID].ClientToken == token;
223 220
224 //return false; 221 if (m_TravelingAgents.ContainsKey(sessionID))
222 return m_TravelingAgents[sessionID].ClientToken == token;
223
224 return false;
225 } 225 }
226 226
227 public bool VerifyAgent(UUID sessionID, string token) 227 public bool VerifyAgent(UUID sessionID, string token)
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 7471c77..9d151df 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -746,6 +746,7 @@ namespace OpenSim.Services.LLLoginService
746 m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); 746 m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName);
747 if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason)) 747 if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason))
748 { 748 {
749 //IPAddress addr = NetworkUtil.GetIPFor(clientIP.Address, gatekeeper.ExternalEndPoint.Address);
749 m_UserAgentService.SetClientToken(aCircuit.SessionID, clientIP.Address.ToString()); 750 m_UserAgentService.SetClientToken(aCircuit.SessionID, clientIP.Address.ToString());
750 return true; 751 return true;
751 } 752 }