After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773951 - Add support for proxy user-agent
Add support for proxy user-agent
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
1.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks: nm-openvpn-options
 
 
Reported: 2016-11-04 18:22 UTC by elorenzini
Modified: 2020-11-12 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description elorenzini 2016-11-04 18:22:55 UTC
Overview:
The config options for proxy user-agent are currently ignored when importing an openvpn config file.

Steps to reproduce:
1) Add the following line to .ovpn config file before importing:

http-proxy-option AGENT 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'

2) Check user-agent that is used to authenticate on the proxy.

Actual Result: 
"AGENT" option is ignored and not used while connecting to the proxy

Expected Result:
Connection to the proxy should be identified as AGENT 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'


Additional Information:

Using the same config from command line works as expected.

From the manpage:
--http-proxy-option type [parm]
Set extended HTTP proxy options. Repeat to set multiple options.
VERSION version -- Set HTTP version number to version (default=1.0).

AGENT user-agent -- Set HTTP "User-Agent" string to user-agent.


Best regards,

Emmanuel
Comment 1 André Klapper 2020-11-12 14:29:07 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).