Commit History

Autor SHA1 Mensaxe Data
  Adam Ierymenko 3fa1b5a89d Make cluster HAVE_PEER a little lighter by removing full identity. Technically this is not necessary and they will propagate over time in any case. Might restore it in some form in the future. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 60ce886605 Tweak some timings for better reliability. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 1b4cc4af5c Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko d6c0d176ee Periodically re-announce peers that we have. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 68d6d3c4ff Fix bug in peer count. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 51fcc75354 Some cleanup, and use getPeerNoCache() exclusively in Cluster. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 4221552c0b Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko cc1b275ad9 Replicate peer endpoints and forget paths if we have them -- this allows two clusters to talk to each other, whereas forgetting all paths does not. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko cc6080fe38 (1) No need to confirm if we are a root (small optimization), (2) Refactor peer affinity tracking. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 16bc3e0398 Factor out RemotePath subclass of Path -- no longer needed, just cruft. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 40976c02a4 Forget paths to peers if we are handing them off. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko f692cec763 Change how cluster relays packets -- just PROXY_UNITE and then send packet via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko a1a0ee4edb Fix infinite loop in Cluster, clean up some stuff elsewhere, and back out rate limiting in PUSH_DIRECT_PATHS for now (but we will do something else to mitigate amplification attacks) %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 8a7a0b6b88 Cleanup, including simplification of root server picking algorithm since we no longer need all that craziness. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 69857b4ba8 Refactor cluster redirects to move code to push peers out of the actual Cluster function that checks for redirect, and clean up Peer::received() to be a bit more logical. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 98d856daa2 Only send redirects to the sending InetAddress and only in response to a set of certain frame types to avoid potential race conditions. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 8bfb02ba3c Only send redirects for the same address class, and elminiate some TRACE noise. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko debed1ac2d Expose cluster status in /status JSON response. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 865acfa40f Cluster status plumbing. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 35676217e8 Refactor multicast group announcement to work directly or indirectly. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 29b966894c (1) Fix bug in geo-ip service that prevented cache lookup, (2) fix problem in SelfAwareness (will need to test ALL versions in the wild with this), and (3) add more TRACE instrumentation to Cluster. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 964b30902a Cluster fix: was accumulating remote endpoints endlessly. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 7711eba297 More cluster wiring... %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 978b056a01 Wire in redirectPeer(), now about ready to test clustering! %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 6a7b47e5e1 Forgot a return true. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko d6dee7bb5c Clustered handling of relaying. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 35a12b94ea Outfit Cluster with TRACE for debugging. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 59e1444b27 Finish wiring up Cluster, fix some issues with other recent changes. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko eb79d4a2f3 Wire up peer announcement in cluster. %!s(int64=10) %!d(string=hai) anos
  Adam Ierymenko 57e29857cf Cluster work -- integrating with the rest of the code. %!s(int64=10) %!d(string=hai) anos