]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Error out if both remap-usr1 SIGHUP and config stdin are used
authorArne Schwabe <arne@rfc2549.org>
Fri, 22 Jul 2022 13:02:24 +0000 (15:02 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 22 Jul 2022 13:10:00 +0000 (15:10 +0200)
commit4df50030fb7ef8b36fa7a6ef451603263c760f11
tree7fed50679bb537fc2cdd882d0ec31c8557ead5af
parentabceec65daed9aa6359314a0243246acc1cc25bf
Error out if both remap-usr1 SIGHUP and config stdin are used

OpenVPN for Android uses config stdin to avoid writing the config
file containing private keys to 'disk'. However using stdin means
that config cannot be reread using SIGHUP. While there might be other
corner cases that trigger SIGHUP, this is an obvious one, so we
error out if we detect this misconfiguration.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220722130224.2442759-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24720.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c