]> git.ipfire.org Git - thirdparty/openvpn.git/log
thirdparty/openvpn.git
14 years agoMake "topology subnet" work on Solaris (ifconfig + route metric changes by Kazuyoshi...
Gert Doering [Sat, 30 Oct 2010 19:03:16 +0000 (21:03 +0200)] 
Make "topology subnet" work on Solaris (ifconfig + route metric changes by Kazuyoshi Aizawa, adding of local "connected subnet" route by me)

Tested on OpenSolaris/i386, no impact for other TARGETs.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Kazuyoshi Aizawa <admin2@whiteboard.ne.jp>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
14 years agoIntegrate support for TAP mode on Solaris, written by Kazuyoshi Aizawa <admin2@whiteb...
Gert Doering [Fri, 29 Oct 2010 15:41:53 +0000 (17:41 +0200)] 
Integrate support for TAP mode on Solaris, written by Kazuyoshi Aizawa <admin2@whiteboard.ne.jp>.

See also http://www.whiteboard.ne.jp/~admin2/tuntap/

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Kazuyoshi Aizawa <admin2@whiteboard.ne.jp>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
14 years agoAdding support for SOCKS plain text authentication
Pierre Bourdon [Sun, 10 Oct 2010 22:56:04 +0000 (00:56 +0200)] 
Adding support for SOCKS plain text authentication

This patch adds support for SOCKS plain text (username/password)
authentication as described in RFC 1929. It adds an optional third
parameter to the socks-proxy option, which is a file containing the
login credentials.

I've been using this patch for two weeks now and it does not seem to
cause any problem. The only modifications are in the SOCKS handshake
handling and the options parser.

Signed-Off-By: Pierre Bourdon <delroth@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agoFixed static defined length check to use sizeof()
Emilien Mantel [Sat, 26 Jun 2010 11:56:48 +0000 (13:56 +0200)] 
Fixed static defined length check to use sizeof()

This comes in addition to commit 935c62be9c0c8a256112d after some
additional review comments.

Signed-off-by: Emilien Mantel <emilien.mantel@businessdecision.com>
Acked-by: Peter Stuge <peter@stuge.se>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agoChoose a different field in X509 to be username
Emilien Mantel [Thu, 17 Jun 2010 19:38:59 +0000 (21:38 +0200)] 
Choose a different field in X509 to be username

For my company, we use a PKI (linked to a LDAP) with OpenVPN. We can't use "CN" to be
username (few people can have the same "CN"). In our case, we only use the UID.

With my patch, you can choose another field to be username with a new option called
--x509-username-field, the default value is "CN".

Signed-off-by: Emilien Mantel <emilien.mantel@businessdecision.com>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agossl.c: fix use of openvpn_run_script()'s return value
Fabian Knittel [Tue, 4 May 2010 14:21:47 +0000 (16:21 +0200)] 
ssl.c: fix use of openvpn_run_script()'s return value

This patch fixes two bugs introduced in

    commit 339f2a4d4b487afa53fa99d72c35b16f31e417d3
    Author: David Sommerseth <dazo@users.sourceforge.net>
    Date:   Thu Apr 29 23:35:45 2010 +0200

David's patch replaced openvpn_execve() with openvpn_run_script() in two places,
but didn't adjust the return value handling.  openvpn_run_script() returns true
or false, while openvpn_execve() returns the program's exit code.

Without the fix, the --tls-verify script and the --auth-user-pass-verify
script fail to run.  (I noticed the latter, but haven't actually tested the
former.)

The return value handling is fine for the other places where
openvpn_run_script() is used, because those places previously used
openvpn_execve_check() (notice the "_check" suffix).

Signed-off-by: Fabian Knittel <fabian.knittel@avona.com>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agoRevamped the script-security warning logging (version 2)
David Sommerseth [Thu, 29 Apr 2010 21:35:45 +0000 (23:35 +0200)] 
Revamped the script-security warning logging (version 2)

The main task of this patch is to avoid reporting the SCRIPT_SECURITY_WARNING
over and over again, in addition to not show this warning when it should not
be a problem.  This general warning should now only appear once, and only when
--script-security is not set, 0 or 1.  In all other cases this warning should
not appear.

In addition, this warning will come close to the script-hook which most probably
will fail.  It will also give a little bit more concrete hint on which script-hook
which failed.  If --script-security is 2 or 3, only the execve failure itself will
be shown.  This message will on the other hand be shown repeatedly.

This is a new rewritten version which simplifies the implementaion of the new
openvpn_run_script() function.  It was considered to remove it completely, but
due to code clearity and easy of use it was decided to make this function a static
inline function instead.  Anyhow, this function will enforce openvpn_execve_check()
to be called with the S_SCRIPT flag.

Patch ACKed on the developers meeting 2009-04-29.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
15 years agoDon't add compile time information if --enable-small is used
David Sommerseth [Thu, 22 Apr 2010 21:05:00 +0000 (23:05 +0200)] 
Don't add compile time information if --enable-small is used

This is to satisfy those wanting to build openvpn for embedded devices
where every bytes matters.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years agoMake use of automake CLEANFILES variable instead of clean-local rule
David Sommerseth [Tue, 13 Apr 2010 13:12:27 +0000 (15:12 +0200)] 
Make use of automake CLEANFILES variable instead of clean-local rule

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years agoFix dependency checking for configure.h (v2)
David Sommerseth [Thu, 22 Apr 2010 21:01:31 +0000 (23:01 +0200)] 
Fix dependency checking for configure.h (v2)

Alon Bar-Lev indicated commit f27bf509315a48b0070294c3993a718df0c2626c
was missing proper dependency checking.  This patch corrects this and
fixes an issue when creating configure.h via make distcheck.

This is an enhanced version of the one sent to the openvpn-devel mailing
list April 13, 2010 [1], after having received some feedback from Gert
Doering, cleaning up configure_log.awk further.

[1] <http://thread.gmane.org/gmane.network.openvpn.devel/3410/focus=3491>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years agoAdd comile time information/settings from ./configure to --version
David Sommerseth [Thu, 8 Apr 2010 18:31:01 +0000 (20:31 +0200)] 
Add comile time information/settings from ./configure to --version

This patch will create ./configure.h which will contain two new #define
strings.  CONFIGURE_DEFINES will contain all USE, ENABLED, DISABLED and
DEPRECATED defines from ./config.h.  CONFIGURE_CALL will contain the
complete ./configure line which was used when configuring the package
for building.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
15 years agopkitool lacks expected option "--help"
Wil Cooley [Tue, 2 Mar 2010 20:54:15 +0000 (21:54 +0100)] 
pkitool lacks expected option "--help"

The pkitool script lacks the "--help" parameter to actually display the
usage statement; most people are conditioned to try that before running the
command without options. This patch adds that and "--version" to display
just the program name and version.

sf.net tracker:
<https://sourceforge.net/tracker/?func=detail&atid=454721&aid=1705407&group_id=48978>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Jan Just Keijser <janjust@nikhef.nl>
15 years agoSeveral updates to openvpn.8 (man page updates)
Karl O. Pinc [Tue, 2 Mar 2010 20:41:06 +0000 (21:41 +0100)] 
Several updates to openvpn.8 (man page updates)

This is a collection of 4 patches sent to the -devel mailing list:
* [PATCH] Frob the openvpn(8) man page tls-verify section to clarify
* [PATCH] More improvments to openvpn(8) --tls-verify
* [PATCH] Yet another tweak of openvpn(8) --tls-verify
* [PATCH] Final frobbing of openvpn(8) --tls-verify

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agoenhance tls-verify possibility
Mathieu GIANNECCHINI [Mon, 1 Mar 2010 23:26:57 +0000 (00:26 +0100)] 
enhance tls-verify possibility

It should be nice to enhance tls-verify check possibilities against peer
cert during a pending TLS connection like :
- OCSP verification
- check any X509 extensions of the peer certificate
- delta CRL verification
- ...

This patch add a new "tls-export-cert" option which allow to get peer
certificate in PEM format and to store it in an openvpn temporary file.
Peer certificate is stored before tls-script execution and deleted after.
The name of the related temporary file is available under tls-verify
script by an environment variable "peer_cert".

The patch was made from OpenVPN svn Beta21 branches.

Here is a very simple exemple of Tls-verify script which provide OCSP
support to OpenVPN (with tls-export-cert option) without any OpenVPN
"core" modification :

X509=$2

openssl ocsp \
      -issuer /etc/openvpn/ssl.crt/RootCA.pem \
      -CAfile /etc/openvpn/ssl.capath/OpenVPNServeur-cafile.pem \
      -cert $peer_cert \
      -url http://your-ocsp-url
      if [ $? -ne 0 ]
      then
          echo "error : OCSP check failed for ${X509}" | logger -t
"tls-verify"
          exit 1
       fi

This has been discussed here:
<http://thread.gmane.org/gmane.network.openvpn.devel/2492>
<http://thread.gmane.org/gmane.network.openvpn.devel/3150>
<http://thread.gmane.org/gmane.network.openvpn.devel/3217>

This patch has been modified by David Sommerseth, by fixing a few issues
which came up to during the code review process.  The man page has been
updated and tmp_file in ssl.c is checked for not being NULL before calling
delete_file().

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years agoAllow 'lport 0' setup for random port binding
Enrico Scholz [Sun, 28 Feb 2010 13:40:57 +0000 (14:40 +0100)] 
Allow 'lport 0' setup for random port binding

I am running a multihomed host where 'local <extip>' must be specified
for proper operation.  Unfortunately, this implies 'lport 1194' or
another static port.

This causes problems with stateful firewalls which register the host/port
pairs in the internal connection tracking table. On ungraceful reconnects,
the new TCP connection will have same the host/port pairs but unexpected
sequence numbers. The new connection will be assumed as invalid hence and
be dropped.

It would be nice when local port can be configured to be bound to a
random port number.  After reading code,

|    else if (streq (p[0], "lport") && p[1])
|  ...
|        port = atoi (p[1]);
|-       if (!legal_ipv4_port (port))
|+       if (port != 0 && !legal_ipv4_port (port))
|          {

in options.c seems to be the only required change.

This has been discussed here:
<http://thread.gmane.org/gmane.network.openvpn.user/28622>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years agoremove duplicate code in FREEBSD+DRAGONFLY system-dependent ifconfig
Gert Doering [Sun, 28 Feb 2010 22:09:40 +0000 (23:09 +0100)] 
remove duplicate code in FREEBSD+DRAGONFLY system-dependent ifconfig
(ACKed by Eric F Crist and David Sommerseth)

(cherry picked from commit dd66b12647852e3f1267be70b0fb3b11deedf377)

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
15 years agoMerge branch 'master' into bugfix2.1
David Sommerseth [Fri, 26 Feb 2010 16:11:40 +0000 (17:11 +0100)] 
Merge branch 'master' into bugfix2.1

15 years agoAdded mapping files from SVN commit ID to more descriptive commit IDs.
David Sommerseth [Tue, 16 Feb 2010 21:06:51 +0000 (22:06 +0100)] 
Added mapping files from SVN commit ID to more descriptive commit IDs.

Unfortunately, this will not rewrite the commit history.  So all commits
done by james@e7ae566f-a301-0410-adde-c780ea21d3b5 is James Yonans commits.

It was considered to risky to use git tools to rewrite the commit history, as
it could influence those already using this git tree.

15 years agoFixed an issue in the Management Interface that could cause
james [Fri, 26 Feb 2010 10:26:45 +0000 (10:26 +0000)] 
Fixed an issue in the Management Interface that could cause
a process hang with 100% CPU utilization in --management-client
mode if the management interface client disconnected at the
point where credentials are queried.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5458 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoverb 5 logging wrongly reports received bytes
David Sommerseth [Fri, 19 Feb 2010 16:32:56 +0000 (17:32 +0100)] 
verb 5 logging wrongly reports received bytes

With --verb 5, openvpn logs a single letter (rwRW) for each package
received or sent. I recently ran into a problem with the tun device on
Linux where the read from that device returned 0. Unfortunately this was
also logged as "r", which made me assume that openvpn had received
something, while it actually hadn't.

(See https://dev.openwrt.org/ticket/6650 for the bug that made me find out
about this problem with openvpn.)

I'm attaching a patch which prevents openvpn from logging "r" or "R" when
it didn't actually read anything. This is against openvpn 2.1-rc20, but
probably still applies to the most recent version.

This patch was received anonymously via the sf.net bug tracker:
<http://sourceforge.net/tracker/?func=detail&atid=454719&aid=2951003&group_id=48978>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
15 years ago[PATCH] Change verify-cn so cn is no longer hardcoded in openvpn's config file
Karl O. Pinc [Thu, 18 Feb 2010 20:30:48 +0000 (21:30 +0100)] 
[PATCH] Change verify-cn so cn is no longer hardcoded in openvpn's config file

This patch should be easy to process.
A resubmission of the patch sent to this list on 04/23/2009.

The patch changes the verify-cn script sample
to be used with --tls-verify so that instead of having
to hardcode a cn to verify in the OpenVPN configuration file
the allowed cns may be written into a separate file.

This makes the process of verifying cns a whole
lot more dynamic, to the point where it is useful
in the real world.

One problem with this patch is that it is backwards
incompatible.  I did not bother keeping the original
calling interface as A) it's a sample script, and B) the
original's functionality seems useless
and equalivant functionality is easily available
with the new script.

The problem with the original is that there seems
little point in verifying a client's cn when all
the clients share one cn, as would have to be
the case when the cn is hardcoded into the openvpn
config file.

This patch applies against the testing allmiscs branch,
and should apply against any of the other testing
branches as well.

It works for me.  I've tested it throughly but not
used it extensively in production.

Regards,

Karl <kop@meme.com>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Eric F Crist <ecrist@secure-computing.net>
15 years agoDo not randomize resolving of IP addresses in getaddr()
David Sommerseth [Thu, 18 Feb 2010 20:20:14 +0000 (21:20 +0100)] 
Do not randomize resolving of IP addresses in getaddr()

Based on a discussion on the mailing list and in the IRC meeting Feb 18,
it was decided to remove get_random() from the getaddr() function as that
can conflict with round-robin/randomization done by DNS servers.

This change must be documented in the release notes.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
15 years agoAdded mapping files from SVN commit ID to more descriptive commit IDs.
David Sommerseth [Tue, 16 Feb 2010 21:06:51 +0000 (22:06 +0100)] 
Added mapping files from SVN commit ID to more descriptive commit IDs.

Unfortunately, this will not rewrite the commit history.  So all commits
done by james@e7ae566f-a301-0410-adde-c780ea21d3b5 is James Yonans commits.

It was considered to risky to use git tools to rewrite the commit history, as
it could influence those already using this git tree.

15 years agoVersion 2.1.1b
james [Sat, 16 Jan 2010 04:10:30 +0000 (04:10 +0000)] 
Version 2.1.1b

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5371 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoDon't advance the connection list on AUTH_FAILED errors.
james [Sat, 16 Jan 2010 03:54:00 +0000 (03:54 +0000)] 
Don't advance the connection list on AUTH_FAILED errors.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5370 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed an issue where AUTH_FAILED was not being properly delivered
james [Sat, 16 Jan 2010 03:24:07 +0000 (03:24 +0000)] 
Fixed an issue where AUTH_FAILED was not being properly delivered
to the client when a bad password is given for mid-session reauth.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5369 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoWhen aborting in a non-graceful way, try to execute do_close_tun in
james [Tue, 12 Jan 2010 18:26:22 +0000 (18:26 +0000)] 
When aborting in a non-graceful way, try to execute do_close_tun in
init.c prior to daemon exit to ensure that the tun/tap interface is
closed and any added routes are deleted.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5367 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed some breakage in openvpn.spec (which is required to build an v2.1.1
james [Fri, 11 Dec 2009 23:44:34 +0000 (23:44 +0000)] 
Fixed some breakage in openvpn.spec (which is required to build an
RPM distribution) where it was referencing a non-existent
subdirectory in the tarball, causing it to fail (patch from
David Sommerseth).

Version 2.1.1.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5269 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoVersion 2.1.0 v2.1.0
james [Fri, 11 Dec 2009 08:18:50 +0000 (08:18 +0000)] 
Version 2.1.0

* Updated ChangeLog.

* Note in man page that clients connecting to a --multihome server
  should always use the --nobind option.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5266 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoClarified that TAP-Win32 driver is licensed under GPL 2.
james [Fri, 11 Dec 2009 05:13:24 +0000 (05:13 +0000)] 
Clarified that TAP-Win32 driver is licensed under GPL 2.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5265 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoDocumented --multihome in the man page.
james [Fri, 11 Dec 2009 01:47:26 +0000 (01:47 +0000)] 
Documented --multihome in the man page.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5264 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed a couple issues in sample plugins auth-pam.c and down-root.c:
james [Thu, 10 Dec 2009 23:50:03 +0000 (23:50 +0000)] 
Fixed a couple issues in sample plugins auth-pam.c and down-root.c:

1. Fail gracefully rather than segfault if calloc returns NULL.

2. The openvpn_plugin_abort_v1 function can potentially be called
   with handle == NULL.  Add code to detect this case, and if
   so, avoid dereferencing pointers derived from handle.

(Thanks to David Sommerseth for finding this bug).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5261 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoVersion 2.1_rc22 v2.1_rc22
james [Fri, 20 Nov 2009 13:22:27 +0000 (13:22 +0000)] 
Version 2.1_rc22

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5169 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed a client-side bug that occurred when the "dhcp-pre-release"
james [Thu, 19 Nov 2009 16:42:51 +0000 (16:42 +0000)] 
Fixed a client-side bug that occurred when the "dhcp-pre-release"
or "dhcp-renew" options were combined with "route-gateway dhcp".

The problem is that the IP Helper functions for DHCP release and
renew are blocking, and so calling them from a single-threaded
client stops tunnel traffic forwarding, and hence breaks
"route-gateway dhcp" which requires an active tunnel.  The fix is
to call the IP Helper functions for DHCP release and renew from
another process.

Version 2.1_rc21b.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5164 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoIncrease MAX_CERT_DEPTH to 16 (from 8), and when exceeded,
james [Fri, 13 Nov 2009 11:09:47 +0000 (11:09 +0000)] 
Increase MAX_CERT_DEPTH to 16 (from 8), and when exceeded,
make it a hard failure, rather than just a warning.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5159 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoVersion 2.1_rc21 v2.1_rc21
james [Thu, 12 Nov 2009 09:30:45 +0000 (09:30 +0000)] 
Version 2.1_rc21

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5152 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoVersion 2.1_rc20a
james [Sun, 25 Oct 2009 15:54:01 +0000 (15:54 +0000)] 
Version 2.1_rc20a

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5106 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoOn server, lock client-provided certs against mid-session TLS
james [Sun, 25 Oct 2009 15:51:04 +0000 (15:51 +0000)] 
On server, lock client-provided certs against mid-session TLS
renegotiations -- this is similer to how the common name is also
locked.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5105 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoChange to doval valgrind script. The openvpn command parameter is now
james [Sun, 25 Oct 2009 15:44:28 +0000 (15:44 +0000)] 
Change to doval valgrind script.  The openvpn command parameter is now
implied, so new usage is:

  ./doval [openvpn parms]

instead of:

  ./doval ./openvpn [openvpn parms]

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5104 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoOn server, lock session username against changes in mid-session TLS
james [Sat, 24 Oct 2009 01:08:30 +0000 (01:08 +0000)] 
On server, lock session username against changes in mid-session TLS
renegotiations -- this is similer to how the common name is also
locked.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5098 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded "setenv GENERIC_CONFIG" directive, for generic configs
james [Fri, 16 Oct 2009 16:31:01 +0000 (16:31 +0000)] 
Added "setenv GENERIC_CONFIG" directive, for generic configs
that cannot directly be used as a config file.  The directive
will simply cause OpenVPN to exit with an error if a generic
config file is used.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5077 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed issue where some .svn directories were being inadvertently v2.1_rc20
james [Wed, 7 Oct 2009 11:19:51 +0000 (11:19 +0000)] 
Fixed issue where some .svn directories were being inadvertently
included in the .tar.gz file built by make dist.

Re-released as Version 2.1_rc20

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5058 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoVersion 2.1_rc20
james [Thu, 1 Oct 2009 22:13:26 +0000 (22:13 +0000)] 
Version 2.1_rc20

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5023 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoclient-kill management interface command, when issued on server, will
james [Thu, 1 Oct 2009 21:08:40 +0000 (21:08 +0000)] 
client-kill management interface command, when issued on server, will
now send a RESTART message to client.

This feature is intended to make UDP clients respond the same as TCP
clients in the case where the server issues a RESTART message in
order to force the client to reconnect and pull a new options/route
list.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5021 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoMinor fix: management interface shouldn't echo 'load-stats' commands to
james [Thu, 1 Oct 2009 20:55:37 +0000 (20:55 +0000)] 
Minor fix: management interface shouldn't echo 'load-stats' commands to
log file.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5020 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded the ability for the server to provide a custom reason string
james [Tue, 29 Sep 2009 23:10:14 +0000 (23:10 +0000)] 
Added the ability for the server to provide a custom reason string
when an AUTH_FAILED message is returned to the client.  This
string can be set by the server-side managment interface and read
by the client-side management interface.

For more info, see management/management-notes.txt, and look for
references to "client-reason-text".

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5012 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed a bug introduced in r4436 (2.1_rc17) where using the
james [Mon, 28 Sep 2009 07:50:30 +0000 (07:50 +0000)] 
Fixed a bug introduced in r4436 (2.1_rc17) where using the
redirect-gateway option by itself, without any extra parameters,
would cause the option to be ignored.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5011 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded --server-poll-timeout option : when polling possible remote
james [Mon, 28 Sep 2009 07:27:22 +0000 (07:27 +0000)] 
Added --server-poll-timeout option : when polling possible remote
servers to connect to in a round-robin fashion, spend no more than
n seconds waiting for a response before trying the next server.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5010 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoEliminated the limitation on the number of options that can be pushed
james [Sun, 27 Sep 2009 02:12:15 +0000 (02:12 +0000)] 
Eliminated the limitation on the number of options that can be pushed
to clients, including routes.  Previously, all pushed options needed
to fit within a 1024 byte options string.

Remember that to make use of this feature to allow many routes to
be pushed to clients, the client config file must specify the
max-routes option, and the number of pushed routes cannot exceed
this limit.  Also, both server and client must include this commit.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4991 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoThe maximum number of "route" directives (specified in the config
james [Thu, 17 Sep 2009 23:43:37 +0000 (23:43 +0000)] 
The maximum number of "route" directives (specified in the config
file or pulled from a server) can now be configured via the new
"max-routes" directive.

Previously, the limit was set to 100 and fixed by a compile-time
constant.  Now the limit is dynamic and can be modified by the
"max-routes" directive.  If max-routes is not specified, the default
limit is 100.

Note that this change does not address the maximum size of the
pushed options string sent from server to client, which is still
controlled by the TLS_CHANNEL_BUF_SIZE compile-time constant.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4967 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoModified client to send a PUSH_REQUEST message to server 1 second
james [Wed, 16 Sep 2009 18:58:49 +0000 (18:58 +0000)] 
Modified client to send a PUSH_REQUEST message to server 1 second
after connection initiation rather than 0 seconds after.
Successive PUSH_REQUEST messages after the first will continue to be
sent at 5 second intervals until a response is received.  This tends
to speed up the client connection sequence by 4 seconds because the
first PUSH_REQUEST message is usually sent too soon and is dropped,
causing a wait of 5 seconds until the next PUSH_REQUEST message is
sent.

Version 2.1_rc19d

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4965 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoUpdated version number to 2.1_rc19c.
james [Tue, 8 Sep 2009 20:50:41 +0000 (20:50 +0000)] 
Updated version number to 2.1_rc19c.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4946 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded "setcon" directive for interoperability with SELinux
james [Fri, 4 Sep 2009 23:50:35 +0000 (23:50 +0000)] 
Added "setcon" directive for interoperability with SELinux
(Sebastien Raveau).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4932 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded new ./configure flags:
james [Mon, 24 Aug 2009 19:13:52 +0000 (19:13 +0000)] 
Added new ./configure flags:

  --disable-def-auth      Disable deferred authentication
  --disable-pf            Disable internal packet filter

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4852 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded PLATFORM-SPECIFIC comment tag to platform-specific functions
james [Mon, 24 Aug 2009 19:11:59 +0000 (19:11 +0000)] 
Added PLATFORM-SPECIFIC comment tag to platform-specific functions
in route.c to make it easier to spot them.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4851 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded "load-stats" management interface command to get global
james [Sun, 23 Aug 2009 22:03:16 +0000 (22:03 +0000)] 
Added "load-stats" management interface command to get global
server load statistics.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4844 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoAdded --remote-random-hostname option.
james [Sat, 22 Aug 2009 18:29:20 +0000 (18:29 +0000)] 
Added --remote-random-hostname option.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4843 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed ifconfig command for "topology subnet" on FreeBSD (Stefan Bethke).
james [Wed, 19 Aug 2009 15:55:14 +0000 (15:55 +0000)] 
Fixed ifconfig command for "topology subnet" on FreeBSD (Stefan Bethke).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4837 e7ae566f-a301-0410-adde-c780ea21d3b5

15 years agoFixed build problem when ./configure --disable-server is used.
james [Wed, 19 Aug 2009 15:48:50 +0000 (15:48 +0000)] 
Fixed build problem when ./configure --disable-server is used.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4836 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoOpenVPN version 2.1_rc19 released v2.1_rc19
james [Thu, 16 Jul 2009 09:47:41 +0000 (09:47 +0000)] 
OpenVPN version 2.1_rc19 released

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4712 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoIn Windows TAP driver, refactor DHCP/ARP packet injection code to
james [Mon, 22 Jun 2009 20:48:35 +0000 (20:48 +0000)] 
In Windows TAP driver, refactor DHCP/ARP packet injection code to
use a DPC (deferred procedure call) to defer packet injection until
IRQL < DISPATCH_LEVEL, rather than calling NdisMEthIndicateReceive
in the context of AdapterTransmit.  This is an attempt to reduce kernel
stack usage, and prevent EXCEPTION_DOUBLE_FAULT BSODs that have been
observed on Vista.  Updated TAP driver version number to 9.6.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4606 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoRename generated tapdrvr.cod to a unique name to avoid the issue where
james [Mon, 22 Jun 2009 00:44:02 +0000 (00:44 +0000)] 
Rename generated tapdrvr.cod to a unique name to avoid the issue where
building for multiple architectures causes the previous tapdrvr.cod to
be overwritten.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4604 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoIn configure.ac, use datadir instead of datarootdir for compatibility
james [Tue, 9 Jun 2009 11:08:45 +0000 (11:08 +0000)] 
In configure.ac, use datadir instead of datarootdir for compatibility
with <autoconf-2.60.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4539 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc18 v2.1_rc18
james [Sun, 7 Jun 2009 06:59:39 +0000 (06:59 +0000)] 
Version 2.1_rc18

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4526 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change
james [Sun, 7 Jun 2009 06:44:11 +0000 (06:44 +0000)] 
Fixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change
does not build on Windows on non-MINGW32.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4525 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed compile error on ./configure --enable-small
james [Mon, 1 Jun 2009 20:12:15 +0000 (20:12 +0000)] 
Fixed compile error on ./configure --enable-small

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4501 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc17 v2.1_rc17
james [Mon, 1 Jun 2009 19:47:49 +0000 (19:47 +0000)] 
Version 2.1_rc17

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4500 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoUpdate copyright to 2009.
james [Sat, 30 May 2009 21:38:49 +0000 (21:38 +0000)] 
Update copyright to 2009.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4477 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed bug where the remote_X environmental variables were not being
james [Sat, 30 May 2009 20:20:36 +0000 (20:20 +0000)] 
Fixed bug where the remote_X environmental variables were not being
set correctly when the 'local' option is specifed.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4476 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed issue of symbol conflicts interfering with Windows CryptoAPI
james [Sat, 30 May 2009 19:53:49 +0000 (19:53 +0000)] 
Fixed issue of symbol conflicts interfering with Windows CryptoAPI
functionality (Alon Bar-Lev).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4475 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded new 'autolocal' redirect-gateway flag. When enabled, the OpenVPN
james [Sun, 24 May 2009 09:13:58 +0000 (09:13 +0000)] 
Added new 'autolocal' redirect-gateway flag.  When enabled, the OpenVPN
client will examine the routing table and determine whether (a) the
OpenVPN server is reachable via a locally connected interface, or (b)
traffic to the server must be forwarded through the default router.
Only add a special bypass route for the OpenVPN server if (b) is true.
If (a) is true, behave as if the 'local' flag is specified, and do not
add a bypass route.

The new 'autolocal' flag depends on the non-portable test_local_addr()
function in route.c, which is currently only implemented for Windows.
The 'autolocal' flag will act as a no-op on platforms that have not
yet defined a test_local_addr() function.

Increased TLS_CHANNEL_BUF_SIZE to 2048 from 1024 (this will allow for
more option content to be pushed from server to client).

Raised D_MULTI_DROPPED debug level to 4 from 3.

Version 2.1_rc16b.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4446 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded "redirect-private" option which allows private subnets
james [Sat, 23 May 2009 10:30:10 +0000 (10:30 +0000)] 
Added "redirect-private" option which allows private subnets
to be pushed to the client in such a way that they don't accidently
obscure critical local addresses such as the DHCP server address and
DNS server addresses.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4436 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed race condition in management interface recv code on
james [Thu, 21 May 2009 10:15:26 +0000 (10:15 +0000)] 
Fixed race condition in management interface recv code on
Windows, where sending a set of several commands to the
management interface in quick succession might cause the
latter commands in the set to be ignored.

Increased management interface input command buffer size
from 256 to 1024 bytes.

Minor tweaks to Windows build system.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4414 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoReduce the debug level (--verb) at which received management interface
james [Thu, 21 May 2009 09:53:25 +0000 (09:53 +0000)] 
Reduce the debug level (--verb) at which received management interface
commands are echoed from 7 to 3.  Passwords will be filtered.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4413 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc16 v2.1_rc16
james [Mon, 18 May 2009 00:47:45 +0000 (00:47 +0000)] 
Version 2.1_rc16

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4363 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoUpdated Windows build scripts to package openssl-0.9.8k,
james [Wed, 13 May 2009 13:36:23 +0000 (13:36 +0000)] 
Updated Windows build scripts to package openssl-0.9.8k,
and to use the Server 2008 WDK (6001.18002).

In cryptoapi.c, renamed CryptAcquireCertificatePrivateKey to
OpenVPNCryptAcquireCertificatePrivateKey to work around
a symbol conflict in MinGW-5.1.4.exe.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4318 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded errors-to-stderr option. When enabled, fatal errors
james [Mon, 13 Apr 2009 03:30:30 +0000 (03:30 +0000)] 
Added errors-to-stderr option.  When enabled, fatal errors
that result in the termination of the daemon will be written
to stderr.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4131 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAllow "management-client" directive to be used
james [Fri, 10 Apr 2009 21:33:14 +0000 (21:33 +0000)] 
Allow "management-client" directive to be used
with unix domain sockets.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4128 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded the ability to read the configuration file
james [Thu, 9 Apr 2009 21:11:14 +0000 (21:11 +0000)] 
Added the ability to read the configuration file
from stdin, when "stdin" is given as the config
file name.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4127 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoinstall-win32/buildinstaller will now always sign executable
james [Fri, 13 Feb 2009 03:36:12 +0000 (03:36 +0000)] 
install-win32/buildinstaller will now always sign executable
if SIGNTOOL is defined, even if EXTRACT_FILES is enabled.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3976 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed issue involving an #ifdef in a macro reference that breaks early gcc
james [Tue, 27 Jan 2009 21:18:51 +0000 (21:18 +0000)] 
Fixed issue involving an #ifdef in a macro reference that breaks early gcc
compilers.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3903 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoUpdated common.h types for _WIN64.
james [Tue, 27 Jan 2009 20:10:49 +0000 (20:10 +0000)] 
Updated common.h types for _WIN64.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3902 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoUpdated configure.ac to work on MinGW.
james [Tue, 27 Jan 2009 20:05:48 +0000 (20:05 +0000)] 
Updated configure.ac to work on MinGW.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3901 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed some compile-time warnings.
james [Tue, 27 Jan 2009 19:32:46 +0000 (19:32 +0000)] 
Fixed some compile-time warnings.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3900 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed some issues with C++ style comments that leaked into the code.
james [Tue, 27 Jan 2009 19:22:42 +0000 (19:22 +0000)] 
Fixed some issues with C++ style comments that leaked into the code.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3899 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc15e
james [Wed, 21 Jan 2009 16:59:41 +0000 (16:59 +0000)] 
Version 2.1_rc15e

Windows installer changes:

* ifdefed out the check Windows version code which is causing
  problems on Windows 7

* don't define SF_SELECTED if it is already defined

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3855 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoIn Windows installer generator, don't sign the installer .exe
james [Thu, 1 Jan 2009 13:50:59 +0000 (13:50 +0000)] 
In Windows installer generator, don't sign the installer .exe
if EXTRACT_FILES is defined in settings.in.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3791 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded daemon_start_time and daemon_pid environmental variables.
james [Fri, 26 Dec 2008 16:29:28 +0000 (16:29 +0000)] 
Added daemon_start_time and daemon_pid environmental variables.

In management interface, added new ">CLIENT:ESTABLISHED" notification.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3763 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed issue where SIGUSR1 restarts would fail if private
james [Thu, 25 Dec 2008 02:33:34 +0000 (02:33 +0000)] 
Fixed issue where SIGUSR1 restarts would fail if private
key was specified as an inline file.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3743 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc15b
james [Tue, 23 Dec 2008 08:16:12 +0000 (08:16 +0000)] 
Version 2.1_rc15b

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3729 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded n_clients environmental variable to information passed
james [Thu, 18 Dec 2008 09:38:11 +0000 (09:38 +0000)] 
Added n_clients environmental variable to information passed
to management interface client when management-client-auth
is enabled.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3718 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded "nclients" command to management interface to
james [Thu, 18 Dec 2008 07:57:19 +0000 (07:57 +0000)] 
Added "nclients" command to management interface to
display the current number of authenticated clients
connected to the server.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3717 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded MultiFileExtract capability to Windows Installer.
james [Mon, 1 Dec 2008 22:32:06 +0000 (22:32 +0000)] 
Added MultiFileExtract capability to Windows Installer.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3620 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded ExtractAuxFile capability to Windows Installer.
james [Sun, 30 Nov 2008 09:51:58 +0000 (09:51 +0000)] 
Added ExtractAuxFile capability to Windows Installer.

Changed Windows installer to use LZMA instead of BZIP2 compression.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3616 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded new management interface command "pid" to show the
james [Thu, 20 Nov 2008 22:37:43 +0000 (22:37 +0000)] 
Added new management interface command "pid" to show the
process ID of the current OpenVPN process (Angelo Laub).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3552 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded optional "nogw" (no gateway) flag to --server-bridge
james [Thu, 20 Nov 2008 21:02:10 +0000 (21:02 +0000)] 
Added optional "nogw" (no gateway) flag to --server-bridge
to inhibit the pushing of the route-gateway parameter to
clients.

Miscellaneous man page edits, fixed some formatting issues.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3550 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoVersion 2.1_rc15 v2.1_rc15
james [Wed, 19 Nov 2008 18:17:39 +0000 (18:17 +0000)] 
Version 2.1_rc15

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3525 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoFixed issue introduced in 2.1_rc14 that may cause a
james [Wed, 19 Nov 2008 18:07:52 +0000 (18:07 +0000)] 
Fixed issue introduced in 2.1_rc14 that may cause a
segfault when a --plugin module is used.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3524 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoAdded --tcp-nodelay option: Macro that sets TCP_NODELAY socket
james [Tue, 18 Nov 2008 05:15:22 +0000 (05:15 +0000)] 
Added --tcp-nodelay option: Macro that sets TCP_NODELAY socket
flag on the server as well as pushes it to connecting clients.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3513 e7ae566f-a301-0410-adde-c780ea21d3b5

16 years agoCleaned up man page synopsis.
james [Tue, 18 Nov 2008 03:29:44 +0000 (03:29 +0000)] 
Cleaned up man page synopsis.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3507 e7ae566f-a301-0410-adde-c780ea21d3b5