Skip to contentSkip to conversation

Clarify --tmp-dir option

PATCH In review chantra 2 participants 2 messages Mar 25, 2011

lore
Share & tools
lore

chantra

author
#0 lore raw

PATCH 1/1 Clarify --tmp-dir option

---
 openvpn.8 |   17 +++++++++++++++++
 options.c |    2 +-
 2 files changed, 18 insertions(+), 1 deletions(-)
openvpn.8 +17 -0
index 4eaf0db..0340ee3 100644
@@ -2926,9 +2926,26 @@ file.
 Specify a directory
 .B dir
 for temporary files.  This directory will be used by
+openvpn processes and script to communicate temporary
+data with openvpn main process. Note that
+the directory must be writable by the OpenVPN process
+after it has dropped it's root privileges.
+
+This directory will be used by in the following cases:
+
+*
 .B \-\-client-connect
 scripts to dynamically generate client-specific
 configuration files.
+
+*
+.B OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY
+plugin hook to return success/failure via auth_control_file
+when using deferred auth method
+
+*
+.B OPENVPN_PLUGIN_ENABLE_PF
+plugin hook to pass filtering rules via pf_file
 .\"*********************************************************
 .TP
 .B \-\-hash-size r v
options.c +1 -1
index a991e05..f3ec9a3 100644
@@ -411,7 +411,7 @@ static const char usage_message[] =
   "--client-disconnect cmd : Run script cmd on client disconnection.\n"
   "--client-config-dir dir : Directory for custom client config files.\n"
   "--ccd-exclusive : Refuse connection unless custom client config is found.\n"
-  "--tmp-dir dir   : Temporary directory, used for --client-connect return file.\n"
+  "--tmp-dir dir   : Temporary directory, used for --client-connect return file and plugin communication.\n"
   "--hash-size r v : Set the size of the real address hash table to r and the\n"
   "                  virtual address table to v.\n"
   "--bcast-buffers n : Allocate n broadcast buffers.\n"
Signature · 1 line
1.7.1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · chantra
---
 openvpn.8 |   17 +++++++++++++++++
 options.c |    2 +-
 2 files changed, 18 insertions(+), 1 deletions(-)

ACK. Applied to master and beta2.2.

commit dc2ccc825c6952546132286c57b193d8bb9daacd

Author: chantra <[email protected]...>
Date:   Fri Mar 25 10:24:30 2011 +0100
    Clarify --tmp-dir option

    Signed-off-by: chantra <[email protected]...>
    Acked-By: David Sommerseth <[email protected]...>
    Signed-off-by: David Sommerseth <[email protected]...>

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2MiLQACgkQDC186MBRfrpqngCcCbFuoYg7ArkZ8OBOHqAHK+yQ 7f8AnibPUeEkbfYofkjg4O3Jk7NOgffe
=/AJw
-----END PGP SIGNATURE-----