Opened 10 years ago

Last modified 2 years ago

#420 assigned Feature Wish

plugin API: allow for temporary failure

Reported by: AL13N Owned by: David Sommerseth
Priority: major Milestone:
Component: Generic / unclassified Version:
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

I notice in the plugin api that we can only return success and failure, not something like temporary failure (retry later).

the idea is that you want auth-retry to be none, because you don't want clients to keep retrying when they are set with wrong passwords.

however, when you need maintenance on your ldap server (with the auth-ldap) plugin, or via the verify script, and you turn off the ldap server for a few minutes, reconnects of existing tunnels will fail and exit.

i like the plugin api (and the verify script) to be able to return a 3rd state (temporary failure), which still registers as failed, but still allows the authentication to retry after some time, even if the auth-retry is off.

This allows for example: maintenance on an authentication server, where clients don't automatically re-authenticate.

Change History (3)

comment:1 Changed 9 years ago by Samuli Seppänen

Owner: set to David Sommerseth
Status: newassigned
Version: 2.2.2

comment:2 Changed 9 years ago by Samuli Seppänen

Dazo: any thoughts on this?

comment:3 Changed 2 years ago by ruskenigmatic

lease see attached "ovpn_enterpass.png" file.
As can be seen, the cursor is pointing to the left, meaning input language is now Hebrew. Requiring switching back to https://www.edusurf.org/ every time I need to enter a password.
The input language should default to English or at least the "System Default" which is English in my case, see the cp_input_lang.png file for my language setting

Version 0, edited 2 years ago by ruskenigmatic (next)
Note: See TracTickets for help on using tickets.