ZeroTierOne/node
Adam Ierymenko 19899de5a6
.
2020-01-06 18:14:35 -08:00
..
Address.hpp . 2020-01-06 18:14:35 -08:00
AES-aesni.c Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
AES.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
AES.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
AtomicCounter.hpp . 2020-01-06 18:14:35 -08:00
Buffer.hpp work in progress 2019-10-15 12:49:03 -07:00
C25519.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
C25519.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Capability.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
CertificateOfMembership.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
CertificateOfOwnership.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
CMakeLists.txt . 2020-01-06 18:14:35 -08:00
Constants.hpp . 2020-01-02 19:04:36 -05:00
Credential.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Credential.hpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Dictionary.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
ECC384.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
ECC384.hpp Licenses, and use full strength AES-128 in scramble. 2019-08-23 12:03:13 -07:00
Endpoint.hpp . 2020-01-02 19:04:36 -05:00
EphemeralKey.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Hashtable.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Identity.cpp Work in progress... 2019-11-04 14:24:37 -08:00
Identity.hpp . 2020-01-06 18:14:35 -08:00
IncomingPacket.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
IncomingPacket.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
InetAddress.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
InetAddress.hpp . 2020-01-02 19:04:36 -05:00
Locator.hpp . 2020-01-02 19:04:36 -05:00
MAC.hpp . 2020-01-06 18:14:35 -08:00
Membership.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Membership.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Meter.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
MulticastGroup.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Mutex.hpp . 2020-01-02 19:04:36 -05:00
Network.cpp Gogog 2019-09-21 15:35:27 -07:00
Network.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
NetworkConfig.cpp work in progress 2019-10-15 12:49:03 -07:00
NetworkConfig.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
NetworkController.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Node.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Node.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
OS.hpp . 2020-01-02 19:04:36 -05:00
Packet.cpp Packet ID fix 2019-09-13 10:23:35 -07:00
Packet.hpp . 2020-01-06 18:14:35 -08:00
Path.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Path.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Peer.cpp Plumb through external interface stuff 2019-10-03 10:43:28 -07:00
Peer.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Poly1305.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Poly1305.hpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
RingBuffer.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
RuntimeEnvironment.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Salsa20.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Salsa20.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
ScopedPtr.hpp . 2020-01-06 18:14:35 -08:00
SelfAwareness.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
SelfAwareness.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
SHA512.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
SHA512.hpp . 2020-01-06 18:14:35 -08:00
SharedPtr.hpp . 2020-01-06 18:14:35 -08:00
Str.hpp . 2020-01-06 18:14:35 -08:00
Switch.cpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
Switch.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Tag.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Topology.hpp . 2020-01-06 18:14:35 -08:00
Trace.cpp work in progress 2019-10-15 12:49:03 -07:00
Trace.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Utils.cpp . 2020-01-06 18:14:35 -08:00
Utils.hpp . 2020-01-06 18:14:35 -08: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.
  • No C++11 or C++14 since older and embedded compilers don't support it yet and this should be maximally portable.
  • 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.