Managed to get logs from another Android application 'OpenVPN for Android"
2014-01-07 21:43:00 started Socket Thread
2014-01-07 21:43:00 Статус сети: CONNECTED HSDPA to mobile internet
2014-01-07 21:43:00 P:Initializing Google Breakpad!
2014-01-07 21:43:00 Warning: Error redirecting stdout/stderr to --log file: /sdcard/openvpn/openvpn.log: Permission denied (errno=13)
2014-01-07 21:43:00 Current Parameter Settings:
2014-01-07 21:43:00 config = '/data/data/de.blinkt.openvpn/cache/android.conf'
2014-01-07 21:43:00 mode = 0
2014-01-07 21:43:00 show_ciphers = DISABLED
2014-01-07 21:43:00 show_digests = DISABLED
2014-01-07 21:43:00 show_engines = DISABLED
2014-01-07 21:43:00 genkey = DISABLED
2014-01-07 21:43:00 key_pass_file = '[UNDEF]'
2014-01-07 21:43:00 show_tls_ciphers = DISABLED
2014-01-07 21:43:00 connect_retry_max = 5
2014-01-07 21:43:00 Connection profiles [default]:
2014-01-07 21:43:00 proto = udp
2014-01-07 21:43:00 local = '[UNDEF]'
2014-01-07 21:43:00 local_port = '1194'
2014-01-07 21:43:00 remote = '[UNDEF]'
2014-01-07 21:43:00 remote_port = '1194'
2014-01-07 21:43:00 remote_float = ENABLED
2014-01-07 21:43:00 bind_defined = DISABLED
2014-01-07 21:43:00 bind_local = DISABLED
2014-01-07 21:43:00 bind_ipv6_only = DISABLED
2014-01-07 21:43:00 connect_retry_seconds = 5
2014-01-07 21:43:00 connect_timeout = 10
2014-01-07 21:43:00 socks_proxy_server = '[UNDEF]'
2014-01-07 21:43:00 socks_proxy_port = '[UNDEF]'
2014-01-07 21:43:01 socks_proxy_retry = DISABLED
2014-01-07 21:43:01 tun_mtu = 1500
2014-01-07 21:43:01 tun_mtu_defined = DISABLED
2014-01-07 21:43:01 link_mtu = 1500
2014-01-07 21:43:01 link_mtu_defined = DISABLED
2014-01-07 21:43:01 tun_mtu_extra = 0
2014-01-07 21:43:01 tun_mtu_extra_defined = DISABLED
2014-01-07 21:43:01 mtu_discover_type = -1
2014-01-07 21:43:01 fragment = 0
2014-01-07 21:43:01 mssfix = 1450
2014-01-07 21:43:01 explicit_exit_notification = 0
2014-01-07 21:43:01 Connection profiles [0]:
2014-01-07 21:43:01 proto = udp
2014-01-07 21:43:01 local = '[UNDEF]'
2014-01-07 21:43:01 local_port = '[UNDEF]'
2014-01-07 21:43:01 remote = 'my.domain.com'
2014-01-07 21:43:01 remote_port = '5000'
2014-01-07 21:43:01 remote_float = ENABLED
2014-01-07 21:43:01 bind_defined = DISABLED
2014-01-07 21:43:01 bind_local = DISABLED
2014-01-07 21:43:01 bind_ipv6_only = DISABLED
2014-01-07 21:43:01 connect_retry_seconds = 5
2014-01-07 21:43:01 connect_timeout = 10
2014-01-07 21:43:01 socks_proxy_server = '[UNDEF]'
2014-01-07 21:43:01 socks_proxy_port = '[UNDEF]'
2014-01-07 21:43:01 socks_proxy_retry = DISABLED
2014-01-07 21:43:01 tun_mtu = 1500
2014-01-07 21:43:01 tun_mtu_defined = ENABLED
2014-01-07 21:43:01 link_mtu = 1500
2014-01-07 21:43:01 link_mtu_defined = DISABLED
2014-01-07 21:43:01 tun_mtu_extra = 0
2014-01-07 21:43:01 tun_mtu_extra_defined = DISABLED
2014-01-07 21:43:01 mtu_discover_type = -1
2014-01-07 21:43:01 fragment = 0
2014-01-07 21:43:01 mssfix = 1450
2014-01-07 21:43:01 explicit_exit_notification = 0
2014-01-07 21:43:01 Connection profiles END
2014-01-07 21:43:01 remote_random = DISABLED
2014-01-07 21:43:01 ipchange = '[UNDEF]'
2014-01-07 21:43:01 dev = 'tun'
2014-01-07 21:43:01 dev_type = '[UNDEF]'
2014-01-07 21:43:01 dev_node = '[UNDEF]'
2014-01-07 21:43:01 lladdr = '[UNDEF]'
2014-01-07 21:43:01 topology = 1
2014-01-07 21:43:01 tun_ipv6 = DISABLED
2014-01-07 21:43:01 ifconfig_local = '[UNDEF]'
2014-01-07 21:43:01 ifconfig_remote_netmask = '[UNDEF]'
2014-01-07 21:43:01 ifconfig_noexec = DISABLED
2014-01-07 21:43:01 ifconfig_nowarn = DISABLED
2014-01-07 21:43:01 ifconfig_ipv6_local = '[UNDEF]'
2014-01-07 21:43:01 ifconfig_ipv6_netbits = 0
2014-01-07 21:43:01 ifconfig_ipv6_remote = '[UNDEF]'
2014-01-07 21:43:01 shaper = 0
2014-01-07 21:43:01 mtu_test = 0
2014-01-07 21:43:01 mlock = DISABLED
2014-01-07 21:43:01 keepalive_ping = 0
2014-01-07 21:43:01 keepalive_timeout = 0
2014-01-07 21:43:01 inactivity_timeout = 0
2014-01-07 21:43:01 ping_send_timeout = 0
2014-01-07 21:43:01 ping_rec_timeout = 0
2014-01-07 21:43:01 ping_rec_timeout_action = 0
2014-01-07 21:43:01 ping_timer_remote = DISABLED
2014-01-07 21:43:01 remap_sigusr1 = 0
2014-01-07 21:43:01 persist_tun = ENABLED
2014-01-07 21:43:01 persist_local_ip = DISABLED
2014-01-07 21:43:01 persist_remote_ip = DISABLED
2014-01-07 21:43:01 persist_key = DISABLED
2014-01-07 21:43:01 passtos = DISABLED
2014-01-07 21:43:01 resolve_retry_seconds = 1000000000
2014-01-07 21:43:01 resolve_in_advance = ENABLED
2014-01-07 21:43:01 username = '[UNDEF]'
2014-01-07 21:43:01 groupname = '[UNDEF]'
2014-01-07 21:43:01 chroot_dir = '[UNDEF]'
2014-01-07 21:43:01 cd_dir = '[UNDEF]'
2014-01-07 21:43:01 writepid = '[UNDEF]'
2014-01-07 21:43:01 up_script = '[UNDEF]'
2014-01-07 21:43:01 down_script = '[UNDEF]'
2014-01-07 21:43:01 down_pre = DISABLED
2014-01-07 21:43:01 up_restart = DISABLED
2014-01-07 21:43:01 up_delay = DISABLED
2014-01-07 21:43:01 daemon = DISABLED
2014-01-07 21:43:01 inetd = 0
2014-01-07 21:43:01 log = ENABLED
2014-01-07 21:43:01 suppress_timestamps = DISABLED
2014-01-07 21:43:01 machine_readable_output = ENABLED
2014-01-07 21:43:01 nice = 0
2014-01-07 21:43:01 verbosity = 4
2014-01-07 21:43:01 mute = 0
2014-01-07 21:43:01 gremlin = 0
2014-01-07 21:43:01 status_file = '[UNDEF]'
2014-01-07 21:43:01 status_file_version = 1
2014-01-07 21:43:01 status_file_update_freq = 60
2014-01-07 21:43:01 occ = ENABLED
2014-01-07 21:43:01 rcvbuf = 65536
2014-01-07 21:43:01 sndbuf = 65536
2014-01-07 21:43:01 sockflags = 0
2014-01-07 21:43:01 fast_io = DISABLED
2014-01-07 21:43:01 comp.alg = 2
2014-01-07 21:43:01 comp.flags = 1
2014-01-07 21:43:01 route_script = '[UNDEF]'
2014-01-07 21:43:01 route_default_gateway = '[UNDEF]'
2014-01-07 21:43:01 route_default_metric = 0
2014-01-07 21:43:01 route_noexec = DISABLED
2014-01-07 21:43:01 route_delay = 0
2014-01-07 21:43:01 route_delay_window = 30
2014-01-07 21:43:01 route_delay_defined = DISABLED
2014-01-07 21:43:01 route_nopull = DISABLED
2014-01-07 21:43:01 route_gateway_via_dhcp = DISABLED
2014-01-07 21:43:01 max_routes = 100
2014-01-07 21:43:01 allow_pull_fqdn = DISABLED
2014-01-07 21:43:01 management_addr = '/data/data/de.blinkt.openvpn/cache/mgmtsocket'
2014-01-07 21:43:01 management_port = 'unix'
2014-01-07 21:43:01 management_user_pass = '[UNDEF]'
2014-01-07 21:43:01 management_log_history_cache = 250
2014-01-07 21:43:01 management_echo_buffer_size = 100
2014-01-07 21:43:01 management_write_peer_info_file = '[UNDEF]'
2014-01-07 21:43:01 management_client_user = '[UNDEF]'
2014-01-07 21:43:01 management_client_group = '[UNDEF]'
2014-01-07 21:43:01 management_flags = 4390
2014-01-07 21:43:01 shared_secret_file = '[UNDEF]'
2014-01-07 21:43:01 key_direction = 2
2014-01-07 21:43:01 ciphername_defined = ENABLED
2014-01-07 21:43:01 ciphername = 'BF-CBC'
2014-01-07 21:43:01 authname_defined = ENABLED
2014-01-07 21:43:01 authname = 'SHA1'
2014-01-07 21:43:01 prng_hash = 'SHA1'
2014-01-07 21:43:01 prng_nonce_secret_len = 16
2014-01-07 21:43:01 keysize = 0
2014-01-07 21:43:01 engine = DISABLED
2014-01-07 21:43:01 replay = ENABLED
2014-01-07 21:43:01 mute_replay_warnings = DISABLED
2014-01-07 21:43:01 replay_window = 64
2014-01-07 21:43:01 replay_time = 15
2014-01-07 21:43:01 packet_id_file = '[UNDEF]'
2014-01-07 21:43:01 use_iv = ENABLED
2014-01-07 21:43:01 test_crypto = DISABLED
2014-01-07 21:43:01 tls_server = DISABLED
2014-01-07 21:43:01 tls_client = ENABLED
2014-01-07 21:43:01 key_method = 2
2014-01-07 21:43:01 ca_file = '[[INLINE]]'
2014-01-07 21:43:01 ca_path = '[UNDEF]'
2014-01-07 21:43:01 dh_file = '[UNDEF]'
2014-01-07 21:43:01 cert_file = '[[INLINE]]'
2014-01-07 21:43:01 priv_key_file = '[[INLINE]]'
2014-01-07 21:43:01 pkcs12_file = '[UNDEF]'
2014-01-07 21:43:01 cipher_list = '[UNDEF]'
2014-01-07 21:43:01 tls_verify = '[UNDEF]'
2014-01-07 21:43:01 tls_export_cert = '[UNDEF]'
2014-01-07 21:43:01 verify_x509_type = 0
2014-01-07 21:43:01 verify_x509_name = '[UNDEF]'
2014-01-07 21:43:01 crl_file = '[UNDEF]'
2014-01-07 21:43:01 ns_cert_type = 1
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_ku[i] = 0
2014-01-07 21:43:01 remote_cert_eku = '[UNDEF]'
2014-01-07 21:43:01 ssl_flags = 0
2014-01-07 21:43:01 tls_timeout = 2
2014-01-07 21:43:01 renegotiate_bytes = 0
2014-01-07 21:43:01 renegotiate_packets = 0
2014-01-07 21:43:01 renegotiate_seconds = 3600
2014-01-07 21:43:01 handshake_window = 60
2014-01-07 21:43:01 transition_window = 3600
2014-01-07 21:43:01 single_session = DISABLED
2014-01-07 21:43:01 push_peer_info = DISABLED
2014-01-07 21:43:01 tls_exit = DISABLED
2014-01-07 21:43:01 tls_auth_file = '[[INLINE]]'
2014-01-07 21:43:01 client = ENABLED
2014-01-07 21:43:01 pull = ENABLED
2014-01-07 21:43:01 auth_user_pass_file = '[UNDEF]'
2014-01-07 21:43:01 OpenVPN 2.4-icsopenvpn android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [SNAPPY] [EPOLL] [MH] [IPv6] built on Dec 9 2013
2014-01-07 21:43:01 MANAGEMENT: Connected to management server at /data/data/de.blinkt.openvpn/cache/mgmtsocket
2014-01-07 21:43:01 MANAGEMENT: CMD 'hold release'
2014-01-07 21:43:01 MANAGEMENT: CMD 'bytecount 2'
2014-01-07 21:43:01 MANAGEMENT: CMD 'state on'
2014-01-07 21:43:01 MANAGEMENT: >STATE:1389116580,RESOLVE,,,
2014-01-07 21:43:02 MANAGEMENT: CMD 'proxy NONE'
2014-01-07 21:43:03 Control Channel Authentication: tls-auth using INLINE static key file
2014-01-07 21:43:03 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:43:03 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:43:03 LZO compression initializing
2014-01-07 21:43:03 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
2014-01-07 21:43:03 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:393 ET:0 EL:0 ]
2014-01-07 21:43:03 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
2014-01-07 21:43:03 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
2014-01-07 21:43:03 Local Options hash (VER=V4): '504e774e'
2014-01-07 21:43:03 Expected Remote Options hash (VER=V4): '14168603'
2014-01-07 21:43:03 TCP/UDP: Preserving recently used remote address: [AF_INET]<router WAN "white" IP>:5000
2014-01-07 21:43:03 Socket Buffers: R=[163840->131072] S=[163840->131072]
2014-01-07 21:43:03 Protecting socket fd 4
2014-01-07 21:43:03 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2014-01-07 21:43:03 UDP link local: (not bound)
2014-01-07 21:43:03 UDP link remote: [AF_INET]<router WAN "white" IP>:5000
2014-01-07 21:43:03 MANAGEMENT: >STATE:1389116583,WAIT,,,
2014-01-07 21:43:03 MANAGEMENT: >STATE:1389116583,AUTH,,,
2014-01-07 21:43:03 TLS: Initial packet from [AF_INET]<router WAN "white" IP>:5000, sid=de18cf85 7229fe50
2014-01-07 21:43:04 VERIFY OK: depth=1, <certificate credentials>
2014-01-07 21:43:04 VERIFY OK: nsCertType=SERVER
2014-01-07 21:43:04 VERIFY OK: depth=0, <certificate credentials>
2014-01-07 21:43:05 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
2014-01-07 21:43:05 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:43:05 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
2014-01-07 21:43:05 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:43:05 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
2014-01-07 21:43:05 [<server name>] Peer Connection Initiated with [AF_INET]<router WAN "white" IP>:5000
2014-01-07 21:43:06 MANAGEMENT: >STATE:1389116586,GET_CONFIG,,,
2014-01-07 21:43:07 SENT CONTROL [<server name>]: 'PUSH_REQUEST' (status=1)
2014-01-07 21:43:07 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,route 10.20.30.1,topology net30,ping 10,ping-restart 120,ifconfig 10.20.30.6 10.20.30.5'
2014-01-07 21:43:07 OPTIONS IMPORT: timers and/or timeouts modified
2014-01-07 21:43:07 OPTIONS IMPORT: --ifconfig/up options modified
2014-01-07 21:43:07 OPTIONS IMPORT: route options modified
2014-01-07 21:43:07 ROUTE_GATEWAY 172.21.12.168/255.255.0.0 IFACE=ccmni0 HWADDR=e2:96:c2:92:42:f9
2014-01-07 21:43:07 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2014-01-07 21:43:07 MANAGEMENT: >STATE:1389116587,ASSIGN_IP,,10.20.30.6,
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-01-07 21:43:07 MANAGEMENT: >STATE:1389116587,ADD_ROUTES,,,
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'PERSIST_TUN_ACTION' OPEN_BEFORE_CLOSE'
2014-01-07 21:43:07 Открытие tun-интерфейса:
2014-01-07 21:43:07 Адрес IPv4: 10.20.30.6/30 IPv6: null MTU: 1500
2014-01-07 21:43:07 DNS-сервер: , Домен: null
2014-01-07 21:43:07 Маршруты: <router WAN "white" IP>/32, 0.0.0.0/1, 128.0.0.0/1, 10.20.30.1/32
2014-01-07 21:43:07 Маршруты IPv6:
2014-01-07 21:43:07 No DNS servers being used. Name resolution may not work. Consider setting custom DNS Servers. Please also note that Android will keep using your proxy settings specified for your mobile/Wi-Fi connection when no DNS servers are set.
2014-01-07 21:43:07 MANAGEMENT: CMD 'needok 'OPENTUN' ok'
2014-01-07 21:43:07 Initialization Sequence Completed
2014-01-07 21:43:07 MANAGEMENT: >STATE:1389116587,CONNECTED,SUCCESS,10.20.30.6,<router WAN "white" IP>
2014-01-07 21:45:07 [<server name>] Inactivity timeout (--ping-restart), restarting
2014-01-07 21:45:07 TCP/UDP: Closing socket
2014-01-07 21:45:07 SIGUSR1[soft,ping-restart] received, process restarting
2014-01-07 21:45:07 MANAGEMENT: >STATE:1389116707,RECONNECTING,ping-restart,,
2014-01-07 21:45:07 MANAGEMENT: CMD 'hold release'
2014-01-07 21:45:07 MANAGEMENT: CMD 'bytecount 2'
2014-01-07 21:45:07 MANAGEMENT: CMD 'state on'
2014-01-07 21:45:07 MANAGEMENT: CMD 'proxy NONE'
2014-01-07 21:45:08 Control Channel Authentication: tls-auth using INLINE static key file
2014-01-07 21:45:08 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:45:08 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2014-01-07 21:45:08 LZO compression initializing
2014-01-07 21:45:08 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
2014-01-07 21:45:08 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:393 ET:0 EL:0 ]
2014-01-07 21:45:08 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
2014-01-07 21:45:08 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
2014-01-07 21:45:08 Local Options hash (VER=V4): '504e774e'
2014-01-07 21:45:08 Expected Remote Options hash (VER=V4): '14168603'
2014-01-07 21:45:08 TCP/UDP: Preserving recently used remote address: [AF_INET]<router WAN "white" IP>:5000
2014-01-07 21:45:08 Socket Buffers: R=[163840->131072] S=[163840->131072]
2014-01-07 21:45:08 Protecting socket fd 4
2014-01-07 21:45:08 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2014-01-07 21:45:08 UDP link local: (not bound)
2014-01-07 21:45:08 UDP link remote: [AF_INET]<router WAN "white" IP>:5000
2014-01-07 21:45:08 MANAGEMENT: >STATE:1389116708,WAIT,,,
Here I see two things:
First:
2014-01-07 21:43:00 Warning: Error redirecting stdout/stderr to --log file: /sdcard/openvpn/openvpn.log: Permission denied (errno=13)
Does anybody have an idea how it is possible if microSD card formatted in FAT32?
Second:
2014-01-07 21:43:07 No DNS servers being used. Name resolution may not work. Consider setting custom DNS Servers. Please also note that Android will keep using your proxy settings specified for your mobile/Wi-Fi connection when no DNS servers are set.
Maybe this makes connections impossible.
Should I add a directive like
push "dhcp-option DNS 192.168.2.1"
?
Will try.