0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/ssl
Antonio Quartulli e7badefd70
proto.hpp/tls-crypt: fix access to ACK IDs during packet validation
Due to a typ0 in the validate_tls_crypt() function,
ack_skip() is invoked with the not-yet decrypted packet
as argument instead of the decrypted one.

This leads to buffer exceptions, becuse ack_skip() will
read a bogus ACK array length instead of the proper value.

This bug may lead to renegotiations issues on clients
due to a forced rejection of soft-reset packets in
proto.hpp:control_net_recv().

Fix the issue by passing the proper packet buffer to
ack_skip().

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2018-03-10 02:28:33 +08:00
..
datalimit.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
is_openvpn_protocol.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
kuparse.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
mssparms.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
nscert.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
peerinfo.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
proto_context_options.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
proto.hpp proto.hpp/tls-crypt: fix access to ACK IDs during packet validation 2018-03-10 02:28:33 +08:00
protostack.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
psid.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
sslapi.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
sslchoose.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
sslconsts.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
ssllog.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
tls_cert_profile.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
tls_remote.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
tlsprf.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
tlsver.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00