diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 19:34:13 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 19:34:13 +0000 |
commit | 0aee9ca7e76887fb5752c15ef63bfb7a356df06e (patch) | |
tree | bd7db9d2c4e4ef4d2cedfdef961208ebd680c2f0 /misc.c | |
parent | Rewrote extract_x509_field and modified COMMON_NAME_CHAR_CLASS (diff) | |
download | openvpn-0aee9ca7e76887fb5752c15ef63bfb7a356df06e.tar.xz |
Allow OpenVPN to run completely unprivileged under Linux
by allowing openvpn --mktun to be used with --user and --group
to set the UID/GID of the tun device node. Also added --iproute
option to allow an alternative command to be executed in place
of the default iproute2 command (Alon Bar-Lev).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2639 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,10 @@ #include "memdbg.h" +#ifdef CONFIG_FEATURE_IPROUTE +const char *iproute_path = IPROUTE_PATH; +#endif + /* Redefine the top level directory of the filesystem to restrict access to files for security */ void |