Reply To: OpenVPN L2L fails with the TCP value

Home Page Forums Network Management ZeroShell OpenVPN L2L fails with the TCP value Reply To: OpenVPN L2L fails with the TCP value

#54528
PaP
Member

And with UDP is all fine:


Aug 3 19:37:19 zeroshellm VPN01_L2L[30704]: OpenVPN 2.4.0 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jan 4 2017
Aug 3 19:37:19 zeroshellm VPN01_L2L[30704]: library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.03
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:34001
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: PID packet_id_init seq_backtrack=64 time_backtrack=15
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: CRYPTO INFO: n_DES_cblocks=0
Aug 3 19:37:19 zeroshellm last message repeated 3 times
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: Cipher 'AES-128-CBC' initialized with 128 bit key
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: CIPHER KEY: yyyyyyy yyyyyyy yyyyyyy yyyyy
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: CIPHER block_size=16 iv_size=16
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: HMAC KEY: xxxxxx xxxxx xxxxx xxxxxxxx xxxxxxx
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Outgoing Static Key Encryption: HMAC size=20 block_size=20
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: Cipher 'AES-128-CBC' initialized with 128 bit key
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: CIPHER KEY: yyyyyyy yyyyyyy yyyyyyy yyyyy
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: CIPHER block_size=16 iv_size=16
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: HMAC KEY: xxxxxx xxxxx xxxxx xxxxxxxx xxxxxxx
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Incoming Static Key Encryption: HMAC size=20 block_size=20
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 60 bytes
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MTU DYNAMIC mtu=1450, flags=2, 1592 -> 1450
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: RESOLVE_REMOTE flags=0x0901 phase=1 rrs=0 sig=-1 status=0
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: TUN/TAP device VPN01 opened
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: TUN/TAP TX queue length set to 100
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Data Channel MTU parms [ L:1592 D:1450 EF:60 EB:401 ET:32 EL:3 ]
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Local Options String (VER=V4): 'V4,dev-type tap,link-mtu 1592,tun-mtu 1532,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,secret'
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Expected Remote Options String (VER=V4): 'V4,dev-type tap,link-mtu 1592,tun-mtu 1532,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,secret'
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: TCP/UDP: Preserving recently used remote address: [AF_INET]192.xxx.xxx.xxx:1201
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: Socket Buffers: R=[1048576->1048576] S=[1048576->1048576]
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: UDP link local (bound): [AF_INET]194.xxx.xxx.xxx:1201
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: UDP link remote: [AF_INET]192.xxx.xxx.xxx:1201
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: SENT PING
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: UDP WRITE [68] to [AF_INET]192.xxx.xxx.xxx:1201: DATA len=68
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: Client connected from [AF_INET]127.0.0.1:34001
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: CMD 'state'
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: Client disconnected
Aug 3 19:37:19 zeroshellm VPN01_L2L: Interface VPN01 is DOWN
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: Client connected from [AF_INET]127.0.0.1:34001
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: CMD 'state'
Aug 3 19:37:19 zeroshellm VPN01_L2L[30705]: MANAGEMENT: Client disconnected
Aug 3 19:37:20 zeroshellm VPN01_L2L[30705]: SENT PING
Aug 3 19:37:20 zeroshellm VPN01_L2L[30705]: UDP WRITE [68] to [AF_INET]192.xxx.xxx.xxx:1201: DATA len=68
Aug 3 19:37:21 zeroshellm VPN01_L2L[30705]: MANAGEMENT: Client connected from [AF_INET]127.0.0.1:34001
Aug 3 19:37:21 zeroshellm VPN01_L2L[30705]: SENT PING
...
...
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP WRITE [1428] to [AF_INET]192.xxx.xxx.xxx:1201: DATA len=1428
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: TUN READ [64]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP WRITE [116] to [AF_INET]192.xxx.xxx.xxx:1201: DATA len=116
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP READ [100] from [AF_INET]192.xxx.xxx.xxx:1201: DATA len=100
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: PID_TEST [0] [STATIC-0] [000000011122234] 1501781854:15 1501781854:16 t=1501781858[0] r=[-4,64,15,0,1] sl=[49,15,64,272]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: TUN WRITE [54]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP READ [340] from [AF_INET]192.xxx.xxx.xxx:1201: DATA len=340
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: PID_TEST [0] [STATIC-0] [0000000011122234] 1501781854:16 1501781854:17 t=1501781858[0] r=[-4,64,15,0,1] sl=[48,16,64,272]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: TUN WRITE [292]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: TUN READ [231]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP WRITE [276] to [AF_INET]192.xxx.xxx.xxx:1201: DATA len=276
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: UDP READ [180] from [AF_INET]192.xxx.xxx.xxx:1201: DATA len=180
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: PID_TEST [0] [STATIC-0] [00000000011122234] 1501781854:17 1501781854:18 t=1501781858[0] r=[-4,64,15,0,1] sl=[47,17,64,272]
Aug 3 19:37:38 zeroshellm VPN01_L2L[30705]: TUN WRITE [127]

what the hell is going on?
😯