mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-02-03 20:39:40 -05:00
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>
16 lines
365 B
Text
16 lines
365 B
Text
OpenVPN plugin examples.
|
|
|
|
Examples provided:
|
|
|
|
simple.c -- using the --auth-user-pass-verify callback, verify
|
|
that the username/password is "foo"/"bar".
|
|
|
|
To build:
|
|
|
|
./build simple (Linux/BSD/etc.)
|
|
./winbuild simple (MinGW on Windows)
|
|
|
|
To use in OpenVPN, add to config file:
|
|
|
|
plugin simple.so (Linux/BSD/etc.)
|
|
plugin simple.dll (MinGW on Windows)
|