Adam Ierymenko d20470d30f cleanup 5 vuotta sitten
..
AES.cpp 782f15f8c9 Small software GMAC optimization. 5 vuotta sitten
AES.hpp 27939a5233 AES performance on rpi4 is now at least acceptable. 5 vuotta sitten
Address.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Blob.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Buf.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Buf.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
C25519.cpp f97e9e1f5d Warning removal, Go work... 5 vuotta sitten
C25519.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
CMakeLists.txt 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 vuotta sitten
CapabilityCredential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
CapabilityCredential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Certificate.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Certificate.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Constants.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Containers.hpp 78670aea58 AES software optimizations to make rpi4 faster. 5 vuotta sitten
Credential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Credential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Defaults.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Defaults.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Defragmenter.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Dictionary.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Dictionary.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
ECC384.cpp 69f1c8701b Define uint since that is not a standard symbol. 5 vuotta sitten
ECC384.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Endpoint.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Endpoint.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
EphemeralKey.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Expect.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
FCV.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Fingerprint.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Identity.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Identity.hpp 4273d89373 Linux/GCC fixes. 5 vuotta sitten
InetAddress.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
InetAddress.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
LZ4.cpp 3c11c13af4 More reorg, work in progress. 5 vuotta sitten
LZ4.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Locator.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Locator.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
MAC.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Member.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Member.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
MembershipCredential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
MembershipCredential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Meter.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
MulticastGroup.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Mutex.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Network.cpp 4273d89373 Linux/GCC fixes. 5 vuotta sitten
Network.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
NetworkConfig.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
NetworkConfig.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
NetworkController.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Node.cpp 72114e4cf8 Remove HTTP stuff from core API. This will be handled entirely in the service. 5 vuotta sitten
Node.hpp 72114e4cf8 Remove HTTP stuff from core API. This will be handled entirely in the service. 5 vuotta sitten
OS.hpp d20470d30f cleanup 5 vuotta sitten
OwnershipCredential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
OwnershipCredential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Path.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Path.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Peer.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Peer.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Poly1305.cpp 3c11c13af4 More reorg, work in progress. 5 vuotta sitten
Poly1305.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Protocol.hpp c2d14599c5 Make protocol versions same as 1.x series. 5 vuotta sitten
README.md 3c11c13af4 More reorg, work in progress. 5 vuotta sitten
RevocationCredential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
RevocationCredential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
RuntimeEnvironment.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
SHA512.cpp bd0299f392 Some cleanup and optimization. 5 vuotta sitten
SHA512.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Salsa20.cpp 883cbd182d Some optimization work on crypto code. 5 vuotta sitten
Salsa20.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
ScopedPtr.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
SelfAwareness.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
SelfAwareness.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
SharedPtr.hpp 9ef780e05c Build fix-- these are not needed. 5 vuotta sitten
SymmetricKey.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
TagCredential.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
TagCredential.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Tests.cpp 37360d5e2e More test timing fixes. 5 vuotta sitten
Tests.h 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Topology.cpp 2abf2c5695 More certificate stuff... 5 vuotta sitten
Topology.hpp 2abf2c5695 More certificate stuff... 5 vuotta sitten
Trace.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Trace.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
TriviallyCopyable.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Utils.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
Utils.hpp 4273d89373 Linux/GCC fixes. 5 vuotta sitten
VL1.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
VL1.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
VL2.cpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
VL2.hpp 7c929099b3 Change date bump for v2.0 5 vuotta sitten
version.h.in 7c929099b3 Change date bump for v2.0 5 vuotta sitten
zerotier.h 72114e4cf8 Remove HTTP stuff from core API. This will be handled entirely in the service. 5 vuotta sitten

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.
  • 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.