ZeroTierOne/node
2020-06-03 22:03:34 -07:00
..
Address.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
AES.cpp Docs, YAGNI removal, use locator endpoints in peer contact attempts. 2020-05-31 06:47:56 -07:00
AES.hpp Some AES cleanup and include controller with Go build. 2020-05-30 17:03:12 -07:00
Buf.cpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Buf.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
C25519.cpp More endless work in progress... 2020-05-06 10:42:09 -07:00
C25519.hpp More endless work in progress... 2020-05-06 10:42:09 -07:00
Capability.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
Capability.hpp Work in progress on crypto stuff, refactoring to back out of use of structs for encode/decode as it is questionably portable. 2020-04-16 12:34:51 -07:00
CertificateOfMembership.cpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
CertificateOfMembership.hpp A bunch of cleanup and refactoring, implementation of prep for forward secrecy still in progress. 2020-04-13 12:22:08 -07:00
CertificateOfOwnership.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
CertificateOfOwnership.hpp A bunch of cleanup and refactoring, implementation of prep for forward secrecy still in progress. 2020-04-13 12:22:08 -07:00
CMakeLists.txt Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Constants.hpp A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
Containers.hpp Plumb new locator code through to Go, fix some cgo issues, fix some compiler warnings. 2020-05-29 10:16:38 -07:00
Credential.cpp A bunch of cleanup and refactoring, implementation of prep for forward secrecy still in progress. 2020-04-13 12:22:08 -07:00
Credential.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Defragmenter.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Dictionary.cpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
Dictionary.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
ECC384.cpp A bunch of little nit-picky header and name cleanup. 2020-03-04 08:16:44 -08:00
ECC384.hpp Version 2.x notice updates and other boring stuff. 2020-01-20 08:46:20 -08:00
Endpoint.cpp A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
Endpoint.hpp A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
EphemeralKey.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Expect.hpp A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
FCV.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Fingerprint.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Identity.cpp Flesh out tests, fix a signing bug. 2020-05-30 19:08:45 -07:00
Identity.hpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
InetAddress.cpp Build fixes. 2020-05-18 09:44:23 -07:00
InetAddress.hpp A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
Locator.cpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Locator.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
LZ4.cpp Some optimization and raw memory access cleanup. 2020-03-27 07:40:14 -07:00
LZ4.hpp Fix accidentally removed file. 2020-03-23 16:15:36 -07:00
MAC.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Membership.cpp Build fixes. 2020-05-18 09:44:23 -07:00
Membership.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Meter.hpp A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
MulticastGroup.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Mutex.hpp A bunch of warning removal and LINT cleanliness. 2020-03-31 12:35:54 -07:00
Network.cpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
Network.hpp A ton more work... almost there 2020-04-28 19:52:09 -07:00
NetworkConfig.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
NetworkConfig.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
NetworkController.hpp A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
Node.cpp Try to ignore temporary IPv6 addresses, fix Peer serialization, add an endpoint cache to Peer, some more Go stuff. 2020-06-03 22:03:34 -07:00
Node.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
OS.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Path.cpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Path.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Peer.cpp Try to ignore temporary IPv6 addresses, fix Peer serialization, add an endpoint cache to Peer, some more Go stuff. 2020-06-03 22:03:34 -07:00
Peer.hpp Try to ignore temporary IPv6 addresses, fix Peer serialization, add an endpoint cache to Peer, some more Go stuff. 2020-06-03 22:03:34 -07:00
Poly1305.cpp A ton more work... almost there 2020-04-28 19:52:09 -07:00
Poly1305.hpp Build fixes. 2020-05-18 09:44:23 -07:00
Protocol.hpp Clean up some NAT traversal code, modify algorithm to eliminate the need for toggle-able options. 2020-05-31 15:11:47 -07:00
README.md build fixes 2020-02-21 08:44:53 -08:00
Revocation.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
Revocation.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
RuntimeEnvironment.hpp Clean up some NAT traversal code, modify algorithm to eliminate the need for toggle-able options. 2020-05-31 15:11:47 -07:00
Salsa20.cpp Cleanup, slightly slow down V1 identity generation, faster Salsa20 (by a bit). 2020-05-19 10:13:12 -07:00
Salsa20.hpp Cleanup, slightly slow down V1 identity generation, faster Salsa20 (by a bit). 2020-05-19 10:13:12 -07:00
ScopedPtr.hpp More endless work in progress... 2020-05-06 10:42:09 -07:00
SelfAwareness.cpp Build fixes. 2020-05-18 09:44:23 -07:00
SelfAwareness.hpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
SHA512.cpp Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
SHA512.hpp A ton more work... almost there 2020-04-28 19:52:09 -07:00
SharedPtr.hpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
SymmetricKey.hpp More endless work in progress... 2020-05-06 10:42:09 -07:00
Tag.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
Tag.hpp A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
Tests.cpp Flesh out tests, fix a signing bug. 2020-05-30 19:08:45 -07:00
Tests.h A ton more work... almost there 2020-04-28 19:52:09 -07:00
Topology.cpp A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
Topology.hpp Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Trace.cpp A bunch of build fixes. 2020-05-29 07:06:00 -07:00
Trace.hpp More endless work in progress... 2020-05-06 10:42:09 -07:00
TriviallyCopyable.hpp A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
Utils.cpp Build fixes. 2020-05-19 14:02:32 -07:00
Utils.hpp Blazing fast VAES (256 and 512) AES-CTR, Identity fixes, test fixes. 2020-05-18 16:29:41 -07:00
VL1.cpp Build fixes. 2020-05-19 14:02:32 -07:00
VL1.hpp Build fixes. 2020-05-19 14:02:32 -07:00
VL2.cpp A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
VL2.hpp Yet more work in progress... mostly cleanup and re-implementation without depending on struture padding. 2020-05-11 13:08:55 -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.