summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-09 11:36:10 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-09 11:36:10 -0700
commitab9afbc749f24f08f25dcf8bd6f4263b97c79bb9 (patch)
treed6a1e94dd522fcfe19642fcd18f4146a0cedb0bb /node/IncomingPacket.hpp
parentef8706995786f26df7bcb9f69b2a332419841964 (diff)
downloadinfinitytier-ab9afbc749f24f08f25dcf8bd6f4263b97c79bb9.tar.gz
infinitytier-ab9afbc749f24f08f25dcf8bd6f4263b97c79bb9.zip
(1) Public networks now get COMs even though they do not gate with them since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup.
Diffstat (limited to 'node/IncomingPacket.hpp')
-rw-r--r--node/IncomingPacket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp
index 35438f4f..dbaf67b8 100644
--- a/node/IncomingPacket.hpp
+++ b/node/IncomingPacket.hpp
@@ -136,7 +136,7 @@ private:
// These are called internally to handle packet contents once it has
// been authenticated, decrypted, decompressed, and classified.
bool _doERROR(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
- bool _doHELLO(const RuntimeEnvironment *RR,SharedPtr<Peer> &peer); // can be called with NULL peer, while all others cannot
+ bool _doHELLO(const RuntimeEnvironment *RR,const bool alreadyAuthenticated);
bool _doOK(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
bool _doWHOIS(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
bool _doRENDEZVOUS(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);