Adam Ierymenko 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
..
AES.cpp ec76f6e1d2 Mirror over a few more AES fixes. 4 năm trước cách đây
AES.hpp a7350bc312 Bust out ARM crypto extensions AES into a separate file too. 4 năm trước cách đây
AES_aesni.cpp ec76f6e1d2 Mirror over a few more AES fixes. 4 năm trước cách đây
AES_armcrypto.cpp ec76f6e1d2 Mirror over a few more AES fixes. 4 năm trước cách đây
Address.hpp 8f746f5099 Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 4 năm trước cách đây
Blob.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Buf.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Buf.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
C25519.cpp f97e9e1f5d Warning removal, Go work... 5 năm trước cách đây
C25519.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
CAPI.cpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
CMakeLists.txt a7350bc312 Bust out ARM crypto extensions AES into a separate file too. 4 năm trước cách đây
CapabilityCredential.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
CapabilityCredential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Certificate.cpp 8f746f5099 Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 4 năm trước cách đây
Certificate.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Constants.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Containers.hpp 78670aea58 AES software optimizations to make rpi4 faster. 5 năm trước cách đây
Credential.cpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Credential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Defaults.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Defaults.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Defragmenter.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Dictionary.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Dictionary.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
ECC384.cpp 69f1c8701b Define uint since that is not a standard symbol. 5 năm trước cách đây
ECC384.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Endpoint.cpp 8e5f8140a2 One more thing to move to CAPI.cpp. 4 năm trước cách đây
Endpoint.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
EphemeralKey.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Expect.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
FCV.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Fingerprint.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Identity.cpp 8f746f5099 Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 4 năm trước cách đây
Identity.hpp 4273d89373 Linux/GCC fixes. 5 năm trước cách đây
InetAddress.cpp c943d0e807 InetAddress fix ported from 1.6 4 năm trước cách đây
InetAddress.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
LZ4.cpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
LZ4.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Locator.cpp f8e3251efe Locator CGo API fixes. 4 năm trước cách đây
Locator.hpp f8e3251efe Locator CGo API fixes. 4 năm trước cách đây
MAC.hpp 8f746f5099 Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 4 năm trước cách đây
Member.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Member.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
MembershipCredential.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
MembershipCredential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Meter.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
MulticastGroup.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Mutex.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Network.cpp 4273d89373 Linux/GCC fixes. 5 năm trước cách đây
Network.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
NetworkConfig.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
NetworkConfig.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
NetworkController.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Node.cpp bab9a7f508 Fix and modernize API peer list function. 4 năm trước cách đây
Node.hpp 72114e4cf8 Remove HTTP stuff from core API. This will be handled entirely in the service. 5 năm trước cách đây
OS.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
OwnershipCredential.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
OwnershipCredential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Path.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Path.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Peer.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Peer.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Poly1305.cpp 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
Poly1305.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Protocol.hpp 00714f5f2e cleanup 4 năm trước cách đây
README.md 3c11c13af4 More reorg, work in progress. 5 năm trước cách đây
RevocationCredential.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
RevocationCredential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
RuntimeEnvironment.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
SHA512.cpp bd0299f392 Some cleanup and optimization. 5 năm trước cách đây
SHA512.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Salsa20.cpp 883cbd182d Some optimization work on crypto code. 5 năm trước cách đây
Salsa20.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
ScopedPtr.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
SelfAwareness.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
SelfAwareness.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
SharedPtr.hpp 9ef780e05c Build fix-- these are not needed. 5 năm trước cách đây
SymmetricKey.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
TagCredential.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
TagCredential.hpp 7d951783ca A bunch of little warning removal and format fix things. 4 năm trước cách đây
Tests.cpp 37360d5e2e More test timing fixes. 5 năm trước cách đây
Tests.h 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Topology.cpp 2abf2c5695 More certificate stuff... 5 năm trước cách đây
Topology.hpp 8f746f5099 Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 4 năm trước cách đây
Trace.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Trace.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
TriviallyCopyable.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
Utils.cpp a1ceccaf6e Port back over some improvements from 1.6 4 năm trước cách đây
Utils.hpp 4273d89373 Linux/GCC fixes. 5 năm trước cách đây
VL1.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
VL1.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
VL2.cpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
VL2.hpp 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
version.h.in 7c929099b3 Change date bump for v2.0 5 năm trước cách đây
zerotier.h bab9a7f508 Fix and modernize API peer list function. 4 năm trước cách đây

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.
  • 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.