Go to file
David Sommerseth 5d4f5435a4 Fix reconnect issues when --push and UDP is used on the server
When the server is configured with UDP and --push statements, reconnecting
often fails by the client never receiving PUSH_REPLY.  The client sends
PUSH_REQUEST and the server logs these requests but does not send them.

This bug got introduced in commit ff65da3a23
which tries to avoid sending duplicated PUSH messages if the client/server
connection is slow.

This patch keeps this behaviour, but instead of a session wide PUSH_REPLY
block it sets an expiry time for the PUSH_REPLY block.  The expiry time
is set to 30 seconds.

Signed-off-by: David Sommerseth <davids@redhat.com>
Cc: James Yonan <james@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: James Yonan <james@openvpn.net>
Message-Id: 1347154246-20143-1-git-send-email-dazo@users.sourceforge.net
URL: http://article.gmane.org/gmane.network.openvpn.devel/7044
2012-09-11 19:01:14 +02:00
build build: msvc: upgrade to Visual Studio 2010 + fixups 2012-03-29 12:31:10 +02:00
contrib Remove hardcoded path to resolvconf 2010-11-14 23:03:20 +01:00
debug build: standard directory layout 2012-03-22 22:07:08 +01:00
distro build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00
doc Document that keep alive will double the second value in server mode and give a short explanation why the value is chosen. 2012-09-11 18:51:01 +02:00
include add API for plug-ins to write to openvpn log 2012-08-06 12:16:12 +02:00
m4 build: ax_varargs.m4: fixups 2012-03-26 14:33:15 +02:00
sample build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00
src Fix reconnect issues when --push and UDP is used on the server 2012-09-11 19:01:14 +02:00
tests Put actual OpenVPN command line on top of corresponding log file. 2012-09-02 20:27:49 +02:00
.gitattributes cleanup: add .gitattributes to control eol style explicitly 2012-04-26 20:54:26 +02:00
.gitignore build: add git revision to --version output if build from git repository 2012-06-01 15:34:49 +02:00
.mailmap Added mapping files from SVN commit ID to more descriptive commit IDs. 2010-10-21 11:31:26 +02:00
.svncommitters Added mapping files from SVN commit ID to more descriptive commit IDs. 2010-10-21 11:31:26 +02:00
AUTHORS This is the start of the BETA21 branch. 2005-09-26 05:28:27 +00:00
ChangeLog Preparing for OpenVPN 2.3_alpha3 2012-07-20 14:21:03 +02:00
ChangeLog.IPv6 Windows IPv6 cleanup - properly remove IPv6 routes and interface config 2011-05-22 19:08:22 +02:00
compat.m4 build: add git revision to --version output if build from git repository 2012-06-01 15:34:49 +02:00
config-msvc-version.h.in build: win-msvc: msbuild format 2012-03-22 22:53:39 +01:00
config-msvc.h cleanup: avoid using ~0 - generic 2012-04-02 11:54:01 +02:00
config-version.h.in build: add git revision to --version output if build from git repository 2012-06-01 15:34:49 +02:00
configure.ac build: plugins: set defaults based on platform 2012-06-27 16:49:30 +02:00
COPYING Updated copyright date to 2010. 2010-04-28 16:31:36 +00:00
COPYRIGHT.GPL This is the start of the BETA21 branch. 2005-09-26 05:28:27 +00:00
INSTALL build: update INSTALL to recent changes 2012-06-04 13:28:05 +02:00
INSTALL-win32.txt Added notes about upgrading from 2.3-alpha1 and earlier to INSTALL-win32.txt 2012-06-27 16:46:44 +02:00
Makefile.am build: add git revision to --version output if build from git repository 2012-06-01 15:34:49 +02:00
msvc-build.bat build: msvc: chdir with change drive to script location 2012-06-29 10:26:15 +02:00
msvc-dev.bat build: msvc: chdir with change drive to script location 2012-06-29 10:26:15 +02:00
msvc-env.bat build: msvc: chdir with change drive to script location 2012-06-29 10:26:15 +02:00
NEWS This is the start of the BETA21 branch. 2005-09-26 05:28:27 +00:00
openvpn.sln build: msvc: upgrade to Visual Studio 2010 + fixups 2012-03-29 12:31:10 +02:00
PORTS Updated copyright date to 2010. 2010-04-28 16:31:36 +00:00
README Updated copyright date to 2010. 2010-04-28 16:31:36 +00:00
README.IPv6 Merged TODO.IPv6 with TODO.ipv6 and README.IPv6 with README.ipv6 2011-08-24 15:02:42 +02:00
README.polarssl Updated README.polarssl with build system changes. 2012-04-27 23:56:55 +02:00
TODO.IPv6 Update TODO.IPv6 list 2012-06-13 12:20:01 +02:00
version.m4 Preparing for OpenVPN 2.3_alpha3 2012-07-20 14:21:03 +02:00
version.sh.in build: windows: install version.sh to allow installer read version 2012-03-24 00:14:23 +01:00

OpenVPN -- A Secure tunneling daemon

Copyright (C) 2002-2010 OpenVPN Technologies, Inc. This program is free software;
you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.

*************************************************************************

For the latest version of OpenVPN, go to:

	http://openvpn.net/

To Build and Install,

	./configure
	make
	make install

or see the file INSTALL for more info.

*************************************************************************

For detailed information on OpenVPN, including examples, see the man page
  http://openvpn.net/man.html

For a sample VPN configuration, see
  http://openvpn.net/howto.html

For a description of OpenVPN's underlying protocol,
  see the file ssl.h included in the source distribution.

*************************************************************************

Other Files & Directories:

* INSTALL-win32.txt -- installation instructions
  for Windows

* configure.ac -- script to rebuild our configure
  script and makefile.

* openvpn.spec -- RPM Spec file
  To build an OpenVPN binary RPM, use the command:

	rpmbuild -tb [tarball]

  When you install the binary RPM, it will automatically
  install sample-scripts/openvpn.init (see below)

* sample-scripts/openvpn.init

  A sample init script for OpenVPN.  See the file for
  comments and additional information.

* sample-scripts/verify-cn

  A sample perl script which can be used with OpenVPN's
  --tls-verify option to provide a customized authentication
  test on embedded X509 certificate fields.

* sample-keys/

  Sample RSA keys and certificates.  DON'T USE THESE FILES
  FOR ANYTHING OTHER THAN TESTING BECAUSE THEY ARE TOTALLY INSECURE.

* sample-config-files/

  A collection of OpenVPN config files and scripts from
  the HOWTO at http://openvpn.net/howto.html

* easy-rsa/

  A simple guide to RSA key management, scripts included.
  Also see http://openvpn.net/easyrsa.html