* Gert Doering <g...@greenie.muc.de>:

> I actually not not have an answer to your question (not sure there is
> anything else to return today, *but* I do not understand that code
> part very well).

I was thinking along the lines of 

exit status = 0 (OK, AUTH SUCCESSFUL)
exit status = 1 (FAIL, AUTH FAILED)
exit status = 4711 (TEMPFAIL, try again later)

> I do know that explicit-exit-notify is signalled with an extra parameter
> that tells the client "reconnect" or "go to the next server"
> ("RESTART,[N]" vs. "RESTART").

Yes, that's the one!

> So, depending on your authentication, it might be an idea to "let them
> in", and then disconnect them right away (via management interface) 
> with a "client-kill cid RESTART,[N]" message.

A charme-offensive :)
 
> But, you need to talk to the management interface.

Thought so.
 
> (Maybe I'm all wrong and there is a way to send RESTART from plugin
> or scripts, and I just don't know it yet)

That would rock.
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
ralf.hildebra...@charite.de
https://www.charite.de


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to