Summary: | WireGuard connection doesn't save persistent-keepalive value. | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | FingerlessGloves <kde> |
Component: | Networking in general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abolte, joshua, kde, mikzyth, nicolas.fella, nolan5758, o.freyermuth, stephen.robinson |
Priority: | NOR | ||
Version First Reported In: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-nm/-/commit/f35e99f31c50d49338e688a0c1c0be3c1c4dfe79 | Version Fixed In: | 6.2.5 |
Sentry Crash Report: |
Description
FingerlessGloves
2022-11-02 13:14:29 UTC
Thank you for the bug report! Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer. If at all possible please upgrade to a supported version and verify that the bug is still happening there. If you're unsure how to do this, contact your distributor about it. Also happens on Fedora 37 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Linux 37 KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Bug exists on Ubuntu 20.04.5 LTS with KDE plasma version 5.18.8. Note: adding "persistent-keepalive=25" under the [wireguard-peer. ...] heading in /etc/NetworkManager/system-connections/<wg.nmconnection> does not fix the issue for me. i.e. I cannot establish a functional wireguard tunnel this way. However, `sudo wg-quick up </etc/wireguard/wg_conf_file_name>` (which has PersistentKeepAlive = 25 under the [Peer] heading does create a functional wireguard tunnel. I am running 5.26.5-0xneon+22.04+jammy+release+build17 and this bugs still exists. @sn: I added "persistent-keepalive=21" to the [wireguard-peer.xxxxx] section and ran `nmcli connection reload`. Restarted conenction via plasma applet, and `wg show` now showed the keep alive value. Confirming that this is still an issue after upgrading to KDE Plasma 6. Operating System: Arch Linux KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.9.5-arch1-1 (64-bit) Graphics Platform: Wayland I can also confirm that the work-around others have posted here still works. Namely, adding an entry like `persistent-keepalive=25` under the applicable `[wireguard-peer.XXXXX]` section of the connection's .nmconnection file found under /etc/NetworkManager/system-connections/, running `nmcli connection reload`, establishing a VPN connection via the applet and finally confirming the change via `wg show`. The value of 25 (for this example) will also now present itself in the GUI in the applicable Peers section, and seems to persist if there are no further connection changes made via the GUI that are saved. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/395 Git commit 88ac65b634826e31615b6b04a845458da2d5a3c4 by Nicolas Fella, on behalf of Adrian Thiele. Committed on 18/12/2024 at 21:57. Pushed by nicolasfella into branch 'master'. Fix saving keepalive interval for WireGuard NetworkManager expects the persistent-keepalive value to be an uint and just ignores it if it is not. M +1 -1 libs/editor/settings/wireguardpeerwidget.cpp https://invent.kde.org/plasma/plasma-nm/-/commit/88ac65b634826e31615b6b04a845458da2d5a3c4 Git commit f35e99f31c50d49338e688a0c1c0be3c1c4dfe79 by Nicolas Fella, on behalf of Adrian Thiele. Committed on 18/12/2024 at 22:14. Pushed by nicolasfella into branch 'Plasma/6.2'. Fix saving keepalive interval for WireGuard NetworkManager expects the persistent-keepalive value to be an uint and just ignores it if it is not. (cherry picked from commit 88ac65b634826e31615b6b04a845458da2d5a3c4) M +1 -1 libs/editor/settings/wireguardpeerwidget.cpp https://invent.kde.org/plasma/plasma-nm/-/commit/f35e99f31c50d49338e688a0c1c0be3c1c4dfe79 Bulk transfer as requested in T17796 |