Support for lz4 encryption missing (patch included)
I realized that network manager lacked support for the new lz4 compression algorithm introduced in OpenVPN 2.4. This patch adds support for it. lz4.diff
OpenVPN 2.4 added a new flag --compress and has deprecated the --comp-lzo flag and they also added a new compression algorithm lz4. In order or to make the user experiences as simple as possible I just added lz4 as an additional compression algorithm to the existing list of available algorithms. If the selected algorithm is anything else than lz4 then the code works as before but if it is lz4 it does not add a --comp-lzo flag but instead adds '--compress lz4' (after checking that we run 2.4 or later).