Adam Ierymenko 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
..
AES.cpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
AES.hpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
Address.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
AtomicCounter.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Buffer.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
C25519.cpp 83d723eb79 type 1 (P-384) identities před 6 roky
C25519.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
CMakeLists.txt 37047a39f9 More cleanup, and fix SHA384 built-in C code. před 6 roky
Capability.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
CertificateOfMembership.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
CertificateOfOwnership.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Constants.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Credential.cpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
Credential.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Dictionary.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
ECC384.cpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
ECC384.hpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
Hashtable.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Identity.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Identity.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
IncomingPacket.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
IncomingPacket.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
InetAddress.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
InetAddress.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Locator.hpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
MAC.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Membership.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Membership.hpp c79360f58b Merge dev před 6 roky
MulticastGroup.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Multicaster.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Multicaster.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Mutex.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Network.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Network.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
NetworkConfig.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
NetworkConfig.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
NetworkController.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 před 6 roky
Node.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Node.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
OutboundMulticast.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 před 6 roky
OutboundMulticast.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Packet.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Packet.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Path.cpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 před 6 roky
Path.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Peer.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Peer.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Poly1305.cpp 37047a39f9 More cleanup, and fix SHA384 built-in C code. před 6 roky
Poly1305.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
README.md 8a2ff0b31e Actual documentation. před 9 roky
Revocation.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
RingBuffer.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Root.hpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
RuntimeEnvironment.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 před 6 roky
SHA512.cpp 903a18db1d work in progress před 6 roky
SHA512.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Salsa20.cpp 9681fedbb4 Spellcheck sweep across codebase před 7 roky
Salsa20.hpp 51a25fdec9 Remove ASM Salsa20 since it will not be the default in 2.x any more... reduce build complexity. před 6 roky
SelfAwareness.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
SelfAwareness.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
SharedPtr.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Str.hpp 52d55e34e6 Licenses, and use full strength AES-128 in scramble. před 6 roky
Switch.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Switch.hpp 52a166a71f Relicense: GPLv3 -> ZeroTier BSL 1.1 před 6 roky
Tag.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Topology.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Trace.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Trace.hpp 6f6138c500 Merge relicensing change from dev před 6 roky
Utils.cpp 6f6138c500 Merge relicensing change from dev před 6 roky
Utils.hpp 6f6138c500 Merge relicensing change from dev před 6 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.