Joseph Henry 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
..
Address.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
AtomicCounter.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Bond.cpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
Bond.hpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
BondController.cpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
BondController.hpp 7266550c22 Remove vestigial constructor, fix typos, clean up code 5 лет назад
Buffer.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
C25519.cpp 6c44fcc290 more warning cleanup 6 лет назад
C25519.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Capability.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Capability.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
CertificateOfMembership.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
CertificateOfMembership.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
CertificateOfOwnership.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
CertificateOfOwnership.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Constants.hpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
Credential.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Dictionary.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Flow.hpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
Hashtable.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Identity.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Identity.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
IncomingPacket.cpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
IncomingPacket.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
InetAddress.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
InetAddress.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
MAC.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Membership.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Membership.hpp 633cf9ec04 Warning removal 6 лет назад
MulticastGroup.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Multicaster.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Multicaster.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Mutex.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Network.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Network.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
NetworkConfig.cpp 7ed960297b Merge changes from dev into multipath 5 лет назад
NetworkConfig.hpp 7ed960297b Merge changes from dev into multipath 5 лет назад
NetworkController.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Node.cpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Node.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
OutboundMulticast.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
OutboundMulticast.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Packet.cpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Packet.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Path.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Path.hpp 7266550c22 Remove vestigial constructor, fix typos, clean up code 5 лет назад
Peer.cpp 5f0ee4fc78 Fix invalid defaultBondingPolicy conditions, Add ZT_MultipathFlowRebalanceStrategy, Add basic hysteresis mechanism to flow re-assignment 5 лет назад
Peer.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Poly1305.cpp d530356055 RingBuffer<> is now templated with size, buffer is now static. 6 лет назад
Poly1305.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
README.md 8a2ff0b31e Actual documentation. 9 лет назад
Revocation.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Revocation.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
RingBuffer.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
RuntimeEnvironment.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
SHA512.cpp beb170e4fb 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. 7 лет назад
SHA512.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Salsa20.cpp 9681fedbb4 Spellcheck sweep across codebase 7 лет назад
Salsa20.hpp 41c187ba12 Another very small crypto optimization. 8 лет назад
SelfAwareness.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
SelfAwareness.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
SharedPtr.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Switch.cpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Switch.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Tag.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Tag.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Topology.cpp ecee310087 Update built-in root list. 6 лет назад
Topology.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Trace.cpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Trace.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
Utils.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад
Utils.hpp a50e8e9878 Add Bonds, Slaves, and Flows 5 лет назад
World.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 6 лет назад

README.md

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.