Bug 387715

Summary: [RFE] OpenVPN with lz4 as compression algorithm
Product: [Plasma] plasma-nm Reporter: Stefan Schmid <schmidicom>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: wishlist CC: damian.true2, eojefoejfo, jgrulich, nate
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
URL: https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
Latest Commit: Version Fixed In: 5.21

Description Stefan Schmid 2017-12-08 15:42:10 UTC
With OpenVPN 2.4 comes support for lz4 as compression algorithm and some Servers need this on Client side to establish a connection.

See "--compress [algorithm]" in OpenVPN-Wiki:
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage

Please modify the Option-Dialog to make it possible to use it.
Comment 1 Jan Grulich 2017-12-11 12:41:21 UTC
This doesn't seem to be supported yet by NM-OpenVPN plugin, which makes this not possible to implement on our side.
Comment 2 Stefan Schmid 2017-12-11 13:09:45 UTC
I found this RFE on Buzilla from GNOME:
https://bugzilla.gnome.org/show_bug.cgi?id=777768

But since 2017-05-12 no activitiy, what now?
Comment 3 Anon 2019-01-05 10:15:13 UTC
Hello,

NM-OpenVPN does support lz4 now. https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/merge_requests/4

Any chance to have this implemented in Plasma Network Manager ?
Comment 4 Damian 2019-02-20 13:16:49 UTC
I can not import opvn config file when its containing "compress lz4-v2" attribute.
Comment 5 Bug Janitor Service 2020-11-01 15:34:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/34
Comment 6 Jan Grulich 2020-11-02 09:43:08 UTC
Git commit 0fbf2b364c9104c833a495da09813fdf1ff23352 by Jan Grulich, on behalf of Alfred Toth.
Committed on 02/11/2020 at 09:43.
Pushed by grulich into branch 'master'.

Add support for the OpenVPN parameter compress

This adds support for the OpenVPN parameter compress. With this, it is
possible to use compression algorithms like lz4 or lz4-v2.

M  +1    -0    vpn/openvpn/nm-openvpn-service.h
M  +39   -2    vpn/openvpn/openvpn.cpp
M  +24   -9    vpn/openvpn/openvpnadvanced.ui
M  +38   -10   vpn/openvpn/openvpnadvancedwidget.cpp

https://invent.kde.org/plasma/plasma-nm/commit/0fbf2b364c9104c833a495da09813fdf1ff23352