Skip to contentSkip to conversation

"ping" config kills connections on 2.0rc16

Openvpn-devel Rolf Fokkens 3 participants 4 messages Mar 31, 2005 – Apr 4, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Currently not being able to test of this problem also exists in more recent rc's, I'll just mention it: when is use the "ping" or "keepalive" settings, periodically the SSL connections reset, the syslog output follows below. Without the ping settings connections seem tu survive much longer!

Hope this is useful information.

Cheers,

Rolf Fokkens

Apr  1 03:23:32 plaza-server openvpn[2502]: TLS: Initial packet from 83.118.84.1
29:11800, sid=737dedce 3fab1f1c
Apr  1 03:23:33 plaza-server openvpn[2502]: VERIFY OK: depth=1, /C=NL/L=Groningen/O=Vertis_bv/CN=Vertis-VPN-CA
Apr  1 03:23:33 plaza-server openvpn[2502]: VERIFY OK: depth=0, /C=NL/L=Groningen/O=Vertis_bv/CN=N003.Vertis-VPN
Apr  1 03:23:33 plaza-server openvpn[2502]: Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Apr  1 03:23:33 plaza-server openvpn[2502]: Data Channel Encrypt: Using 160 bitmessage hash 'SHA1' for HMAC authentication
Apr  1 03:23:33 plaza-server openvpn[2502]: Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Apr  1 03:23:33 plaza-server openvpn[2502]: Data Channel Decrypt: Using 160 bitmessage hash 'SHA1' for HMAC authentication
Apr  1 03:23:33 plaza-server openvpn[2502]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 512 bit RSA
Apr  1 03:23:33 plaza-server openvpn[2502]: [N003.Vertis-VPN] Peer Connection Initiated with 83.118.84.129:11800
Apr  1 03:23:34 plaza-server openvpn[2502]: Initialization Sequence Completed
Apr  1 03:24:02 plaza-server openvpn[2502]: Authenticate/Decrypt packet error: cipher final failed
Apr  1 03:24:04 plaza-server openvpn[2502]: TLS_ERROR: BIO read tls_read_plaintext error: error:06065064:digital envelope routines:EVP_DecryptFinal:bad decrypt
Apr  1 03:24:04 plaza-server openvpn[2502]: TLS Error: TLS object -> incoming plaintext read error
Apr  1 03:24:04 plaza-server openvpn[2502]: TLS Error: TLS handshake failed
Apr  1 03:24:04 plaza-server openvpn[2502]: TCP/UDP: Closing socket
Apr  1 03:24:04 plaza-server openvpn[2502]: Closing TUN/TAP interface
Apr  1 03:24:04 plaza-server openvpn[2502]: SIGUSR1[soft,tls-error] received, process restarting
Apr  1 03:24:04 plaza-server openvpn[2502]: Restart pause, 2 second(s)
#1 lore raw

[Openvpn-devel] Re:

Quoted 8 lines · Rolf Fokkens <r.fokkens <at> zonnet.nl> writes:

Hi,

Currently not being able to test of this problem also exists in more recent rc's, I'll just mention it: when is use the "ping" or "keepalive" settings, periodically the SSL connections reset, the syslog output follows below. Without the ping settings connections seem tu survive much longer!

I'm sure you'll hear complaints, but this question probably belongs in openvpn-users.

Anyhow, can you post your configs for both ends?

#2 lore raw

Re: [Openvpn-devel] Re:

Quoted 7 lines · Hans Wolff

I'm sure you'll hear complaints, but this question probably belongs in openvpn-users.

Anyhow, can you post your configs for both ends?

You may be right, but I have the impression it may be a bug, which is more a developer issue.

I'll post both configs in a subsequent email.

Rolf

#3 lore raw

[Openvpn-devel] Re: ping / padlock engine issue - appropriate ML forum [was Re: ]

Quoted 2 lines · Rolf Fokkens

You may be right, but I have the impression it may be a bug, which is more a developer issue.

Generally speaking, bugs themselves are user issues; code issues encountered while fixing bugs or adding features are developer issues.

This rule avoids the (very, very common) case of configuration problems misidentified as bugs cluttering up the devel list.