Seems there are still some problem when user certification is not set. I'll figure it out soon.
I'm guessing this applies to me too?
Seems there are still some problem when user certification is not set. I'll figure it out soon.
I have fixed 'Extra arguments' option in 0.9.1, please update and you'll be able to specify custom options.
Hi Zealot!
Thank's for your work but I meant something different:
In github.com/kghost/ics-openvpn/blob/master/src/info/kghost/android/openvpn/OpenVpnService.java (line 96 and 97) you are already setting the config option "--ns-cert-type server". But on the server I'd like to logon to is a certificate without this "type server" information installed, so I can't log in (Error in the Log: "SSL3_GET_SERVER_CERTIFICATE: certificate verify failed").
So it would be great if could make THIS option optional (by adding a new setting item for it) or just remove it completely (if I get it right, anybody who want's to could readd it easily with the "Extra arguments" option you mentioned.
Thanks!
1335519191,D,MANAGEMENT: CMD 'state on all'
1335519191,D,MANAGEMENT: CMD 'hold release'
1335519191,D,MANAGEMENT: CMD 'username 'Auth' "jcasares2"'
1335519191,D,MANAGEMENT: CMD 'password [...]'
1335519191,W,NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
1335519191,,Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
1335519191,,Socket Buffers: R=[110592->131072] S=[110592->131072]
1335519191,,MANAGEMENT: >STATE:1335519191,RESOLVE,,,
1335519196,,Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
1335519196,,Local Options hash (VER=V4): '3514370b'
1335519196,,Expected Remote Options hash (VER=V4): '239669a8'
1335519196,I,UDPv4 link local: [undef]
1335519196,I,UDPv4 link remote: 190.2.X.X:1194
1335519196,,MANAGEMENT: >STATE:1335519196,WAIT,,,
1335519197,,MANAGEMENT: >STATE:1335519197,AUTH,,,
1335519197,,TLS: Initial packet from 190.2.X.X:1194, sid=8433cb96 fd61a9d5
1335519197,W,WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
1335519197,,VERIFY OK: depth=1, /C=IT/O=efw/CN=efw_CA
1335519197,,VERIFY nsCertType ERROR: /C=IT/O=efw/CN=127.0.0.1, require nsCertType=SERVER
1335519197,N,TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
1335519197,N,TLS Error: TLS object -> incoming plaintext read error
1335519197,N,TLS Error: TLS handshake failed
I'm having the certificate issue now. I have the same certificate that I use in my PC's OpenVPN client. Copied error log here:
Code:1335519191,D,MANAGEMENT: CMD 'state on all' 1335519191,D,MANAGEMENT: CMD 'hold release' 1335519191,D,MANAGEMENT: CMD 'username 'Auth' "jcasares2"' 1335519191,D,MANAGEMENT: CMD 'password [...]' 1335519191,W,NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables 1335519191,,Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ] 1335519191,,Socket Buffers: R=[110592->131072] S=[110592->131072] 1335519191,,MANAGEMENT: >STATE:1335519191,RESOLVE,,, 1335519196,,Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ] 1335519196,,Local Options hash (VER=V4): '3514370b' 1335519196,,Expected Remote Options hash (VER=V4): '239669a8' 1335519196,I,UDPv4 link local: [undef] 1335519196,I,UDPv4 link remote: 190.2.X.X:1194 1335519196,,MANAGEMENT: >STATE:1335519196,WAIT,,, 1335519197,,MANAGEMENT: >STATE:1335519197,AUTH,,, 1335519197,,TLS: Initial packet from 190.2.X.X:1194, sid=8433cb96 fd61a9d5 1335519197,W,WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this 1335519197,,VERIFY OK: depth=1, /C=IT/O=efw/CN=efw_CA 1335519197,,VERIFY nsCertType ERROR: /C=IT/O=efw/CN=127.0.0.1, require nsCertType=SERVER 1335519197,N,TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed 1335519197,N,TLS Error: TLS object -> incoming plaintext read error 1335519197,N,TLS Error: TLS handshake failed
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: real-time echo notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: END
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: real-time log notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544732,I,OpenVPN 2.2.2 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Apr 25 2012
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544732,,MANAGEMENT: unix domain socket listening on /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544732,,Need hold release from management interface, waiting...
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544733,,MANAGEMENT: Client connected from /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544733,D,MANAGEMENT: CMD 'echo on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544733,D,MANAGEMENT: CMD 'log on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,D,MANAGEMENT: CMD 'state on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: real-time state notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: 1335544732,CONNECTING,,,
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,D,MANAGEMENT: CMD 'hold release'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: hold release succeeded
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,D,MANAGEMENT: CMD 'username 'Auth' "jcasares2"'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: 'Auth' username entered, but not yet verified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,D,MANAGEMENT: CMD 'password [...]'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: 'Auth' password entered, but not yet verified
I/ALSAModule( 1877): Terminated ALSA PLAYBACK device hifi
V/yamaha::media::VolumeCtrl( 1877): VolumeCtrl::createVolume()
V/yamaha::media::VolumeCtrl( 1877): VolumeCtrl::setVolume()
D/yamaha::media::VolumeCtrl( 1877): VolumeCtrl::setVolume() FM Playback: Ready
D/yamaha::media::VolumeCtrl( 1877): VolumeCtrl::setVolume() VoiceCall: Ready
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,W,WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,W,NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,,Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,,Socket Buffers: R=[110592->131072] S=[110592->131072]
D/dalvikvm( 2156): GC_CONCURRENT freed 387K, 6% free 10669K/11335K, paused 17ms+4ms
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544733,,MANAGEMENT: >STATE:1335544733,RESOLVE,,,
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,,Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,,Local Options hash (VER=V4): '3514370b'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,,Expected Remote Options hash (VER=V4): '239669a8'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,I,UDPv4 link local: [undef]
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,I,UDPv4 link remote: 190.2.X.X:1194
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544734,,MANAGEMENT: >STATE:1335544734,WAIT,,,
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544735,,MANAGEMENT: >STATE:1335544735,AUTH,,,
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544735,,TLS: Initial packet from 190.2.X.X:1194, sid=dba3491b 3d79266d
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544735,W,WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544740,,VERIFY OK: depth=1, /C=IT/O=efw/CN=efw_CA
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544740,,VERIFY OK: depth=0, /C=IT/O=efw/CN=127.0.0.1
I/ActivityManager( 1993): START {flg=0x24000000 cmp=info.kghost.android.openvpn/.VpnSettings bnds=[0,170][480,266]} from pid -1
W/ActivityManager( 1993): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { flg=0x24000000 cmp=info.kghost.android.openvpn/.VpnSettings bnds=[0,170][480,266] }
W/InputManagerService( 1993): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@416b4188
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,W,WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,W,WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1541', remote='link-mtu 1574'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,W,WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,W,WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,,Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,,Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,,Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544743,,Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544745,,Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544745,I,[127.0.0.1] Peer Connection Initiated with 190.2.X.X:1194
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544746,,MANAGEMENT: >STATE:1335544746,GET_CONFIG,,,
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544747,,SENT CONTROL [127.0.0.1]: 'PUSH_REQUEST' (status=1)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,PUSH: Received control message: 'PUSH_REPLY,route-gateway 192.168.79.200,route 192.168.2.0 255.255.255.0,route 172.19.0.0 255.255.255.0,route 192.168.40.0 255.255.255.0,route 10.10.1.0 255.255.255.0,route 10.104.0.0 255.255.0.0,route 192.168.79.0 255.255.255.0,route-gateway 192.168.79.200,ping 8,ping-restart 30,ifconfig 192.168.79.83 255.255.255.0'
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,OPTIONS IMPORT: timers and/or timeouts modified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,OPTIONS IMPORT: --ifconfig/up options modified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,OPTIONS IMPORT: route options modified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,OPTIONS IMPORT: route-related options modified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,W,WARNING: Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address. You are using something (255.255.255.0) that looks more like a netmask. (silence this warning with --ifconfig-nowarn)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,ROUTE default_gateway=10.116.192.1
D/VpnJni ( 1993): Address added on tun0: 192.168.79.83/32
D/VpnJni ( 1993): Route added on tun0: 192.168.2.0/24
D/VpnJni ( 1993): Route added on tun0: 172.19.0.0/24
D/VpnJni ( 1993): Route added on tun0: 192.168.40.0/24
D/VpnJni ( 1993): Route added on tun0: 10.10.1.0/24
D/VpnJni ( 1993): Route added on tun0: 10.104.0.0/16
D/VpnJni ( 1993): Route added on tun0: 192.168.79.0/24
I/Vpn ( 1993): Established by info.kghost.android.openvpn.OpenVpnService on tun0
D/ConnectivityService( 1993): sending Proxy Broadcast for [200.5.68.10] 8080
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,D,MANAGEMENT: CMD 'tun TUN ok'
W/info.kghost.android.openvpn.OpenVpnService$Task(30266): Unknown Command: SUCCESS: 'TUN' tun entered, but not yet verified
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,I,Initialization Sequence Completed
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,,MANAGEMENT: >STATE:1335544749,CONNECTED,SUCCESS,192.168.79.83,190.2.X.X
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544749,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544750,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544750,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544750,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544750,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544750,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544751,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544752,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544752,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544752,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544752,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544753,N,write to TUN/TAP : Invalid argument (code=22)
I/info.kghost.android.openvpn.OpenVpnService$Task(30266): >LOG:1335544753,N,write to TUN/TAP : Invalid argument (code=22)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): length=63; index=63
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): java.lang.ArrayIndexOutOfBoundsException: length=63; index=63
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at info.kghost.android.openvpn.LogQueue.add(LogQueue.java:48)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at info.kghost.android.openvpn.OpenVpnService$Task.doCommands(OpenVpnService.java:244)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:360)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:47)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at android.os.AsyncTask$2.call(AsyncTask.java:264)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
F/info.kghost.android.openvpn.OpenVpnService$Task(30266): at java.lang.Thread.run(Thread.java:856)
W/Netd ( 1871): No subsystem found in netlink event
D/NetlinkEvent( 1871): Unexpected netlink message. type=0x11
D/AndroidRuntime(30266): Shutting down VM
W/dalvikvm(30266): threadid=1: thread exiting with uncaught exception (group=0x40a451f8)
E/AndroidRuntime(30266): FATAL EXCEPTION: main
E/AndroidRuntime(30266): java.lang.ArrayIndexOutOfBoundsException: length=63; index=63
E/AndroidRuntime(30266): at info.kghost.android.openvpn.LogQueue$IterImpl.next(LogQueue.java:65)
E/AndroidRuntime(30266): at info.kghost.android.openvpn.LogQueue$IterImpl.next(LogQueue.java:51)
E/AndroidRuntime(30266): at info.kghost.android.openvpn.LogDialog.onCreateDialog(LogDialog.java:32)
E/AndroidRuntime(30266): at android.app.DialogFragment.getLayoutInflater(DialogFragment.java:398)
E/AndroidRuntime(30266): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:828)
E/AndroidRuntime(30266): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
E/AndroidRuntime(30266): at android.app.BackStackRecord.run(BackStackRecord.java:622)
E/AndroidRuntime(30266): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
E/AndroidRuntime(30266): at android.app.FragmentManagerImpl$1.run(FragmentManager.java:426)
E/AndroidRuntime(30266): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime(30266): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(30266): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(30266): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime(30266): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(30266): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(30266): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
E/AndroidRuntime(30266): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
E/AndroidRuntime(30266): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1993): Force finishing activity info.kghost.android.openvpn/.VpnSettings
W/ActivityManager( 1993): Activity pause timeout for ActivityRecord{41baf1e0 info.kghost.android.openvpn/.VpnSettings}
I/WindowManager( 1993): WIN DEATH: Window{4137dcf0 info.kghost.android.openvpn/info.kghost.android.openvpn.VpnSettings paused=false}
I/ActivityManager( 1993): Process info.kghost.android.openvpn (pid 30266) has died.
W/ActivityManager( 1993): Activity destroy timeout for ActivityRecord{41baf1e0 info.kghost.android.openvpn/.VpnSettings}
Hi Zealot! Work perfectly. The certificate isn't rejected any more, great!
But now I have another problem: the vpn-server is set up to use "auth md5" and your client seems to use "auth sha1". I tried to add "auth md5" as an extra option but this doesn't seam to help. Can I switch the "auth"-type somehow?
W,WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'
W,WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1541', remote='link-mtu 1574'
W,WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
W,WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
Hello,
First of all, thank you for your great work.
I have some problems for using the app (with android 4.0.3) in creating the profile for the vpn.
When I wan to select the ca certificate, it appears two links (to galley an music) so I can not select my ca.crt. How can I do?
When I want to select the user certificate, it says that does not exist and says that it is possible to install the p12 or pfx file (but i have only my .crt and .key file for the client). What can I do?
Thank you for your help,
install OI file manager or File Expert from the market which will allow you to "browse" your SD card for the crt. Also, open the crt file using notepad and make sure there is nothing before the line "Begin Certificate"
Thank you, in that way I could select the ca certificate (it gives me possibility to select it with OI now and reads it ok), but I can't with the client certificate (if I open it, it doesn't install anything and the app gives me the possibility to install a p12 file only...any help?
Thank you,
Not sure. I never used the client certificate. Let's see if the dev knows...
Sent from my Nexus S using XDA
Hello,
First of all, thank you for your great work.
I have some problems for using the app (with android 4.0.3) in creating the profile for the vpn.
When I wan to select the ca certificate, it appears two links (to galley an music) so I can not select my ca.crt. How can I do?
When I want to select the user certificate, it says that does not exist and says that it is possible to install the p12 or pfx file (but i have only my .crt and .key file for the client). What can I do?
Thank you for your help,
I have a working OpenVPN server with PCs and Android devices connecting to it.
Here is the situation with ICS.
I have installed this OpenVPN for a friend running ICS Midnote 3.3 for his Samsung Galaxy Note. Unfortunately, I can't get it to work, the logs does not display anything. It goes on stating its preparing and does not do anything else.
I tried forcing it to write any logs by supplying log /sdcard/openvpn/log.txt under the parameter section.
My currently VPN settings include.
Ca.crt, username and password. No keys are supplied.
To isolate things, I tried it with DroidVPN client, which works but is painstakingly slow.
You assistance is highly appreciated.
Thank you.
Hello,
First of all, thank you for your great work.
I have some problems for using the app (with android 4.0.3) in creating the profile for the vpn.
When I wan to select the ca certificate, it appears two links (to galley an music) so I can not select my ca.crt. How can I do?
When I want to select the user certificate, it says that does not exist and says that it is possible to install the p12 or pfx file (but i have only my .crt and .key file for the client). What can I do?
Thank you for your help,
Hello,
First of all, thank you for your great work.
I have some problems for using the app (with android 4.0.3) in creating the profile for the vpn.
When I wan to select the ca certificate, it appears two links (to galley an music) so I can not select my ca.crt. How can I do?
When I want to select the user certificate, it says that does not exist and says that it is possible to install the p12 or pfx file (but i have only my .crt and .key file for the client). What can I do?
Thank you for your help,
It seems that "redirect gateway" option does not work on CM9. I manage to connect, but the routing is the same as without tick on redirect gateway. According the attached log: ROUTE default_gateway=192.168.2.1 , but I tried with OpenVPN Settings from the market and it adds the right gateway in that case - 10.8.0.5 and everything is working as expected.