** Description changed:

  Binary package hint: network-manager-openvpn
+ 
+ 
+ SRU JUSTIFICATION:
+ 
+ This bug was fixed upstream in the attached upstream bug report and
+ NetworkManager packages already closely follow the upstream GIT tree.
+ 
+ This appears to be a pretty recurrent theme (also noticeable in bug
+ 655124) with a small, low-impact fix.
+ 
+ TEST CASE:
+ 
+ To reproduce the bug easily, one can connect to an OpenVPN-based VPN
+ server with default settings; they should notice a form of race
+ condition where openvpn itself applies IP address information to a TUN
+ device whereas NetworkManager should be doing it itself (which it tries
+ to do unsuccessfully after openvpn has already done the update).
+ 
+ Regression potential is low but crippling: if this patch causes a
+ regression it will not allow a VPN connection to pass traffic since no
+ IP will be set on the interface (because openvpn won't have set it, and
+ the failure scenario would be for NM to not set the IP either)
+ 
+ ----
  
  Jul 27 10:06:06 antani-ubu NetworkManager: <info>  Starting VPN service 
'org.freedesktop.NetworkManager.openvpn'...
  Jul 27 10:06:06 antani-ubu NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.openvpn' started 
(org.freedesktop.NetworkManager.openvpn), PID 4825
  Jul 27 10:06:06 antani-ubu NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
  Jul 27 10:06:06 antani-ubu NetworkManager: <info>  VPN plugin state changed: 3
  Jul 27 10:06:06 antani-ubu NetworkManager: <info>  VPN connection 'vpn' 
(Connect) reply received.
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: OpenVPN 2.1.0 i486-pc-linux-gnu 
[SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: WARNING: No server certificate 
verification method has been enabled.  See http://openvpn.net/howto.html#mitm 
for more info.
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: NOTE: the current 
--script-security setting may allow this configuration to call user-defined 
scripts
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: LZO compression initialized
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: UDPv4 link local: [undef]
  Jul 27 10:06:06 antani-ubu nm-openvpn[4831]: UDPv4 link remote: 
[AF_INET]ip:1194
  Jul 27 10:06:07 antani-ubu nm-openvpn[4831]: WARNING: 'dev-type' is used 
inconsistently, local='dev-type tun', remote='dev-type tap'
  Jul 27 10:06:07 antani-ubu nm-openvpn[4831]: WARNING: 'link-mtu' is used 
inconsistently, local='link-mtu 1542', remote='link-mtu 1574'
  Jul 27 10:06:07 antani-ubu nm-openvpn[4831]: WARNING: 'tun-mtu' is used 
inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
  Jul 27 10:06:07 antani-ubu nm-openvpn[4831]: [127.0.0.1] Peer Connection 
Initiated with [AF_INET]ip:1194
  Jul 27 10:06:09 antani-ubu nm-openvpn[4831]: WARNING: Since you are using 
--dev tun with a point-to-point topology, the second argument to --ifconfig 
must be an IP address.  You a
  re using something (255.255.240.0) that looks more like a netmask. (silence 
this warning with --ifconfig-nowarn)
  Jul 27 10:06:09 antani-ubu nm-openvpn[4831]: TUN/TAP device tun0 opened
  Jul 27 10:06:09 antani-ubu nm-openvpn[4831]: /sbin/ifconfig tun0 192.168.14.8 
pointopoint 255.255.240.0 mtu 1500
  Jul 27 10:06:09 antani-ubu NetworkManager:    SCPlugin-Ifupdown: devices 
added (path: /sys/devices/virtual/net/tun0, iface: tun0)
  Jul 27 10:06:09 antani-ubu NetworkManager:    SCPlugin-Ifupdown: device added 
(path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration 
found.
  Jul 27 10:06:09 antani-ubu kernel: [ 2364.489445] tun0: Disabled Privacy 
Extensions
  Jul 27 10:06:09 antani-ubu nm-openvpn[4831]: Linux ifconfig failed: external 
program exited with error status: 1
  Jul 27 10:06:09 antani-ubu nm-openvpn[4831]: Exiting
  Jul 27 10:06:09 antani-ubu NetworkManager:    SCPlugin-Ifupdown: devices 
removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
  Jul 27 10:06:09 antani-ubu NetworkManager: <info>  VPN plugin failed: 1
  Jul 27 10:06:09 antani-ubu NetworkManager: <info>  VPN plugin state changed: 6
  Jul 27 10:06:09 antani-ubu NetworkManager: <info>  VPN plugin state change 
reason: 0
  Jul 27 10:06:09 antani-ubu NetworkManager: <WARN>  
connection_state_changed(): Could not process the request because no VPN 
connection was active.
  Jul 27 10:06:09 antani-ubu NetworkManager: <info>  Policy set 'Auto eth0' 
(eth0) as default for routing and DNS.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: network-manager-openvpn-gnome 0.8-0ubuntu3
  ProcVersionSignature: Ubuntu 2.6.32-24.38-generic-pae 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic-pae i686
  NonfreeKernelModules: wl nvidia
  Architecture: i386
  Date: Tue Jul 27 10:06:48 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
-  LANG=it_IT.utf8
-  SHELL=/bin/bash
+  LANG=it_IT.utf8
+  SHELL=/bin/bash
  SourcePackage: network-manager-openvpn

-- 
Openvpn: Connection succesful only when using TAP device
https://bugs.launchpad.net/bugs/610361
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to