]> git.ipfire.org Git - thirdparty/openvpn.git/log
thirdparty/openvpn.git
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

16 years agoMinor options check fix: --no-name-remapping is a
james [Tue, 18 Nov 2008 03:24:32 +0000 (03:24 +0000)] 
Minor options check fix: --no-name-remapping is a
server-only option and should therefore generate an
error when used on the client.

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

16 years agoAdded server-side --opt-verify option: clients that connect
james [Tue, 18 Nov 2008 03:22:52 +0000 (03:22 +0000)] 
Added server-side --opt-verify option: clients that connect
with options that are incompatible with those of the server
will be disconnected.

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

16 years agoAdded --prng option to control PRNG (pseudo-random
james [Tue, 18 Nov 2008 01:25:05 +0000 (01:25 +0000)] 
Added --prng option to control PRNG (pseudo-random
number generator) parameters.  In previous OpenVPN
versions, the PRNG was hardcoded to use the SHA1
hash.  Now any OpenSSL hash may be used.  This is
part of an effort to remove hardcoded references to
a specific cipher or cryptographic hash algorithm.

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

16 years agoVersion 2.1_rc14 v2.1_rc14
james [Mon, 17 Nov 2008 04:41:05 +0000 (04:41 +0000)] 
Version 2.1_rc14

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

16 years ago* Added additional method parameter to --script-security to preserve
james [Mon, 17 Nov 2008 04:28:07 +0000 (04:28 +0000)] 
* Added additional method parameter to --script-security to preserve
  backward compatibility with system() call semantics used in OpenVPN
  2.1_rc8 and earlier.  To preserve backward compatibility use:

    script-security 3 system

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

16 years agoInterim release.
james [Sun, 16 Nov 2008 19:51:24 +0000 (19:51 +0000)] 
Interim release.
Version 2.1_rc13b

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

16 years agoMinor fix to previous commit (r3476).
james [Wed, 5 Nov 2008 17:28:09 +0000 (17:28 +0000)] 
Minor fix to previous commit (r3476).

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

16 years agoAdded config file option "setenv FORWARD_COMPATIBLE 1" to relax
james [Tue, 4 Nov 2008 21:42:56 +0000 (21:42 +0000)] 
Added config file option "setenv FORWARD_COMPATIBLE 1" to relax
config file syntax checking to allow directives for future OpenVPN
versions to be ignored.

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

16 years agoFixed revoke-full to deal with issue arising from addition
james [Mon, 3 Nov 2008 13:11:23 +0000 (13:11 +0000)] 
Fixed revoke-full to deal with issue arising from addition
of KEY_NAME environmental variable parameter to openssl.cnf

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

16 years agoFixed some ifconfig-pool issues that precluded
james [Mon, 3 Nov 2008 13:07:33 +0000 (13:07 +0000)] 
Fixed some ifconfig-pool issues that precluded
it from being combined with --server directive.

Now, for example, we can configure thusly:

  server 10.8.0.0 255.255.255.0 nopool
  ifconfig-pool 10.8.0.2 10.8.0.99 255.255.255.0

to have ifconfig-pool manage only a subset
of the VPN subnet.

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

16 years agoUpdated docs to reflect the addition of
james [Fri, 31 Oct 2008 07:13:54 +0000 (07:13 +0000)] 
Updated docs to reflect the addition of
--status-version 3.

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

16 years agoAdded --no-name-remapping option to allow Common Name, X509 Subject,
james [Fri, 31 Oct 2008 07:04:51 +0000 (07:04 +0000)] 
Added --no-name-remapping option to allow Common Name, X509 Subject,
and username strings to include any printable character including
space, but excluding control characters such as tab, newline, and
carriage-return.

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

16 years agoAdded --status-version 3 which is the same as version 2
james [Fri, 31 Oct 2008 06:14:55 +0000 (06:14 +0000)] 
Added --status-version 3 which is the same as version 2
except tabs are used as delimiters instead of commas.

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

16 years agoModified pkitool to allow flexibility in separating
james [Tue, 28 Oct 2008 20:29:40 +0000 (20:29 +0000)] 
Modified pkitool to allow flexibility in separating
the Common Name convention from the cert/key filename
convention.

For example:

  KEY_CN="James's Laptop" KEY_NAME="james" ./pkitool james

will crete a client certificate/key pair of james.crt/james.key
having a Common Name of "James's Laptop" and a Name of "james".

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

16 years agoAdded man page entry for new environmental variable set
james [Tue, 28 Oct 2008 20:24:46 +0000 (20:24 +0000)] 
Added man page entry for new environmental variable set
X509_{n}_{subject_field}.

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

16 years agoAdded server-side --auth-user-pass-optional directive, to allow
james [Tue, 28 Oct 2008 20:01:05 +0000 (20:01 +0000)] 
Added server-side --auth-user-pass-optional directive, to allow
connections by clients that do not specify a username/password, when a
user-defined authentication script/module is in place (via
--auth-user-pass-verify, --management-client-auth, or a plugin module).

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

16 years agoChange to pkitool/openssl.cnf so that calling scripts can
james [Tue, 28 Oct 2008 05:42:02 +0000 (05:42 +0000)] 
Change to pkitool/openssl.cnf so that calling scripts can
set the KEY_NAME environmental variable to set the "name"
X509 subject field in generated certificates.

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

16 years agoSave X509 Subject fields to environment, using the naming convention:
james [Tue, 28 Oct 2008 05:38:55 +0000 (05:38 +0000)] 
Save X509 Subject fields to environment, using the naming convention:
  X509_{cert_depth}_{name}={value}

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

16 years agoFixed informational message in ssl.c to properly indicate
james [Mon, 27 Oct 2008 05:58:44 +0000 (05:58 +0000)] 
Fixed informational message in ssl.c to properly indicate
deferred authentication.

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

16 years agoExtended Management Interface "bytecount" command
james [Fri, 24 Oct 2008 09:21:40 +0000 (09:21 +0000)] 
Extended Management Interface "bytecount" command
to work when OpenVPN is running as a server.

Documented Management Interface "bytecount" command in
management/management-notes.txt.

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

16 years agoAdded optional files SAMPCONF_CONF2 (second sample configuration
james [Fri, 24 Oct 2008 06:04:34 +0000 (06:04 +0000)] 
Added optional files SAMPCONF_CONF2 (second sample configuration
file) and SAMPCONF_DH (Diffie-Helman parameters) to Windows
build system, and may be defined in settings.in.

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

16 years agoModified Windows domake-win build system to write all openvpn.nsi
james [Fri, 17 Oct 2008 08:15:22 +0000 (08:15 +0000)] 
Modified Windows domake-win build system to write all openvpn.nsi
input files to gen, so that gen can be disconnected from
the rest of the source tree and makensis openvpn.nsi will
still function correctly.

Added additional SAMPCONF_(CA|CRT|KEY) macros to settings.in
(commented out by default).

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

16 years agoAdded additional warning messages about --script-security 2
james [Wed, 15 Oct 2008 08:20:21 +0000 (08:20 +0000)] 
Added additional warning messages about --script-security 2
or higher being required to execute user-defined scripts or
executables.

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

16 years agoAdded AC_GNU_SOURCE to configure.ac to enable struct ucred,
james [Tue, 14 Oct 2008 05:21:51 +0000 (05:21 +0000)] 
Added AC_GNU_SOURCE to configure.ac to enable struct ucred,
with the goal of fixing a build issue on Fedora 9 that was
introduced in 2.1_rc13.

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

16 years agoVersion 2.1_rc13 v2.1_rc13
james [Wed, 8 Oct 2008 04:53:19 +0000 (04:53 +0000)] 
Version 2.1_rc13

Minor fixes to Windows build scripts.

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

16 years agoCopyright notice changed to reflect change in name of
james [Mon, 6 Oct 2008 07:33:45 +0000 (07:33 +0000)] 
Copyright notice changed to reflect change in name of
Telethra to OpenVPN Technologies.

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

16 years agoManagement interface can now listen on a unix
james [Tue, 30 Sep 2008 06:11:38 +0000 (06:11 +0000)] 
Management interface can now listen on a unix
domain socket, for example:

  management /tmp/openvpn unix

Also added management-client-user and management-client-group
directives to control which processes are allowed to connect
to the socket.

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

16 years agoVersion 2.1_rc12 v2.1_rc12
james [Tue, 23 Sep 2008 14:29:27 +0000 (14:29 +0000)] 
Version 2.1_rc12

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

16 years agoFixed --lladdr bug introduced in 2.1-rc9 where input validation code
james [Fri, 19 Sep 2008 20:12:43 +0000 (20:12 +0000)] 
Fixed --lladdr bug introduced in 2.1-rc9 where input validation code
was incorrectly expecting the lladdr parameter to be an IP address
when it is actually a MAC address (HoverHell).

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

16 years agoPatched Makefile.am so that the new t_cltsrv-down.sh script becomes
james [Mon, 15 Sep 2008 23:39:53 +0000 (23:39 +0000)] 
Patched Makefile.am so that the new t_cltsrv-down.sh script becomes
part of the tarball (Matthias Andree).

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

16 years agoVersion 2.1_rc11 v2.1_rc11
james [Mon, 15 Sep 2008 01:46:29 +0000 (01:46 +0000)] 
Version 2.1_rc11

Fixed a bug that can cause SSL/TLS negotiations in UDP mode
to fail if UDP packets are dropped.

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

16 years agoVersion 2.1_rc10 v2.1_rc10
james [Wed, 10 Sep 2008 07:16:14 +0000 (07:16 +0000)] 
Version 2.1_rc10

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