ZeroTierOne/core
2020-07-01 11:14:01 -07:00
..
Address.hpp Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 2020-06-24 10:46:59 -07:00
AES.cpp Some optimization. 2020-06-30 23:44:24 -07:00
AES.hpp Some optimization. 2020-06-30 23:44:24 -07:00
Blob.hpp Some formatting and optimization. 2020-06-30 22:23:57 -07:00
Buf.cpp Fix symbol issues in static build. 2020-06-15 15:02:07 -07:00
Buf.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
C25519.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
C25519.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
CapabilityCredential.cpp 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. 2020-06-18 17:02:36 -07:00
CapabilityCredential.hpp 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. 2020-06-18 17:02:36 -07:00
Certificate.cpp Test certificate copy/construct. 2020-06-30 23:20:50 -07:00
Certificate.hpp Test certificate copy/construct. 2020-06-30 23:20:50 -07:00
CMakeLists.txt Certificate stuff, but not plumbled through to CLI yet to actually make them. 2020-06-25 07:40:21 -07:00
Constants.hpp dont use __has_include 2020-06-19 16:36:04 -07:00
Containers.hpp A bunch of compile fixes, and an edge case fix in Dictionary. 2020-06-30 20:31:41 -07:00
Credential.cpp Interim commit of some cert and cert testing work, also other cleanup in Utils. 2020-06-26 13:09:24 -07:00
Credential.hpp 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. 2020-06-18 17:02:36 -07:00
Defaults.cpp Certificate stuff, but not plumbled through to CLI yet to actually make them. 2020-06-25 07:40:21 -07:00
Defaults.hpp Certificate stuff, but not plumbled through to CLI yet to actually make them. 2020-06-25 07:40:21 -07:00
Defragmenter.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Dictionary.cpp A bunch of compile fixes, and an edge case fix in Dictionary. 2020-06-30 20:31:41 -07:00
Dictionary.hpp A bunch of compile fixes, and an edge case fix in Dictionary. 2020-06-30 20:31:41 -07:00
ECC384.cpp Define uint since that is not a standard symbol. 2020-06-15 13:13:03 -07:00
ECC384.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Endpoint.cpp Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. 2020-06-08 14:41:13 -07:00
Endpoint.hpp Code cleanup, Linux build fixes. 2020-06-05 22:18:58 -07:00
EphemeralKey.hpp Root set stuff, code formatting and other boring stuff. 2020-06-09 12:26:52 -07:00
Expect.hpp 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. 2020-06-18 17:02:36 -07:00
FCV.hpp Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 2020-06-24 10:46:59 -07:00
Fingerprint.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Identity.cpp A bunch of compile fixes, and an edge case fix in Dictionary. 2020-06-30 20:31:41 -07:00
Identity.hpp 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. 2020-06-18 17:02:36 -07:00
InetAddress.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
InetAddress.hpp Some formatting and optimization. 2020-06-30 22:23:57 -07:00
Locator.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
Locator.hpp Interim commit of some cert and cert testing work, also other cleanup in Utils. 2020-06-26 13:09:24 -07:00
LZ4.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
LZ4.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
MAC.hpp Some formatting and optimization. 2020-06-30 22:23:57 -07:00
Member.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
Member.hpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
MembershipCredential.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
MembershipCredential.hpp Interim commit of some cert and cert testing work, also other cleanup in Utils. 2020-06-26 13:09:24 -07:00
Meter.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
MulticastGroup.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Mutex.hpp Certificates, and rename credentials to credential since they are not truly certificates (according to the common definition). 2020-06-24 10:46:59 -07:00
Network.cpp 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. 2020-06-18 17:02:36 -07:00
Network.hpp 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. 2020-06-18 17:02:36 -07:00
NetworkConfig.cpp 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. 2020-06-18 17:02:36 -07:00
NetworkConfig.hpp 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. 2020-06-18 17:02:36 -07:00
NetworkController.hpp 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. 2020-06-18 17:02:36 -07:00
Node.cpp More cert work, support certs in data store, and manually merge CMakefile. 2020-06-24 17:05:34 -07:00
Node.hpp More cert work, support certs in data store, and manually merge CMakefile. 2020-06-24 17:05:34 -07:00
OS.hpp A bunch of compile fixes, and an edge case fix in Dictionary. 2020-06-30 20:31:41 -07:00
OwnershipCredential.cpp 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. 2020-06-18 17:02:36 -07:00
OwnershipCredential.hpp 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. 2020-06-18 17:02:36 -07:00
Path.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Path.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
Peer.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
Peer.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
Poly1305.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Poly1305.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Protocol.hpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
README.md More reorg, work in progress. 2020-06-05 13:04:37 -07:00
RevocationCredential.cpp 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. 2020-06-18 17:02:36 -07:00
RevocationCredential.hpp 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. 2020-06-18 17:02:36 -07:00
RuntimeEnvironment.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
Salsa20.cpp Certificates, and it builds again. 2020-06-15 11:17:24 -07:00
Salsa20.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
ScopedPtr.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
SelfAwareness.cpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
SelfAwareness.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
SHA512.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
SHA512.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
SharedPtr.hpp Certificate stuff, but not plumbled through to CLI yet to actually make them. 2020-06-25 07:40:21 -07:00
SymmetricKey.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
TagCredential.cpp 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. 2020-06-18 17:02:36 -07:00
TagCredential.hpp 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. 2020-06-18 17:02:36 -07:00
Tests.cpp Fix method name problem. 2020-07-01 11:14:01 -07:00
Tests.h More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Topology.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
Topology.hpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
Trace.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Trace.hpp 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. 2020-06-18 17:02:36 -07:00
TriviallyCopyable.hpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Utils.cpp Windows now builds at least to the point of running zt_core_tests. Go will need a revision to the command in CMake files. 2020-06-16 21:21:24 -07:00
Utils.hpp Fix method name problem. 2020-07-01 11:14:01 -07:00
version.h.in Moar reorganization. 2020-06-05 13:26:35 -07:00
VL1.cpp Some symbol renaming, performance improvements, a bug fix for compiling on some platforms, and some Topology work. 2020-06-30 11:20:44 -07:00
VL1.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
VL2.cpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
VL2.hpp Code formatting and similar. 2020-06-08 11:47:28 -07:00
zerotier.h Now with less bugs, and less limits that could pose an issue later. 2020-06-27 13:52:12 -07:00

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.