ZeroTierOne/core
2021-03-18 16:00:24 -04:00
..
Address.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
AES.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
AES.hpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
AES_aesni.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
AES_armcrypto.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
Blob.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Buf.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Buf.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
C25519.cpp Warning removal, Go work... 2020-08-10 12:35:26 -07:00
C25519.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
CapabilityCredential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
CapabilityCredential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
CAPI.cpp More code cleanup, making earlier Rust code more rustic. 2021-03-18 16:00:24 -04:00
Certificate.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
Certificate.hpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
CMakeLists.txt Cleanup and optimization. 2021-03-02 11:18:04 -05:00
Constants.hpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
Containers.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Credential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Credential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Defaults.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Defaults.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Defragmenter.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Dictionary.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Dictionary.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
ECC384.cpp Various cleanup... 2021-01-12 15:23:35 -05:00
ECC384.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Endpoint.cpp Create and verify locators via CLI. 2021-03-11 21:37:04 -05:00
Endpoint.hpp Swap out warp for simple hyper web server in Rust, and we will use web sockets for webby-style communication since WebRTC is a mess. 2021-02-25 10:49:35 -05:00
EphemeralKey.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Expect.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
FCV.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Fingerprint.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Identity.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Identity.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
InetAddress.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
InetAddress.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Locator.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Locator.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
LZ4.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
LZ4.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
MAC.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Member.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Member.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
MembershipCredential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
MembershipCredential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Meter.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
MIMC52.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
MIMC52.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
MulticastGroup.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Mutex.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Network.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Network.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
NetworkConfig.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
NetworkConfig.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
NetworkController.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Node.cpp Cleanup and optimization. 2021-03-02 11:18:04 -05:00
Node.hpp Cleanup and optimization. 2021-03-02 11:18:04 -05:00
OS.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
OwnershipCredential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
OwnershipCredential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Path.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Path.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Peer.cpp C++ build fixes, fix regression in SharedPtr 2021-03-09 18:08:31 -05:00
Peer.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Poly1305.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Poly1305.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Protocol.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
README.md More reorg, work in progress. 2020-06-05 13:04:37 -07:00
RevocationCredential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
RevocationCredential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
RuntimeEnvironment.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Salsa20.cpp Some optimization work on crypto code. 2020-07-15 14:33:02 -07:00
Salsa20.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
ScopedPtr.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
SelfAwareness.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
SelfAwareness.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
SHA512.cpp Some cleanup and optimization. 2020-07-02 10:33:34 -07:00
SHA512.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
SharedPtr.hpp Build fixes in Rust. 2021-03-09 23:36:35 -05:00
Spinlock.hpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
SymmetricKey.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
TagCredential.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
TagCredential.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Tests.cpp C++ build fixes, fix regression in SharedPtr 2021-03-09 18:08:31 -05:00
Tests.h Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Topology.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
Topology.hpp Cleanup and optimization. 2021-03-02 11:18:04 -05:00
Trace.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Trace.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
TriviallyCopyable.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Utils.cpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
Utils.hpp cleanup, warning removal. 2021-03-08 14:05:33 -05:00
version.h.in Copyright notices, dates. 2021-02-22 22:58:16 -05:00
VL1.cpp C++ build fixes, fix regression in SharedPtr 2021-03-09 18:08:31 -05:00
VL1.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
VL2.cpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
VL2.hpp Copyright notices, dates. 2021-02-22 22:58:16 -05:00
zerotier.h More code cleanup, making earlier Rust code more rustic. 2021-03-18 16:00:24 -04: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.