0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00
Commit Graph

194 Commits

Author SHA1 Message Date
james
0039dd4046 Cleaned up Windows build scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1763 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-07 07:08:49 +00:00
james
54e2ebca24 Forgot to svn add buildinstaller before last commit.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1762 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 12:06:57 +00:00
james
e5514a90c4 ./domake-win will now do a full build of the installer
from source.



git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1761 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 11:37:47 +00:00
james
a4d3945020 Added maketapinstall.
Added makebin to build bin directory.

Modified openvpn.nsi to read distribution
files from the new locations.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1760 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 10:49:18 +00:00
james
af897cabdc Added maketap and signtap scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1759 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 09:40:31 +00:00
james
d6d79149fa Added service configuration to install-win32/winconfig
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1758 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 07:15:25 +00:00
james
f9ad66c789 Changes to Windows build environment, to allow straightforward building
directly from an svn checkout or export.

install-win32/version.nsi contains high-level version info.

The script install-win32/winconfig should be run initially to set up
build configuration files.

Then make can be executed as such:

   . autodefs/nsidefs.sh
   make -f makefile.w32 -j 2


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1757 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-06 06:48:09 +00:00
james
c833aa11d2 Allow installation of TAP-Win64
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1755 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-05 22:30:52 +00:00
james
89dc6e77c7 TAP driver fix for Vista x64 BSOD.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1754 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-05 20:44:08 +00:00
james
3038f342dc Include tap.cat (TAP driver catalog file) in Windows
installer.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1753 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-03-05 20:36:31 +00:00
james
bc27ad47d6 Version 2.1_rc2 released
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1750 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-02-28 09:50:11 +00:00
james
384fd1376b On Windows, revert to "ip-win32 dynamic" as the default.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1749 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-02-28 03:57:41 +00:00
james
94a4350003 Worked around an incompatibility in the Windows Vista
version of CreateIpForwardEntry as described in
http://www.nynaeve.net/?p=59
This issue would cause route additions using the
IP Helper API to fail on Vista.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1748 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-02-28 03:49:33 +00:00
james
3a79e2e10c The Windows version will now use a default route-delay
of 5 seconds to deal with an apparent routing table race
condition on Vista.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1747 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-02-27 23:51:27 +00:00
james
ee313a978f Renamed TAP-Win32 driver from tap0801.sys to tap0901.sys
to reflect the fact that Vista has blacklisted the tap0801.sys
file name due to previous compatibility issues which have now
been resolved.  TAP-Win32 major/minor version number is now 9/1.

Windows installer will delete a previously installed
tap0801.sys TAP driver before installing tap0901.sys.

Added code to Windows installer to fail gracefully on 64 bit
installs until 64-bit TAP driver issues can be resolved.

Added code to Windows installer to fail gracefully on
versions of Windows which are not explicitly supported.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1746 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-02-27 23:29:17 +00:00
james
9696719a37 --reneg-sec clarification in man page.
Should be added to 2.0.x branch as well.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1606 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-12-24 10:38:56 +00:00
james
d3a142f9c7 Interim snapshot 2.1_rc1c
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1541 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-12-05 08:19:06 +00:00
james
3710e66e6c updated valgrind-suppress for OpenSSL 0.9.8
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1494 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-23 22:15:52 +00:00
james
2a64816b39 Fixed issue where struct env_set methods that
change the value of an existing name=value pair
would delay the freeing of the memory held by
the previous name=value pair until the underlying
client instance object is closed.

This could cause a server that handles long-term
client connections, resulting in many periodic calls
to verify_callback, to needlessly grow the env_set
memory allocation until the underlying client instance
object is closed.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1493 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-23 22:05:14 +00:00
james
c589d2814f Interim snapshot 2.1_rc1b
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1461 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-13 10:54:13 +00:00
james
5b7f147e3b Revert TAP-Win64 binaries to tapbin64-0801
in prebuild script.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1460 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-13 10:51:35 +00:00
james
5f31881ec1 New try at AUTO_USERID.
Implemented AUTO_USERID using
MD5(MAC address(primary network adapter)).
Currently implemented for Linux and Windows.

Basically if ENABLE_AUTO_USERID is defined,
the --auth-user-pass option will not prompt
for username/password, but will rather generate
a unique username and blank password.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1459 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-13 09:44:10 +00:00
james
2c21891ec1 Attempt at rational signal handling when in the
management hold state.

During management hold, ignore SIGUSR1/SIGHUP signals
thrown with the "signal" command.

Also, "signal" command will now apply remapping as
specified with the --remap-usr1 option.

When a signal entered using the "signal" command from a management
hold is ignored, output:

>HOLD:Waiting for hold release


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1458 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-13 09:31:40 +00:00
james
1f99578ce9 Backed out AUTO_USERID feature introduced in r1436.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1449 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-10 10:22:48 +00:00
james
004d8b48a8 Fixed issue where OpenVPN does not apply the --txqueuelen option
to persistent interfaces made with --mktun (Roy Marples).


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1447 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-09 09:49:14 +00:00
james
112efc71da Interim snapshot 2.1_rc1a
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1441 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-08 11:10:28 +00:00
james
a783c40067 Added time_ascii, time_duration, and time_unix
environmental variables for plugins and callback
scripts.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1440 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-08 06:54:20 +00:00
james
2270775d8c Added #ifdefed out AUTO_USERID feature.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1436 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-08 04:02:56 +00:00
james
1406db559b PROTO_TCPv4 is never used as an index into
proto_overhead, however this should be fixed.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1434 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-08 01:05:19 +00:00
james
9913894f53 Fixed typo in tapdrvr.c -- the fix is functionally cosmetic
because NdisFreeSpinLock is a null macro.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1429 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-02 03:01:16 +00:00
james
7d770f1e8d SO_REUSEADDR should not be set on Windows TCP sockets because
it will cause bind to succeed on port conflicts.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1428 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-01 21:21:01 +00:00
james
225d5fe945 Prevent SIGUSR1 or SIGHUP from causing program
exit from initial management hold.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1427 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-01 21:10:56 +00:00
james
5b78d4d0e3 auth-pam change: link with -lpam rather
than dlopen (Roy Marples).


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1421 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-01 04:58:01 +00:00
james
1d89886e00 Merged Alon's branch:
svn merge -r1322:1392 https://svn.openvpn.net/projects/openvpn/contrib/alon/21rc/openvpn .

Version 2.1_rc1 released


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1420 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-11-01 00:07:21 +00:00
james
2345908810 Version 2.1_beta16 released
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1335 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-10-01 12:53:33 +00:00
james
06e022a48c For Windows build, updated OpenSSL to 0.9.7l.
Added small OpenSSL patch to be applied
prior to Windows build.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1328 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-10-01 11:19:31 +00:00
james
1e2f621ea8 Documented --socket-flags and the TCP_NODELAY flag.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1276 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-09-21 07:18:54 +00:00
james
00dd92d081 ChangeLog edits for r1229 and r1230.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1231 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-09-14 02:53:26 +00:00
james
08e37a196b Fixed bug in loopback self-test introduced
in 2.1-beta15 where self test as invoked by
"make check" would not properly exit after
2 minutes (Paul Howarth).


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1230 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-09-14 02:42:12 +00:00
james
d1270d07b2 TAP-Win32 fixes to run on Windows Vista.
Modified installer to detect 32-bit vs.
64 bit Windows and install the correct TAP
driver.

TAP-Win32 version number is at 8.4.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1229 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-09-14 02:18:40 +00:00
james
414f30d580 Version 2.1_beta15 released
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1226 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-09-12 10:10:57 +00:00
james
adff31cc32 Comment about assertion being hit.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1079 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-07-03 19:54:17 +00:00
james
ff0c034d34 Fixed bug introduced with the --port-share directive
back in r893 which causes TLS soft resets
(1 per hour by default) in TCP server mode to force
a blockage of tunnel packets and later time-out and
restart the connection. 


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1076 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-30 04:13:44 +00:00
james
faffc76117 pkcs11 changes:
-r 1046:1053 https://svn.openvpn.net/projects/openvpn/contrib/alon/BETA21

1. Modified ssl.c to not FATAL and return to init.c so auth-retry will work.
2. Modifed pkcs11-helper.c to fix some problem with multiple providers.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1070 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-29 19:33:09 +00:00
james
e482a63238 Added two new management states:
OPENVPN_STATE_RESOLVE      -- DNS lookup */
  OPENVPN_STATE_TCP_CONNECT  -- Connecting to TCP server

Echo management state change to log.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1068 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-29 18:57:21 +00:00
james
6c29814b4b Minor syshead.h change for NetBSD to allow
TCP_NODELAY flag to work.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1060 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-28 03:08:19 +00:00
james
ff51355dd1 Removed 'keywords' propset from everything
except ChangeLog.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1050 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-26 02:47:53 +00:00
james
64780a92e3 Removed spurious executable propset from
several source files.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1048 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-26 01:35:18 +00:00
james
d3ad45706a Modified --port-share code to remove the assumption that
CMSG_SPACE always evaluates to a constant, to enable
compilation on NetBSD and possibly other BSDs as well.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1041 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-24 08:10:10 +00:00
james
dcc0b2447e Eliminated gcc 3.3.3 warnings on NetBSD
when ./configure --enable-strict is used.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1040 e7ae566f-a301-0410-adde-c780ea21d3b5
2006-06-24 08:04:42 +00:00