]> 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 08:01:20 +0000 (09:01 +0100)
commit238ac1785f08e4cde4c095629c94f2b9bcc977fa
tree5186d8c1fb0cfc1d5e818721a0fb5afea82ed7a0
parent8910b5b6028ee0feb9c324b1baf137cae5b4d9bd
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>
(cherry picked from commit 419051c96e9fb1f3202fd67733aa3b6a4bbc3181)
src/openvpn/dco.c
src/openvpn/dco.h
src/openvpn/forward.c