Bug 453274

Summary: [openconnect] Add the possiblity to edit the useragent of a VPN connection for openconnect
Product: [Applications] systemsettings Reporter: earendilfr <earendil>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: wishlist CC: jgrulich, postix
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description earendilfr 2022-05-01 20:56:12 UTC
SUMMARY
It could be usefull to allow to edit the useragent of an openconnect VPN connection.
I have a working tree with the last version of openconnect (minimum version 9.0) because I need the function openconnect_set_useragent added in the last version.

ADDITIONAL INFORMATION
You can found a commit that add this feature here:
https://invent.kde.org/earendilfr/plasma-nm/-/commit/fef77307bcf272702d445327524bbd317d0c514f

I have no idea if it's possible to submit directly a "merge request" though the gitlab portal of KDE...
Comment 1 postix 2024-06-04 19:02:24 UTC
This would solve the issue for me that I can no longer connect to my university's VPN using the Plasma GUI but only by the CLI.
Without setting `--useragent=AnyConnect`, I get a 404. [1]

[1] https://gitlab.com/openconnect/openconnect/-/issues/544
Comment 2 postix 2024-06-04 19:06:00 UTC
Nevermind, the option is already there if you edit the openconnect VPN in the Plasma applet. :) Don't know when it was introduced though.