summaryrefslogtreecommitdiff
path: root/node
AgeCommit message (Collapse)Author
2015-11-06Further pare down Cluster messaging and rename some stuff.Adam Ierymenko
2015-11-06Try prioritizing cluster-send over direct send in cluster mode -- may ↵Adam Ierymenko
improve cluster relaying reliability.
2015-11-06Small amount of cleanup.Adam Ierymenko
2015-11-05Now make cluster announcements slightly more frequent.Adam Ierymenko
2015-11-05Make cluster HAVE_PEER a little lighter by removing full identity. ↵Adam Ierymenko
Technically this is not necessary and they will propagate over time in any case. Might restore it in some form in the future.
2015-11-05Integrate deferred background processing into main OneService implementation.Adam Ierymenko
2015-11-05Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.Adam Ierymenko
2015-11-03.Adam Ierymenko
2015-11-03Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing ↵Adam Ierymenko
responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability.
2015-11-02Make root and relay selection somewhat more robust.Adam Ierymenko
2015-11-02Tweak some more timings for better reliability.Adam Ierymenko
2015-11-02Tweak some timings for better reliability.Adam Ierymenko
2015-11-02Decided to make this 1.1.0 (semantic versioning increment is warranted), and ↵Adam Ierymenko
add a legacy hack for older clients working with clusters.
2015-10-30Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup.Adam Ierymenko
2015-10-30Null pointer bug appears fixed... testing again at large scale.Adam Ierymenko
2015-10-30.Adam Ierymenko
2015-10-30.Adam Ierymenko
2015-10-30Add some debug code in TRACE mode to catch a bug.Adam Ierymenko
2015-10-30getPeer() had a small potential to be unsafe.Adam Ierymenko
2015-10-30Optimize AntiRecursion.Adam Ierymenko
2015-10-30Make antirec tail len slightly shorter, better performance and still plenty ↵Adam Ierymenko
long enough.
2015-10-29Periodically re-announce peers that we have.Adam Ierymenko
2015-10-29More dead code removal.Adam Ierymenko
2015-10-29Eliminate some more dead code. We may do path trust, but not like that.Adam Ierymenko
2015-10-29Tweak some timings, and remove some dead code.Adam Ierymenko
2015-10-28Fix bug in peer count.Adam Ierymenko
2015-10-28On semi-undocumented test net, assign a RFC4193 IPv6 address too. Will be ↵Adam Ierymenko
useful for our at-scale tests.
2015-10-28Fix inverted sense bug.Adam Ierymenko
2015-10-28TRACE build fixes.Adam Ierymenko
2015-10-28Cleanup and docs.Adam Ierymenko
2015-10-28Only check IP equality to detect external surface changes (should prevent ↵Adam Ierymenko
some spurious resets under symmetric NATs), and simplify some logic.
2015-10-28Clean up PUSH_DIRECT_PATH limits a bit more and make them a bit smarter.Adam Ierymenko
2015-10-27Add a circuit breaker for VERB_PUSH_DIRECT_PATHS.Adam Ierymenko
2015-10-27More cleanup.Adam Ierymenko
2015-10-27Some cleanup, and use getPeerNoCache() exclusively in Cluster.Adam Ierymenko
2015-10-27Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere.Adam Ierymenko
2015-10-27Replicate peer endpoints and forget paths if we have them -- this allows two ↵Adam Ierymenko
clusters to talk to each other, whereas forgetting all paths does not.
2015-10-27(1) No need to confirm if we are a root (small optimization), (2) Refactor ↵Adam Ierymenko
peer affinity tracking.
2015-10-27This no longer has to be quite so fast.Adam Ierymenko
2015-10-27Build fix in TRACE mode.Adam Ierymenko
2015-10-27Factor out RemotePath subclass of Path -- no longer needed, just cruft.Adam Ierymenko
2015-10-27Forget paths to peers if we are handing them off.Adam Ierymenko
2015-10-27Change how cluster relays packets -- just PROXY_UNITE and then send packet ↵Adam Ierymenko
via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues.
2015-10-27Tweak some size limits.Adam Ierymenko
2015-10-27--wtf; prevent roots from TCP fallbackAdam Ierymenko
2015-10-27Fix infinite loop in Cluster, clean up some stuff elsewhere, and back out ↵Adam Ierymenko
rate limiting in PUSH_DIRECT_PATHS for now (but we will do something else to mitigate amplification attacks)
2015-10-27Well that was broken.Adam Ierymenko
2015-10-27Lessen this limit just a bit to make cluster settle faster.Adam Ierymenko
2015-10-27Don't include COM if not necessary (fix).Adam Ierymenko
2015-10-27Fix inverted sense bug.Adam Ierymenko