seccentral
i am using scripts on connect-disconnect
my scripts do what i want just fine, but i want to add some descriptive error messages on failure to connect for instance
Based on custom filters that exist already in the scripts, disallow connection but, besides sending an exit status of 0 to openvpn, i'd like to send a string too like "account expired" or "too many connections" or "password incorrect"
or even more code messages that would allow me as an administrator to find out more about possible problems in the infrastructure such as
client1 complains ` I have "error 2"`. now i would know that error 2 means my script can't contact the auth server and i would fix that asap. or ` I'm getting "error 3"` and i would know that he/she was trying to inject some nasty characters in the auth-user-pass popup box.
is this doable as it is ? if not, can it be implemented in the future ?