55 Commits (e8cdff3eafd8096da22122eabddf57a09fe2bb90)

Author SHA1 Message Date
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 367ffde00c Plumb through localInterfaceId to track local interfaces corresponding with remote addresses. 11 years ago
Grant Limberg f7d3e262a9 ifdef default assignments 11 years ago
Grant Limberg 73bedfcc01 ifdef default assignments 11 years ago
Adam Ierymenko 7578b56298 docs 11 years ago
Adam Ierymenko d647a587a1 (1) Fix updating of network revision counter on member change. 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 c863ff3f02 A bunch of comments and cleanup, including some to yesterday's direct path pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable. 11 years ago
Adam Ierymenko 235f4762b7 Plumbing for local interface addresses -- GitHub issue #180 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 d9006712f6 Completely factor out "desperation" from the core. I thought of a significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world. 11 years ago
Adam Ierymenko d0e0f5dd12 Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see. 11 years ago
Kees Bos a425bbc673 Renamed supernode to rootserver 11 years ago
Adam Ierymenko 625ddf41a7 docs 11 years ago
Adam Ierymenko 740121504f Add a timestamp to netconf cache, fix some SQL queries in NC. 11 years ago
Adam Ierymenko d2503172d8 Add some additional detail to the peer record in CAPI and JSON control plane. 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 aeb4b42ab3 Make tap itself handle remembering sticky device to nwid mappings. 11 years ago
Adam Ierymenko 67f1f1892f Bunch of tap stuff, IP address assignment hookups, etc. 11 years ago
Adam Ierymenko 1cfa67bbdd Bunch more control plane work, and shelve old UI -- React FTW. 11 years ago
Adam Ierymenko b888e033c0 JSON control plane, almost done... 11 years ago
Adam Ierymenko 068d311ecc TRACE compile fixes, other fixes, and it basically works! It says HELLO. 11 years ago
Adam Ierymenko 38200cc6a5 Add data store functions to service/One, and shelve old main.cpp since it will get rebuilt. 11 years ago
Adam Ierymenko 46ecad451c Starting on new service/ code to encapsulate node/ with osdep/ stuff, and add a user pointer to the CAPI. 11 years ago
Adam Ierymenko ccc73b920e Node peer list function for CAPI, and some Peer cleanup. 11 years ago
Adam Ierymenko d9e9b60a98 Node status and network list. 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 9d9d0ef12c Rename StatusCallback to more descriptive EventCallback. 11 years ago
Adam Ierymenko 49f031ccb4 Tons of refactoring, change to desperation algorithm to use max of core or link, porting over core loop code from old Node.cpp to new CAPI version, etc. 11 years ago
Adam Ierymenko 9e55f882d3 Starting to port from old Node() -- identity generation. 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 f4fd2d4971 Bring IncomingPacket into line with new changes. 11 years ago
Adam Ierymenko 6eb9289367 Bunch more cleanup, improvements to NAT traversal logic, finished updating Switch. 11 years ago
Adam Ierymenko ee0f56355b Send path simplification. 11 years ago
Adam Ierymenko a69e1876f1 The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core. 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 49349470a0 ... 11 years ago
Adam Ierymenko 8130848020 More refactoring... and update the API a bit... turns out my strategy for reducing indirect function calls also increased memcpy()s which are more expensive. This is simpler and faster. 11 years ago
Adam Ierymenko 7ff0cab1b7 docs 11 years ago
Adam Ierymenko b723855751 Refactoring... lalalala... 11 years ago
Adam Ierymenko 36eab4f1a9 Whole heap more cleanup and refactoring... 11 years ago
Adam Ierymenko 647ce82b86 Move more stuff into osdep/ -- node/ will not use threads directly. 11 years ago
Adam Ierymenko 2c5dbecb3c More CAPI work, and move old control/ and old node/Node to attic. 11 years ago
Adam Ierymenko fe94c9460b Phy is a better name than Wire, and other cleanup. 11 years ago
Adam Ierymenko fe87c1db67 Work on new simplified C API -- required for embedded, language bindings, mobile (language bindings again), etc. 11 years ago
Adam Ierymenko 60158aa5dd Turns out that node/ likely has no business with or need for the system IP routing table. So shelve that code for now. 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