added readme; added special case camouflaging

This commit is contained in:
eerieaerial 2025-05-12 14:04:06 +04:00
parent 5fb3f5c228
commit 235addc585
9 changed files with 290 additions and 59 deletions

View file

@ -1461,11 +1461,11 @@ public:
uint32_t camoWord = 0;
for (size_t i = 0; i < BYTES_IN_WORD; i++)
{
camoWord |= camoWordStr[i];
camoWord <<= 8;
camoWord |= camoWordStr[i];
}
CamoRelayRule relayRule = CamoRelayRule::LEAVE;
std::unordered_map<Address, CamoLevel> knownHosts;
KnownHostsMap knownHosts;
json &settings = lc["settings"];
if (settings.is_object()) {