Stouts / Stouts.openvpn

Ansible role to install and configure OpenVPN server
MIT License
287 stars 207 forks source link

comp-lzo option deprecated #148

Open alanmcg opened 4 years ago

alanmcg commented 4 years ago

The server option comp-lzo is deprecated in favor of --compression

--compress [algorithm] Enable a compression algorithm.

The algorithm parameter may be "lzo", "lz4", or empty. LZO and LZ4 are different compression algorithms, with LZ4 generally offering the best performance with least CPU usage. For backwards compatibility with OpenVPN versions before v2.4, use "lzo" (which is identical to the older option "--comp-lzo yes").

If the algorithm parameter is empty, compression will be turned off, but the packet framing for compression will still be enabled, allowing a different setting to be pushed later. 
alanmcg commented 4 years ago

Should deprecated features be supported? I was going to remove comp-lzo and replace it with this option but then I consider we could have both options instead..