Adam Ierymenko 07cb62a503 cleanup před 8 roky
..
Address.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Array.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
AtomicCounter.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Buffer.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
C25519.cpp b9e1d53d7a Minor cleanup. před 8 roky
C25519.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Capability.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Capability.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
CertificateOfMembership.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
CertificateOfMembership.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
CertificateOfOwnership.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
CertificateOfOwnership.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Constants.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Credential.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Dictionary.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Hashtable.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Identity.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Identity.hpp 6fbd15f8b2 cleanup před 8 roky
IncomingPacket.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
IncomingPacket.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
InetAddress.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
InetAddress.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
MAC.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Membership.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Membership.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
MulticastGroup.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Multicaster.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Multicaster.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Mutex.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Network.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Network.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
NetworkConfig.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
NetworkConfig.hpp 07cb62a503 cleanup před 8 roky
NetworkController.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Node.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Node.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
NonCopyable.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
OutboundMulticast.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
OutboundMulticast.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Packet.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Packet.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Path.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Path.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Peer.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Peer.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Poly1305.cpp b9e1d53d7a Minor cleanup. před 8 roky
Poly1305.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
README.md 8a2ff0b31e Actual documentation. před 9 roky
Revocation.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Revocation.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
RuntimeEnvironment.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
SHA512.cpp 1b68d6dbdc License header update. před 9 roky
SHA512.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Salsa20.cpp a8ced184dc Some code cleanup and make sure any type punning is guarded with ZT_NO_TYPE_PUNNING. před 9 roky
Salsa20.hpp 41c187ba12 Another very small crypto optimization. před 8 roky
SelfAwareness.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
SelfAwareness.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
SharedPtr.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Switch.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Switch.hpp 6fbd15f8b2 cleanup před 8 roky
Tag.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Tag.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Topology.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Topology.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Trace.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Trace.hpp 65c07afe05 Copyright updates for 2018. před 8 roky
Utils.cpp 65c07afe05 Copyright updates for 2018. před 8 roky
Utils.hpp 07cb62a503 cleanup před 8 roky
World.hpp 65c07afe05 Copyright updates for 2018. před 8 roky

README.md

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.