aboutsummaryrefslogtreecommitdiff
path: root/src/transport/zerotier/zerotier.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-03-05 15:17:32 -0800
committerGarrett D'Amore <garrett@damore.org>2018-03-05 15:17:32 -0800
commit15c08f97f1772dfa43dbd8ee27ba487ca553da6a (patch)
tree9000ccd3dadd489a8643a7b8f8451fd699786962 /src/transport/zerotier/zerotier.h
parent23a38d766780f4749945d84316b4e0a71e707b15 (diff)
downloadnng-15c08f97f1772dfa43dbd8ee27ba487ca553da6a.tar.gz
nng-15c08f97f1772dfa43dbd8ee27ba487ca553da6a.tar.bz2
nng-15c08f97f1772dfa43dbd8ee27ba487ca553da6a.zip
Remove stale ZeroTier RFC, update URL and link to correct one.
The primary ZeroTier RFC is in the "rfcs" repository for nanomsg, and we should remove this one because it is stale and misleading. Also, the URI format is incorrect in the header so fix that, and point to the real ZeroTier RFC.
Diffstat (limited to 'src/transport/zerotier/zerotier.h')
-rw-r--r--src/transport/zerotier/zerotier.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/transport/zerotier/zerotier.h b/src/transport/zerotier/zerotier.h
index 87325f34..9083f665 100644
--- a/src/transport/zerotier/zerotier.h
+++ b/src/transport/zerotier/zerotier.h
@@ -1,6 +1,6 @@
//
-// Copyright 2017 Garrett D'Amore <garrett@damore.org>
-// Copyright 2017 Capitar IT Group BV <info@capitar.com>
+// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -22,13 +22,13 @@
// route management and TCP fallback. You need to have connectivity
// to the Internet to use this. (Or at least to your Planetary root.)
//
-// The ZeroTier URL format we support is zt://<nwid>/<ztid>:<port> where
+// The ZeroTier URL format we support is zt://<ztid>.<nwid>:<port> where
// the <nwid> component represents the 64-bit hexadecimal ZeroTier
// network ID,the <ztid> represents the 40-bit hexadecimal ZeroTier
// node (device) ID, and the <port> is a 24-bit (decimal) port number.
//
-// A listener may elide the <ztid>/ portion, to just bind to itself,
-// in which case the format will be zt://<nwid>:<port>
+// A listener may replace the <ztid> with a wildcard, to just bind to itself,
+// in which case the format will be zt://*.<nwid>:<port>
//
// A listener may also use either 0 or * for the <port> to indicate that
// a random local ephemeral port should be used.
@@ -40,6 +40,9 @@
//
// The ZeroTier transport was funded by Capitar IT Group, BV.
//
+// The protocol itself is documented online at:
+// http://nanomsg.org/rfcs/sp-zerotier-v0.html
+//
// This transport is highly experimental.
// ZeroTier transport-specific options.