network-manager-openvpn does not support all options supported by openvpn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager-OpenVPN |
Confirmed
|
Wishlist
|
|||
network-manager-openvpn (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: network-
This is my .ovpn config file that works on Windows and on Intrepid/Jaunty using the command line:
------ cut here ----
pull
tls-client
port 443
#check
remote xx.xx.xx.xx #check
proto tcp-client
#check
pkcs12 mycert.p12
#converted to *.pem then was able to import them
reneg-sec 300
keysize 512
cipher BF-CBC
#check
tls-cipher DHE-RSA-AES256-SHA
dev tap
#check
verb 4
comp-lzo
#check
link-mtu 1400
ping 15
---- end of config file ----
All the options marked with #check have a corresponding option within the network-
When trying to connect with only those options configured I get the following errors:
--- start of log file ----
Apr 20 15:00:16 valentin-laptop NetworkManager: <info> Starting VPN service 'org.freedeskto
Apr 20 15:00:16 valentin-laptop NetworkManager: <info> VPN service 'org.freedeskto
Apr 20 15:00:16 valentin-laptop kernel: [64813.625564] tun: Universal TUN/TAP device driver, 1.6
Apr 20 15:00:16 valentin-laptop kernel: [64813.625570] tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
Apr 20 15:00:16 valentin-laptop NetworkManager: <info> VPN service 'org.freedeskto
Apr 20 15:00:16 valentin-laptop NetworkManager: <info> VPN plugin state changed: 1
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: OpenVPN 2.1_rc11 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 9 2009
Apr 20 15:00:20 valentin-laptop NetworkManager: <info> VPN plugin state changed: 3
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: WARNING: No server certificate verification method has been enabled. See http://
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 20 15:00:20 valentin-laptop NetworkManager: <info> VPN connection 'Work OpenVPN' (Connect) reply received.
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: WARNING: file '/home/
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: /usr/bin/
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: LZO compression initialized
Apr 20 15:00:20 valentin-laptop nm-openvpn[3973]: Attempting to establish TCP connection with xx.xx.xx.xx:yyy [nonblock]
Apr 20 15:00:21 valentin-laptop nm-openvpn[3973]: TCP connection established with xx.xx.xx.xx:yyy
Apr 20 15:00:21 valentin-laptop nm-openvpn[3973]: TCPv4_CLIENT link local: [undef]
Apr 20 15:00:21 valentin-laptop nm-openvpn[3973]: TCPv4_CLIENT link remote: xx.xx.xx.xx:yyy
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1576', remote='link-mtu 1400'
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1356'
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 512'
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: [some-random-
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: Authenticate/
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: Fatal decryption error (process_
Apr 20 15:00:22 valentin-laptop nm-openvpn[3973]: SIGUSR1[
Apr 20 15:00:27 valentin-laptop nm-openvpn[3973]: WARNING: No server certificate verification method has been enabled. See http://
Apr 20 15:00:27 valentin-laptop nm-openvpn[3973]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 20 15:00:27 valentin-laptop nm-openvpn[3973]: Re-using SSL/TLS context
---- end of log file ----
After trying to manually set the 3 options it complains about (link-mtu, tun-mtu, keysize) with gconf-editor the connection wouldn't even innitialize any more, saying that it doesn't support these options.
Was hoping that the "new and improved" NM in Jaunty would fix this bug, but this seems to not be the case.
Changed in network-manager-openvpn: | |
importance: | Unknown → Wishlist |
status: | Unknown → New |
Changed in network-manager-openvpn: | |
importance: | Wishlist → Unknown |
status: | New → Unknown |
Changed in network-manager-openvpn: | |
importance: | Unknown → Wishlist |
status: | Unknown → New |
Changed in network-manager-openvpn: | |
status: | New → Confirmed |
Changed in network-manager-openvpn (Ubuntu): | |
importance: | Undecided → Wishlist |
Same problem.
My OpenVPN server uses a non-default keysize, so I can't use Network Manager to connect bacause there's no way to set keysize on GUI. The log says "WARNING: 'keysize' is used inconsistently".
Please add more options to the "OpenVPN Advanced Options" dialog.