Adam Ierymenko 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
..
AES.cpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
AES.hpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
Address.hpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
Buf.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Buf.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
C25519.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
C25519.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
CMakeLists.txt 3dd2c94f4e Moar reorganization. пре 5 година
Capability.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Capability.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
CertificateOfMembership.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
CertificateOfMembership.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
CertificateOfOwnership.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
CertificateOfOwnership.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Constants.hpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
Containers.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Credential.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Credential.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Defragmenter.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Dictionary.cpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
Dictionary.hpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
ECC384.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
ECC384.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Endpoint.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
Endpoint.hpp d18c33d6df Code cleanup, Linux build fixes. пре 5 година
EphemeralKey.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Expect.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
FCV.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Fingerprint.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Identity.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
Identity.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
InetAddress.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
InetAddress.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
LZ4.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
LZ4.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Locator.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Locator.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
MAC.hpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
Membership.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Membership.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Meter.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
MulticastGroup.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Mutex.hpp e2ca065f28 Cleanup, revise join command пре 5 година
Network.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Network.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
NetworkConfig.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
NetworkConfig.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
NetworkController.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Node.cpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
Node.hpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
OS.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Path.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Path.hpp 016d85b169 Code formatting and similar. пре 5 година
Peer.cpp 016d85b169 Code formatting and similar. пре 5 година
Peer.hpp 016d85b169 Code formatting and similar. пре 5 година
Poly1305.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Poly1305.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Protocol.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
README.md 3c11c13af4 More reorg, work in progress. пре 5 година
Revocation.cpp 016d85b169 Code formatting and similar. пре 5 година
Revocation.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
RuntimeEnvironment.hpp 016d85b169 Code formatting and similar. пре 5 година
SHA512.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
SHA512.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Salsa20.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Salsa20.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
ScopedPtr.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
SelfAwareness.cpp 016d85b169 Code formatting and similar. пре 5 година
SelfAwareness.hpp 016d85b169 Code formatting and similar. пре 5 година
SharedPtr.hpp 016d85b169 Code formatting and similar. пре 5 година
SymmetricKey.hpp 016d85b169 Code formatting and similar. пре 5 година
Tag.cpp 016d85b169 Code formatting and similar. пре 5 година
Tag.hpp 016d85b169 Code formatting and similar. пре 5 година
Tests.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Tests.h 3c11c13af4 More reorg, work in progress. пре 5 година
Topology.cpp 016d85b169 Code formatting and similar. пре 5 година
Topology.hpp 016d85b169 Code formatting and similar. пре 5 година
Trace.cpp 3c11c13af4 More reorg, work in progress. пре 5 година
Trace.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
TriviallyCopyable.hpp 3c11c13af4 More reorg, work in progress. пре 5 година
Utils.cpp 016d85b169 Code formatting and similar. пре 5 година
Utils.hpp 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година
VL1.cpp 016d85b169 Code formatting and similar. пре 5 година
VL1.hpp 016d85b169 Code formatting and similar. пре 5 година
VL2.cpp 016d85b169 Code formatting and similar. пре 5 година
VL2.hpp 016d85b169 Code formatting and similar. пре 5 година
version.h.in 3dd2c94f4e Moar reorganization. пре 5 година
zerotier.h 40d48c969c Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. пре 5 година

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.