mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-15 05:38:18 +00:00
More refactoring to clean up code, and add a gate function to make sure we do not handle OK packets we did not expect. This hardens up a few potential edge cases around security, since such messages might be used to e.g. pollute a cache and DOS under certain conditions.
This commit is contained in:
@ -1585,7 +1585,6 @@ void EmbeddedNetworkController::_circuitTestCallback(ZT_Node *node,ZT_CircuitTes
|
||||
"\t\"upstream\": \"%.10llx\"," ZT_EOL_S
|
||||
"\t\"current\": \"%.10llx\"," ZT_EOL_S
|
||||
"\t\"receivedTimestamp\": %llu," ZT_EOL_S
|
||||
"\t\"remoteTimestamp\": %llu," ZT_EOL_S
|
||||
"\t\"sourcePacketId\": \"%.16llx\"," ZT_EOL_S
|
||||
"\t\"flags\": %llu," ZT_EOL_S
|
||||
"\t\"sourcePacketHopCount\": %u," ZT_EOL_S
|
||||
@ -1606,7 +1605,6 @@ void EmbeddedNetworkController::_circuitTestCallback(ZT_Node *node,ZT_CircuitTes
|
||||
(unsigned long long)report->upstream,
|
||||
(unsigned long long)report->current,
|
||||
(unsigned long long)OSUtils::now(),
|
||||
(unsigned long long)report->remoteTimestamp,
|
||||
(unsigned long long)report->sourcePacketId,
|
||||
(unsigned long long)report->flags,
|
||||
report->sourcePacketHopCount,
|
||||
|
Reference in New Issue
Block a user