added camouflaging functionality and instrumentation

This commit is contained in:
eerieaerial 2025-04-30 17:40:54 +04:00
parent cdaf5e5468
commit 083b833bf8
16 changed files with 904 additions and 43 deletions

View file

@ -35,6 +35,7 @@
#include "Bond.hpp"
#include "AES.hpp"
#include "Metrics.hpp"
#include "CamoPattern.hpp"
#define ZT_PEER_MAX_SERIALIZED_STATE_SIZE (sizeof(Peer) + 32 + (sizeof(Path) * 2))
@ -143,6 +144,7 @@ public:
{
SharedPtr<Path> bp(getAppropriatePath(now,force));
if (bp) {
CT("UNPROCESSED");
return bp->send(RR,tPtr,data,len,now);
}
return false;