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/Switch.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node/Switch.cpp') diff --git a/node/Switch.cpp b/node/Switch.cpp index a6575836..a9885a29 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -97,6 +97,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from _lastBeaconResponse = now; Packet outp(peer->address(),RR->identity.address(),Packet::VERB_NOP); outp.armor(peer->key(),true); + RR->antiRec->logOutgoingZT(outp.data(),outp.size()); RR->node->putPacket(localAddr,fromAddr,outp.data(),outp.size()); } } -- cgit v1.2.3