On 16/11/17 09:42, Илья Шипицин wrote:
> 
> just "compression" is somewhat not clearly covered by documentation. is
> it "stub" ? or is it "enable both lzo and lz4" ?

My man page says:

      --compress [algorithm]
       [...snip...]

       If  the  algorithm  parameter is empty, com‐
       pression will be turned off, but the  packet
       framing   for   compression  will  still  be
       enabled, allowing a different setting to  be
       pushed later.

If this is not clear enough, how could we improve that?

But JJK is most likely right that lzo and lz4 cannot be mixed between
clients.  But you can have some clients which gets a 'push "compress
$ALGORITHM", where $ALGORITHM is either lzo or lz4 [1].

Code wise, --comp-lzo yes is the same as --compress lzo.
And --comp-lzo no is the same as just --compress.  But --compress is the
only one allowing different compression algorithms.


[1] Valid values are actually: stub, stub-v2, lzo, lz4, lz4-v2 - but the
various differences seems poorly documented outside the source code.


-- 
kind regards,

David Sommerseth
OpenVPN, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to