diff options
author | UbitUmarov | 2017-05-22 22:04:20 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-22 22:05:56 +0100 |
commit | 24885819fccbecafb83cec81000416843d86a593 (patch) | |
tree | 3951d084a8a72896250c2350c3bd2bffa706ad58 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |
parent | receivers can't tell if there where proxies on path unless they look (diff) | |
download | opensim-SC-24885819fccbecafb83cec81000416843d86a593.zip opensim-SC-24885819fccbecafb83cec81000416843d86a593.tar.gz opensim-SC-24885819fccbecafb83cec81000416843d86a593.tar.bz2 opensim-SC-24885819fccbecafb83cec81000416843d86a593.tar.xz |
check XFF headers of caller, but be quiet about them
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index bb524e6..c52a1ab 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -531,11 +531,11 @@ namespace OpenSim.Server.Handlers.Simulation | |||
531 | 531 | ||
532 | if (!headers.ContainsKey(xff) || headers[xff] == null) | 532 | if (!headers.ContainsKey(xff) || headers[xff] == null) |
533 | { | 533 | { |
534 | m_log.WarnFormat("[AGENT HANDLER]: No XFF header"); | 534 | // m_log.WarnFormat("[AGENT HANDLER]: No XFF header"); |
535 | return Util.GetCallerIP(request); | 535 | return Util.GetCallerIP(request); |
536 | } | 536 | } |
537 | 537 | ||
538 | m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers[xff]); | 538 | // m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers[xff]); |
539 | 539 | ||
540 | IPEndPoint ep = Util.GetClientIPFromXFF((string)headers[xff]); | 540 | IPEndPoint ep = Util.GetClientIPFromXFF((string)headers[xff]); |
541 | if (ep != null) | 541 | if (ep != null) |