From a56fbc1929d3cb2c6c5a1b4acb3b026a1e13135d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 6 Jan 2016 15:35:27 -0800 Subject: Close another potential anti-recursion loophole. --- node/IncomingPacket.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node/IncomingPacket.cpp') diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 2a51a387..c71c6790 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -250,6 +250,7 @@ bool IncomingPacket::_doHELLO(const RuntimeEnvironment *RR,SharedPtr &peer outp.append((uint64_t)pid); outp.append((unsigned char)Packet::ERROR_IDENTITY_COLLISION); outp.armor(key,true); + RR->antiRec->logOutgoingZT(outp.data(),outp.size()); RR->node->putPacket(_localAddress,_remoteAddress,outp.data(),outp.size()); } else { TRACE("rejected HELLO from %s(%s): packet failed authentication",id.address().toString().c_str(),_remoteAddress.toString().c_str()); -- cgit v1.2.3