]> 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:19:06 +0000 (13:19 +0100)
Signed-off-by: chantra <chantra@debuntu.org>
Acked-By: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
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 fca4a8e3de78fb7ec3a040c56251262b52dbf415..f4897554868405715cdaef1909a959e3ccc902fc 100644 (file)
--- a/options.c
+++ b/options.c
@@ -413,7 +413,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"