diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manpage_encoding_declaration.UTF-8 | 1 | ||||
-rw-r--r-- | doc/module.mk | 52 | ||||
-rw-r--r-- | doc/zerotier-cli.1.txt | 109 | ||||
-rw-r--r-- | doc/zerotier-idtool.1.txt | 115 | ||||
-rw-r--r-- | doc/zerotier-one.8.txt | 119 |
5 files changed, 396 insertions, 0 deletions
diff --git a/doc/manpage_encoding_declaration.UTF-8 b/doc/manpage_encoding_declaration.UTF-8 new file mode 100644 index 00000000..991db0a6 --- /dev/null +++ b/doc/manpage_encoding_declaration.UTF-8 @@ -0,0 +1 @@ +'\" -*- coding: utf-8 -*- diff --git a/doc/module.mk b/doc/module.mk new file mode 100644 index 00000000..34fdbaeb --- /dev/null +++ b/doc/module.mk @@ -0,0 +1,52 @@ +# doc/module.mk +# Part of ZeroTier One, a software-defined network layer. +# +# Copyright © 2016 Ben Finney <ben+zerotier@benfinney.id.au> +# This is free software: you may copy, modify, and/or distribute this +# work under the terms of the GNU General Public License, version 3 or +# later as published by the Free Software Foundation. +# No warranty expressed or implied. +# See the file ‘LICENSE.txt’ for details. + +# Makefile module for ZeroTier One documentation. + +TEMPFILE_SUFFIX = .tmp +.INTERMEDIATE: ${DOCUMENTATION_DIR}/*${TEMPFILE_SUFFIX} + +RST_SUFFIX = .txt +manpage_sections = 1 2 3 4 5 6 7 8 +manpage_names += zerotier-one.8 +manpage_names += zerotier-idtool.1 +manpage_names += zerotier-cli.1 +manpage_source_paths = $(addprefix ${DOC_DIR}/, \ + $(addsuffix ${RST_SUFFIX},${manpage_names})) +manpage_paths = $(addprefix ${DOC_DIR}/,${manpage_names}) +manpage_encoding_stub = ${DOC_DIR}/manpage_encoding_declaration.UTF-8 + +GENERATED_FILES += $(addprefix ${DOC_DIR}/,\ + $(foreach section,${manpage_sections},*.${section})) + +RST2MAN = rst2man +RST2MAN_OPTS = + + +.PHONY: doc +doc: manpages + +.PHONY: manpages +manpages: ${manpage_paths} + +%.1: %.1${RST_SUFFIX} + $(RST2MAN) "$<" > "$@"${TEMPFILE_SUFFIX} + cat ${manpage_encoding_stub} "$@"${TEMPFILE_SUFFIX} > "$@" + +%.8: %.8${RST_SUFFIX} + $(RST2MAN) "$<" > "$@"${TEMPFILE_SUFFIX} + cat ${manpage_encoding_stub} "$@"${TEMPFILE_SUFFIX} > "$@" + + +# Local variables: +# coding: utf-8 +# mode: makefile +# End: +# vim: fileencoding=utf-8 filetype=make : diff --git a/doc/zerotier-cli.1.txt b/doc/zerotier-cli.1.txt new file mode 100644 index 00000000..ae8a4af7 --- /dev/null +++ b/doc/zerotier-cli.1.txt @@ -0,0 +1,109 @@ +============ +zerotier-cli +============ + +-------------------------------------------------- +management interface for ZeroTier One peer process +-------------------------------------------------- + +:Author: |author| +:Date: 2016-03-04 +:Copyright: + Copyright © 2016 ZeroTier Inc. +:Manual section: 1 +:Manual group: ZeroTier + +.. |command| replace:: **zerotier-cli** +.. |license| replace:: + `GNU General Public License, version 3 or later + <https://www.gnu.org/licenses/#GPL>`__ + + +SYNOPSIS +======== + +| |command| [ **-j** ] [ **-D** `HOMEDIR` ] [ **-p** `PORT` ] [ **-t** `AUTH_TOKEN` ] \ + `command` [ `COMMAND_ARG` ] + + +DESCRIPTION +=========== + +|command| is a tool to manage the running **zerotier-one**\ (8) +process. + +*ZeroTier* is a peer-to-peer virtual network. Its “virtual layer 1” +(VL1) is implemented in the communication between ZeroTier One peers. +This provides the OSI layer 1 functionality on which to build further +network services. + + +COMMANDS +======== + +|command| **info** + + *FIXME*: display status info + +|command| **listpeers** + + *FIXME*: list all peers + +|command| **listnetworks** + + *FIXME*: list all networks + +|command| **join** `NETWORK` + + *FIXME*: join the network `NETWORK` + +|command| **leave** `NETWORK` + + *FIXME*: leave the network `NETWORK` + + +FILES +===== + +The |command| process will discover the running **zerotier-one**\ (8) +process by examining the specified `HOMEDIR` directory (default: +``/var/lib/zerotier-one``). + + +SEE ALSO +======== + +* **zerotier-one**\ (8) + +* ZeroTier One documentation: + + * Product page `<https://www.zerotier.com/product-one.shtml>`__. + * Configuration guide `<https://www.zerotier.com/config.shtml>`__. + * Technical FAQ `<https://www.zerotier.com/tech_faq.shtml>`__. + + +HISTORY +======= + +The |command| program is developed by ZeroTier Inc. + +This manual page was written by |author|. This is free software: you +may copy, modify and/or distribute this work under the terms of the +|license| as published by the Free Software Foundation. No warranty +expressed or implied. + +.. |author| replace:: |authorname| |authoremail| +.. |authorname| replace:: Ben Finney +.. |authoremail| replace:: <ben+zerotier@benfinney.id.au> + + +.. + Local variables: + mode: rst + coding: utf-8 + time-stamp-format: "%:y-%02m-%02d" + time-stamp-start: "^:Date:[ ]+" + time-stamp-end: "$" + time-stamp-line-limit: 20 + End: + vim: filetype=rst fileencoding=utf-8 : diff --git a/doc/zerotier-idtool.1.txt b/doc/zerotier-idtool.1.txt new file mode 100644 index 00000000..2ff0e4c1 --- /dev/null +++ b/doc/zerotier-idtool.1.txt @@ -0,0 +1,115 @@ +=============== +zerotier-idtool +=============== + +---------------------------------------------- +identity management tool for ZeroTier One peer +---------------------------------------------- + +:Author: |author| +:Date: 2016-03-04 +:Copyright: + Copyright © 2016 ZeroTier Inc. +:Manual section: 1 +:Manual group: ZeroTier + +.. |command| replace:: **zerotier-idtool** +.. |license| replace:: + `GNU General Public License, version 3 or later + <https://www.gnu.org/licenses/#GPL>`__ + + +SYNOPSIS +======== + +| |command| **generate** [ `SECRET` ] [ `PUBLIC` ] +| |command| **validate** `SECRET` +| |command| **getpublic** `SECRET` +| |command| **sign** `SECRET` +| |command| **verify** `IDENTITY` `FILE` `SIGNATURE` +| |command| **mkcom** `SECRET` `ID`\ **,**\ `VALUE`\ **,**\ `MAX_DELTA` [ ... ] `IDENTITY` + + +DESCRIPTION +=========== + +|command| is a tool to manage identities for the **zerotier-one**\ (8) +program. + +*ZeroTier* is a peer-to-peer virtual network. Its “virtual layer 1” +(VL1) is implemented in the communication between ZeroTier One peers. +This provides the OSI layer 1 functionality on which to build further +network services. + + +COMMANDS +======== + +|command| **generate** [ `SECRET` ] [ `PUBLIC` ] + + *FIXME*: generate an identity + +|command| **validate** `SECRET` + + *FIXME*: validate a secret identity + +|command| **getpublic** `SECRET` + + *FIXME*: get a public identity + +|command| **sign** `SECRET` + + *FIXME*: sign a secret identity + +|command| **verify** `IDENTITY` `FILE` `SIGNATURE` + + *FIXME*: verify a signature + +|command| **mkcom** `SECRET` `ID`\ **,**\ `VALUE`\ **,**\ `MAX_DELTA` [ ... ] `IDENTITY` + + *FIXME*: mkcom + + +FILES +===== + +*FIXME*: how does the process know its home directory? + + +SEE ALSO +======== + +* **zerotier-one**\ (8) + +* ZeroTier One documentation: + + * Product page `<https://www.zerotier.com/product-one.shtml>`__. + * Configuration guide `<https://www.zerotier.com/config.shtml>`__. + * Technical FAQ `<https://www.zerotier.com/tech_faq.shtml>`__. + + +HISTORY +======= + +The |command| program is developed by ZeroTier Inc. + +This manual page was written by |author|. This is free software: you +may copy, modify and/or distribute this work under the terms of the +|license| as published by the Free Software Foundation. No warranty +expressed or implied. + +.. |author| replace:: |authorname| |authoremail| +.. |authorname| replace:: Ben Finney +.. |authoremail| replace:: <ben+zerotier@benfinney.id.au> + + +.. + Local variables: + mode: rst + coding: utf-8 + time-stamp-format: "%:y-%02m-%02d" + time-stamp-start: "^:Date:[ ]+" + time-stamp-end: "$" + time-stamp-line-limit: 20 + End: + vim: filetype=rst fileencoding=utf-8 : diff --git a/doc/zerotier-one.8.txt b/doc/zerotier-one.8.txt new file mode 100644 index 00000000..e730130e --- /dev/null +++ b/doc/zerotier-one.8.txt @@ -0,0 +1,119 @@ +============ +zerotier-one +============ + +------------------------------------------------- +end-point peer for ZeroTier virtual network layer +------------------------------------------------- + +:Author: |author| +:Date: 2016-03-04 +:Copyright: + Copyright © 2016 ZeroTier Inc. +:Manual section: 8 +:Manual group: ZeroTier + +.. |command| replace:: **zerotier-one** +.. |license| replace:: + `GNU General Public License, version 3 or later + <https://www.gnu.org/licenses/#GPL>`__ + + +SYNOPSIS +======== + +| |command| [ **-U** ] [ **-p** `PORT` ] [ **-d** ] [ `HOMEDIR` ] +| |command| **-i** [ `IDTOOL_ARG` ... ] +| |command| **-q** [ `QUERY_ARG` ... ] +| |command| **-h** +| |command| **-v** + + +DESCRIPTION +=========== + +**ZeroTier One** is the end-point peer for the ZeroTier +software-defined network layer. + +*ZeroTier* is a peer-to-peer virtual network. Its “virtual layer 1” +(VL1) is implemented in the communication between ZeroTier One peers. +This provides the OSI layer 1 functionality on which to build further +network services. + + +OPTIONS +======= + +**-h** + Display concise help on command usage. + +**-v** + Display program version. + +**-U** + Run as unprivileged user (skip privilege check). + +**-p** `PORT` + Communicate on network port `PORT` (either TCP or UDP). + +**-d** + Become a conventional daemon process. Only available on Unix-like + operating systems. + +**-i** [ `IDTOOL_ARG` ... ] + Generate and manage identities. + + This is equivalent to running the **zerotier-idtool** command with + all the specified `IDTOOL_ARG` parameters. + +**-q** [ `QUERY_ARG` ... ] + Query the running ZeroTier One process. + + This is equivalent to running the **zerotier-cli** command with + all the specified `QUERY_ARG` parameters. + + +FILES +===== + +The |command| process will store its state in files within the +specified `HOMEDIR` directory (default: ``/var/lib/zerotier-one``). + + +SEE ALSO +======== + +* **zerotier-idtool**\ (1), **zerotier-cli**\ (1) + +* ZeroTier One documentation: + + * Product page `<https://www.zerotier.com/product-one.shtml>`__. + * Configuration guide `<https://www.zerotier.com/config.shtml>`__. + * Technical FAQ `<https://www.zerotier.com/tech_faq.shtml>`__. + + +HISTORY +======= + +The |command| program is developed by ZeroTier Inc. + +This manual page was written by |author|. This is free software: you +may copy, modify and/or distribute this work under the terms of the +|license| as published by the Free Software Foundation. No warranty +expressed or implied. + +.. |author| replace:: |authorname| |authoremail| +.. |authorname| replace:: Ben Finney +.. |authoremail| replace:: <ben+zerotier@benfinney.id.au> + + +.. + Local variables: + mode: rst + coding: utf-8 + time-stamp-format: "%:y-%02m-%02d" + time-stamp-start: "^:Date:[ ]+" + time-stamp-end: "$" + time-stamp-line-limit: 20 + End: + vim: filetype=rst fileencoding=utf-8 : |