diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-27 13:49:43 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-27 13:49:43 -0700 |
| commit | 9f550292fe0ebc32e61eeada9e3a69970c874724 (patch) | |
| tree | 94c804b06a9a44e79b6e09373f38a9562cb60bc6 /node/IncomingPacket.hpp | |
| parent | 5ba7ca91c03fc3ad9ac5c360e6156b91a208fb25 (diff) | |
| download | infinitytier-9f550292fe0ebc32e61eeada9e3a69970c874724.tar.gz infinitytier-9f550292fe0ebc32e61eeada9e3a69970c874724.zip | |
Simply network auth logic and always sent error on auth failure even for unknown networks to prevent forensics.
Diffstat (limited to 'node/IncomingPacket.hpp')
| -rw-r--r-- | node/IncomingPacket.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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> &peer); bool _doREQUEST_PROOF_OF_WORK(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer); + void _sendErrorNeedCredentials(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer,const uint64_t nwid); + uint64_t _receiveTime; SharedPtr<Path> _path; }; |
