62 Commits (2bf9145ae65385bf968542619ffcf204cf6241d8)

Author SHA1 Message Date
Adam Ierymenko 10185e92fa Certificate of ownership -- used to secure against IP address spoofing, especially for IPv4 and regular IPv6. 9 years ago
Adam Ierymenko 31db768e4d A bit of code cleanup. 9 years ago
Adam Ierymenko c9ee8612e4 Credential TTL (tags/capabilities) should be credential time max delta, since we could get pushed one that is newer. 10 years ago
Adam Ierymenko 68b4ca9b31 Cleanup. 10 years ago
Adam Ierymenko 9a3c652a51 Get rid of expiration in Capability and Tag and move this to NetworkConfig so it can be set network-wide and reset if needed. Also add NetworkConfig field for this and centralize checking of credential time validity. 10 years ago
Adam Ierymenko 4d498b3765 Handling of multi-part chunked network configs on the inbound side. 10 years ago
Adam Ierymenko 2ba9343607 Encode and decode of tags and capabilities in NetworkConfig. 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 d3b0081447 Cleanup... 10 years ago
Adam Ierymenko eaf6d6c938 Basic L2/L3 filter for rules engine (not integrated yet) and some cleanup. 10 years ago
Adam Ierymenko 38dfebad8c IPv6 NDP emulation flag in NetworkConfig, and implement Docker-friendly 10 years ago
Adam Ierymenko 330c80f3f5 Add rule type to match a COM field of the peer by ID and value because this will be powerful. 10 years ago
Adam Ierymenko b2d048aa0e Make Dictionary templatable so it can be used where we want a higher capacity. 10 years ago
Adam Ierymenko 37afa876a7 Linux bug fixes, small controller fix. 10 years ago
Adam Ierymenko 901b75e756 New format now integrated, and it works. 10 years ago
Adam Ierymenko e09c1a1c11 Big refactor mostly builds. We now have a uniform backward compatible netconf. 10 years ago
Adam Ierymenko 7ee3743c3d Refactor controller to send both old and new format netconf. 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 0f17077b3d Merge gateways and routes in netconf since they are the same thing. 10 years ago
Adam Ierymenko b9dba97fdb Bunch more refactoring for an even more compact NetworkConfig representation, especially rules. 10 years ago
Adam Ierymenko e731fc1a3a Replace two bools in NetworkConfig with a flags field. 10 years ago
Adam Ierymenko 90e1262a8b More refactoring to remove old Dictionary dependencies. 10 years ago
Adam Ierymenko d736074301 Refactor rules table in-memory structure in new NetworkConfig to permit far more rules with better space efficiency. 10 years ago
Adam Ierymenko 6f854c8391 NetworkConfig refactor part 1 10 years ago
Adam Ierymenko 4e4fd51117 boring doc stuff 10 years ago
Adam Ierymenko 0034efafe4 On semi-undocumented test net, assign a RFC4193 IPv6 address too. Will be useful for our at-scale tests. 11 years ago
Adam Ierymenko 5384f185ae Simplify Dictionary and reduce memory usage, now no more std::maps in core. 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 3ba54c7e35 Eliminate some poorly thought out optimizations from the netconf/controller interaction, 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
Adam Ierymenko 8aa68cd5f1 Add new fields in operator== 11 years ago
Adam Ierymenko edbc5d3588 Gateways support in NetworkConfig object. 11 years ago
Adam Ierymenko 5341e32729 Fix to GitHub issue #140 -- network preferred relays. Also go ahead and allow RENDEZVOUS from regular peers. 11 years ago
Adam Ierymenko da254d967f Hack around GitHub issue #165 (?) 11 years ago
Adam Ierymenko 8a13cfdace Add per-network relays to NetworkConfig. 11 years ago
Adam Ierymenko 6369c264e2 Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency. 11 years ago
Adam Ierymenko 7529d050c7 All of node/ now compiles again! 11 years ago
Adam Ierymenko bf2ff964e1 Utils::now() removal and a bunch of compile fixes. 11 years ago
Adam Ierymenko 8001b2c0cb Network now calls port config function as per new API. 11 years ago
Adam Ierymenko a8a92c5b89 A whole lot of Sqlite netconf master work, and some fixes elsewhere in the code. 11 years ago
Adam Ierymenko 93012b0ee5 Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware] 11 years ago
Adam Ierymenko 4e95384ad6 Cleanup, add tristate to config code in Network, and happy new year! 11 years ago
Adam Ierymenko 03dc823ad7 (1) Back off a little on default max multicast limit since 128 is pretty bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs. 12 years ago
Adam Ierymenko 3f15752f73 Add IPv4 address assignment to ffffffffffffffff test network. 12 years ago
Adam Ierymenko 2c8321be1f Pull logic to always send new multicasts to supernode since we need to do that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed. 12 years ago
Adam Ierymenko 351db7f1a0 Plumb injectPacketFromHost through to API. 12 years ago
Adam Ierymenko 9e186bbd89 . 12 years ago
Adam Ierymenko 9180a30986 . 12 years ago
Adam Ierymenko 3afc629ac5 Bit of network config parser cleanup. 12 years ago