]> 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 13:33:48 +0000 (15:33 +0200)
commit93ba6ccddafcc87f336f50dadde144ea4f6178ad
tree089f17b629038cfe0f09ccaa5afd03649d7bc8a2
parenta88504010466dd5f5e0eabefd487036082444426
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>
src/openvpn/init.c