summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-27 16:20:08 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-27 16:20:08 -0400
commit7a17f6ca80e3df9e1509dc99d0acdd00f12686e0 (patch)
tree1ab3bb43f16047f79fcb66fb46143703912d63a1 /node/Network.hpp
parentd35d322890a4a4c3ca85768ba2e16c47662c27c8 (diff)
downloadinfinitytier-7a17f6ca80e3df9e1509dc99d0acdd00f12686e0.tar.gz
infinitytier-7a17f6ca80e3df9e1509dc99d0acdd00f12686e0.zip
Add skeleton of certificate-based private network authentication. Also remove some old code.
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index a95ae869..6263aa9b 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -49,7 +49,20 @@ namespace ZeroTier {
class NodeConfig;
/**
- * Local membership to a network
+ * A virtual LAN
+ *
+ * Networks can be open or closed.
+ *
+ * Open networks do not track membership. Anyone is allowed to communicate
+ * over them.
+ *
+ * Closed networks track membership by way of timestamped signatures. When
+ * the network requests its configuration, one of the fields returned is
+ * a signature for the identity of the peer on the network. This signature
+ * includes a timestamp. When a peer communicates with other peers on a
+ * closed network, it periodically (and pre-emptively) propagates this
+ * signature to the peers with which it is communicating. Peers reject
+ * packets with an error if no recent signature is on file.
*/
class Network : NonCopyable
{