What's new

[HELP] Openvpn: bad encapsulated packet length

Status
Not open for further replies.

rem_o

Eternal Poster
Joined
Jan 4, 2013
Posts
1,390
Reaction
873
Points
421
Patulong nman po kung sino may alam about openvpn and droidinject or http custom.
ok naman kung openvpn lang, pero kapag may payload na ayaw na nyang kumonek.
ok din yung squid dahil nagagamit nman kung via ssh.

Bale ito yung server log ng openvpn ko.

Code:
Wed May  1 09:39:23 2019 us=449870 MULTI: multi_create_instance called
Wed May  1 09:39:23 2019 us=450041 Re-using SSL/TLS context
Wed May  1 09:39:23 2019 us=450185 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
Wed May  1 09:39:23 2019 us=450270 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 AF:14/123 ]
Wed May  1 09:39:23 2019 us=450358 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1527,tun-mtu 1500,proto TCPv4_SERVER,cipher [null-cipher],auth SHA1,keysize 0,key-method 2,tls-server'
Wed May  1 09:39:23 2019 us=450433 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1527,tun-mtu 1500,proto TCPv4_CLIENT,cipher [null-cipher],auth SHA1,keysize 0,key-method 2,tls-client'
Wed May  1 09:39:23 2019 us=450537 TCP connection established with [AF_INET]128.199.215.193:55064
Wed May  1 09:39:23 2019 us=450612 TCP_SERVER link local: (not bound)
Wed May  1 09:39:23 2019 us=450700 TCP_SERVER link remote: [AF_INET]128.199.215.193:55064
Wed May  1 09:39:23 2019 us=450837 128.199.215.193:55064 WARNING: Bad encapsulated packet length from peer (20559), which must be > 0 and <= 1626 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Wed May  1 09:39:23 2019 us=450934 128.199.215.193:55064 Connection reset, restarting [0]
Wed May  1 09:39:23 2019 us=451025 128.199.215.193:55064 SIGUSR1[soft,connection-reset] received, client-instance restarting
Wed May  1 09:39:23 2019 us=451122 TCP/UDP: Closing socket
Wed May  1 09:39:40 2019 us=221414 MULTI: multi_create_instance called
Wed May  1 09:39:40 2019 us=221494 Re-using SSL/TLS context
Wed May  1 09:39:40 2019 us=221575 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
Wed May  1 09:39:40 2019 us=221598 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 AF:14/123 ]
Wed May  1 09:39:40 2019 us=221625 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1527,tun-mtu 1500,proto TCPv4_SERVER,cipher [null-cipher],auth SHA1,keysize 0,key-method 2,tls-server'
Wed May  1 09:39:40 2019 us=221635 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1527,tun-mtu 1500,proto TCPv4_CLIENT,cipher [null-cipher],auth SHA1,keysize 0,key-method 2,tls-client'
Wed May  1 09:39:40 2019 us=221657 TCP connection established with [AF_INET]128.199.215.193:55074
Wed May  1 09:39:40 2019 us=221669 TCP_SERVER link local: (not bound)
Wed May  1 09:39:40 2019 us=221701 TCP_SERVER link remote: [AF_INET]128.199.215.193:55074
Wed May  1 09:39:40 2019 us=221798 128.199.215.193:55074 WARNING: Bad encapsulated packet length from peer (20559), which must be > 0 and <= 1626 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Wed May  1 09:39:40 2019 us=221822 128.199.215.193:55074 Connection reset, restarting [0]
Wed May  1 09:39:40 2019 us=221837 128.199.215.193:55074 SIGUSR1[soft,connection-reset] received, client-instance restarting
Wed May  1 09:39:40 2019 us=221871 TCP/UDP: Closing socket

tapos anjan naman sa attachment ang log ng client sa droidinject.
Code:
2019-05-01 09:38:40 Running on: samsung SM-N960F (universal9810) , Android API: 28, App version: 1.3, Build by: DroidInjecT For OpenVPN
2019-05-01 09:38:40 Building configuration…
2019-05-01 09:38:42 started Socket Thread
2019-05-01 09:38:42 P:Initializing Google Breakpad!
2019-05-01 09:38:42 OpenVPN 2.4-icsopenvpn [git:icsopenvpn_634-601da8f5c2cb21d4] android-21-arm64-v8a [SSL (OpenSSL)] [LZO] [SNAPPY] [LZ4] [EPOLL] [MH] [IPv6] built on Aug 11 2015
2019-05-01 09:38:42 library versions: OpenSSL 1.0.1l 15 Jan 2015, LZO 2.09
2019-05-01 09:38:42 MANAGEMENT: Connected to management server at /data/user/0/com.radioimzers.openvpn/cache/mgmtsocket
2019-05-01 09:38:42 MANAGEMENT: CMD 'hold release'
2019-05-01 09:38:42 MANAGEMENT: CMD 'username 'Auth' tonix'
2019-05-01 09:38:42 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:38:42 MANAGEMENT: CMD 'password [...]'
2019-05-01 09:38:42 MANAGEMENT: CMD 'state on'
2019-05-01 09:38:42 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:38:42 Network Status: CONNECTED HSPA+ to MOBILE minternet
2019-05-01 09:38:43 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:38:43 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:38:43 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:38:43 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:38:43 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:38:43 MANAGEMENT: >STATE:1556674723,TCP_CONNECT,,,
2019-05-01 09:38:43 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:38:43 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:38:43 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:38:48 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:38:48 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:38:48 MANAGEMENT: >STATE:1556674728,RECONNECTING,init_instance,,
2019-05-01 09:38:48 MANAGEMENT: CMD 'hold release'
2019-05-01 09:38:48 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:38:48 MANAGEMENT: CMD 'state on'
2019-05-01 09:38:48 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:38:49 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:38:49 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:38:49 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:38:49 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:38:49 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:38:49 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:38:49 MANAGEMENT: >STATE:1556674729,TCP_CONNECT,,,
2019-05-01 09:38:49 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:38:49 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:38:49 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:38:54 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:38:54 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:38:54 MANAGEMENT: >STATE:1556674734,RECONNECTING,init_instance,,
2019-05-01 09:38:54 MANAGEMENT: CMD 'hold release'
2019-05-01 09:38:54 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:38:54 MANAGEMENT: CMD 'state on'
2019-05-01 09:38:54 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:38:55 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:38:56 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:38:56 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:38:56 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:38:56 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:38:56 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:38:56 MANAGEMENT: >STATE:1556674735,TCP_CONNECT,,,
2019-05-01 09:38:56 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:38:56 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:38:56 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:01 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:39:01 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:39:01 MANAGEMENT: >STATE:1556674741,RECONNECTING,init_instance,,
2019-05-01 09:39:01 MANAGEMENT: CMD 'hold release'
2019-05-01 09:39:01 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:39:01 MANAGEMENT: CMD 'state on'
2019-05-01 09:39:01 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:39:02 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:39:02 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:39:02 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:02 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:02 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:39:02 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:39:02 MANAGEMENT: >STATE:1556674742,TCP_CONNECT,,,
2019-05-01 09:39:02 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:39:02 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:39:02 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:07 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:39:07 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:39:07 MANAGEMENT: >STATE:1556674747,RECONNECTING,init_instance,,
2019-05-01 09:39:07 MANAGEMENT: CMD 'hold release'
2019-05-01 09:39:07 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:39:07 MANAGEMENT: CMD 'state on'
2019-05-01 09:39:07 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:39:08 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:39:08 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:39:08 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:08 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:08 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:39:08 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:39:08 MANAGEMENT: >STATE:1556674748,TCP_CONNECT,,,
2019-05-01 09:39:08 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:39:08 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:39:08 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:13 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:39:13 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:39:13 MANAGEMENT: >STATE:1556674753,RECONNECTING,init_instance,,
2019-05-01 09:39:13 MANAGEMENT: CMD 'hold release'
2019-05-01 09:39:13 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:39:13 MANAGEMENT: CMD 'state on'
2019-05-01 09:39:13 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:39:14 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:39:14 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:39:14 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:14 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:14 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:39:14 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:39:14 MANAGEMENT: >STATE:1556674754,TCP_CONNECT,,,
2019-05-01 09:39:14 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:39:14 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:39:14 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:19 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:39:19 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:39:19 MANAGEMENT: >STATE:1556674759,RECONNECTING,init_instance,,
2019-05-01 09:39:19 MANAGEMENT: CMD 'hold release'
2019-05-01 09:39:19 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:39:19 MANAGEMENT: CMD 'state on'
2019-05-01 09:39:19 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:39:20 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:39:20 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:39:20 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:20 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:20 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:39:20 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:39:20 MANAGEMENT: >STATE:1556674760,TCP_CONNECT,,,
2019-05-01 09:39:20 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:39:20 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:39:20 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:22 HTTP proxy returned: 'HTTP/1.1 200 Connection established'
2019-05-01 09:39:22 TCP_CLIENT link local: (not bound)
2019-05-01 09:39:22 TCP_CLIENT link remote: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:22 MANAGEMENT: >STATE:1556674762,WAIT,,,
2019-05-01 09:39:22 Connection reset, restarting [0]
2019-05-01 09:39:22 SIGUSR1[soft,connection-reset] received, process restarting
2019-05-01 09:39:22 MANAGEMENT: >STATE:1556674762,RECONNECTING,connection-reset,,
2019-05-01 09:39:25 MANAGEMENT: CMD 'hold release'
2019-05-01 09:39:25 MANAGEMENT: CMD 'bytecount 2'
2019-05-01 09:39:25 MANAGEMENT: CMD 'state on'
2019-05-01 09:39:25 MANAGEMENT: CMD 'proxy NONE'
2019-05-01 09:39:26 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2019-05-01 09:39:26 ******* WARNING *******: null cipher specified, no encryption will be used
2019-05-01 09:39:26 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:26 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:8888
2019-05-01 09:39:26 Socket Buffers: R=[734003->131072] S=[192239->131072]
2019-05-01 09:39:26 Attempting to establish TCP connection with [AF_INET]127.0.0.1:8888 [nonblock]
2019-05-01 09:39:26 MANAGEMENT: >STATE:1556674766,TCP_CONNECT,,,
2019-05-01 09:39:26 TCP connection established with [AF_INET]127.0.0.1:8888
2019-05-01 09:39:26 Send to HTTP proxy: 'CONNECT 128.199.215.193:1194 HTTP/1.0'
2019-05-01 09:39:26 Send to HTTP proxy: 'Host: 128.199.215.193'
2019-05-01 09:39:31 recv_line: TCP port read timeout expired: Operation now in progress (errno=115)
2019-05-01 09:39:31 SIGUSR1[soft,init_instance] received, process restarting
2019-05-01 09:39:31 MANAGEMENT: >STATE:1556674771,RECONNECTING,init_instance,,
2019-05-01 09:39:31 MANAGEMENT: CMD 'signal SIGINT'
2019-05-01 09:39:31 SIGINT[hard,init_instance] received, process exiting
2019-05-01 09:39:31 MANAGEMENT: >STATE:1556674771,EXITING,init_instance,,


Sana mapansin ng mga experto dito.
 

Attachments

Last edited:
Status
Not open for further replies.
Back
Top