ZeroTierOne/core
2021-01-21 21:10:11 -05:00
..
Address.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
AES.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
AES.hpp Bust out ARM crypto extensions AES into a separate file too. 2020-10-16 17:41:03 -04:00
AES_aesni.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
AES_armcrypto.cpp Mirror over a few more AES fixes. 2020-12-03 22:29:38 -05:00
Blob.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Buf.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Buf.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
C25519.cpp Warning removal, Go work... 2020-08-10 12:35:26 -07:00
C25519.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
CapabilityCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
CapabilityCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
CAPI.cpp A ton of work in progress on service: logging, physical link enumeration, data store, local config, etc. 2021-01-21 21:10:11 -05:00
Certificate.cpp More rust tests, fix to enum from primitive. 2021-01-12 11:49:29 -05:00
Certificate.hpp Remove CRL from Certificate as it really does not belong there, and Rust cleanup. 2021-01-01 17:09:30 -05:00
CMakeLists.txt Rework how V1 identities work a bit to introduce a deterministic PoW (actually a VDF) function. This stuff was already developed, just not integrated yet, and this is the time to do it. 2021-01-12 20:45:06 -05:00
Constants.hpp Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
Containers.hpp AES software optimizations to make rpi4 faster. 2020-08-06 09:34:37 -07:00
Credential.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Credential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Defaults.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Defaults.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Defragmenter.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Dictionary.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Dictionary.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
ECC384.cpp Various cleanup... 2021-01-12 15:23:35 -05:00
ECC384.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Endpoint.cpp One more thing to move to CAPI.cpp. 2020-10-14 19:02:32 -04:00
Endpoint.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
EphemeralKey.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Expect.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
FCV.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Fingerprint.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Identity.cpp Rework how V1 identities work a bit to introduce a deterministic PoW (actually a VDF) function. This stuff was already developed, just not integrated yet, and this is the time to do it. 2021-01-12 20:45:06 -05:00
Identity.hpp Rework how V1 identities work a bit to introduce a deterministic PoW (actually a VDF) function. This stuff was already developed, just not integrated yet, and this is the time to do it. 2021-01-12 20:45:06 -05:00
InetAddress.cpp Rework how V1 identities work a bit to introduce a deterministic PoW (actually a VDF) function. This stuff was already developed, just not integrated yet, and this is the time to do it. 2021-01-12 20:45:06 -05:00
InetAddress.hpp Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
Locator.cpp Locator CGo API fixes. 2020-10-26 19:35:10 -04:00
Locator.hpp Locator CGo API fixes. 2020-10-26 19:35:10 -04:00
LZ4.cpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
LZ4.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MAC.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Member.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Member.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MembershipCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MembershipCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Meter.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
MIMC52.cpp Certs work, add integer modpow to MIMC52 for armel. 2021-01-13 13:19:31 -05:00
MIMC52.hpp Certs work, add integer modpow to MIMC52 for armel. 2021-01-13 13:19:31 -05:00
MulticastGroup.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Mutex.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Network.cpp Rust tests 2021-01-08 17:43:28 -05:00
Network.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkConfig.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkConfig.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
NetworkController.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Node.cpp Comments, fix to Rust bindgen, cleanup, warning removal, etc. 2021-01-08 14:59:05 -05:00
Node.hpp Comments, fix to Rust bindgen, cleanup, warning removal, etc. 2021-01-08 14:59:05 -05:00
OS.hpp Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
OwnershipCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
OwnershipCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Path.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Path.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Peer.cpp Comments, fix to Rust bindgen, cleanup, warning removal, etc. 2021-01-08 14:59:05 -05:00
Peer.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Poly1305.cpp More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Poly1305.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Protocol.hpp cleanup 2020-10-08 19:03:46 -04:00
README.md More reorg, work in progress. 2020-06-05 13:04:37 -07:00
RevocationCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
RevocationCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
RuntimeEnvironment.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Salsa20.cpp Some optimization work on crypto code. 2020-07-15 14:33:02 -07:00
Salsa20.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
ScopedPtr.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SelfAwareness.cpp Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
SelfAwareness.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SHA512.cpp Some cleanup and optimization. 2020-07-02 10:33:34 -07:00
SHA512.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
SharedPtr.hpp Build fix-- these are not needed. 2020-07-31 15:48:18 -07:00
SymmetricKey.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TagCredential.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TagCredential.hpp A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Tests.cpp Rework how V1 identities work a bit to introduce a deterministic PoW (actually a VDF) function. This stuff was already developed, just not integrated yet, and this is the time to do it. 2021-01-12 20:45:06 -05:00
Tests.h Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Topology.cpp Comments, fix to Rust bindgen, cleanup, warning removal, etc. 2021-01-08 14:59:05 -05:00
Topology.hpp Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00
Trace.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Trace.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
TriviallyCopyable.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Utils.cpp Port back over some improvements from 1.6 2020-11-18 21:56:16 -05:00
Utils.hpp Linux/GCC fixes. 2020-07-31 16:18:06 -07:00
version.h.in Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL1.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL1.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL2.cpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
VL2.hpp Change date bump for v2.0 2020-07-31 14:26:55 -07:00
zerotier.h A ton of work in progress on service: logging, physical link enumeration, data store, local config, etc. 2021-01-21 21:10:11 -05: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.