[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] client connection times out and fails to reconnect with SIGUSR1


  • Subject: [Openvpn-users] client connection times out and fails to reconnect with SIGUSR1
  • From: "Darren Loher" <dloher@xxxxxxxxxxxx>
  • Date: Wed, 8 Nov 2006 16:52:28 -0800

Hi,

 

I have about 10 clients, 2 of which seem to lose their connections about
after 3-6 hours and will not re-establish them automatically.  The
automatic SIGUSR1 that occurs on timeout at the client side attempts to
reestablish, but without any success.  Manually doing a SIGHUP on the
client restores connectivity for another 3-6 hours.

 

My environment is FedoraCore5 server and clients, all OpenVPN-2.0.7.  I
tried updated to 2.1_beta16 and had the same behavior.  So there is
something about these two clients.  

 

Here's what I'm seeing in the client log:

 

 

[... timeout occurs ...]

 

Wed Nov  8 17:27:08 2006 us=212781 SIGUSR1[soft,init_instance] received,
process restarting

Wed Nov  8 17:27:08 2006 us=212813 Restart pause, 2 second(s)

Wed Nov  8 17:27:10 2006 us=216666 IMPORTANT: OpenVPN's default port
number is now 1194, based on an official port number assignment by IANA.
OpenVPN 2.0-beta16 and earlier used 5000 as the default port.

Wed Nov  8 17:27:10 2006 us=216732 Re-using SSL/TLS context

Wed Nov  8 17:27:10 2006 us=216828 Control Channel MTU parms [ L:1541
D:166 EF:66 EB:0 ET:0 EL:0 ]

Wed Nov  8 17:27:10 2006 us=216895 Data Channel MTU parms [ L:1541
D:1450 EF:41 EB:4 ET:0 EL:0 ]

Wed Nov  8 17:27:10 2006 us=216940 Local Options String: 'V4,dev-type
tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth
SHA1,keysize 128,tls-auth,key-method 2,tls-client'

Wed Nov  8 17:27:10 2006 us=216959 Expected Remote Options String:
'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 0,cipher
BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'

Wed Nov  8 17:27:10 2006 us=216993 Local Options hash (VER=V4):
'70f5b3af'

Wed Nov  8 17:27:10 2006 us=217022 Expected Remote Options hash
(VER=V4): 'a2e2498c'

Wed Nov  8 17:27:10 2006 us=217053 Socket Buffers: R=[107520->131072]
S=[107520->131072]

Wed Nov  8 17:27:10 2006 us=217079 UDPv4 link local: [undef]

Wed Nov  8 17:27:10 2006 us=217101 UDPv4 link remote: 1.1.1.1:1194

Wed Nov  8 17:27:10 2006 us=217237 UDPv4 WRITE [42] to 1.1.1.1:1194
P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #1 ] [ ] pid=0 DATA len=0

Wed Nov  8 17:27:10 2006 us=217424 TUN READ [62]

Wed Nov  8 17:27:10 2006 us=217518 TUN READ [62]

 

[... 38 more TUN READ's ...]

 

Wed Nov  8 17:27:10 2006 us=219709 TUN READ [60]

Wed Nov  8 17:27:10 2006 us=219777 TUN READ [70]

Wed Nov  8 17:27:11 2006 us=452881 TUN READ [73]

Wed Nov  8 17:27:12 2006 us=544867 UDPv4 WRITE [42] to 1.1.1.1:1194
P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #2 ] [ ] pid=0 DATA len=0

Wed Nov  8 17:27:12 2006 us=545019 TUN READ [70]

Wed Nov  8 17:27:14 2006 us=728951 UDPv4 WRITE [42] to 1.1.1.1:1194
P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #3 ] [ ] pid=0 DATA len=0

Wed Nov  8 17:27:14 2006 us=729104 TUN READ [70]

 

[... repeats up to #27 ...]

 

Wed Nov  8 17:28:08 2006 us=831544 UDPv4 WRITE [42] to 1.1.1.1:1194
P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #27 ] [ ] pid=0 DATA len=0

Wed Nov  8 17:28:08 2006 us=831698 TUN READ [70]

Wed Nov  8 17:28:11 2006 us=41760 TLS Error: TLS key negotiation failed
to occur within 60 seconds (check your network connectivity)

Wed Nov  8 17:28:11 2006 us=41803 TLS Error: TLS handshake failed

Wed Nov  8 17:28:11 2006 us=41949 TCP/UDP: Closing socket

Wed Nov  8 17:28:11 2006 us=42013 SIGUSR1[soft,tls-error] received,
process restarting

Wed Nov  8 17:28:11 2006 us=42048 Restart pause, 2 second(s)

 

[.. client restarts, same thing happens ...]

 

 

 
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-11/msg00091.html on line 299

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-11/msg00091.html on line 299