]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_ovpn: remove incorrect rounding up of packet sizes
authorKristof Provost <kp@FreeBSD.org>
Wed, 21 Sep 2022 10:17:34 +0000 (12:17 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 21 Sep 2022 19:44:59 +0000 (21:44 +0200)
commit9dfbbc919fd768cff8079af1e458d2c5d5211690
tree81612e4bc913c8e4d9cd45f896e466a479aff4e9
parent8ea48fc59eaf475aa7d92f07db9b36370c349f3f
if_ovpn: remove incorrect rounding up of packet sizes

The ciphers used by OpenVPN (DCO) do not require data to be block-sized.
Do not round up to AES_BLOCK_LEN, as this can lead to issues with
fragmented packets.

Reported by: Gert Doering <gert@greenie.muc.de>
Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/net/if_ovpn.c