Adam Ierymenko ab208bb8f9 Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers. 5 місяців тому
..
AES.cpp 9aff094b6f node/ -> MPL 5 місяців тому
AES.hpp 9aff094b6f node/ -> MPL 5 місяців тому
AES_aesni.cpp 9aff094b6f node/ -> MPL 5 місяців тому
AES_armcrypto.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Address.hpp 9aff094b6f node/ -> MPL 5 місяців тому
AtomicCounter.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Bond.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Bond.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Buffer.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Capability.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Capability.hpp 9aff094b6f node/ -> MPL 5 місяців тому
CertificateOfMembership.cpp 9aff094b6f node/ -> MPL 5 місяців тому
CertificateOfMembership.hpp 9aff094b6f node/ -> MPL 5 місяців тому
CertificateOfOwnership.cpp 9aff094b6f node/ -> MPL 5 місяців тому
CertificateOfOwnership.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Constants.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Credential.hpp 9aff094b6f node/ -> MPL 5 місяців тому
DNS.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Dictionary.hpp 9aff094b6f node/ -> MPL 5 місяців тому
ECC.cpp 342fa9d33f clang-format this branch 6 місяців тому
ECC.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Hashtable.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Identity.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Identity.hpp 9aff094b6f node/ -> MPL 5 місяців тому
IncomingPacket.cpp 9aff094b6f node/ -> MPL 5 місяців тому
IncomingPacket.hpp 9aff094b6f node/ -> MPL 5 місяців тому
InetAddress.cpp 9aff094b6f node/ -> MPL 5 місяців тому
InetAddress.hpp 9aff094b6f node/ -> MPL 5 місяців тому
MAC.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Membership.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Membership.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Metrics.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Metrics.hpp 9aff094b6f node/ -> MPL 5 місяців тому
MulticastGroup.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Multicaster.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Multicaster.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Mutex.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Network.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Network.hpp 9aff094b6f node/ -> MPL 5 місяців тому
NetworkConfig.cpp 9aff094b6f node/ -> MPL 5 місяців тому
NetworkConfig.hpp 9aff094b6f node/ -> MPL 5 місяців тому
NetworkController.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Node.cpp ab208bb8f9 Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers. 5 місяців тому
Node.hpp ab208bb8f9 Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers. 5 місяців тому
OutboundMulticast.cpp 9aff094b6f node/ -> MPL 5 місяців тому
OutboundMulticast.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Packet.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Packet.hpp 9aff094b6f node/ -> MPL 5 місяців тому
PacketMultiplexer.cpp 9aff094b6f node/ -> MPL 5 місяців тому
PacketMultiplexer.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Path.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Path.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Peer.cpp ab208bb8f9 Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers. 5 місяців тому
Peer.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Poly1305.cpp ba2a4a605c clang-format 6 місяців тому
Poly1305.hpp 9aff094b6f node/ -> MPL 5 місяців тому
README.md 8a2ff0b31e Actual documentation. 9 роки тому
Revocation.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Revocation.hpp 9aff094b6f node/ -> MPL 5 місяців тому
RingBuffer.hpp 9aff094b6f node/ -> MPL 5 місяців тому
RuntimeEnvironment.hpp 9aff094b6f node/ -> MPL 5 місяців тому
SHA512.cpp ba2a4a605c clang-format 6 місяців тому
SHA512.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Salsa20.cpp ba2a4a605c clang-format 6 місяців тому
Salsa20.hpp ba2a4a605c clang-format 6 місяців тому
SelfAwareness.cpp 9aff094b6f node/ -> MPL 5 місяців тому
SelfAwareness.hpp 9aff094b6f node/ -> MPL 5 місяців тому
SharedPtr.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Switch.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Switch.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Tag.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Tag.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Topology.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Topology.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Trace.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Trace.hpp 9aff094b6f node/ -> MPL 5 місяців тому
Utils.cpp 9aff094b6f node/ -> MPL 5 місяців тому
Utils.hpp 9aff094b6f node/ -> MPL 5 місяців тому
World.hpp 9aff094b6f node/ -> MPL 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.
  • 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.