Skip to content
Snippets Groups Projects
Commit 00b04983 authored by Robert Knop's avatar Robert Knop
Browse files

Merging from production branch to trunk

svn merge -r108266:108604 svn+ssh://svn.lindenlab.com/svn/linden/branches/server/server-1.25

One merge conflict, in indra/backbone/agent_linden_dollar.py, which was
very small, and resolved by Kartic & Prospero.
parent 6a2fa3da
No related branches found
No related tags found
No related merge requests found
......@@ -2366,13 +2366,13 @@ void process_create_trusted_circuit(LLMessageSystem *msg, void **)
{
if( msg->getBlockUntrustedInterface() )
{
LL_WARNS("Messaging") << "Refusing trust on public interface from host: "
LL_WARNS("Messaging") << "Ignoring CreateTrustedCircuit on public interface from host: "
<< msg->getSender() << llendl;
return;
}
else
{
LL_WARNS("Messaging") << "Establishing trust on public interface from host: "
LL_WARNS("Messaging") << "Processing CreateTrustedCircuit on public interface from host: "
<< msg->getSender() << llendl;
}
}
......@@ -2433,6 +2433,24 @@ void process_deny_trusted_circuit(LLMessageSystem *msg, void **)
// Don't respond to requests that use the same end point ID
return;
}
U32 untrusted_interface = msg->getUntrustedInterface().getAddress();
U32 last_interface = msg->getReceivingInterface().getAddress();
if ( ( untrusted_interface != INVALID_HOST_IP_ADDRESS ) && ( untrusted_interface == last_interface ) )
{
if( msg->getBlockUntrustedInterface() )
{
LL_WARNS("Messaging") << "Ignoring DenyTrustedCircuit on public interface from host: "
<< msg->getSender() << llendl;
return;
}
else
{
LL_WARNS("Messaging") << "Processing DenyTrustedCircuit on public interface from host: "
<< msg->getSender() << llendl;
}
}
// Assume that we require trust to proceed, so resend.
// This catches the case where a circuit that was trusted
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment