aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-14 17:34:04 +0000
committerJustin Clarke Casey2009-01-14 17:34:04 +0000
commit6ae1b80d20cbcb850a715bd6b452b0eb575a1291 (patch)
tree08e239b4f929e8b54578866ff191fde7fa9a80cb /OpenSim/Region/ClientStack
parent* Fix typo which meant that RestComms was never enabled if you explicitly ena... (diff)
downloadopensim-SC_OLD-6ae1b80d20cbcb850a715bd6b452b0eb575a1291.zip
opensim-SC_OLD-6ae1b80d20cbcb850a715bd6b452b0eb575a1291.tar.gz
opensim-SC_OLD-6ae1b80d20cbcb850a715bd6b452b0eb575a1291.tar.bz2
opensim-SC_OLD-6ae1b80d20cbcb850a715bd6b452b0eb575a1291.tar.xz
* Do some log tweaking to better see incoming connection success (and failure)
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs16
1 files changed, 6 insertions, 10 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index a90c380..18b5acf 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -416,24 +416,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
416 if (!m_packetServer.IsClientAuthorized(useCircuit, m_circuitManager, out sessionInfo)) 416 if (!m_packetServer.IsClientAuthorized(useCircuit, m_circuitManager, out sessionInfo))
417 { 417 {
418 m_log.WarnFormat( 418 m_log.WarnFormat(
419 "[CLIENT]: New user request denied to avatar {0} connecting with unauthorized circuit code {1} from {2}", 419 "[CONNECTION FAILURE]: Connection request for client {0} connecting with unnotified circuit code {1} from {2}",
420 useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, epSender); 420 useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, epSender);
421 421
422 return; 422 return;
423 } 423 }
424 else
425 {
426 m_log.Debug("[CLIENT]: Got authenticated connection from " + epSender);
427 }
428 424
429 lock (clientCircuits) 425 lock (clientCircuits)
430 { 426 {
431 if (!clientCircuits.ContainsKey(epSender)) 427 if (!clientCircuits.ContainsKey(epSender))
432 { 428 {
433 m_log.DebugFormat(
434 "[CLIENT]: Adding new circuit for agent {0}, circuit code {1}",
435 useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code);
436
437 clientCircuits.Add(epSender, useCircuit.CircuitCode.Code); 429 clientCircuits.Add(epSender, useCircuit.CircuitCode.Code);
438 isNewCircuit = true; 430 isNewCircuit = true;
439 } 431 }
@@ -451,6 +443,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
451 443
452 m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy); 444 m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy);
453 } 445 }
446
447 m_log.DebugFormat(
448 "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated",
449 useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code);
454 } 450 }
455 451
456 // Ack the UseCircuitCode packet 452 // Ack the UseCircuitCode packet