Mark outbound initiated server to server connections as local.
authorSkywing <skywing@valhallalegends.com>
Sat, 22 Nov 2008 02:24:07 +0000 (21:24 -0500)
committerSkywing <skywing@valhallalegends.com>
Sat, 22 Nov 2008 02:39:54 +0000 (21:39 -0500)
commit068abf8c90f47d9b5d17fc1650b2b9f14ffd278c
tree0f957bf41f26e92fb73902f63038156fdec8d892
parent1b59d14d5ce8c6e454c39d111fd2837778fad0ec
Mark outbound initiated server to server connections as local.

This fixes an issue where if a disconnect packet is received by the
server for an outbound silc connection (i.e. a server to server link)
and there is an outstanding async operation, such as an SKE or
connection auth, the server will corrupt the heap due to not properly
calling the async abort routine.

This issue would typically happen when we have a silcd setup to connect
to a remote router server, where both ends of the connection have public
keys configured, but the initiator server's IP is wrong.  In this case,
we will get past key exchange and then fail at the connection auth
packet, typically crashing the initiator silcd after heap corruption.
apps/silcd/server.c