Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 16-Mar-2022 | - | ||||
client-connect/ | H | 16-Mar-2022 | - | 652 | 414 | |
defer/ | H | 16-Mar-2022 | - | 982 | 626 | |
keying-material-exporter-demo/ | H | 16-Mar-2022 | - | 470 | 344 | |
log/ | H | 16-Mar-2022 | - | 527 | 359 | |
simple/ | H | 16-Mar-2022 | - | 361 | 172 | |
Makefile | H A D | 16-Mar-2022 | 16.5 KiB | 587 | 470 | |
Makefile.am | H A D | 16-Mar-2022 | 1.2 KiB | 35 | 7 | |
Makefile.in | H A D | 16-Mar-2022 | 16.6 KiB | 587 | 472 | |
Makefile.plugins | H A D | 16-Mar-2022 | 1,002 | 39 | 18 | |
README | H A D | 16-Mar-2022 | 1.7 KiB | 44 | 32 |
README
1OpenVPN plug-in examples. 2 3Examples provided: 4 5* authentication and logging 6simple/simple.c -- using the --auth-user-pass-verify callback, verify 7 that the username/password is "foo"/"bar". 8defer/simple.c -- using the --auth-user-pass-verify callback, 9 test deferred authentication. 10log/log.c -- Extended variant of simple/simple.c which adds more 11 logging of what is happening inside the plug-in 12log/log_v3.c -- A variant of log/log.c, which makes use of the 13 OpenVPN plug-in v3 API. This will also log even more 14 information related to certificates in use. 15 16* client-connect (and logging) 17client-connect/sample-client-connect -- demonstrate how to use the 18 CLIENT_CONNECT and CLIENT_CONNECT_V2 hooks to achieve 19 "per client configuration / logging / ..." actions, 20 both in synchronous and async/deferred mode 21 22* cryptography related 23simple/base64.c -- Example using the OpenVPN exported base64 encode/decode 24 functions 25keying-material-exporter-demo/keyingmaterialexporter.c 26 -- Example based on TLS Keying Material Exporters over HTTP [RFC-5705] 27 (openvpn/doc/keying-material-exporter.txt). For more details, see 28 keying-material-exporter-demo/README 29 30 31To build on *BSD/Linux platforms (requires GNU Make): 32 33 gmake (builds a default set of plug-ins) 34 gmake simple/simple.so 35 36To build on Windows platform (MinGW): 37 38 cd simple; ./winbuild simple.so 39 40To use in OpenVPN, add to config file: 41 42 plugin simple.so (Linux/BSD/etc.) 43 plugin simple.dll 44