I made the following to reproduce the problem:
see@ http://live.gnome.org/NetworkManager/Debugging
* killall -TERM nm-openvpn-service
* in a root terminal, run 

OPENVPN_DEBUG=1 /usr/lib/network-manager-openvpn/nm-openvpn-service

* start your VPN connection
* reproduce the problem 

The last lines are:
Fri Aug 20 13:57:08 2010 us=885890 ACK reliable_send_timeout 604800 [11]
Fri Aug 20 13:57:08 2010 us=887092 TLS: tls_process: timeout set to 57
Fri Aug 20 13:57:08 2010 us=889075 TLS: tls_multi_process: i=1 state=S_INITIAL, 
mysid=df00f944 a2c6a523, stored-sid=00000000 00000000, stored-ip=[undef]
Fri Aug 20 13:57:08 2010 us=889376 TLS: tls_multi_process: i=2 state=S_UNDEF, 
mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[undef]
Fri Aug 20 13:57:08 2010 us=889707 PUSH: Received control message: 
'PUSH_REPLY,route 10.0.10.1 255.255.255.255,redirect-gateway,dhcp-option DOMAIN 
ad.mynetwork.net,dhcp-option DNS 10.0.87.27,dhcp-option DNS 
10.0.87.5,dhcp-option DNS 195.110.60.1,dhcp-option WINS 10.0.87.10,dhcp-option 
WINS 10.0.87.6,dhcp-option NBT 2,ifconfig 10.0.10.14 10.0.10.13'
Fri Aug 20 13:57:08 2010 us=890088 OPTIONS IMPORT: --ifconfig/up options 
modified
Fri Aug 20 13:57:08 2010 us=890266 OPTIONS IMPORT: route options modified
Fri Aug 20 13:57:08 2010 us=890429 OPTIONS IMPORT: --ip-win32 and/or 
--dhcp-option options modified
Fri Aug 20 13:57:08 2010 us=890593 Preserving previous TUN/TAP instance: tun0
Fri Aug 20 13:57:08 2010 us=890820 
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 
1544 10.0.10.14 10.0.10.13 restart
Fri Aug 20 13:57:08 2010 us=891928 PKCS#11: __pkcs11h_forkFixup entry 
pid=14201, activate_slotevent=1
Fri Aug 20 13:57:08 2010 us=892290 PKCS#11: __pkcs11h_forkFixup return
Fri Aug 20 13:57:08 2010 us=913352 MANAGEMENT: Client disconnected
Fri Aug 20 13:57:08 2010 us=913439 script failed: external program exited with 
error status: 1
Fri Aug 20 13:57:08 2010 us=913469 Exiting

in similar debug sessions it says: invalid IP adress
but the connection string is the same like the reconnection:
Fri Aug 20 13:55:58 2010 us=844754 PUSH: Received control message: 
'PUSH_REPLY,route 10.0.10.1 255.255.255.255,redirect-gateway,dhcp-option DOMAIN 
ad.mynetwork.net,dhcp-option DNS 10.0.87.27,dhcp-option DNS 
10.0.87.5,dhcp-option DNS 195.110.60.1,dhcp-option WINS 10.0.87.10,dhcp-option 
WINS 10.0.87.6,dhcp-option NBT 2,ifconfig 10.0.10.14 10.0.10.13'

see attachment for the full output


** Attachment added: "debug output"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/620411/+attachment/1503713/+files/nm-openvpn-service.debug.out.txt.zip

-- 
openvpn stops on reconnect
https://bugs.launchpad.net/bugs/620411
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to