X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=doc%2Ftinc.texi;h=ed9f3aec9d7a61eb8b266376f29ab0c924529261;hb=b13e1a3c1f7252cda5ab95166d9f2d578983471f;hp=0ff95e9ae30fb1b28efd800e62a55a3d91136ea3;hpb=0345a1468613e1ba4a4aa6dbbef44a26f1eb42d9;p=tinc diff --git a/doc/tinc.texi b/doc/tinc.texi index 0ff95e9a..ed9f3aec 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -339,6 +339,7 @@ message, and stop. * LibreSSL/OpenSSL:: * zlib:: * LZO:: +* LZ4:: * libcurses:: * libreadline:: @end menu @@ -460,6 +461,27 @@ make sure you build development and runtime libraries (which is the default). +@c ================================================================== +@node LZ4 +@subsection LZ4 + +@cindex LZ4 +Another form of compression is offered using the LZ4 library. + +Tinc has support for the LZ4 compression algorithm as compression level 12. + +By default, tinc will try to link to an external LZ4 library. If it is not +found on your system or its version is older than r129, then tinc falls back to +the built-in copy of the library. + +You can force the use of the built-in copy by passing `--enable-lz4-builtin`, +or disable it completely with `--disable-lz4-builtin`. + +LZ4 support can be completely disabled with `--disable-lz4`. Note that the +resulting binary will not work correctly on VPNs where LZ4 compression is used +by other peers. + + @c ================================================================== @node libcurses @subsection libcurses @@ -527,11 +549,7 @@ for yourself, you can use the source. The source is distributed under the GNU General Public License (GPL). Download the source from the @uref{https://www.tinc-vpn.org/download/, download page}. -Tinc comes in a convenient autoconf/automake package, which you can just -treat the same as any other package. Which is just untar it, type -`./configure' and then `make'. -More detailed instructions are in the file @file{INSTALL}, which is -included in the source distribution. +Please refer to @file{INSTALL.md} for information on how to build tinc from source. @menu * Building and installing tinc:: @@ -1325,7 +1343,7 @@ Fragmentation Needed or Packet too Big messages are dropped by firewalls. @item Compression = <@var{level}> (0) This option sets the level of compression used for UDP packets. Possible values are 0 (off), 1 (fast zlib) and any integer up to 9 (best zlib), -10 (fast LZO) and 11 (best LZO). +10 (fast LZO), 11 (best LZO), and 12 (LZ4). @cindex Digest @item Digest = <@var{digest}> (sha1)