Adam Ierymenko dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
..
Address.hpp d2415dee00 Cleanup. hace 8 años
Array.hpp 1b68d6dbdc License header update. hace 8 años
AtomicCounter.hpp 1b68d6dbdc License header update. hace 8 años
Buffer.hpp 9b287392a4 . hace 8 años
C25519.cpp 6fc70f7c16 More cleanup, Linux build fixes. hace 8 años
C25519.hpp 1b68d6dbdc License header update. hace 8 años
Capability.cpp 1b68d6dbdc License header update. hace 8 años
Capability.hpp 1b68d6dbdc License header update. hace 8 años
CertificateOfMembership.cpp d2415dee00 Cleanup. hace 8 años
CertificateOfMembership.hpp 1b68d6dbdc License header update. hace 8 años
CertificateOfOwnership.cpp 1b68d6dbdc License header update. hace 8 años
CertificateOfOwnership.hpp 1b68d6dbdc License header update. hace 8 años
CertificateOfRepresentation.hpp 1b68d6dbdc License header update. hace 8 años
Constants.hpp 640ad577d1 . hace 8 años
Credential.hpp 1b68d6dbdc License header update. hace 8 años
Dictionary.hpp d2415dee00 Cleanup. hace 8 años
Hashtable.hpp 64b7d9ef82 New clustering work. hace 8 años
Identity.cpp d2415dee00 Cleanup. hace 8 años
Identity.hpp d2415dee00 Cleanup. hace 8 años
IncomingPacket.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
IncomingPacket.hpp 2ec88e8008 Remove old circuit test code. Rules engine will let us do this much better and more simply. hace 8 años
InetAddress.cpp d2415dee00 Cleanup. hace 8 años
InetAddress.hpp d2415dee00 Cleanup. hace 8 años
MAC.hpp d2415dee00 Cleanup. hace 8 años
Membership.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Membership.hpp 1b68d6dbdc License header update. hace 8 años
MulticastGroup.hpp d2415dee00 Cleanup. hace 8 años
Multicaster.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Multicaster.hpp 1b68d6dbdc License header update. hace 8 años
Mutex.hpp 1b68d6dbdc License header update. hace 8 años
Network.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Network.hpp 6015b529a0 More clustering work. hace 8 años
NetworkConfig.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
NetworkConfig.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
NetworkController.hpp 1b68d6dbdc License header update. hace 8 años
Node.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Node.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
NonCopyable.hpp 1b68d6dbdc License header update. hace 8 años
OutboundMulticast.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
OutboundMulticast.hpp 1b68d6dbdc License header update. hace 8 años
Packet.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Packet.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Path.cpp f18158a52d . hace 8 años
Path.hpp 640ad577d1 . hace 8 años
Peer.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Peer.hpp dff8c02cfe Pull out and deprecate old cluster code. New cluster code will not be merged yet. hace 8 años
Poly1305.cpp 6fc70f7c16 More cleanup, Linux build fixes. hace 8 años
Poly1305.hpp 1b68d6dbdc License header update. hace 8 años
README.md 8a2ff0b31e Actual documentation. hace 9 años
Revocation.cpp 1b68d6dbdc License header update. hace 8 años
Revocation.hpp 1b68d6dbdc License header update. 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 dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
SelfAwareness.hpp f18158a52d . hace 8 años
SharedPtr.hpp 6fc70f7c16 More cleanup, Linux build fixes. hace 8 años
Switch.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Switch.hpp f18158a52d . hace 8 años
Tag.cpp 1b68d6dbdc License header update. hace 8 años
Tag.hpp 1b68d6dbdc License header update. hace 8 años
Topology.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Topology.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Trace.cpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Trace.hpp dab0fb9e05 Remote trace: plumbing, replace old TRACE with calls to Trace object. hace 8 años
Utils.cpp f23a43fb81 More cleanup. hace 8 años
Utils.hpp 6fc70f7c16 More cleanup, Linux build fixes. hace 8 años
World.hpp 1b68d6dbdc License header update. 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.