Adam Ierymenko f13886d343 Warning removal. hace 8 años
..
Address.hpp d2415dee00 Cleanup. hace 8 años
Array.hpp b9e1d53d7a Minor cleanup. hace 8 años
AtomicCounter.hpp a4bc40542b GCC/G++ build fixes, GitHub issue #563 hace 8 años
Buffer.hpp 5e2ea4a81a Cleanup. hace 8 años
C25519.cpp b9e1d53d7a Minor cleanup. hace 8 años
C25519.hpp b9e1d53d7a Minor cleanup. hace 8 años
Capability.cpp 6ee201865b Clean up WHOIS code. hace 8 años
Capability.hpp 395d8b3139 Full and clearer implementation of GitHub issue #588 hace 8 años
CertificateOfMembership.cpp 6ee201865b Clean up WHOIS code. hace 8 años
CertificateOfMembership.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
CertificateOfOwnership.cpp 6ee201865b Clean up WHOIS code. hace 8 años
CertificateOfOwnership.hpp 099bedd2e9 A few more uint64_t -> int64_t changes for timestamps hace 8 años
Constants.hpp 459f1e7bfb Refactor path stability stuff and add basic multipath support. hace 8 años
Credential.hpp c7d370c17f Delete something that turns out not to be useful. This will be handled differently. hace 8 años
Dictionary.hpp 495c5ce81d Bunch of remote tracing work. hace 8 años
Hashtable.hpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Identity.cpp b9e1d53d7a Minor cleanup. hace 8 años
Identity.hpp b9e1d53d7a Minor cleanup. hace 8 años
IncomingPacket.cpp 508fa6a7fe A few fixes for cluster mode. hace 8 años
IncomingPacket.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
InetAddress.cpp 459f1e7bfb Refactor path stability stuff and add basic multipath support. hace 8 años
InetAddress.hpp 4e88c80a22 RethinkDB native connector work, minor fixes. hace 8 años
MAC.hpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Membership.cpp 099bedd2e9 A few more uint64_t -> int64_t changes for timestamps hace 8 años
Membership.hpp 099bedd2e9 A few more uint64_t -> int64_t changes for timestamps hace 8 años
MulticastGroup.hpp b9e1d53d7a Minor cleanup. hace 8 años
Multicaster.cpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
Multicaster.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
Mutex.hpp 239c2540d6 Mutex::lock and ::unlock just called themselves hace 8 años
Network.cpp 395d8b3139 Full and clearer implementation of GitHub issue #588 hace 8 años
Network.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
NetworkConfig.cpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
NetworkConfig.hpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
NetworkController.hpp 1b68d6dbdc License header update. hace 8 años
Node.cpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Node.hpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
NonCopyable.hpp b9e1d53d7a Minor cleanup. hace 8 años
OutboundMulticast.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
OutboundMulticast.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
Packet.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Packet.hpp 2d0dc62a53 docs hace 8 años
Path.cpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
Path.hpp 508fa6a7fe A few fixes for cluster mode. hace 8 años
Peer.cpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Peer.hpp 508fa6a7fe A few fixes for cluster mode. hace 8 años
Poly1305.cpp b9e1d53d7a Minor cleanup. hace 8 años
Poly1305.hpp b9e1d53d7a Minor cleanup. hace 8 años
README.md 8a2ff0b31e Actual documentation. hace 9 años
Revocation.cpp 6ee201865b Clean up WHOIS code. hace 8 años
Revocation.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
RuntimeEnvironment.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
SHA512.cpp 1b68d6dbdc License header update. hace 8 años
SHA512.hpp 1b68d6dbdc License header update. hace 8 años
Salsa20.cpp a8ced184dc Some code cleanup and make sure any type punning is guarded with ZT_NO_TYPE_PUNNING. hace 8 años
Salsa20.hpp 41c187ba12 Another very small crypto optimization. hace 8 años
SelfAwareness.cpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
SelfAwareness.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
SharedPtr.hpp 6fc70f7c16 More cleanup, Linux build fixes. hace 8 años
Switch.cpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Switch.hpp b1d60df44c timestamps changed from uint64_t to int64_t hace 8 años
Tag.cpp 6ee201865b Clean up WHOIS code. hace 8 años
Tag.hpp 099bedd2e9 A few more uint64_t -> int64_t changes for timestamps hace 8 años
Topology.cpp 459f1e7bfb Refactor path stability stuff and add basic multipath support. hace 8 años
Topology.hpp 459f1e7bfb Refactor path stability stuff and add basic multipath support. hace 8 años
Trace.cpp f13886d343 Warning removal. hace 8 años
Trace.hpp 16613ab5fb Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again. hace 8 años
Utils.cpp f23a43fb81 More cleanup. hace 8 años
Utils.hpp c692f2e740 Fix for new identity generation bug. hace 8 años
World.hpp b9e1d53d7a Minor cleanup. hace 8 años

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.