Adam Ierymenko 7efaab2af1 Add 4X parallel ARM AES so VTEC will kick in, yo. Seems to help on Graviton, not much on small chips but thats okay. hace 5 años
..
AES.cpp 7efaab2af1 Add 4X parallel ARM AES so VTEC will kick in, yo. Seems to help on Graviton, not much on small chips but thats okay. hace 5 años
AES.hpp 064cb6dad7 AES-GMAC for ARM crypto extensions (pmull) hace 5 años
Address.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). hace 5 años
Blob.hpp 727aa8e71f Warning removal. hace 5 años
Buf.cpp 346d4b572b Fix symbol issues in static build. hace 5 años
Buf.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
C25519.cpp 727aa8e71f Warning removal. hace 5 años
C25519.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
CMakeLists.txt 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. hace 5 años
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. hace 5 años
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. hace 5 años
Certificate.cpp cfb0bc4f8e Better CRL implementation, AES fix. hace 5 años
Certificate.hpp cfb0bc4f8e Better CRL implementation, AES fix. hace 5 años
Constants.hpp 05cc4ea36a dont use __has_include hace 5 años
Containers.hpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. hace 5 años
Credential.cpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. hace 5 años
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. hace 5 años
Defaults.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. hace 5 años
Defaults.hpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. hace 5 años
Defragmenter.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. hace 5 años
Dictionary.cpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. hace 5 años
Dictionary.hpp e5f2314055 Fix another not-fun bug. Also exterminate a memory leak and do a few optimizations. hace 5 años
ECC384.cpp 69f1c8701b Define uint since that is not a standard symbol. hace 5 años
ECC384.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
Endpoint.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. hace 5 años
Endpoint.hpp d18c33d6df Code cleanup, Linux build fixes. hace 5 años
EphemeralKey.hpp 938cbba449 Root set stuff, code formatting and other boring stuff. hace 5 años
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. hace 5 años
FCV.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). hace 5 años
Fingerprint.hpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. hace 5 años
Identity.cpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. hace 5 años
Identity.hpp 1eacbdf374 Some cleanup, and fix a really obscure bug in Certificate. hace 5 años
InetAddress.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. hace 5 años
InetAddress.hpp 6af39da61a Some formatting and optimization. hace 5 años
LZ4.cpp 3c11c13af4 More reorg, work in progress. hace 5 años
LZ4.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
Locator.cpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. hace 5 años
Locator.hpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. hace 5 años
MAC.hpp 6af39da61a Some formatting and optimization. hace 5 años
Member.cpp a19bc1e826 Cleanup, remove legacy accessors, formatting. hace 5 años
Member.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. hace 5 años
MembershipCredential.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. hace 5 años
MembershipCredential.hpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. hace 5 años
Meter.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
MulticastGroup.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
Mutex.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). hace 5 años
Network.cpp a19bc1e826 Cleanup, remove legacy accessors, formatting. hace 5 años
Network.hpp a19bc1e826 Cleanup, remove legacy accessors, formatting. hace 5 años
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. hace 5 años
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. hace 5 años
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. hace 5 años
Node.cpp becc4aa8ea More certificate plumbing. hace 5 años
Node.hpp becc4aa8ea More certificate plumbing. hace 5 años
OS.hpp 9a501a76d1 Starting on AES ARM intrinsics work. hace 5 años
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. hace 5 años
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. hace 5 años
Path.cpp 727aa8e71f Warning removal. hace 5 años
Path.hpp 727aa8e71f Warning removal. hace 5 años
Peer.cpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. hace 5 años
Peer.hpp 016d85b169 Code formatting and similar. hace 5 años
Poly1305.cpp 3c11c13af4 More reorg, work in progress. hace 5 años
Poly1305.hpp 727aa8e71f Warning removal. hace 5 años
Protocol.hpp 81530e5990 Certificate plumbing in Go. hace 5 años
README.md 3c11c13af4 More reorg, work in progress. hace 5 años
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. hace 5 años
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. hace 5 años
RuntimeEnvironment.hpp 016d85b169 Code formatting and similar. hace 5 años
SHA512.cpp bd0299f392 Some cleanup and optimization. hace 5 años
SHA512.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
Salsa20.cpp 883cbd182d Some optimization work on crypto code. hace 5 años
Salsa20.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
ScopedPtr.hpp 866a20e85b More small stuff. hace 5 años
SelfAwareness.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. hace 5 años
SelfAwareness.hpp 866a20e85b More small stuff. hace 5 años
SharedPtr.hpp 85ef9535d5 So that's where those NULLs came from... hace 5 años
SymmetricKey.hpp 866a20e85b More small stuff. hace 5 años
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. hace 5 años
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. hace 5 años
Tests.cpp 064cb6dad7 AES-GMAC for ARM crypto extensions (pmull) hace 5 años
Tests.h 3c11c13af4 More reorg, work in progress. hace 5 años
Topology.cpp becc4aa8ea More certificate plumbing. hace 5 años
Topology.hpp becc4aa8ea More certificate plumbing. hace 5 años
Trace.cpp 3c11c13af4 More reorg, work in progress. hace 5 años
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. hace 5 años
TriviallyCopyable.hpp 3c11c13af4 More reorg, work in progress. hace 5 años
Utils.cpp 064cb6dad7 AES-GMAC for ARM crypto extensions (pmull) hace 5 años
Utils.hpp d5afba2610 ARM auto-detection (unfinished) hace 5 años
VL1.cpp 407f737212 A bunch of Topology simplification, integrate some cert and root changes. hace 5 años
VL1.hpp 016d85b169 Code formatting and similar. hace 5 años
VL2.cpp 016d85b169 Code formatting and similar. hace 5 años
VL2.hpp 016d85b169 Code formatting and similar. hace 5 años
version.h.in 3dd2c94f4e Moar reorganization. hace 5 años
zerotier.h becc4aa8ea More certificate plumbing. hace 5 años

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.