OpenVPN should provide hooks just like apache server. This will facilitate customization of openvpn features. One of the hooks could be post_tunnel_read_request which will be called when openvpn reads message from remote peer. One can add his own treament to message through this request.
This will greatly improve openvpn's adaptability. We can have same implementation as in apache (through modules, function registration) or we can have blank callbacks which developer can fill-in to acheieve feature enhancments. Developer should be able to write his module having implementation of various hooks and then just compile it with openvpn. Regards, Satinder Singh