251 Commits (0fd3afe2c8bfc2f12af0e1e546f36d03c6f0b2a6)

Author SHA1 Message Date
Adam Ierymenko e1310a764a More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff). 10 years ago
Adam Ierymenko 98152d974a More cleanup and removal of DeferredPackets, will do the latter in a more elegant way. 10 years ago
Adam Ierymenko 91940cbcf5 Kill network preferred relays -- this feature is gone (and was seldom used anyway) in favor of federation. 10 years ago
Adam Ierymenko 9657675755 Plumbing through trusted path stuff to OneService. 10 years ago
Adam Ierymenko 765082fdb6 Trusted path support, and version bump to 1.1.9 10 years ago
Adam Ierymenko 8b9519f0af Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes network controller easier to refactor. 10 years ago
Adam Ierymenko 7913fa7bbd Dead code removal. 10 years ago
Adam Ierymenko b9dba97fdb Bunch more refactoring for an even more compact NetworkConfig representation, especially rules. 10 years ago
Adam Ierymenko 2f18a92e20 Cleanup in numerous places, reduce network chattiness around MULTICAST_LIKE, and fix a "how was that working" latent bug causing some control traffic to take the scenic route. 10 years ago
Adam Ierymenko bbd9915056 Refactor Node for new NetworkConfig 10 years ago
Adam Ierymenko 8ef78e7e7d Preserve add local interface address add order and send in that order since this is a priority. 10 years ago
Adam Ierymenko c7c61b4ac0 Fix checking of path address validity. 10 years ago
Adam Ierymenko 4e4fd51117 boring doc stuff 10 years ago
Adam Ierymenko 83ef98a9dc Add a network-associated user ptr in API. 10 years ago
Adam Ierymenko b3e3d4cacc Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets. 10 years ago
Adam Ierymenko 1023ef23b7 Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods. 10 years ago
Adam Ierymenko d8143a5e18 Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev) 10 years ago
Adam Ierymenko 0d9f33dc4f Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch. 10 years ago
Adam Ierymenko ccae473783 Eliminate Windows warnings. 10 years ago
Adam Ierymenko 94f4316a0e Fix for possible high CPU usage on multicast queries. 11 years ago
Adam Ierymenko 5f39d5b7ea Further pare down Cluster messaging and rename some stuff. 11 years ago
Adam Ierymenko 8ef4edebbf Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers. 11 years ago
Adam Ierymenko 7fbe2f7adf Tweak some more timings for better reliability. 11 years ago
Adam Ierymenko 60ce886605 Tweak some timings for better reliability. 11 years ago
Adam Ierymenko a994573a43 Eliminate some more dead code. We may do path trust, but not like that. 11 years ago
Adam Ierymenko 16bc3e0398 Factor out RemotePath subclass of Path -- no longer needed, just cruft. 11 years ago
Adam Ierymenko 0ffbd05c0e --wtf; prevent roots from TCP fallback 11 years ago
Adam Ierymenko 5ff7733f84 More plumbing of cluster status. 11 years ago
Adam Ierymenko e9648a6cdf Clarify logic in pinging, and prevent roots from pinging "down." 11 years ago
Adam Ierymenko 57e29857cf Cluster work -- integrating with the rest of the code. 11 years ago
Adam Ierymenko 584072fa6a Fix for V4/V6 stable addressing. 11 years ago
Adam Ierymenko 2229e91b57 IPv6 support fixes. 11 years ago
Adam Ierymenko 489e1a5b83 Don't keep connections up longer than the alive timeout (unless they are relays or roots) 11 years ago
Adam Ierymenko 70d8e3ad94 Expose world ID and world timestamp in ZT_NodeStatus 11 years ago
Adam Ierymenko 5d2f523e81 World stuff... 11 years ago
Adam Ierymenko cae58f43f1 More World stuff, and mkworld. 11 years ago
Adam Ierymenko a95fa379cc Circuit tests basically work but need some tweaks, and fix some issues found with valgrind. 11 years ago
Adam Ierymenko 0c498556d5 Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE) 11 years ago
Grant Limberg 9347d6c866 Make it so ZeroTierOne.h can be used with a C compiler again. 11 years ago
Adam Ierymenko 1b2cac0cc5 Trim some cruft that is not used and probably never would be. 11 years ago
Adam Ierymenko 3593fb3462 Send initial CIRCUIT_TEST packet. 11 years ago
Adam Ierymenko d3f29d09e8 Plumbing through circuit test stuff. 11 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. 11 years ago
Adam Ierymenko 2a527ea82e Fix for timer jitter problem. 11 years ago
Adam Ierymenko 367ffde00c Plumb through localInterfaceId to track local interfaces corresponding with remote addresses. 11 years ago
Adam Ierymenko 3a959a7763 Swap out std::map<> for Hashtable<> for main peer database in Topology. (ongoing std::map-ectomy) 11 years ago
Adam Ierymenko 5fcef91278 Ignore old root-topology if present -- fix for upgrading on Linux and possibly elsewhere. 11 years ago
Adam Ierymenko 7a15d8a7e3 Fix leaving of networks to actually call Network::destroy(). 11 years ago
Adam Ierymenko 0b354803f3 Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank. 11 years ago
Adam Ierymenko 3f567a07ca Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG and replacing it with a simple non-crypto PRNG that just uses Salsa20. 11 years ago