307 Commits (640ad577d1f52140adbe42e87b2da931bf15f430)

Author SHA1 Message Date
Adam Ierymenko f18158a52d . 9 years ago
Adam Ierymenko 2f20258807 . 9 years ago
Adam Ierymenko baa10c2995 . 9 years ago
Adam Ierymenko 355cce3938 Rename Utils::snprintf due to it being a #define on one platform. 9 years ago
Adam Ierymenko 02d18af57d Remove Cluster.hpp 9 years ago
Adam Ierymenko 9b287392a4 . 9 years ago
Adam Ierymenko aa06470cb6 More cleanup for cluster refactor. 9 years ago
Adam Ierymenko 6015b529a0 More clustering work. 9 years ago
Adam Ierymenko 76452b4e28 Data structure fixup. 9 years ago
Adam Ierymenko 2a4a50b1da Add some also-ZeroTier-written ext/ code for use in new clustering, delete some old code, and change Mac to use -Os which is just as fast as -Ofast and may be faster due to cache effects. 9 years ago
Adam Ierymenko 2ec88e8008 Remove old circuit test code. Rules engine will let us do this much better and more simply. 9 years ago
Adam Ierymenko f9a9c2d009 Config object was never even being initialized on leave. Never noticed since desktop and server clients did not use. 9 years ago
Adam Ierymenko 1b68d6dbdc License header update. 9 years ago
Adam Ierymenko 4f2a779769 JSONDB performance improvements, threading fix. 9 years ago
Adam Ierymenko 7a94f63058 Back out NaCl since the old one with xmm6 salsa2012 does not support multi-block use and the new one is slower. 9 years ago
Adam Ierymenko df48738ac9 Enable use of NaCl for faster X64 Salsa20 implementations. Also include binary for OSX for easy build. Blazingly fast. 9 years ago
Adam Ierymenko 139c4b5633 Significant simplification to path logic. 9 years ago
Adam Ierymenko 88a4a3b1ba Pass tptr on leave. 9 years ago
Adam Ierymenko 91c9f4cb20 Fix TRACE and CLUSTER builds. 9 years ago
Adam Ierymenko e4896b257f Add thread PTR that gets passed through the entire ZT core call stack and then passed to handler functions resulting from a call. 9 years ago
Adam Ierymenko 5e6a4e5f5e Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 9 years ago
Adam Ierymenko 1d39be61b2 ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff. 9 years ago
Adam Ierymenko 2bf9145ae6 Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix. 9 years ago
Adam Ierymenko 4b11566505 Integrate moon concept into http config bus, and clean up that code quite a bit. 9 years ago
Adam Ierymenko 42f28bce52 Cleanup and make moons (federated roots) a little easier to deal with. 9 years ago
Adam Ierymenko 43182f8f57 Docs, code cleanup, and protect the extra new fields of HELLO with encryption as a precaution. 9 years ago
Adam Ierymenko 9e7c778cc8 Fix deadlock. 9 years ago
Adam Ierymenko 1d775af34a Fix moon persistence. 9 years ago
Adam Ierymenko 9f7919f71f Add comments to join ("orbit") moons. 9 years ago
Adam Ierymenko 0b3b994241 Relay policy can now be computed. 9 years ago
Adam Ierymenko 64774d0d4f Replace piecemeal designation of upstreams with the concept of moons, which is simpler and easier to use and inherits all the cool live update stuff of worlds (now called planets) and global roots. 9 years ago
Adam Ierymenko d7e7ad4f88 Can't send a user message to self. 9 years ago
Adam Ierymenko d5528e4e9a Wire up VERB_USER_MESSAGE in core. 9 years ago
Adam Ierymenko 244f37179c Minor security: lock roots to only be reachable via World IPs. 9 years ago
Adam Ierymenko 84732fcb12 Wire through external path lookup. Static paths should now work. 9 years ago
Adam Ierymenko 42ba70e79e Replace long callback arg list with struct, and implement path whitelisting, path blacklisting, and local.conf support for roles. 9 years ago
Adam Ierymenko cbaef66e82 Fix a deadlock in federation/upstream code. 9 years ago
Adam Ierymenko 97d915b06c Expose relay policy in node settings. 9 years ago
Adam Ierymenko 673c0c811e Wire through upstream stuff and add setRole(). 9 years ago
Adam Ierymenko 2ea9f516e1 Rate gate expensive validation of new identities in HELLO. 9 years ago
Adam Ierymenko 1615ef1114 Rename getBestRoot() etc. 9 years ago
Adam Ierymenko 12d32b9311 Small fix to send pushes if not a reply. 9 years ago
Adam Ierymenko 226123ca08 Refactor controller to permit sending of pushes as well as just replies to config requests. 9 years ago
Adam Ierymenko c61ca1dea2 Keep connections up for netconf stuff as well as frames. 9 years ago
Adam Ierymenko 7e4b6b594b It now builds. 10 years ago
Adam Ierymenko d3524f3609 Refactor COM stuff a bit, and respond to COM requests a bit more readily for rapid setup. Will need to revisit later. 10 years ago
Adam Ierymenko 5b6d27e659 Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected. 10 years ago
Adam Ierymenko ab9afbc749 (1) Public networks now get COMs even though they do not gate with them since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup. 10 years ago
Adam Ierymenko 0d4109a9f1 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. 10 years ago
Adam Ierymenko 16df2c3363 Clean up handling of COMs, network access control, and fix a backward compatiblity issue. 10 years ago