Bug 481642 - push-peer-info option not supported
Summary: push-peer-info option not supported
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-21 22:57 UTC by kde.pmywo
Modified: 2024-12-23 18:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde.pmywo 2024-02-21 22:57:59 UTC
SUMMARY
***
To restrict access to openvpn server by MAC address, the support of push-peer-info option is required. It work with openvpn and network-manager-openvpn, but not with plasma-nm-openvpn.
***


STEPS TO REPRODUCE
1. Get a openvpnas-server that restrict access by mac using post_auth script
2. Configure VPN connection 
3. Try to connect.

OBSERVED RESULT
Connection refused by the server because of the parameter client_hw_addr not set 

EXPECTED RESULT
Connection allowed after getting client_hw_addr

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 40 dev, Kubuntu 23.10
(available in About System)
KDE Plasma Version: 6.0RC2, 5.7
KDE Frameworks Version: 6.0, 5.110
Qt Version: 6.6.2, 5.15.10

ADDITIONAL INFORMATION
The issue was solved in network-manager-opevpn a few time ago: https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/-/commit/c4ad1b66f090e5a2ae782d7d7067a658587909bd?view=parallel
Comment 1 Ben Cooksley 2024-12-23 18:23:50 UTC
Bulk transfer as requested in T17796