]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ignore connection attempts while server is shutting down
authorArne Schwabe <arne@rfc2549.org>
Thu, 8 Dec 2022 15:31:29 +0000 (16:31 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 12 Dec 2022 12:11:51 +0000 (13:11 +0100)
commit7d0a90335fe79a352456f262ce42ea501796ae87
treef0ddc6c9d8439ed8388dd0625ef919a56883df1e
parent0bd2fa38fb70ad9022c05ffa67b2bd8751ca5a5b
Ignore connection attempts while server is shutting down

Currently we still allow clients to connect while the server is waiting
to shut down. This window is very small (2s) and is only used when
explicit-exit-notify is enabled on the server side.

The chance of a client connecting during this time period is very low
unless someone puts something stupid like --connect-retry 1 3 into his/her
client config and forces the client to reconnect during this time period.

Github: OpenVPN/openvpn#189

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