ZeroTierOne/node
Adam Ierymenko 9642ff5fb9
.
2020-01-08 18:08:41 -08:00
..
Address.hpp cleanup 2020-01-07 14:03:50 -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 cleanup 2020-01-07 14:03:50 -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 cleanup 2020-01-07 14:03:50 -08:00
C25519.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Capability.hpp cleanup 2020-01-07 14:03:50 -08:00
CertificateOfMembership.hpp cleanup 2020-01-07 14:03:50 -08:00
CertificateOfOwnership.hpp cleanup 2020-01-07 14:03:50 -08:00
CMakeLists.txt . 2020-01-07 13:24:15 -08:00
Constants.hpp . 2020-01-08 18:08:41 -08:00
Credential.cpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
Credential.hpp cleanup 2020-01-07 14:03:50 -08:00
Dictionary.hpp cleanup 2020-01-07 14:03:50 -08:00
ECC384.cpp . 2020-01-08 18:08:41 -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-08 18:08:41 -08:00
Hashtable.hpp . 2020-01-07 13:24:15 -08:00
Identity.cpp Work in progress... 2019-11-04 14:24:37 -08:00
Identity.hpp . 2020-01-08 18:08:41 -08:00
IncomingPacket.cpp cleanup 2020-01-07 14:03:50 -08:00
IncomingPacket.hpp cleanup 2020-01-07 14:03:50 -08:00
InetAddress.cpp . 2020-01-08 18:08:41 -08:00
InetAddress.hpp . 2020-01-08 18:08:41 -08:00
Locator.hpp . 2020-01-08 18:08:41 -08:00
MAC.hpp cleanup 2020-01-07 14:03:50 -08:00
Membership.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Membership.hpp . 2020-01-08 18:08:41 -08:00
Meter.hpp . 2020-01-07 13:24:15 -08:00
MulticastGroup.hpp cleanup 2020-01-07 14:03:50 -08:00
Mutex.hpp cleanup 2020-01-07 14:03:50 -08:00
Network.cpp cleanup 2020-01-07 14:03:50 -08:00
Network.hpp cleanup 2020-01-07 14:03:50 -08:00
NetworkConfig.cpp cleanup 2020-01-07 14:03:50 -08:00
NetworkConfig.hpp cleanup 2020-01-07 14:03:50 -08:00
NetworkController.hpp cleanup 2020-01-07 14:03:50 -08:00
Node.cpp . 2020-01-08 18:08:41 -08:00
Node.hpp . 2020-01-08 18:08:41 -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 cleanup 2020-01-07 14:03:50 -08:00
Path.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Path.hpp . 2020-01-08 18:08:41 -08:00
Peer.cpp . 2020-01-08 18:08:41 -08:00
Peer.hpp . 2020-01-08 18:08:41 -08:00
Poly1305.cpp cleanup 2020-01-07 14:03:50 -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 . 2020-01-08 18:08:41 -08:00
RingBuffer.hpp cleanup 2020-01-07 14:03:50 -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 cleanup 2020-01-07 14:03:50 -08:00
ScopedPtr.hpp cleanup 2020-01-07 14:03:50 -08:00
SelfAwareness.cpp cleanup 2020-01-07 14:03:50 -08:00
SelfAwareness.hpp A bunch of cleanup and refactoring toward 2.x 2019-12-12 16:15:49 -08:00
SHA512.cpp cleanup 2020-01-07 14:03:50 -08:00
SHA512.hpp . 2020-01-06 18:14:35 -08:00
SharedPtr.hpp . 2020-01-08 18:08:41 -08:00
Str.hpp . 2020-01-06 18:14:35 -08:00
Switch.cpp cleanup 2020-01-07 14:03:50 -08:00
Switch.hpp . 2020-01-07 13:24:15 -08:00
Tag.hpp . 2020-01-08 18:08:41 -08:00
Topology.hpp . 2020-01-08 18:08:41 -08:00
Trace.cpp . 2020-01-08 18:08:41 -08:00
Trace.hpp cleanup 2020-01-07 14:03:50 -08:00
Utils.cpp cleanup 2020-01-07 14:03:50 -08:00
Utils.hpp . 2020-01-08 18:08:41 -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.