]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Trigger a USR1 if dco_update_keys fails
authorArne Schwabe <arne@rfc2549.org>
Tue, 13 Dec 2022 22:54:29 +0000 (23:54 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 14 Dec 2022 07:58:12 +0000 (08:58 +0100)
commit419051c96e9fb1f3202fd67733aa3b6a4bbc3181
treecd471bf25e007f2a8d6b8aedf833575e966705f8
parent63f838e384df3fb644bdeae6ede777b54dc968db
Trigger a USR1 if dco_update_keys fails

When dco_update_keys fails, we are in some weird state that we are
unlikely to recover since what userspace and kernel space think of
the keys is very likely to not in sync anymore. So abandon the
connection if this happens.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20221213225430.1892940-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25679.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c
src/openvpn/dco.h
src/openvpn/forward.c