On 20/01/17 08:30, Gert Doering wrote: > Hi, > > On Thu, Jan 19, 2017 at 07:25:28PM -0500, Selva Nair wrote: >> I would be interested in this too, but how do you trigger a reconnect from >> the server side? I only know "client-kill CID" or "kill cn" but the client >> will not notice that until keep-alive timeout which would cause a long >> disruption. Is it possible to send a sigusr1 restart to the client from >> server? > > doc/management-notes.txt fails to mention this, but the code says > > msg(M_CLIENT, "client-kill CID [M] : Kill client instance CID with > messag > e M (def=RESTART)"); > > ... so client-kill *should* do the right thing: tell the client "come back > right away" (RESTART). There also is "RESTART,[N]" which I understand to > be "restart, but use the next server in your list" and "HALT", which is > "kill yourself".
[...snip...] > ... and that sounds exactly like what you're asking for :-) Yepp! That is my understanding of this too. > (And update to doc/management-notes.txt might be a good thing... I'll give it a shot soonish. > David, > I think you understand the management interface on the server side best Ouch ............... ;-) > - > is anything else missing there?) In regards to client-kill, I don't think so. But if starting to fine-read the source code, we might, as we so often do, discover new and unknown features ... so most likely something is missing in there ;-) -- kind regards, David Sommerseth
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users