]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix port-share option with TLS-Crypt v2
authorArne Schwabe <arne@rfc2549.org>
Mon, 30 Nov 2020 12:38:13 +0000 (13:38 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 4 Dec 2020 11:03:36 +0000 (12:03 +0100)
commit1387f52682dcd3789c56c9979ccedca281ff88f4
tree8b386839c2aa8e1984374d3d9c14ea5b07b76b45
parent4d307ed431bf18d554f524ebaf111f5e136147fe
Fix port-share option with TLS-Crypt v2

The port-share option assumed that all openvpn initial reset packets
are between 14 and 255 bytes long. This is not true for tls-crypt-v2.

Patch V2: use correct length for TLS-Crypt v2, use length variable
          non-tlscryptv2 test

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Steffan Karger <steffan.karger@foxcrypto.com>
Message-Id: <20201130123813.21388-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21290.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ps.c