Adam Ierymenko 71b72a1ef2 AES (but not yet GMAC) for ARM64 native AES intrinsics, performs really well! 5 роки тому
..
AES.cpp 71b72a1ef2 AES (but not yet GMAC) for ARM64 native AES intrinsics, performs really well! 5 роки тому
AES.hpp 71b72a1ef2 AES (but not yet GMAC) for ARM64 native AES intrinsics, performs really well! 5 роки тому
Address.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 роки тому
Blob.hpp 727aa8e71f Warning removal. 5 роки тому
Buf.cpp 346d4b572b Fix symbol issues in static build. 5 роки тому
Buf.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
C25519.cpp 727aa8e71f Warning removal. 5 роки тому
C25519.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
CMakeLists.txt 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 роки тому
CapabilityCredential.cpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
CapabilityCredential.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
Certificate.cpp cfb0bc4f8e Better CRL implementation, AES fix. 5 роки тому
Certificate.hpp cfb0bc4f8e Better CRL implementation, AES fix. 5 роки тому
Constants.hpp 05cc4ea36a dont use __has_include 5 роки тому
Containers.hpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
Credential.cpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. 5 роки тому
Credential.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
Defaults.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
Defaults.hpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
Defragmenter.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. 5 роки тому
Dictionary.cpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. 5 роки тому
Dictionary.hpp e5f2314055 Fix another not-fun bug. Also exterminate a memory leak and do a few optimizations. 5 роки тому
ECC384.cpp 69f1c8701b Define uint since that is not a standard symbol. 5 роки тому
ECC384.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Endpoint.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. 5 роки тому
Endpoint.hpp d18c33d6df Code cleanup, Linux build fixes. 5 роки тому
EphemeralKey.hpp 938cbba449 Root set stuff, code formatting and other boring stuff. 5 роки тому
Expect.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
FCV.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 роки тому
Fingerprint.hpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. 5 роки тому
Identity.cpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. 5 роки тому
Identity.hpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. 5 роки тому
InetAddress.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 роки тому
InetAddress.hpp 6af39da61a Some formatting and optimization. 5 роки тому
LZ4.cpp 3c11c13af4 More reorg, work in progress. 5 роки тому
LZ4.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Locator.cpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. 5 роки тому
Locator.hpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. 5 роки тому
MAC.hpp 6af39da61a Some formatting and optimization. 5 роки тому
Member.cpp a19bc1e826 Cleanup, remove legacy accessors, formatting. 5 роки тому
Member.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. 5 роки тому
MembershipCredential.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 роки тому
MembershipCredential.hpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. 5 роки тому
Meter.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
MulticastGroup.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Mutex.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 роки тому
Network.cpp a19bc1e826 Cleanup, remove legacy accessors, formatting. 5 роки тому
Network.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. 5 роки тому
NetworkConfig.cpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
NetworkConfig.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
NetworkController.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
Node.cpp becc4aa8ea More certificate plumbing. 5 роки тому
Node.hpp becc4aa8ea More certificate plumbing. 5 роки тому
OS.hpp 9a501a76d1 Starting on AES ARM intrinsics work. 5 роки тому
OwnershipCredential.cpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
OwnershipCredential.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
Path.cpp 727aa8e71f Warning removal. 5 роки тому
Path.hpp 727aa8e71f Warning removal. 5 роки тому
Peer.cpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. 5 роки тому
Peer.hpp 016d85b169 Code formatting and similar. 5 роки тому
Poly1305.cpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Poly1305.hpp 727aa8e71f Warning removal. 5 роки тому
Protocol.hpp 81530e5990 Certificate plumbing in Go. 5 роки тому
README.md 3c11c13af4 More reorg, work in progress. 5 роки тому
RevocationCredential.cpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
RevocationCredential.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
RuntimeEnvironment.hpp 016d85b169 Code formatting and similar. 5 роки тому
SHA512.cpp bd0299f392 Some cleanup and optimization. 5 роки тому
SHA512.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Salsa20.cpp 883cbd182d Some optimization work on crypto code. 5 роки тому
Salsa20.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
ScopedPtr.hpp 866a20e85b More small stuff. 5 роки тому
SelfAwareness.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
SelfAwareness.hpp 866a20e85b More small stuff. 5 роки тому
SharedPtr.hpp 85ef9535d5 So that's where those NULLs came from... 5 роки тому
SymmetricKey.hpp 866a20e85b More small stuff. 5 роки тому
TagCredential.cpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
TagCredential.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
Tests.cpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. 5 роки тому
Tests.h 3c11c13af4 More reorg, work in progress. 5 роки тому
Topology.cpp becc4aa8ea More certificate plumbing. 5 роки тому
Topology.hpp becc4aa8ea More certificate plumbing. 5 роки тому
Trace.cpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Trace.hpp cfc2a43f51 A whole bunch of minor refactoring, and rename a bunch of classes to be more canonical. A credential really is not a certficiate, so just call IdentificationCertificate Certificate and call the network auth stuff credentials. 5 роки тому
TriviallyCopyable.hpp 3c11c13af4 More reorg, work in progress. 5 роки тому
Utils.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
Utils.hpp 81530e5990 Certificate plumbing in Go. 5 роки тому
VL1.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. 5 роки тому
VL1.hpp 016d85b169 Code formatting and similar. 5 роки тому
VL2.cpp 016d85b169 Code formatting and similar. 5 роки тому
VL2.hpp 016d85b169 Code formatting and similar. 5 роки тому
version.h.in 3dd2c94f4e Moar reorganization. 5 роки тому
zerotier.h becc4aa8ea More certificate plumbing. 5 роки тому

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.