]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Clarify --tmp-dir option
authorchantra <chantra@debuntu.org>
Fri, 25 Mar 2011 09:24:30 +0000 (10:24 +0100)
committerDavid Sommerseth <davids@redhat.com>
Fri, 25 Mar 2011 12:20:52 +0000 (13:20 +0100)
Signed-off-by: chantra <chantra@debuntu.org>
Acked-By: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
(cherry picked from commit dc2ccc825c6952546132286c57b193d8bb9daacd)

openvpn.8
options.c

index 182e5d52ab37d47556067fb6e94ff6d3f809fdf1..a0e2b076b835b20fc4f2fdc01ec31aaa3c1ecabd 100644 (file)
--- a/openvpn.8
+++ b/openvpn.8
@@ -2928,9 +2928,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
index f4eeaee23b4fb4f78f7e6084defaec5db0a093e1..36e83933960b95973d83a9b0a5bec3059af8d124 100644 (file)
--- a/options.c
+++ b/options.c
@@ -412,7 +412,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"