aprovpn / ics-openvpn

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

MGMT:Got unrecognized command #296

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to vpn.

What is the expected output? What do you see instead?
I expect to see it connected, it worked before the latest update.

What mobile phone are you using?
Samsung GS4 (SPH-L720)

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Stock 4.4.2

Please provide any additional information below.

Log:
2014-11-10 13:25:58 Running on SPH-L720 (MSM8960) samsung, Android API 19, 
version 0.6.20, official build
2014-11-10 13:25:58 Log cleared.
2014-11-10 13:28:31 Building configuration…
2014-11-10 13:28:34 started Socket Thread
2014-11-10 13:28:34 Network Status: CONNECTED  to WIFI "FSW-Public"
2014-11-10 13:28:34 Current Parameter Settings:
2014-11-10 13:28:34   config = '/data/data/de.blinkt.openvpn/cache/android.conf'
2014-11-10 13:28:34   mode = 0
2014-11-10 13:28:34   show_ciphers = DISABLED
2014-11-10 13:28:34   show_digests = DISABLED
2014-11-10 13:28:34   show_engines = DISABLED
2014-11-10 13:28:34   genkey = DISABLED
2014-11-10 13:28:34   key_pass_file = '[UNDEF]'
2014-11-10 13:28:34   show_tls_ciphers = DISABLED
2014-11-10 13:28:34   connect_retry_max = 5
2014-11-10 13:28:34 Connection profiles [0]:
2014-11-10 13:28:34   proto = tcp-client
2014-11-10 13:28:34   local = '[UNDEF]'
2014-11-10 13:28:34   local_port = '[UNDEF]'
2014-11-10 13:28:34   remote_float = DISABLED
2014-11-10 13:28:34   bind_defined = DISABLED
2014-11-10 13:28:34   bind_local = DISABLED
2014-11-10 13:28:34   bind_ipv6_only = DISABLED
2014-11-10 13:28:34   connect_retry_seconds = 5
2014-11-10 13:28:34   connect_timeout = 10
2014-11-10 13:28:34   socks_proxy_server = '[UNDEF]'
2014-11-10 13:28:34   socks_proxy_port = '[UNDEF]'
2014-11-10 13:28:34   socks_proxy_retry = DISABLED
2014-11-10 13:28:34   tun_mtu = 10000
2014-11-10 13:28:34   tun_mtu_defined = ENABLED
2014-11-10 13:28:34   link_mtu = 1500
2014-11-10 13:28:34   link_mtu_defined = DISABLED
2014-11-10 13:28:34   tun_mtu_extra = 0
2014-11-10 13:28:34   tun_mtu_extra_defined = DISABLED
2014-11-10 13:28:34   mtu_discover_type = -1
2014-11-10 13:28:34   fragment = 0
2014-11-10 13:28:34   mssfix = 1450
2014-11-10 13:28:34   explicit_exit_notification = 0
2014-11-10 13:28:34 Connection profiles END
2014-11-10 13:28:34   remote_random = DISABLED
2014-11-10 13:28:34   ipchange = '[UNDEF]'
2014-11-10 13:28:34   dev = 'tun'
2014-11-10 13:28:34   dev_type = '[UNDEF]'
2014-11-10 13:28:34   dev_node = '[UNDEF]'
2014-11-10 13:28:34   lladdr = '[UNDEF]'
2014-11-10 13:28:34   topology = 1
2014-11-10 13:28:34   tun_ipv6 = DISABLED
2014-11-10 13:28:34   ifconfig_local = '[UNDEF]'
2014-11-10 13:28:34   ifconfig_remote_netmask = '[UNDEF]'
2014-11-10 13:28:34   ifconfig_noexec = DISABLED
2014-11-10 13:28:34   ifconfig_nowarn = ENABLED
2014-11-10 13:28:34   ifconfig_ipv6_local = '[UNDEF]'
2014-11-10 13:28:34   ifconfig_ipv6_netbits = 0
2014-11-10 13:28:34   ifconfig_ipv6_remote = '[UNDEF]'
2014-11-10 13:28:34   shaper = 0
2014-11-10 13:28:34   mtu_test = 0
2014-11-10 13:28:34   mlock = DISABLED
2014-11-10 13:28:34   keepalive_ping = 0
2014-11-10 13:28:34   keepalive_timeout = 0
2014-11-10 13:28:34   inactivity_timeout = 0
2014-11-10 13:28:34   ping_send_timeout = 0
2014-11-10 13:28:34   ping_rec_timeout = 0
2014-11-10 13:28:34   ping_rec_timeout_action = 0
2014-11-10 13:28:34   ping_timer_remote = DISABLED
2014-11-10 13:28:34   remap_sigusr1 = 0
2014-11-10 13:28:34   persist_tun = ENABLED
2014-11-10 13:28:34   persist_local_ip = DISABLED
2014-11-10 13:28:34   persist_remote_ip = DISABLED
2014-11-10 13:28:34   persist_key = DISABLED
2014-11-10 13:28:34   passtos = DISABLED
2014-11-10 13:28:34   resolve_retry_seconds = 60
2014-11-10 13:28:34   resolve_in_advance = ENABLED
2014-11-10 13:28:34   username = '[UNDEF]'
2014-11-10 13:28:34   groupname = '[UNDEF]'
2014-11-10 13:28:34   chroot_dir = '[UNDEF]'
2014-11-10 13:28:34   cd_dir = '[UNDEF]'
2014-11-10 13:28:34   writepid = '[UNDEF]'
2014-11-10 13:28:34   up_script = '[UNDEF]'
2014-11-10 13:28:34   down_script = '[UNDEF]'
2014-11-10 13:28:34   down_pre = DISABLED
2014-11-10 13:28:34   up_restart = DISABLED
2014-11-10 13:28:34   up_delay = DISABLED
2014-11-10 13:28:34   daemon = DISABLED
2014-11-10 13:28:34   inetd = 0
2014-11-10 13:28:34   log = DISABLED
2014-11-10 13:28:34   suppress_timestamps = DISABLED
2014-11-10 13:28:34   machine_readable_output = ENABLED
2014-11-10 13:28:34   nice = 0
2014-11-10 13:28:34   verbosity = 4
2014-11-10 13:28:34   mute = 0
2014-11-10 13:28:34   gremlin = 0
2014-11-10 13:28:34   status_file = '[UNDEF]'
2014-11-10 13:28:34   status_file_version = 1
2014-11-10 13:28:34   status_file_update_freq = 60
2014-11-10 13:28:34   occ = ENABLED
2014-11-10 13:28:34   rcvbuf = 65536
2014-11-10 13:28:34   sndbuf = 65536
2014-11-10 13:28:34   sockflags = 0
2014-11-10 13:28:34   fast_io = DISABLED
2014-11-10 13:28:34   comp.alg = 2
2014-11-10 13:28:34   comp.flags = 1
2014-11-10 13:28:34   route_script = '[UNDEF]'
2014-11-10 13:28:34   route_default_gateway = '[UNDEF]'
2014-11-10 13:28:34   route_default_metric = 0
2014-11-10 13:28:34   route_noexec = DISABLED
2014-11-10 13:28:34   route_delay = 0
2014-11-10 13:28:34   route_delay_window = 30
2014-11-10 13:28:34   route_delay_defined = DISABLED
2014-11-10 13:28:34   route_nopull = ENABLED
2014-11-10 13:28:34   route_gateway_via_dhcp = DISABLED
2014-11-10 13:28:34   allow_pull_fqdn = DISABLED
2014-11-10 13:28:34   route 0.0.0.0/0.0.0.0/vpn_gateway/nil
2014-11-10 13:28:34   management_addr = 
'/data/data/de.blinkt.openvpn/cache/mgmtsocket'
2014-11-10 13:28:34   management_port = 'unix'
2014-11-10 13:28:34   management_user_pass = '[UNDEF]'
2014-11-10 13:28:34   management_log_history_cache = 250
2014-11-10 13:28:34   management_echo_buffer_size = 100
2014-11-10 13:28:34   management_write_peer_info_file = '[UNDEF]'
2014-11-10 13:28:34   management_client_user = '[UNDEF]'
2014-11-10 13:28:34   management_client_group = '[UNDEF]'
2014-11-10 13:28:34   management_flags = 4390
2014-11-10 13:28:34   shared_secret_file = '[UNDEF]'
2014-11-10 13:28:34   key_direction = 0
2014-11-10 13:28:34   ciphername_defined = DISABLED
2014-11-10 13:28:34   ciphername = '[UNDEF]'
2014-11-10 13:28:34   authname_defined = ENABLED
2014-11-10 13:28:34   authname = 'SHA1'
2014-11-10 13:28:34   prng_hash = 'SHA1'
2014-11-10 13:28:34   prng_nonce_secret_len = 16
2014-11-10 13:28:34   keysize = 0
2014-11-10 13:28:34   engine = DISABLED
2014-11-10 13:28:34   replay = ENABLED
2014-11-10 13:28:34   mute_replay_warnings = DISABLED
2014-11-10 13:28:34   replay_window = 64
2014-11-10 13:28:34   replay_time = 15
2014-11-10 13:28:34   packet_id_file = '[UNDEF]'
2014-11-10 13:28:34   use_iv = ENABLED
2014-11-10 13:28:34   test_crypto = DISABLED
2014-11-10 13:28:34   tls_server = DISABLED
2014-11-10 13:28:34   tls_client = ENABLED
2014-11-10 13:28:34   key_method = 2
2014-11-10 13:28:34   ca_file = '[[INLINE]]'
2014-11-10 13:28:34   ca_path = '[UNDEF]'
2014-11-10 13:28:34   dh_file = '[UNDEF]'
2014-11-10 13:28:34   cert_file = '[[INLINE]]'
2014-11-10 13:28:34   priv_key_file = '[[INLINE]]'
2014-11-10 13:28:34   pkcs12_file = '[UNDEF]'
2014-11-10 13:28:34   cipher_list = '[UNDEF]'
2014-11-10 13:28:34   tls_verify = '[UNDEF]'
2014-11-10 13:28:34   tls_export_cert = '[UNDEF]'
2014-11-10 13:28:34   verify_x509_type = 0
2014-11-10 13:28:34   verify_x509_name = '[UNDEF]'
2014-11-10 13:28:34   crl_file = '[UNDEF]'
2014-11-10 13:28:34   ns_cert_type = 1
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_ku[i] = 0
2014-11-10 13:28:34   remote_cert_eku = '[UNDEF]'
2014-11-10 13:28:34   ssl_flags = 0
2014-11-10 13:28:34   tls_timeout = 2
2014-11-10 13:28:34   renegotiate_bytes = 0
2014-11-10 13:28:34   renegotiate_packets = 0
2014-11-10 13:28:34   renegotiate_seconds = 3600
2014-11-10 13:28:34   handshake_window = 60
2014-11-10 13:28:34   transition_window = 3600
2014-11-10 13:28:34   single_session = DISABLED
2014-11-10 13:28:34   push_peer_info = DISABLED
2014-11-10 13:28:34   tls_exit = DISABLED
2014-11-10 13:28:34   tls_auth_file = '[UNDEF]'
2014-11-10 13:28:34   client = ENABLED
2014-11-10 13:28:34   pull = ENABLED
2014-11-10 13:28:34   auth_user_pass_file = '[UNDEF]'
2014-11-10 13:28:34 OpenVPN 2.4-icsopenvpn 
[git:icsopenvpn_620-6cac58f2a5a44e94] android-14-armeabi-v7a [SSL (OpenSSL)] 
[LZO] [SNAPPY] [LZ4] [EPOLL] [MH] [IPv6] built on Nov  5 2014
2014-11-10 13:28:34 library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.07
2014-11-10 13:28:34 MANAGEMENT: Connected to management server at 
/data/data/de.blinkt.openvpn/cache/mgmtsocket
2014-11-10 13:28:34 MANAGEMENT: CMD 'hold release'
2014-11-10 13:28:34 MANAGEMENT: CMD 'bytecount 2'
2014-11-10 13:28:34 MANAGEMENT: CMD 'state on'
2014-11-10 13:28:34 MANAGEMENT: CMD 'proxy NONE'
2014-11-10 13:28:35 ******* WARNING *******: null cipher specified, no 
encryption will be used
2014-11-10 13:28:35 MGMT: Got unrecognized command>FATAL:Assertion failed at 
openvpn//src/openvpn/crypto_openssl.c:488
2014-11-10 13:28:35 MANAGEMENT: Client disconnected
2014-11-10 13:28:35 Assertion failed at 
openvpn//src/openvpn/crypto_openssl.c:488
2014-11-10 13:28:35 Exiting due to fatal error
2014-11-10 13:28:35 Process exited with exit value 1

Original issue reported on code.google.com by knight...@gmail.com on 10 Nov 2014 at 6:32

GoogleCodeExporter commented 9 years ago
The current version of OpenVPN has a bug that it does not work with unecrypted 
VPNS. The next version will fix that bug.

Original comment by arne@rfc2549.org on 10 Nov 2014 at 6:59

GoogleCodeExporter commented 9 years ago
Closed by revision #dad1d517c0c5

Original comment by arne@rfc2549.org on 17 Nov 2014 at 3:04