Adam Ierymenko 81530e5990 Certificate plumbing in Go. пре 5 година
..
AES.cpp 71a2206c5d Move a few things. пре 5 година
AES.hpp 71a2206c5d Move a few things. пре 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 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. пре 5 година
Node.hpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. пре 5 година
OS.hpp bd0299f392 Some cleanup and optimization. пре 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 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. пре 5 година
Topology.hpp 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. пре 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 189dea7c96 Certificate work, and add an Endpoint attributes field to Locator for future use. пре 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.