ZeroTierOne/node
2020-05-26 17:57:09 -07:00
..
Address.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
AtomicCounter.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Bond.cpp Formatting 2020-05-14 20:09:25 -07:00
Bond.hpp Formatting 2020-05-14 20:09:25 -07:00
BondController.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
BondController.hpp Formatting 2020-05-14 20:09:25 -07:00
Buffer.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
C25519.cpp more warning cleanup 2019-08-08 10:28:57 -05:00
C25519.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Capability.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Capability.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
CertificateOfMembership.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
CertificateOfMembership.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
CertificateOfOwnership.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
CertificateOfOwnership.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Constants.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Credential.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Dictionary.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Flow.hpp Formatting 2020-05-14 20:09:25 -07:00
Hashtable.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Identity.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Identity.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
IncomingPacket.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
IncomingPacket.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
InetAddress.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
InetAddress.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
MAC.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Membership.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Membership.hpp Warning removal 2019-08-23 21:28:26 -07:00
Multicaster.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Multicaster.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
MulticastGroup.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Mutex.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Network.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Network.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
NetworkConfig.cpp Merge changes from dev into multipath 2020-05-26 17:57:09 -07:00
NetworkConfig.hpp Merge changes from dev into multipath 2020-05-26 17:57:09 -07:00
NetworkController.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Node.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Node.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
OutboundMulticast.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
OutboundMulticast.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Packet.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Packet.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Path.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Path.hpp Formatting 2020-05-14 20:09:25 -07:00
Peer.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Peer.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Poly1305.cpp RingBuffer<> is now templated with size, buffer is now static. 2019-03-22 14:39:52 -07:00
Poly1305.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Revocation.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
RingBuffer.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
RuntimeEnvironment.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Salsa20.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Salsa20.hpp Another very small crypto optimization. 2017-05-03 07:43:23 -07:00
SelfAwareness.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
SelfAwareness.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
SHA512.cpp Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things. 2018-03-13 06:51:17 -07:00
SHA512.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
SharedPtr.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Switch.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Switch.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Tag.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Tag.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Topology.cpp Update built-in root list. 2019-09-04 14:17:41 -07:00
Topology.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Trace.cpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Trace.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
Utils.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Utils.hpp Add Bonds, Slaves, and Flows 2020-05-12 01:35:48 -07:00
World.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -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.