ZeroTierOne/node
2019-08-16 14:42:38 -07:00
..
Address.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
AES.cpp . 2019-08-13 08:49:25 -07:00
AES.hpp Remove ASM Salsa20 since it will not be the default in 2.x any more... reduce build complexity. 2019-08-16 14:26:25 -07:00
AtomicCounter.hpp Refactoring to eliminate duplicated code 2019-08-14 14:55:37 -07:00
Buffer.hpp . 2019-08-14 15:28:10 -07:00
C25519.cpp The newer C ed25519 is the same speed as the old ASM, so drop it to simplify. 2019-08-16 14:42:38 -07:00
C25519.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Capability.hpp More refactor 2019-08-14 15:00:18 -07:00
CertificateOfMembership.hpp Refactoring to eliminate duplicated code 2019-08-14 14:55:37 -07:00
CertificateOfOwnership.hpp more cleanup 2019-08-14 15:12:49 -07:00
CMakeLists.txt Fix Constants.hpp inclusion of version.h 2019-08-16 09:52:13 -07:00
Constants.hpp Fix Constants.hpp inclusion of version.h 2019-08-16 09:52:13 -07:00
Credential.cpp More refactor 2019-08-14 15:00:18 -07:00
Credential.hpp More refactor 2019-08-14 15:00:18 -07:00
Dictionary.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
ECC384.cpp . 2019-08-07 11:20:12 -05:00
ECC384.hpp . 2019-08-07 11:20:12 -05:00
Hashtable.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Identity.cpp . 2019-08-14 15:50:25 -07:00
Identity.hpp more cleanup 2019-08-14 15:17:06 -07:00
IncomingPacket.cpp cruftectomy 2019-08-15 15:43:35 -07:00
IncomingPacket.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
InetAddress.cpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
InetAddress.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Locator.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
MAC.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Membership.cpp Refactoring to eliminate duplicated code 2019-08-14 14:55:37 -07:00
Membership.hpp More work in progress 2019-08-14 12:48:45 -07:00
Multicaster.cpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Multicaster.hpp More work in progress 2019-08-14 12:48:45 -07:00
MulticastGroup.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Mutex.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Network.cpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Network.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
NetworkConfig.cpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
NetworkConfig.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
NetworkController.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Node.cpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Node.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
OutboundMulticast.cpp Tighten up credential push just a bit for faster up-time with older nodes, should not have significant impact on bandwidth. Also some cleanup and push direct path timing fixes. 2019-06-25 13:42:20 -07:00
OutboundMulticast.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Packet.cpp Remove ASM Salsa20 since it will not be the default in 2.x any more... reduce build complexity. 2019-08-16 14:26:25 -07:00
Packet.hpp cruftectomy 2019-08-15 15:43:35 -07:00
Path.cpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Path.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Peer.cpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Peer.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Poly1305.cpp cleanup 2019-08-14 16:05:09 -07:00
Poly1305.hpp cleanup 2019-08-14 16:05:09 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.hpp Refactoring to eliminate duplicated code 2019-08-14 14:55:37 -07:00
RingBuffer.hpp . 2019-08-14 15:28:10 -07:00
Root.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
RuntimeEnvironment.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Salsa20.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Salsa20.hpp Remove ASM Salsa20 since it will not be the default in 2.x any more... reduce build complexity. 2019-08-16 14:26:25 -07:00
SelfAwareness.cpp . 2019-08-14 15:28:10 -07:00
SelfAwareness.hpp . 2019-08-14 15:28:10 -07:00
SHA512.cpp cleanup 2019-08-08 08:42:27 -05:00
SHA512.hpp . 2019-08-13 08:49:25 -07:00
SharedPtr.hpp . 2019-08-14 15:28:10 -07:00
Str.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Switch.cpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Switch.hpp cleanup 2019-07-29 10:19:20 -07:00
Tag.hpp Refactoring to eliminate duplicated code 2019-08-14 14:55:37 -07:00
Topology.hpp A bunch more refactoring to rip out obsolete stuff related to old root system and general cleanup. 2019-08-15 10:49:50 -07:00
Trace.cpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Trace.hpp Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Utils.cpp more cleanup 2019-08-14 15:12:49 -07:00
Utils.hpp More work in progress 2019-08-14 12:48:45 -07:00

ZeroTier Network Hypervisor Core

This directory contains the real ZeroTier: a completely OS-independent global virtual Ethernet switch engine. This is where the magic happens.

Give it wire packets and it gives you Ethernet packets, and vice versa. The core contains absolutely no actual I/O, port configuration, or other OS-specific code (except Utils::getSecureRandom()). It provides a simple C API via /include/ZeroTierOne.h. It's designed to be small and maximally portable for future use on small embedded and special purpose systems.

Code in here follows these guidelines:

  • Keep it minimal, especially in terms of code footprint and memory use.
  • There should be no OS-dependent code here unless absolutely necessary (e.g. getSecureRandom).
  • If it's not part of the core virtual Ethernet switch it does not belong here.
  • No C++11 or C++14 since older and embedded compilers don't support it yet and this should be maximally portable.
  • Minimize the use of complex C++ features since at some point we might end up "minus-minus'ing" this code if doing so proves necessary to port to tiny embedded systems.