From 9f550292fe0ebc32e61eeada9e3a69970c874724 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 27 Sep 2016 13:49:43 -0700 Subject: Simply network auth logic and always sent error on auth failure even for unknown networks to prevent forensics. --- node/IncomingPacket.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/IncomingPacket.hpp') diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index 86c2b5e7..c3632216 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -154,6 +154,8 @@ private: bool _doCIRCUIT_TEST_REPORT(const RuntimeEnvironment *RR,const SharedPtr &peer); bool _doREQUEST_PROOF_OF_WORK(const RuntimeEnvironment *RR,const SharedPtr &peer); + void _sendErrorNeedCredentials(const RuntimeEnvironment *RR,const SharedPtr &peer,const uint64_t nwid); + uint64_t _receiveTime; SharedPtr _path; }; -- cgit v1.2.3