ZeroTierOne/node
2019-09-30 16:12:08 -07:00
..
Address.hpp more opt 2019-08-23 12:40:08 -07:00
AES-aesni.c Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
AES.cpp AES optimization rabbit hole 2019-09-13 09:35:49 -07:00
AES.hpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
AtomicCounter.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
Buffer.hpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
C25519.cpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
C25519.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
Capability.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
CertificateOfMembership.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
CertificateOfOwnership.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
CMakeLists.txt AES optimization rabbit hole 2019-09-13 09:35:49 -07:00
Constants.hpp Plumb through roots via API. 2019-09-19 09:47:12 -07:00
Credential.cpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
Credential.hpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Dictionary.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
ECC384.cpp cleanup 2019-08-27 14:42:49 -07:00
ECC384.hpp Licenses, and use full strength AES-128 in scramble. 2019-08-23 12:03:13 -07:00
Hashtable.hpp Linux build fix 2019-09-12 08:25:26 -07:00
Identity.cpp May as well make it a full self-signature. 2019-09-09 10:45:49 -07:00
Identity.hpp Bug fixes 2019-09-11 16:10:06 -07:00
IncomingPacket.cpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
IncomingPacket.hpp Cleanup, optimization, multicast stuff, and it now compiles again. 2019-09-11 15:34:55 -07:00
InetAddress.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
InetAddress.hpp cleanup 2019-09-12 10:37:26 -07:00
Locator.hpp Root admin stuff 2019-09-30 09:32:00 -07:00
MAC.hpp More Go boilerplate. 2019-09-20 14:11:15 -07:00
Membership.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Membership.hpp Optimization and cleanup 2019-08-26 20:18:28 -07:00
Meter.hpp Build fix 2019-09-16 15:09:56 -07:00
Multicaster.cpp Build fixes. 2019-09-11 15:52:18 -07:00
Multicaster.hpp Build fixes. 2019-09-11 15:52:18 -07:00
MulticastGroup.hpp Fix some more multicast stuff (minor) 2019-08-29 12:02:37 -07:00
Mutex.hpp Add instrumentation to root, add capability to forward to siblings if no path is known to a peer. 2019-09-03 12:21:57 -07:00
Network.cpp Gogog 2019-09-21 15:35:27 -07:00
Network.hpp Gogog 2019-09-21 15:35:27 -07:00
NetworkConfig.cpp Yet more multicast work. 2019-09-09 15:49:17 -07:00
NetworkConfig.hpp Build fixes. 2019-09-11 15:52:18 -07:00
NetworkController.hpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Node.cpp Simplify root API 2019-09-26 13:35:56 -07:00
Node.hpp Simplify root API 2019-09-26 13:35:56 -07:00
Packet.cpp Packet ID fix 2019-09-13 10:23:35 -07:00
Packet.hpp More multicast work... 2019-09-10 16:20:28 -07:00
Path.cpp Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Path.hpp Build fix 2019-09-25 12:43:14 -07:00
Peer.cpp Safety upgrades to code 2019-08-28 10:34:32 -07:00
Peer.hpp cleanup 2019-09-12 10:37:26 -07:00
Poly1305.cpp More cleanup, and fix SHA384 built-in C code. 2019-08-22 14:52:47 -07: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 Optimization and cleanup 2019-08-26 20:18:28 -07:00
RingBuffer.hpp Optimization and cleanup 2019-08-26 20:18:28 -07:00
RuntimeEnvironment.hpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
Salsa20.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Salsa20.hpp Ensure SSE is enabled for Salsa20 on x64 2019-09-13 11:16:21 -07:00
ScopedPtr.hpp Safety upgrades to code 2019-08-28 10:34:32 -07:00
SelfAwareness.cpp cleanup 2019-09-16 19:58:21 -07:00
SelfAwareness.hpp Optimization and cleanup 2019-08-26 20:18:28 -07:00
SHA512.cpp cleanup 2019-09-12 10:37:26 -07:00
SHA512.hpp A bunch of multicast work... in progress. 2019-09-07 19:15:21 -07:00
SharedPtr.hpp more opt 2019-08-23 12:40:08 -07:00
Str.hpp A bunch of CLI work 2019-09-30 16:12:08 -07:00
Switch.cpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
Switch.hpp Cleanup and warning removal. 2019-09-13 16:24:02 -07:00
Tag.hpp cleanup 2019-09-12 10:37:26 -07:00
Topology.hpp A bunch of CLI work 2019-09-30 16:12:08 -07:00
Trace.cpp Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Trace.hpp cleanup 2019-09-12 10:37:26 -07:00
Utils.cpp Going once... going twice! 2019-09-21 15:04:00 -07:00
Utils.hpp . 2019-09-27 14:55:46 -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.
  • 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.