openvpn-python-plugin
openvpn-python-plugin copied to clipboard
Runs python3 interpreter inside OpenVPN process in a persistent manner to answer it's plug-in calls.
There is a problem with building code on OpenBSD: ``` -> % uname -a OpenBSD openvpn1 7.0 GENERIC.MP#232 amd64 -> % make rm -f openvpn-plugin-python.so CFLAGS="-Wall -I/usr/local/lib/" ./setup.py build running...
I'm trying to build on Ubuntu 20.04 with Python 3.8 and gcc 9.4 The first problem I had was interpreting warnings as errors: ``` openvpn-plugin-python.c: In function ‘openvpn_plugin_func_v3’: openvpn-plugin-python.c:230:51: warning:...
As of 3.10, Py_DecodeLocale must not be called before some preinitialization is done.