ZeroTierOne/node
2019-08-12 15:28:42 -07:00
..
Address.hpp Replace certificate based gating of multicast like/gather with a simpler more efficient method, fix some minor issues with request based com/cert push, and clean up some other random stuff. 2019-03-21 16:18:49 -07:00
AES.cpp Windows detection of AES-NI 2019-08-12 15:28:42 -07:00
AES.hpp AES-GCM code 2019-08-12 12:51:32 -07:00
AtomicCounter.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Buffer.hpp Get rid of ZT_FAST_MEMCPY because this is not really needed. 2019-03-22 15:50:15 -07:00
C25519.cpp Merge dev 2019-08-08 13:05:28 -05:00
C25519.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Capability.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Capability.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
CertificateOfMembership.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
CertificateOfMembership.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
CertificateOfOwnership.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
CertificateOfOwnership.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
CMakeLists.txt CMake for edge branch 2019-08-12 12:35:07 -07:00
Constants.hpp Locator work 2019-08-08 23:23:16 -05:00
Credential.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Dictionary.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
ECC384.cpp . 2019-08-07 11:20:12 -05:00
ECC384.hpp . 2019-08-07 11:20:12 -05:00
Hashtable.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Identity.cpp silencing warnings for code paths that will never be hit 2019-08-12 13:18:21 -07:00
Identity.hpp Locator work 2019-08-08 23:23:16 -05:00
IncomingPacket.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
IncomingPacket.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
InetAddress.cpp Remove 44/8 as pseudoprivate since it is now partly global. 2019-07-19 13:33:14 -07:00
InetAddress.hpp Get rid of ZT_FAST_MEMCPY because this is not really needed. 2019-03-22 15:50:15 -07:00
Locator.hpp Locator work 2019-08-08 23:23:16 -05:00
MAC.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Membership.cpp Fix for sharing of capabilities in 1.4 (problem introduced when push frequency was reduced) 2019-08-02 20:43:02 -07:00
Membership.hpp . 2019-08-07 11:20:12 -05:00
Multicaster.cpp Add capability for P2P multicast propagation, and some cleanup. 2019-07-16 13:33:11 -05:00
Multicaster.hpp GitHub issue #993 (???) 2019-08-04 15:35:43 -07:00
MulticastGroup.hpp Add capability for P2P multicast propagation, and some cleanup. 2019-07-16 13:33:11 -05:00
Mutex.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Network.cpp . 2019-08-07 11:20:12 -05:00
Network.hpp Fix for sharing of capabilities in 1.4 (problem introduced when push frequency was reduced) 2019-08-02 20:43:02 -07:00
NetworkConfig.cpp Various other fixes including removal of more mem*() issues and netlink fixes for AARCH64. 2019-03-25 22:19:52 +00:00
NetworkConfig.hpp Merge dev to edge 2019-08-06 14:13:07 -05:00
NetworkController.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Node.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Node.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
OutboundMulticast.cpp Tighten up credential push just a bit for faster up-time with older nodes, should not have significant impact on bandwidth. Also some cleanup and push direct path timing fixes. 2019-06-25 13:42:20 -07:00
OutboundMulticast.hpp More stack->heap 2019-06-17 15:50:05 -07:00
Packet.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Packet.hpp WIP 2019-07-17 16:53:33 -05:00
Path.cpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Path.hpp Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev 2019-06-17 15:32:27 -07:00
Peer.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Peer.hpp Add capability for P2P multicast propagation, and some cleanup. 2019-07-16 13:33:11 -05:00
Poly1305.cpp RingBuffer<> is now templated with size, buffer is now static. 2019-03-22 14:39:52 -07:00
Poly1305.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
README.md Actual documentation. 2017-02-03 19:47:00 -08:00
Revocation.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Revocation.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
RingBuffer.hpp Compiler warning cleanup 2019-06-13 10:28:09 -07:00
RuntimeEnvironment.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08: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 Cleanup, version bump. 2019-06-11 14:58:23 -07:00
SelfAwareness.hpp Cleanup, version bump. 2019-06-11 14:58:23 -07:00
SHA512.cpp cleanup 2019-08-08 08:42:27 -05:00
SHA512.hpp Add SHA384 support, more cleanup 2019-08-07 16:41:58 -05:00
SharedPtr.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Str.hpp workinprogress 2019-08-08 15:03:52 -05:00
Switch.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Switch.hpp cleanup 2019-07-29 10:19:20 -07:00
Tag.cpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Tag.hpp TON of refactoring, moon/planet is DEAD, ECC P-384 is integrated (but not enabled), and multicast work and cleanup. Whew. 2019-07-17 10:52:08 -05:00
Topology.cpp . 2019-08-06 16:46:13 -05:00
Topology.hpp . 2019-08-06 16:46:13 -05:00
Trace.cpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Trace.hpp Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Utils.cpp Add base64 code (unpadded standard alphabet) 2019-08-07 22:35:17 -05:00
Utils.hpp Add base64 code (unpadded standard alphabet) 2019-08-07 22:35:17 -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.