Commit History

Author SHA1 Message Date
  Adam Ierymenko 82aa3f59d6 Fix bug in ECHO handling (OK was invalid!), and use ECHO on newer peers for path confirmation. Also get rid of path confirmation circuit breaker since this causes issues with some peers and should be done more intelligently anyway. 9 years ago
  Adam Ierymenko ceaef19fb7 Fix for GitHub issue #260 -- fix for (non-exploitable) crash in network preferred relay code 9 years ago
  Adam Ierymenko 2cc50bdb10 Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NAT 9 years ago
  Adam Ierymenko 47424df417 Fix (1) a deadlock bug and (2) a bug that prevented distributed rendezvous messages from being sent. 9 years ago
  Adam Ierymenko f4d12603e0 Tweak how Switch passes off to Cluster on relay to fit new paradigm. 9 years ago
  Adam Ierymenko 6bc8c9d8ef Clustering cleanup, still a work in progress. 9 years ago
  Adam Ierymenko 5f39d5b7ea Further pare down Cluster messaging and rename some stuff. 9 years ago
  Adam Ierymenko 9490b1f136 Try prioritizing cluster-send over direct send in cluster mode -- may improve cluster relaying reliability. 9 years ago
  Adam Ierymenko 8ef4edebbf Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers. 9 years ago
  Adam Ierymenko c9e6e60c09 Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability. 9 years ago
  Adam Ierymenko 4e9d430476 Make root and relay selection somewhat more robust. 9 years ago
  Adam Ierymenko 7fbe2f7adf Tweak some more timings for better reliability. 9 years ago
  Adam Ierymenko 16bc3e0398 Factor out RemotePath subclass of Path -- no longer needed, just cruft. 9 years ago
  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. 9 years ago
  Adam Ierymenko de761c5a82 Fix test world def. 9 years ago
  Adam Ierymenko d6dee7bb5c Clustered handling of relaying. 9 years ago
  Adam Ierymenko 3adb183c5f Fix bad COM attachment bug and eliminate an unnecessary redundant check. 9 years ago
  Adam Ierymenko a3db7d0728 Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things. 9 years ago
  Adam Ierymenko f69454ec98 (1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses. 10 years ago
  Adam Ierymenko 367ffde00c Plumb through localInterfaceId to track local interfaces corresponding with remote addresses. 10 years ago
  Adam Ierymenko 85b90f122a Final std::map<> from Switch, and add some smallish default values for hash size. 10 years ago
  Adam Ierymenko 3dba016a93 Almost done... very few std::map<>s remaining in any spot that matters. 10 years ago
  Adam Ierymenko db0369e9b8 Remove way-overkill multimap from Switch. 10 years ago
  Adam Ierymenko 0ab3e49be9 Starting in on Switch... kill map in defrag queue, which will probably improve performance pretty decently under high load with lots of peers. 10 years ago
  Adam Ierymenko eea8d58afa docs,cleanup 10 years ago
  Adam Ierymenko 21e6850722 Cancel NAT-t attempts if peer is no longer "alive" 10 years ago
  Adam Ierymenko 4564dd95ff Revert... no luck with any of that. 10 years ago
  Adam Ierymenko d2bfdfa6e7 Play with NAT-t tweaks some more. 10 years ago
  Adam Ierymenko 17bfd4d55e Add TRACE for NAT-t debugging. 10 years ago
  Adam Ierymenko b31071463c Try another NAT traversal improvement. 10 years ago