ZeroTierOne/node
2018-12-04 16:15:46 -08:00
..
Address.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
AtomicCounter.hpp A little more cleanup. 2018-01-26 20:06:11 -05:00
Buffer.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
C25519.cpp Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things. 2018-03-13 06:51:17 -07:00
C25519.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
Capability.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Capability.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
CertificateOfMembership.cpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
CertificateOfMembership.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
CertificateOfOwnership.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
CertificateOfOwnership.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Constants.hpp Added ability for OneService to monitor local.conf for changes and automatically reload 2018-09-11 16:55:46 -07:00
Credential.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Dictionary.hpp A few fixes dicatated by valgrind. 2018-02-09 06:35:01 +00:00
Hashtable.hpp add/remove routes via rtnetlink 2018-05-25 14:18:06 -07:00
Identity.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Identity.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05:00
IncomingPacket.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
IncomingPacket.hpp Added VERB_ACK and VERB_QOS_MEASUREMENT, refined notion of path quality 2018-05-30 17:45:29 -07:00
InetAddress.cpp because Windows.... 2018-10-23 13:21:25 -07:00
InetAddress.hpp GitHub issue #675 2018-03-29 10:44:57 -07:00
MAC.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Membership.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Membership.hpp Times should be int64_t, not uint64_t 2018-11-11 17:38:17 -08:00
Multicaster.cpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Multicaster.hpp Add support for designated multicast replicators to Multicaster::send(). 2018-01-26 21:19:51 -05:00
MulticastGroup.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Mutex.hpp Revert mutex change. 2018-12-04 16:15:46 -08:00
Network.cpp Added basic QoS rule handling 2018-07-11 16:55:13 -07:00
Network.hpp Rough draft of fq-codel implementation 2018-07-10 16:50:12 -07:00
NetworkConfig.cpp Tie up the rest of hub and spoke designated replicator multicast mode. 2018-01-26 22:14:10 -05:00
NetworkConfig.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
NetworkController.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Node.cpp Rough draft of fq-codel implementation 2018-07-10 16:50:12 -07:00
Node.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
OutboundMulticast.cpp Rough draft of fq-codel implementation 2018-07-10 16:50:12 -07:00
OutboundMulticast.hpp Do not send to origin in second buffered multicast path. 2018-01-26 21:22:51 -05:00
Packet.cpp node: remove deprecated register hint for C++17 compatibility 2018-05-18 09:09:27 +00:00
Packet.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Path.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Path.hpp Improved path selection, more efficient traffic allocation, lower QoS/ACK overhead 2018-06-22 16:30:20 -07:00
Peer.cpp Improved path selection, more efficient traffic allocation, lower QoS/ACK overhead 2018-06-22 16:30:20 -07:00
Peer.hpp Improved path selection, more efficient traffic allocation, lower QoS/ACK overhead 2018-06-22 16:30:20 -07:00
Poly1305.cpp Minor cleanup. 2017-07-17 14:21:09 -07:00
Poly1305.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Revocation.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
RingBuffer.hpp Minor cleanup. More efficient push() operation for RingBuffer 2018-06-13 14:50:37 -07:00
RuntimeEnvironment.hpp A small memory use reduction. 2018-01-25 09:57:02 -05:00
Salsa20.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Salsa20.hpp Another very small crypto optimization. 2017-05-03 07:43:23 -07:00
SelfAwareness.cpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
SelfAwareness.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
SHA512.cpp Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things. 2018-03-13 06:51:17 -07:00
SHA512.hpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
SharedPtr.hpp Refactor some potentially unsafe SharedPtr<> code. 2018-04-06 08:10:34 -07:00
Switch.cpp merge dev 2018-08-09 11:31:37 -07:00
Switch.hpp merge dev 2018-08-09 11:31:37 -07:00
Tag.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Tag.hpp Spellcheck sweep across codebase 2018-06-07 17:25:27 -07:00
Topology.cpp merge dev 2018-08-09 11:31:37 -07:00
Topology.hpp Introduced basic multipath support 2018-05-01 16:32:15 -07:00
Trace.cpp Merge pull request #836 from skunkwerks/feature/add-freebsd-debugs 2018-09-14 08:08:59 -07:00
Trace.hpp Added VERB_ACK and VERB_QOS_MEASUREMENT, refined notion of path quality 2018-05-30 17:45:29 -07:00
Utils.cpp Copyright updates for 2018. 2018-01-08 14:33:28 -08:00
Utils.hpp Merge pull request #836 from skunkwerks/feature/add-freebsd-debugs 2018-09-14 08:08:59 -07:00
World.hpp Clean up some old stuff. 2018-01-26 20:00:37 -05: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.