Michsh / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

When reconnecting, network is reachable, despite enabling Persistent tun #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable WiFi and connect to VPN;
2. Disable WiFi (to force the VPN to reconnect) and, after mobile network is 
connected and while openVPN is reconnecting, open a site;
3. You have non-vpn internet access

What is the expected output? What do you see instead?
It is supposed to prevent non-vpn network access when reconnecting and 
"persistent tun" is enabled

What mobile phone are you using?
Samsung Galaxy Nexus

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Android 4.3 Google stock ROM

Please provide any additional information below
If you go to a site that shows your IP address with the VPN connected, it shows 
the VPN IP address; if you force the VPN to reconnect (ex. disabling Wifi), and 
refresh the IP address site, it shows your local non-vpn IP; once reconnected, 
it shows the openVPN IP address.

Original issue reported on code.google.com by marcogsi...@gmail.com on 22 Aug 2013 at 10:20

GoogleCodeExporter commented 9 years ago
Can you add the log?

Original comment by arne@rfc2549.org on 23 Aug 2013 at 10:36

GoogleCodeExporter commented 9 years ago
Thank you for your quick reply.

Here goes the log:

Local IPv4: 213.179.213.202/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377275920,CONNECTED,SUCCESS,213.179.213.202,213.179.213.2
P:read TCPv4_CLIENT [NO-INFO]: Connection timed out (code=110)
P:Connection reset, restarting [0]
P:TCP/UDP: Closing socket
P:SIGUSR1[soft,connection-reset] received, process restarting
P:MANAGEMENT: >STATE:1377275945,RECONNECTING,connection-reset,,
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:TCP/UDP: Preserving recently used remote address: [AF_INET]213.179.213.2:443
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377275946,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:MANAGEMENT: CMD 'signal SIGUSR1'
P:TCP/UDP: Closing socket
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Closing TUN/TAP interface
P:SIGHUP[hard,close_context usr1 to hup] received, process restarting
P:MANAGEMENT: >STATE:1377275948,RECONNECTING,close_context usr1 to hup,,
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:NOTE: --mute triggered...
P:199 variation(s) on previous 5 message(s) suppressed by --mute
P:OpenVPN 2.3.2+dspatch4 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] 
[EPOLL] [MH] [IPv6] built on Aug 20 2013
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
Network Status: CONNECTED  to WIFI "FON_ZON_FREE_INTERNET"
P:MANAGEMENT: CMD 'hold release'
P:Restart pause, 5 second(s)
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
MGMT:Got unrecognized line from management:ERROR: no needok-confirmation is 
currently needed at this time
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:MANAGEMENT: >STATE:1377275957,RESOLVE,,,
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377275962,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:TCP connection established with [AF_INET]213.179.213.2:443
P:TCPv4_CLIENT link local: (not bound)
P:TCPv4_CLIENT link remote: [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377275963,WAIT,,,
P:MANAGEMENT: >STATE:1377275964,AUTH,,,
P:TLS: Initial packet from [AF_INET]213.179.213.2:443, sid=a4ea294d 3cc72c5b
P:VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=proXPN Direct, LLC, 
OU=proxpn.com, CN=proxpn.com, name=proxpn.com, emailAddress=support@proxpn.com
P:Validating certificate key usage
P:++ Certificate has key usage  00a0, expects 00a0
P:VERIFY KU OK
P:NOTE: --mute triggered...
P:9 variation(s) on previous 5 message(s) suppressed by --mute
P:[proxpn.com] Peer Connection Initiated with [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377276019,GET_CONFIG,,,
P:SENT CONTROL [proxpn.com]: 'PUSH_REQUEST' (status=1)
P:PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,redirect-gateway,route-gateway 
213.179.213.65,topology subnet,ping 10,ping-restart 60,ifconfig 213.179.213.102 
255.255.255.192'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:NOTE: --mute triggered...
P:2 variation(s) on previous 5 message(s) suppressed by --mute
P:ROUTE_GATEWAY 192.168.3.1/255.255.255.0 IFACE=wlan0 HWADDR=a0:0b:ba:22:ae:ac
P:ROUTE6: default_gateway=UNDEF
P:OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option 
and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 
options
P:OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1377276021,ASSIGN_IP,,213.179.213.102,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1377276021,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
Opening tun interface:
Local IPv4: 213.179.213.102/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377276021,CONNECTED,SUCCESS,213.179.213.102,213.179.213.2
P:read TCPv4_CLIENT [NO-INFO]: Connection timed out (code=110)
P:Connection reset, restarting [0]
P:TCP/UDP: Closing socket
P:SIGUSR1[soft,connection-reset] received, process restarting
P:MANAGEMENT: >STATE:1377278733,RECONNECTING,connection-reset,,
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:TCP/UDP: Preserving recently used remote address: [AF_INET]213.179.213.2:443
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[1048576->131072] S=[524288->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377278735,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:MANAGEMENT: CMD 'signal SIGUSR1'
P:TCP/UDP: Closing socket
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Closing TUN/TAP interface
P:SIGHUP[hard,close_context usr1 to hup] received, process restarting
P:MANAGEMENT: >STATE:1377278738,RECONNECTING,close_context usr1 to hup,,
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:NOTE: --mute triggered...
P:199 variation(s) on previous 5 message(s) suppressed by --mute
P:OpenVPN 2.3.2+dspatch4 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] 
[EPOLL] [MH] [IPv6] built on Aug 20 2013
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
Network Status: not connected
MGMT:Got unrecognized line from management:ERROR: no needok-confirmation is 
currently needed at this time
P:MANAGEMENT: CMD 'hold release'
P:Restart pause, 5 second(s)
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
Network Status: CONNECTED HSPA+ to mobile internet.vodafone.pt
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:MANAGEMENT: >STATE:1377278746,RESOLVE,,,
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377278746,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:TCP connection established with [AF_INET]213.179.213.2:443
P:TCPv4_CLIENT link local: (not bound)
P:TCPv4_CLIENT link remote: [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377278747,WAIT,,,
P:MANAGEMENT: >STATE:1377278747,AUTH,,,
P:TLS: Initial packet from [AF_INET]213.179.213.2:443, sid=817d5243 60f3d516
P:VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=proXPN Direct, LLC, 
OU=proxpn.com, CN=proxpn.com, name=proxpn.com, emailAddress=support@proxpn.com
P:Validating certificate key usage
P:++ Certificate has key usage  00a0, expects 00a0
P:VERIFY KU OK
P:NOTE: --mute triggered...
P:9 variation(s) on previous 5 message(s) suppressed by --mute
P:[proxpn.com] Peer Connection Initiated with [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377278754,GET_CONFIG,,,
P:SENT CONTROL [proxpn.com]: 'PUSH_REQUEST' (status=1)
P:PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,redirect-gateway,route-gateway 
213.179.213.129,topology subnet,ping 10,ping-restart 60,ifconfig 
213.179.213.168 255.255.255.192'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:NOTE: --mute triggered...
P:2 variation(s) on previous 5 message(s) suppressed by --mute
P:ROUTE_GATEWAY 46.189.255.1/255.255.255.0 IFACE=rmnet0 HWADDR=00:00:00:00:00:00
P:ROUTE6: default_gateway=UNDEF
P:OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option 
and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 
options
P:OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1377278755,ASSIGN_IP,,213.179.213.168,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1377278755,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
Opening tun interface:
Local IPv4: 213.179.213.168/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377278756,CONNECTED,SUCCESS,213.179.213.168,213.179.213.2
P:read TCPv4_CLIENT [NO-INFO]: Connection timed out (code=110)
P:Connection reset, restarting [0]
P:TCP/UDP: Closing socket
P:SIGUSR1[soft,connection-reset] received, process restarting
P:MANAGEMENT: >STATE:1377278769,RECONNECTING,connection-reset,,
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'proxy NONE'
P:MANAGEMENT: CMD 'signal SIGUSR1'
Network Status: CONNECTED  to WIFI "MGS_Casa"
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Closing TUN/TAP interface
P:SIGHUP[hard,close_context usr1 to hup] received, process restarting
P:MANAGEMENT: >STATE:1377278771,RECONNECTING,close_context usr1 to hup,,
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:NOTE: --mute triggered...
P:199 variation(s) on previous 5 message(s) suppressed by --mute
P:OpenVPN 2.3.2+dspatch4 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] 
[EPOLL] [MH] [IPv6] built on Aug 20 2013
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'hold release'
P:Restart pause, 5 second(s)
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
MGMT:Got unrecognized line from management:ERROR: no needok-confirmation is 
currently needed at this time
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:MANAGEMENT: >STATE:1377278780,RESOLVE,,,
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377278781,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:TCP connection established with [AF_INET]213.179.213.2:443
P:TCPv4_CLIENT link local: (not bound)
P:TCPv4_CLIENT link remote: [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377278782,WAIT,,,
P:MANAGEMENT: >STATE:1377278782,AUTH,,,
P:TLS: Initial packet from [AF_INET]213.179.213.2:443, sid=53a36004 0f12ec75
P:VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=proXPN Direct, LLC, 
OU=proxpn.com, CN=proxpn.com, name=proxpn.com, emailAddress=support@proxpn.com
P:Validating certificate key usage
P:++ Certificate has key usage  00a0, expects 00a0
P:VERIFY KU OK
P:NOTE: --mute triggered...
P:9 variation(s) on previous 5 message(s) suppressed by --mute
P:[proxpn.com] Peer Connection Initiated with [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377278789,GET_CONFIG,,,
P:SENT CONTROL [proxpn.com]: 'PUSH_REQUEST' (status=1)
P:PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,redirect-gateway,route-gateway 
213.179.213.129,topology subnet,ping 10,ping-restart 60,ifconfig 
213.179.213.168 255.255.255.192'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:NOTE: --mute triggered...
P:2 variation(s) on previous 5 message(s) suppressed by --mute
P:ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlan0 HWADDR=a0:0b:ba:22:ae:ac
P:ROUTE6: default_gateway=UNDEF
P:OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option 
and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 
options
P:OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1377278790,ASSIGN_IP,,213.179.213.168,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1377278790,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
Opening tun interface:
Local IPv4: 213.179.213.168/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377278790,CONNECTED,SUCCESS,213.179.213.168,213.179.213.2
P:read TCPv4_CLIENT [NO-INFO]: Connection timed out (code=110)
P:Connection reset, restarting [0]
P:TCP/UDP: Closing socket
P:SIGUSR1[soft,connection-reset] received, process restarting
P:MANAGEMENT: >STATE:1377279017,RECONNECTING,connection-reset,,
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:TCP/UDP: Preserving recently used remote address: [AF_INET]213.179.213.2:443
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377279018,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:MANAGEMENT: CMD 'signal SIGUSR1'
P:TCP/UDP: Closing socket
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Closing TUN/TAP interface
P:SIGHUP[hard,close_context usr1 to hup] received, process restarting
P:MANAGEMENT: >STATE:1377279022,RECONNECTING,close_context usr1 to hup,,
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:NOTE: --mute triggered...
P:199 variation(s) on previous 5 message(s) suppressed by --mute
P:OpenVPN 2.3.2+dspatch4 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] 
[EPOLL] [MH] [IPv6] built on Aug 20 2013
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
Network Status: not connected
MGMT:Got unrecognized line from management:ERROR: no needok-confirmation is 
currently needed at this time
P:MANAGEMENT: CMD 'hold release'
P:Restart pause, 5 second(s)
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
Network Status: CONNECTED HSPA+ to mobile internet.vodafone.pt
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:MANAGEMENT: >STATE:1377279030,RESOLVE,,,
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377279030,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:TCP connection established with [AF_INET]213.179.213.2:443
P:TCPv4_CLIENT link local: (not bound)
P:TCPv4_CLIENT link remote: [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377279031,WAIT,,,
P:MANAGEMENT: >STATE:1377279031,AUTH,,,
P:TLS: Initial packet from [AF_INET]213.179.213.2:443, sid=049b3759 d494235f
P:VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=proXPN Direct, LLC, 
OU=proxpn.com, CN=proxpn.com, name=proxpn.com, emailAddress=support@proxpn.com
P:Validating certificate key usage
P:++ Certificate has key usage  00a0, expects 00a0
P:VERIFY KU OK
P:NOTE: --mute triggered...
P:9 variation(s) on previous 5 message(s) suppressed by --mute
P:[proxpn.com] Peer Connection Initiated with [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377279037,GET_CONFIG,,,
P:SENT CONTROL [proxpn.com]: 'PUSH_REQUEST' (status=1)
P:PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,redirect-gateway,route-gateway 
213.179.213.129,topology subnet,ping 10,ping-restart 60,ifconfig 
213.179.213.168 255.255.255.192'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:NOTE: --mute triggered...
P:2 variation(s) on previous 5 message(s) suppressed by --mute
P:ROUTE_GATEWAY 188.37.159.1/255.255.255.0 IFACE=rmnet0 HWADDR=00:00:00:00:00:00
P:ROUTE6: default_gateway=UNDEF
P:OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option 
and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 
options
P:OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1377279039,ASSIGN_IP,,213.179.213.168,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1377279039,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
Opening tun interface:
Local IPv4: 213.179.213.168/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377279039,CONNECTED,SUCCESS,213.179.213.168,213.179.213.2
P:read TCPv4_CLIENT [NO-INFO]: Connection timed out (code=110)
P:Connection reset, restarting [0]
P:TCP/UDP: Closing socket
P:SIGUSR1[soft,connection-reset] received, process restarting
P:MANAGEMENT: >STATE:1377279061,RECONNECTING,connection-reset,,
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:TCP/UDP: Preserving recently used remote address: [AF_INET]213.179.213.2:443
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377279062,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:MANAGEMENT: CMD 'signal SIGUSR1'
P:TCP/UDP: Closing socket
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:Closing TUN/TAP interface
P:SIGHUP[hard,close_context usr1 to hup] received, process restarting
P:MANAGEMENT: >STATE:1377279064,RECONNECTING,close_context usr1 to hup,,
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:NOTE: --mute triggered...
P:199 variation(s) on previous 5 message(s) suppressed by --mute
P:OpenVPN 2.3.2+dspatch4 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] 
[EPOLL] [MH] [IPv6] built on Aug 20 2013
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
Network Status: CONNECTED  to WIFI "MGS_Casa"
P:MANAGEMENT: CMD 'hold release'
P:Restart pause, 5 second(s)
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
MGMT:Got unrecognized line from management:ERROR: no needok-confirmation is 
currently needed at this time
P:MANAGEMENT: CMD 'proxy NONE'
P:LZO compression initializing
P:Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
P:MANAGEMENT: >STATE:1377279073,RESOLVE,,,
P:Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:0 ]
P:Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto 
TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-client'
P:Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 
1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 512,key-method 
2,tls-server'
P:Local Options hash (VER=V4): '729fc673'
P:Expected Remote Options hash (VER=V4): 'ce7b442d'
P:Socket Buffers: R=[87380->131072] S=[16384->131072]
P:Attempting to establish TCP connection with [AF_INET]213.179.213.2:443 
[nonblock]
P:MANAGEMENT: >STATE:1377279074,TCP_CONNECT,,,
P:Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:TCP connection established with [AF_INET]213.179.213.2:443
P:TCPv4_CLIENT link local: (not bound)
P:TCPv4_CLIENT link remote: [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377279075,WAIT,,,
P:MANAGEMENT: >STATE:1377279075,AUTH,,,
P:TLS: Initial packet from [AF_INET]213.179.213.2:443, sid=5727f8aa f429562a
P:VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=proXPN Direct, LLC, 
OU=proxpn.com, CN=proxpn.com, name=proxpn.com, emailAddress=support@proxpn.com
P:Validating certificate key usage
P:++ Certificate has key usage  00a0, expects 00a0
P:VERIFY KU OK
P:NOTE: --mute triggered...
P:9 variation(s) on previous 5 message(s) suppressed by --mute
P:[proxpn.com] Peer Connection Initiated with [AF_INET]213.179.213.2:443
P:MANAGEMENT: >STATE:1377279081,GET_CONFIG,,,
P:SENT CONTROL [proxpn.com]: 'PUSH_REQUEST' (status=1)
P:PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,redirect-gateway,route-gateway 
213.179.213.193,topology subnet,ping 10,ping-restart 60,ifconfig 
213.179.213.202 255.255.255.192'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:NOTE: --mute triggered...
P:2 variation(s) on previous 5 message(s) suppressed by --mute
P:ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlan0 HWADDR=a0:0b:ba:22:ae:ac
P:ROUTE6: default_gateway=UNDEF
P:OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option 
and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 
options
P:OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1377279082,ASSIGN_IP,,213.179.213.202,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:Sorry, deleting routes on Android is not possible. The VpnService API allows 
routes to be set on connect only.
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1377279082,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
Opening tun interface:
Local IPv4: 213.179.213.202/26 IPv6: null MTU: 1500
DNS Server: 8.8.8.8, 4.2.2.1, Domain: null
Routes: 0.0.0.0/0, 213.179.213.2/32, 0.0.0.0/0, 0.0.0.0/0
Routes IPv6: 
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1377279082,CONNECTED,SUCCESS,213.179.213.202,213.179.213.2

Love the software. Keep up the good work.

Best regards.

Original comment by marcogsi...@gmail.com on 23 Aug 2013 at 5:44

GoogleCodeExporter commented 9 years ago
towards the end of the log, I've disconnected and reconnected WiFi, to force 
the VPN to reconnect.

Thank you.

Original comment by marcogsi...@gmail.com on 23 Aug 2013 at 5:58

GoogleCodeExporter commented 9 years ago
Internal note: [hard,close_context usr1 to hup]  problem

Original comment by arne@rfc2549.org on 27 Nov 2013 at 7:29