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.
 
 
 
 
 
 
Adam Ierymenko eabe091038
Backport only the COM mitigation instead of everything from 1.8
5 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 Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Bond.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
BondController.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
BondController.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 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 Backport only the COM mitigation instead of everything from 1.8 5 years ago
CertificateOfMembership.hpp Backport only the COM mitigation instead of everything from 1.8 5 years ago
CertificateOfOwnership.cpp BSL date bump 6 years ago
CertificateOfOwnership.hpp BSL date bump 6 years ago
Constants.hpp Backport only the COM mitigation instead of everything from 1.8 5 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
Flow.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Hashtable.hpp BSL date bump 6 years ago
Identity.cpp AES integrated on send side. 6 years ago
Identity.hpp Backport only the COM mitigation instead of everything from 1.8 5 years ago
IncomingPacket.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
IncomingPacket.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 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 BSL date bump 6 years ago
Membership.hpp Backport only the COM mitigation instead of everything from 1.8 5 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 BSL date bump 6 years ago
Network.cpp Backport only the COM mitigation instead of everything from 1.8 5 years ago
Network.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
NetworkConfig.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
NetworkConfig.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
NetworkController.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Node.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Node.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 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 Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Path.cpp BSL date bump 6 years ago
Path.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Peer.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Peer.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 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 BSL date bump 6 years ago
RingBuffer.hpp BSL date bump 6 years ago
RuntimeEnvironment.hpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
SHA512.cpp More selective push of AES modifications and refactoring stuff. 6 years ago
SHA512.hpp AES integrated on send side. 6 years ago
Salsa20.cpp Spellcheck sweep across codebase 8 years ago
Salsa20.hpp Another very small crypto optimization. 9 years ago
SelfAwareness.cpp BSL date bump 6 years ago
SelfAwareness.hpp BSL date bump 6 years ago
SharedPtr.hpp BSL date bump 6 years ago
Switch.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 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 Update hard-coded default planet to latest. 5 years ago
Topology.hpp BSL date bump 6 years ago
Trace.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 5 years ago
Trace.hpp BSL date bump 6 years ago
Utils.cpp Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed." 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.