146 Commits (d6676a9d6cffed96850d7da7daffbf329109a7d5)

Author SHA1 Message Date
Adam Ierymenko d6676a9d6c Always announce multicast groups, not just to peers with direct links, and push network COMs to any MULTICAST_LIKE recipient for future use. 11 years ago
Adam Ierymenko 9405150b11 Restore group announcement on Peer::receive() but centralize packet composition in one place. 11 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. 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 0d386f1c31 Add a bit of useful testing instrumentation to SqliteNetworkController. 11 years ago
Adam Ierymenko 307e44f7c8 Two for one! (std::map removal) 11 years ago
Adam Ierymenko d1341578d8 ... and another one! 11 years ago
Adam Ierymenko 7b8ce16057 Another std::map<> dies. 11 years ago
Adam Ierymenko facb009a1d Add security notice to auto-update info in -h output, and fix a missing paren. 11 years ago
Adam Ierymenko 8d09c37140 Remove a bit of redundant logic, and also announce MULTICAST_LIKEs to controllers (for future use). 11 years ago
Adam Ierymenko 3ba54c7e35 Eliminate some poorly thought out optimizations from the netconf/controller interaction, 11 years ago
Adam Ierymenko 07ea4fd4f9 Fix potential bug in controller config request. 11 years ago
Adam Ierymenko f398952a6c Revert some bad docs in Packet -- I think we will still use that. Also rename addMembershipCertificate to more security-descriptive validateAndAddMembershipCertificate, give it a return value, and drop unused force parameter. 11 years ago
Adam Ierymenko dbee1b38b3 Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?) 11 years ago
Adam Ierymenko 57c7992c78 GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast. 11 years ago
Kees Bos 8a68624dae Fix cert verification check for self signed signatures 11 years ago
Adam Ierymenko 7bae95836c Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address. 11 years ago
Adam Ierymenko 960ceb4791 Rest of GitHub issue #140 implementation. 11 years ago
Adam Ierymenko b3b9af0dd8 Fix for GitHub issue #170 11 years ago
Adam Ierymenko 5e3c6d9e0d Some nodeJS work, and apply fix from GitHub issue #166 plus a small optimization to avoid repeated calls to _allMulticastGroups(). 11 years ago
Adam Ierymenko bdce679d84 Should fix deadlock issue in GitHub issue #166 11 years ago
Kees Bos a425bbc673 Renamed supernode to rootserver 11 years ago
Adam Ierymenko f5848972f9 Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>. 11 years ago
Adam Ierymenko ea1859541c More cleanup, and fix for the extremely unlikely case of identity collision. 11 years ago
Adam Ierymenko 6369c264e2 Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency. 11 years ago
Adam Ierymenko 1c9ca73065 Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes. 11 years ago
Adam Ierymenko 67f1f1892f Bunch of tap stuff, IP address assignment hookups, etc. 11 years ago
Adam Ierymenko 347e98dcd2 Just return files from listDirectory() since that is all we need, fix network request on network restore logic, and remember saved networks in service/One 11 years ago
Adam Ierymenko 49d31613b9 Fix some minor issues, now to reintegrate taps. 11 years ago
Adam Ierymenko 4d5a6a25d3 Add events for packet decode errors, etc., and re-implement TRACE as an event. 11 years ago
Adam Ierymenko bf2ff964e1 Utils::now() removal and a bunch of compile fixes. 11 years ago
Adam Ierymenko 59af674e74 Announce multicast groups on multicast subscribe. 11 years ago
Adam Ierymenko 76ad19f411 Use binary_search for multicast groups, which are kept in sorted order. 11 years ago
Adam Ierymenko 6807ccd710 Don't need to announce on multicast leave. 11 years ago
Adam Ierymenko 51f46a009a Multicast group join/leave and group membership announcement. 11 years ago
Adam Ierymenko 8001b2c0cb Network now calls port config function as per new API. 11 years ago
Adam Ierymenko a86300c58f Network build fixes and cleanup of remaining internal references to _tap 11 years ago
Adam Ierymenko 5f51653f9c More cleanup. 11 years ago
Adam Ierymenko 0214dbc277 More cleanup. 11 years ago
Adam Ierymenko 1f28ce3980 Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc. 11 years ago
Adam Ierymenko fe94c9460b Phy is a better name than Wire, and other cleanup. 11 years ago
Adam Ierymenko 93012b0ee5 Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware] 11 years ago
Adam Ierymenko 0b84c10ccc Add confirmation step to new netconf, with the caveat that it will be disabled for older netconf servers to avoid race. Also add some comments. 11 years ago
Adam Ierymenko 60fb28a90a Cleanup, new C++ netconf code is almost ready to test! 11 years ago
Adam Ierymenko b644d2a893 Add timestamp field to network config requests. 11 years ago
Adam Ierymenko 4e95384ad6 Cleanup, add tristate to config code in Network, and happy new year! 11 years ago
Adam Ierymenko 7b6f10e859 Optimization: we don't need to verify signatures on certs if they're certs we already have and have verified. 12 years ago
Adam Ierymenko 95f421024a Code cleanup, and fix some unsafe pointer handling in Network. 12 years ago
Adam Ierymenko a8bd8fff93 Make several changes to eliminate potential deadlock or recursive lock conditions, and add back rescan of multicast groups on network startup. 12 years ago
Adam Ierymenko a94b0e6a43 Get rid of rescanMulticastGroups() in Network thread since this can deadlock... the fact that this can happen is probably bad design. 12 years ago