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.