]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add workaround for Softether server dropping P_ACK_V1 with >= 5 acks
authorArne Schwabe <arne@rfc2549.org>
Wed, 31 Aug 2022 13:41:40 +0000 (15:41 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 6 Nov 2022 09:58:26 +0000 (10:58 +0100)
commit036517d5e06c1254233d51893b3a196a3cd37492
treea5608419702306783672aa2487c3df73fe3da8f6
parentc879609534e455471bc1e8091c78cbd9427d402b
Add workaround for Softether server dropping P_ACK_V1 with >= 5 acks

Softether had the number of ACKs in ANY OpenVPN packet limited to 4 and
dropped packets with more than 4 ACKs. This leads to Softether dropping
P_ACK_V1 packets with more than 4 ACKs as invalid. As the recent change
of always acking as many packets as possible, this leads to Softether
server not being able to successfully establish a connection anymore as
it never registers the ACKs.

This behaviour has been fixed on the Softether side with commit 37aa1ba5
but in order to allow clients to connect to older Softether servers, this
commit implements a workaround for the case that the peer might be a
Softether server (no tls-auth/tls-crypt and no other advanced protocol
feature) and limits ACKs to 4 in this case.

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