Adam Ierymenko b027a83789 Minor stuff... 5 năm trước cách đây
..
AES.cpp 727aa8e71f Warning removal. 5 năm trước cách đây
AES.hpp 2ee550bbfd Some optimization. 5 năm trước cách đây
Address.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 năm trước cách đây
Blob.hpp 727aa8e71f Warning removal. 5 năm trước cách đây
Buf.cpp 346d4b572b Fix symbol issues in static build. 5 năm trước cách đây
Buf.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
C25519.cpp 727aa8e71f Warning removal. 5 năm trước cách đây
C25519.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
CMakeLists.txt 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
Certificate.cpp 0d764f5a3d CGO glue for certificates, and Go formatting and other boring stuff. 5 năm trước cách đây
Certificate.hpp 899f0c9749 Certificate API 5 năm trước cách đây
Constants.hpp 05cc4ea36a dont use __has_include 5 năm trước cách đây
Containers.hpp 3f4809457f A bunch of compile fixes, and an edge case fix in Dictionary. 5 năm trước cách đây
Credential.cpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. 5 năm trước cách đây
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 năm trước cách đây
Defaults.cpp 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 năm trước cách đây
Defaults.hpp 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 năm trước cách đây
Defragmenter.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Dictionary.cpp 3f4809457f A bunch of compile fixes, and an edge case fix in Dictionary. 5 năm trước cách đây
Dictionary.hpp 3f4809457f A bunch of compile fixes, and an edge case fix in Dictionary. 5 năm trước cách đây
ECC384.cpp 69f1c8701b Define uint since that is not a standard symbol. 5 năm trước cách đây
ECC384.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Endpoint.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. 5 năm trước cách đây
Endpoint.hpp d18c33d6df Code cleanup, Linux build fixes. 5 năm trước cách đây
EphemeralKey.hpp 938cbba449 Root set stuff, code formatting and other boring stuff. 5 năm trước cách đây
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 năm trước cách đây
FCV.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 năm trước cách đây
Fingerprint.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Identity.cpp 3f4809457f A bunch of compile fixes, and an edge case fix in Dictionary. 5 năm trước cách đây
Identity.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 năm trước cách đây
InetAddress.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
InetAddress.hpp 6af39da61a Some formatting and optimization. 5 năm trước cách đây
LZ4.cpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
LZ4.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Locator.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
Locator.hpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. 5 năm trước cách đây
MAC.hpp 6af39da61a Some formatting and optimization. 5 năm trước cách đây
Member.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
Member.hpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
MembershipCredential.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
MembershipCredential.hpp 73d0e2e7e0 Interim commit of some cert and cert testing work, also other cleanup in Utils. 5 năm trước cách đây
Meter.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
MulticastGroup.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Mutex.hpp 05a3831acb Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 5 năm trước cách đây
Network.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 năm trước cách đây
Network.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 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
Node.cpp 6e1115ea03 More cert work, support certs in data store, and manually merge CMakefile. 5 năm trước cách đây
Node.hpp 6e1115ea03 More cert work, support certs in data store, and manually merge CMakefile. 5 năm trước cách đây
OS.hpp bd0299f392 Some cleanup and optimization. 5 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
Path.cpp 727aa8e71f Warning removal. 5 năm trước cách đây
Path.hpp 727aa8e71f Warning removal. 5 năm trước cách đây
Peer.cpp 727aa8e71f Warning removal. 5 năm trước cách đây
Peer.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
Poly1305.cpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Poly1305.hpp 727aa8e71f Warning removal. 5 năm trước cách đây
Protocol.hpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
README.md 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
RuntimeEnvironment.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
SHA512.cpp bd0299f392 Some cleanup and optimization. 5 năm trước cách đây
SHA512.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Salsa20.cpp 727aa8e71f Warning removal. 5 năm trước cách đây
Salsa20.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
ScopedPtr.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
SelfAwareness.cpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
SelfAwareness.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
SharedPtr.hpp 5e1b7f2ba6 Certificate stuff, but not plumbled through to CLI yet to actually make them. 5 năm trước cách đây
SymmetricKey.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
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 năm trước cách đây
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 năm trước cách đây
Tests.cpp 0d764f5a3d CGO glue for certificates, and Go formatting and other boring stuff. 5 năm trước cách đây
Tests.h 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Topology.cpp 899f0c9749 Certificate API 5 năm trước cách đây
Topology.hpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
Trace.cpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
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 năm trước cách đây
TriviallyCopyable.hpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Utils.cpp 404b7a5493 Even more clever... and would crash if something weird happened, which is desirable. 5 năm trước cách đây
Utils.hpp befc50ac3a Merge branch 'edge' of http://git.int.zerotier.com/zerotier/ZeroTierOne into edge 5 năm trước cách đây
VL1.cpp 92d2bbc63c Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 5 năm trước cách đây
VL1.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
VL2.cpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
VL2.hpp 016d85b169 Code formatting and similar. 5 năm trước cách đây
version.h.in 3dd2c94f4e Moar reorganization. 5 năm trước cách đây
zerotier.h b027a83789 Minor stuff... 5 năm trước cách đây

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.