diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-08 18:31:49 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-08 18:31:49 -0700 |
| commit | 6b6a5533c65f16f8757c3e271970f51d062aa1aa (patch) | |
| tree | 1093a2f886108adc25f033cedeb5bbb3404c215a /docs | |
| parent | 86b4524b10b6e9eace01374ce138f8db81c6f3b9 (diff) | |
| download | nng-6b6a5533c65f16f8757c3e271970f51d062aa1aa.tar.gz nng-6b6a5533c65f16f8757c3e271970f51d062aa1aa.tar.bz2 nng-6b6a5533c65f16f8757c3e271970f51d062aa1aa.zip | |
Remove documentation references to ZeroTier.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/BUILD_ZEROTIER.adoc | 80 | ||||
| -rw-r--r-- | docs/man/nngcat.1.adoc | 11 |
2 files changed, 0 insertions, 91 deletions
diff --git a/docs/BUILD_ZEROTIER.adoc b/docs/BUILD_ZEROTIER.adoc deleted file mode 100644 index 80ee0722..00000000 --- a/docs/BUILD_ZEROTIER.adoc +++ /dev/null @@ -1,80 +0,0 @@ -ifdef::env-github[] -:important-caption: :heavy_exclamation_mark: -endif::[] - -= Building for ZeroTier Support - -If you want to include support for the experimental ZeroTier -transport (`zt://` URLs), you should follow these directions. - -Staysail has created a package that builds a clean CMake project -that you can import. -Download this from https://github.com/staysail/libzerotiercore[GitHub]. - - -IMPORTANT: ZeroTierOne is licensed under different terms than NNG. -You are responsible for reading those license terms, and ensuring that -your use conforms to them. - -IMPORTANT: The ZeroTier transport, and these build instructions, -are experimental. -We expect both to change over time as ZeroTier and the NNG `zt://` transport -both mature. -As always, _caveat emptor_. - -== Building libzerotiercore - -Using "CMake", you can build libzerotiercore -using any normal CMake generator. -You should install it as well. -Normally it will install into `/usr/local` on -Linux and UNIX systems. - -== Configuring NNG with ZT - -You will need to enable ZeroTier within NNG using the CMake option `NNG_TRANSPORT_ZEROTIER=ON`. -If you have installed the libzerotiercore in -one of the default locations, then that should be all -that is needed. - -If you have specified a different location, you will -need to inform CMake of this by setting the CMake -variable `-Dzerotier_DIR=<where you installed it>` - -== Example - -The following example would work on either Linux or macOS, and assumes -that we have checked out github source trees into `$HOME/work`. - -[source, sh] ----- -$ export NNGDIR=$HOME/work/nng -$ export ZTDIR=$HOME/work/libzerotiercore -$ git clone https://github.com/staysail/libzerotiercore $ZTDIR -$ cd $ZTDIR -$ mkdir build -$ cd build -$ cmake .. - - ... (lots of lines of output from cmake...) - -$ make - - ... (lots of lines of output from make...) - -$ make install -$ cd $NNGDIR -$ mkdir build -$ cd build -$ cmake -DNNG_TRANSPORT_ZEROTIER=ON .. - - ... (lots of lines of output from cmake...) - -$ make - - ... (lots of lines of output from make...) - -$ ./tests/zt - -ok ./tests/zt 22.837s ----- diff --git a/docs/man/nngcat.1.adoc b/docs/man/nngcat.1.adoc index 4b4e131d..486c02b1 100644 --- a/docs/man/nngcat.1.adoc +++ b/docs/man/nngcat.1.adoc @@ -279,17 +279,6 @@ when using addresses that are not secured with TLS. These CAs ("Certificate Authorities") are used as trust roots when validating certificates presented by peers. -=== ZeroTier Options - -These options are only present if ZeroTier is configured; they are ignored -otherwise. - -*--zt-home*=_DIRECTORY_:: - Directory for persistent ZeroTier node (key material, etc.) - This directory must already exist. - Only one program may use a ZeroTier node at a time; - file locking is used to prevent this. - == EXAMPLES .Echo service using request/reply. |
