|
From: <ope...@li...> - 2011-04-14 19:18:23
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenVPN with experimental and new features - which requires a lot of testing".
The branch, master has been updated
via 343037a99708bd7785de10cc5be37a150609bd01 (commit)
via 9b8247edf3e58893eb3ecc38dbfb2805ff1bb83d (commit)
via a18752d4febdaa91f87efcc487ac865d6587c527 (commit)
via ca4c6d618d743ec4a3b6f7ef8003d891603ec1a6 (commit)
from 9ed122efe870288ea75ee62a4eae2373a655145b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 343037a99708bd7785de10cc5be37a150609bd01
Author: Samuli Seppänen <sa...@op...>
Date: Thu Apr 14 17:43:40 2011 +0300
Fixed copying of tapinstall.exe to dist/bin when using prebuilt TAP-drivers
Signed-off-by: Samuli Seppänen <sa...@op...>
Acked-by: David Sommerseth <da...@us...>
Signed-off-by: David Sommerseth <da...@us...>
commit 9b8247edf3e58893eb3ecc38dbfb2805ff1bb83d
Author: Samuli Seppänen <sa...@op...>
Date: Thu Apr 14 17:41:23 2011 +0300
Removed Win2k from supported platforms list in INSTALL and win/openvpn.nsi
Signed-off-by: Samuli Seppänen <sa...@op...>
Acked-by: David Sommerseth <da...@us...>
Signed-off-by: David Sommerseth <da...@us...>
commit a18752d4febdaa91f87efcc487ac865d6587c527
Author: Samuli Seppänen <sa...@op...>
Date: Thu Apr 14 17:40:33 2011 +0300
Fix a bug in devcon source code handling
The win/config_ti.py build script assumes to find ../tapinstall/7600/sources.in
which does not exists in devcon.exe source code directory. This makes
config_ti.py look for ../tapinstall/7600/sources instead.
Signed-off-by: Samuli Seppänen <sa...@op...>
Acked-by: David Sommerseth <da...@us...>
Signed-off-by: David Sommerseth <da...@us...>
commit ca4c6d618d743ec4a3b6f7ef8003d891603ec1a6
Author: David Sommerseth <da...@re...>
Date: Thu Apr 14 16:21:16 2011 +0200
Change the default --tmp-dir path to a more suitable path
In commit 4e1cc5f6dda22e9 the create_temp_filename() function was
reviewed and hardened, which in the end renamed this function to
create_temp_file() in commit 495e3cec5d156.
With these changes it became more evident that OpenVPN needs a directory
where it can create temporary files. The create_temp_file() will create
such files f.ex. if --client-connect or --plugin which makes use of
the OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY hook, such as openvpn-auth-pam.so.
When this happens, OpenVPN will normally create these files in the directory
OpenVPN was started. In many cases, this will fail due to restricted access.
By using --tmp-dir and pointing it to a directory writeable to the user
running OpenVPN, it works again.
This patch makes OpenVPN use a more suitable temproary directory by default,
instead of the current working directory. On non-Windows platforms this
default value is set to '/tmp', but can be modified at compile-time by
running ./configure --with-tmp-dir-path=<TEMP DIR PATH>. On Windows, it
will use GetTempPath() to find temporary paths recommended by the OS. If
this fails, it will fallback to the old behaviour, using the directory
where OpenVPN was started.
In any cases, this default value can be overridden in the configuration
file by using the --tmp-dir option, as before.
To check what the default is at runime, you can see this easily by doing
this:
$ ./openvpn --verb 4 --dev tun | grep tmp_dir
Signed-off-by: David Sommerseth <da...@re...>
Tested-by: Jan Just Keijser <ja...@ni...>
Acked-by: Gert Doering <ge...@gr...>
-----------------------------------------------------------------------
Summary of changes:
INSTALL | 4 ++--
options.c | 18 ++++++++++++++----
win/config_ti.py | 2 +-
win/make_dist.py | 2 +-
win/openvpn.nsi | 4 +---
win32.c | 19 +++++++++++++++++++
win32.h | 3 +++
7 files changed, 41 insertions(+), 11 deletions(-)
hooks/post-receive
--
OpenVPN with experimental and new features - which requires a lot of testing
|