diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-05-15 01:42:03 +0300 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-06-26 11:29:02 +0200 |
commit | ce8271f5d435be963c79945f8d7eb6ea2e4369fa (patch) | |
tree | 65882d5da0481522320cb0133564db70bfce72b9 /src/plugins/down-root/README.down-root | |
parent | 8acdb7291c4cc62134624c3a61049f2ec12e3ad9 (diff) | |
download | openvpn-ce8271f5d435be963c79945f8d7eb6ea2e4369fa.tar.gz openvpn-ce8271f5d435be963c79945f8d7eb6ea2e4369fa.tar.xz openvpn-ce8271f5d435be963c79945f8d7eb6ea2e4369fa.zip |
build: integrate plugins build into core build
As disucssed[1], keep plugins in repository.
1, Proper automake/libtool build.
2. Move example plugins to samples/sample-plugins.
3. Plugins are installed at LIBDIR/openvpn/plugins.
[1] http://comments.gmane.org/gmane.network.openvpn.devel/6436
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1337035323-27465-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6591
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/plugins/down-root/README.down-root')
-rw-r--r-- | src/plugins/down-root/README.down-root | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/plugins/down-root/README.down-root b/src/plugins/down-root/README.down-root new file mode 100644 index 0000000..d337ffe --- /dev/null +++ b/src/plugins/down-root/README.down-root @@ -0,0 +1,29 @@ +down-root -- an OpenVPN Plugin Module + +SYNOPSIS + +The down-root module allows an OpenVPN configuration to +call a down script with root privileges, even when privileges +have been dropped using --user/--group/--chroot. + +This module uses a split privilege execution model which will +fork() before OpenVPN drops root privileges, at the point where +the --up script is usually called. The module will then remain +in a wait state until it receives a message from OpenVPN via +pipe to execute the down script. Thus, the down script will be +run in the same execution environment as the up script. + +BUILD + +Build this module with the "make" command. The plugin +module will be named openvpn-down-root.so + +USAGE + +To use this module, add to your OpenVPN config file: + + plugin openvpn-down-root.so "command ..." + +CAVEATS + +This module will only work on *nix systems, not Windows. |