You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Joseph Henry 0797adf223
Improve output of bond list command
4 years ago
..
AES.cpp Likely fix for some alignment issues on ARM. 5 years ago
AES.hpp Backport AES fixes for compiler, arch, and splitting into separate files. 5 years ago
AES_aesni.cpp Windows build fixes, version bump in AIP. 5 years ago
AES_armcrypto.cpp Fixing regression in AES for ARM targets 5 years ago
Address.hpp BSL date bump 6 years ago
AtomicCounter.hpp BSL date bump 6 years ago
Bond.cpp Improve output of bond list command 4 years ago
Bond.hpp Improve output of bond list command 4 years ago
Buffer.hpp BSL date bump 6 years ago
C25519.cpp AES integrated on send side. 6 years ago
C25519.hpp BSL date bump 6 years ago
Capability.cpp BSL date bump 6 years ago
Capability.hpp BSL date bump 6 years ago
CertificateOfMembership.cpp Revert "Use a faster method of fingerprinting identities." 5 years ago
CertificateOfMembership.hpp Remove ancient controller support. 5 years ago
CertificateOfOwnership.cpp BSL date bump 6 years ago
CertificateOfOwnership.hpp BSL date bump 6 years ago
Constants.hpp Fix for ab-mode link failure, QoS metrics (WIP) 4 years ago
Credential.hpp BSL date bump 6 years ago
DNS.hpp BSL date bump 6 years ago
Dictionary.hpp BSL date bump 6 years ago
Hashtable.hpp BSL date bump 6 years ago
Identity.cpp AES integrated on send side. 6 years ago
Identity.hpp Revert "Use a faster method of fingerprinting identities." 5 years ago
IncomingPacket.cpp Fix for ab-mode link failure, QoS metrics (WIP) 4 years ago
IncomingPacket.hpp Fix for ab-mode link failure, QoS metrics (WIP) 4 years ago
InetAddress.cpp missing break in InetAddress::ipScope() 5 years ago
InetAddress.hpp Fix for ZTO-33 (Jira), only assign routes if there is a viable source IP. 5 years ago
MAC.hpp BSL date bump 6 years ago
Membership.cpp Fix a possible excessive memory use issue in controller and clean up a bunch of COM handling and other code in the normal node. 4 years ago
Membership.hpp Several more SSO/OIDC related fixes, and bump version to 1.8.9. 4 years ago
MulticastGroup.hpp BSL date bump 6 years ago
Multicaster.cpp Tweak multicast settings to prevent failures due to TX queue overflow. 5 years ago
Multicaster.hpp Fix some timestamp signedness mismatches. 5 years ago
Mutex.hpp Use lowercase when including Windows headers 4 years ago
Network.cpp Several more SSO/OIDC related fixes, and bump version to 1.8.9. 4 years ago
Network.hpp Fix a possible excessive memory use issue in controller and clean up a bunch of COM handling and other code in the normal node. 4 years ago
NetworkConfig.cpp refresh token run loop 4 years ago
NetworkConfig.hpp Restore sending of rejections but move it exclusively to a thread, widen netconf window to 30 minutes. 4 years ago
NetworkController.hpp Basic plumbing for authentication requirement and piping through of URL information. 5 years ago
Node.cpp Set version to correct 1.10.0. 4 years ago
Node.hpp Consolidation of multipath logic. Better system separation 5 years ago
OutboundMulticast.cpp BSL date bump 6 years ago
OutboundMulticast.hpp BSL date bump 6 years ago
Packet.cpp Apple "fat binaries" are back! 5 years ago
Packet.hpp Prevent re-armoring of packets when in multipath broadcast mode 4 years ago
Path.cpp BSL date bump 6 years ago
Path.hpp Improve output of bond list command 4 years ago
Peer.cpp Build fix. 4 years ago
Peer.hpp Several more SSO/OIDC related fixes, and bump version to 1.8.9. 4 years ago
Poly1305.cpp RingBuffer<> is now templated with size, buffer is now static. 7 years ago
Poly1305.hpp BSL date bump 6 years ago
README.md Actual documentation. 9 years ago
Revocation.cpp BSL date bump 6 years ago
Revocation.hpp Push credentials always if updated (client-side) and some controller-side cleanup that should be logically irrelevant but will prevent unnecessary DB lookups. 4 years ago
RingBuffer.hpp BSL date bump 6 years ago
RuntimeEnvironment.hpp Consolidation of multipath logic. Better system separation 5 years ago
SHA512.cpp Add missing <algorithm> include (#1709) 4 years ago
SHA512.hpp AES integrated on send side. 6 years ago
Salsa20.cpp Spellcheck sweep across codebase 8 years ago
Salsa20.hpp ALMOST compiles for ARM64 Windows, only remaining barrier is ring in zeroidc. 4 years ago
SelfAwareness.cpp Proactively seek, enumerate, and distribute external surface addresses 4 years ago
SelfAwareness.hpp Proactively seek, enumerate, and distribute external surface addresses 4 years ago
SharedPtr.hpp BSL date bump 6 years ago
Switch.cpp Prevent re-armoring of packets when in multipath broadcast mode 4 years ago
Switch.hpp BSL date bump 6 years ago
Tag.cpp BSL date bump 6 years ago
Tag.hpp BSL date bump 6 years ago
Topology.cpp Rev roots. 4 years ago
Topology.hpp BSL date bump 6 years ago
Trace.cpp Fix erroneous cast of verb to double that causes invalid tracing output 5 years ago
Trace.hpp BSL date bump 6 years ago
Utils.cpp yes 5 years ago
Utils.hpp Fix for ZTO-33 (Jira), only assign routes if there is a viable source IP. 5 years ago
World.hpp BSL date bump 6 years ago

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.