Make install scripts also symlink zerotier-idtool script, and doc updates.

This commit is contained in:
Adam Ierymenko 2014-08-07 06:25:01 -07:00
parent 92d9ad4a7f
commit b7389995f4
3 changed files with 10 additions and 8 deletions

View File

@ -77,8 +77,9 @@ fi
echo 'Installing zerotier-cli command line utility...'
rm -f /usr/bin/zerotier-cli
rm -f /usr/bin/zerotier-cli /usr/bin/zerotier-idtool
ln -sf /var/lib/zerotier-one/zerotier-one /usr/bin/zerotier-cli
ln -sf /var/lib/zerotier-one/zerotier-one /usr/bin/zerotier-idtool
echo 'Installing and (re-)starting zerotier-one daemon...'

View File

@ -109,8 +109,9 @@ ln -sf "$ztapp/Contents/Info.plist" "$zthome/shutdownIfUnreadable"
echo 'Installing zerotier-cli command line utility...'
rm -f /usr/bin/zerotier-cli
rm -f /usr/bin/zerotier-cli /usr/bin/zerotier-idtool
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" /usr/bin/zerotier-cli
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" /usr/bin/zerotier-idtool
# This lets the install helper AppleScript thingy go ahead and authorize the
# user after the installer is done, skiping that step for the user who did

View File

@ -1,9 +1,9 @@
This folder contains the source files to compile the signed network topology dictionary.
Users outside ZeroTier won't find this useful except for documentation purposes, since
this dictionary must be signed by a valid topology signing key to be considered valid. These
keys are hard-coded into the source and distributed with all versions of the app.
This folder contains the source files to compile the signed network topology dictionary. Users outside ZeroTier won't find this useful except for documentation purposes, since this dictionary must be signed by a valid topology signing key to be considered valid. These keys are hard-coded into the source and distributed with all versions of the app.
A default value for this dictionary is included in node/Defaults.cpp, and the following
URL is periodically checked for updates:
A default value for this dictionary is included in node/Defaults.cpp, and the following URL is periodically checked for updates:
http://download.zerotier.com/sys/topology
Obviously nothing prevents OSS users from replacing this topology with their own, changing the hard coded topology signing identity and update URL in Defaults, and signing their own dictionary. But doing so would yield a network that would have a tough(ish) time talking to the main one. Since the main network is a free service, why bother? (Except for building testnets, which ZeroTier already does for internal testing.)
Increasing decentralization via federation or trust network is possible in the future though, provided it can be done without sacrificing stability, security, performance, or ease of use.