ZeroTierOne/node
2017-03-07 13:57:31 -08:00
..
Address.hpp
Array.hpp
AtomicCounter.hpp
Buffer.hpp Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix. 2017-03-01 10:22:57 -08:00
C25519.cpp
C25519.hpp
Capability.cpp
Capability.hpp Match on tag sender equals or tag recipient equals. 2017-02-28 09:22:10 -08:00
CertificateOfMembership.cpp
CertificateOfMembership.hpp
CertificateOfOwnership.cpp
CertificateOfOwnership.hpp
CertificateOfRepresentation.hpp
Cluster.cpp Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix. 2017-03-01 10:22:57 -08:00
Cluster.hpp
Constants.hpp
Dictionary.hpp
Hashtable.hpp
Identity.cpp
Identity.hpp
IncomingPacket.cpp Now with less bugs. 2017-03-03 13:49:21 -08:00
IncomingPacket.hpp
InetAddress.cpp
InetAddress.hpp
MAC.hpp
Membership.cpp ipauth characteristic now works with ARP 2017-02-27 17:51:58 -08:00
Membership.hpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
Multicaster.cpp
Multicaster.hpp
MulticastGroup.hpp
Mutex.hpp
Network.cpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
Network.hpp
NetworkConfig.cpp
NetworkConfig.hpp
NetworkController.hpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
Node.cpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
Node.hpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
NonCopyable.hpp
OutboundMulticast.cpp ipauth characteristic now works with ARP 2017-02-27 17:51:58 -08:00
OutboundMulticast.hpp
Packet.cpp Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix. 2017-03-01 10:22:57 -08:00
Packet.hpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
Path.cpp
Path.hpp Windows build fixes. 2017-03-07 13:57:31 -08:00
Peer.cpp Update how controller handles circuit tests -- save results to filesystem. 2017-03-01 16:33:34 -08:00
Peer.hpp Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix. 2017-03-01 10:22:57 -08:00
Poly1305.cpp
Poly1305.hpp
README.md
Revocation.cpp
Revocation.hpp Send revocations automatically on deauth for instant kill, also fix some issues with the RP. 2017-03-06 15:12:28 -08:00
RuntimeEnvironment.hpp
Salsa20.cpp
Salsa20.hpp
SelfAwareness.cpp
SelfAwareness.hpp
SHA512.cpp
SHA512.hpp
SharedPtr.hpp
Switch.cpp ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff. 2017-03-01 14:36:52 -08:00
Switch.hpp
Tag.cpp
Tag.hpp
Topology.cpp
Topology.hpp
Utils.cpp
Utils.hpp ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff. 2017-03-01 14:36:52 -08:00
World.hpp

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.