ZeroTierOne/node
2024-09-24 10:31:31 -04:00
..
Address.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES_aesni.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES_armcrypto.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AES.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
AtomicCounter.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Bond.cpp Fix issues that prevent user multipath preferences from being respected 2024-08-29 10:09:19 -07:00
Bond.hpp Fix issues that prevent user multipath preferences from being respected 2024-08-29 10:09:19 -07:00
Buffer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Capability.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Capability.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
CertificateOfMembership.cpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
CertificateOfMembership.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
CertificateOfOwnership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
CertificateOfOwnership.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
Constants.hpp Add ios differentiation, and .clangd that works w/Zed and clangd. 2024-09-09 14:36:22 -04:00
Credential.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Dictionary.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
DNS.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
ECC.cpp More ECC work to prep for a FIPS mode 2024-09-20 14:04:49 -07:00
ECC.hpp Remove some obsolete stuff, rev protocol version. 2024-09-22 12:32:17 -04:00
Hashtable.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Identity.cpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
Identity.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
IncomingPacket.cpp Merge branch 'dev' into jh-zerotier-multithreaded 2024-09-10 13:10:45 -04:00
IncomingPacket.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
InetAddress.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
InetAddress.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
MAC.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Membership.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Membership.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Metrics.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Metrics.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Multicaster.cpp A few revs and removal of unnecessary stuff. 2024-09-14 11:13:45 -04:00
Multicaster.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
MulticastGroup.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Mutex.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Network.cpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
Network.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkConfig.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
NetworkConfig.hpp Add OS_ARCH to network config metadata. 2024-06-24 18:02:58 -04:00
NetworkController.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Node.cpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
Node.hpp Simplify packet critical path. Plus more platform fixes 2024-08-22 12:59:06 -07:00
OutboundMulticast.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
OutboundMulticast.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Packet.cpp Change indent 2024-09-24 10:31:31 -04:00
Packet.hpp Change indent 2024-09-24 10:31:31 -04:00
PacketMultiplexer.cpp Comment out vestigial test code (improves mt performance) 2024-09-06 09:52:39 -07:00
PacketMultiplexer.hpp Simplify packet critical path. Plus more platform fixes 2024-08-22 12:59:06 -07:00
Path.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Path.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Peer.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Peer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Poly1305.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
Poly1305.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Revocation.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
RingBuffer.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
RuntimeEnvironment.hpp Merge branch 'dev' into jh-zerotier-multithreaded 2024-08-18 15:08:42 -07:00
Salsa20.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
Salsa20.hpp ALMOST compiles for ARM64 Windows, only remaining barrier is ring in zeroidc. 2022-04-27 12:19:42 -04:00
SelfAwareness.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SelfAwareness.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SHA512.cpp Brenton/curly braces (#1971) 2023-05-01 11:48:16 -07:00
SHA512.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
SharedPtr.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Switch.cpp Remove some obsolete stuff, rev protocol version. 2024-09-22 12:32:17 -04:00
Switch.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Tag.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Tag.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00
Topology.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Topology.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Trace.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Trace.hpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Utils.cpp 1.14.0 version bump for Linux and macOS, date update. 2024-03-19 14:38:48 -07:00
Utils.hpp Merge branch 'dev' into lel-amri-fix-mac-handling-in-rules-parser 2024-09-11 12:13:32 -04:00
World.hpp Rename C25519.* to ECC.* 2024-09-15 17:34:01 -04:00

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.