OpenVPN Radius Plugin

Job ID: 37338986

Budget: €50 – €500 EUR

Hello,

I am using OpenVPN version 2.4.12 on CentOS 8, and I'm utilizing this plugin for connecting it to RADIUS: https://www.nongnu.org/radiusplugin/radiusplugin_v2.1a_beta1.tar.gz

However, there is an issue where when the requests to the server increase, the connected clients experience a significant packet loss. This occurs because the plugin doesn't execute asynchronously, and authentication requests are not handled in a deferred manner.

A solution for this problem has been presented in this article:
https://engineering.freeagent.com/2017/05/22/external-authentication-scripts-in-openvpn-the-right-way/

Now, I need to implement the changes in the OpenVPN RADIUS plugin according to the solution provided in the mentioned article to resolve this issue. It's crucial that these changes are made in a way that doesn't introduce any new bugs in other parts of the plugin.

Additionally, if you have previously designed a custom plugin for connecting OpenVPN to RADIUS and it doesn't exhibit the issues mentioned, I would appreciate receiving some information about it and any advantages it offers compared to the current plugin.

Thank you.
Related categories: C Programming Python Linux C++ Programming OpenVPN