]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Persist management-query-remote and proxy prompts
authorSelva Nair <selva.nair@gmail.com>
Fri, 21 Feb 2020 03:00:28 +0000 (22:00 -0500)
committerGert Doering <gert@greenie.muc.de>
Wed, 13 May 2020 14:16:36 +0000 (16:16 +0200)
commit38b46e6bf65489c2c5d75da1c02a3a1c33e6da88
treea84b76c3523c2d64aed47c98954c294dac718c84
parentcab48ad43eaba51c54fa23e55b0b2eb436dd921f
Persist management-query-remote and proxy prompts

Currently this prompt is only output once, not re-written to the
management interface when the management client connects. It is thus
not seen by a client that connects after the prompt is output or one that
disconnects and reconnects. This leads to a deadlock: the daemon waiting
for the "remote" command from the client, the latter not aware of it.

Resolve by adding the ">REMOTE" and ">PROXY" prompt to
man.persist.special_state_msg as done for other persisted prompts such
as ">PASSWORD"

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1582254028-7763-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19497.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 93ba6ccddafcc87f336f50dadde144ea4f6178ad)
src/openvpn/init.c