0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00
openvpn/plugin/examples
Adriaan de Jong bcedab1f49 Further improvements to plugin support:
- Renamed struct entries to explicitly show them as disabled
 - Added a warning if USE_SSL is enabled, but neither ssl_verify_openssl.h or ssl_verify_polarssl.h is included
 - If neither of those files is included, disable ssl support for a plugin including openvpn-plugin.h

Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
2011-10-22 17:22:51 +02:00
..
build Fixed a bug in plugin.c that caused openvpn_plugin_client_destructor_v1 2008-05-25 22:31:25 +00:00
log_v3.c Further improvements to plugin support: 2011-10-22 17:22:51 +02:00
log.c Updated copyright date to 2010. 2010-04-28 16:31:36 +00:00
README Reverted plugin directory location. 2005-10-16 12:24:10 +00:00
simple.c Updated copyright date to 2010. 2010-04-28 16:31:36 +00:00
simple.def Reverted plugin directory location. 2005-10-16 12:24:10 +00:00
winbuild Reverted plugin directory location. 2005-10-16 12:24:10 +00:00

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)