The interesting part in this is the change to socket_set_buffers(),
introducing an "increase only" flag to avoid accidentially reducing
socket buffers (which happens when people use --sndbuf with a smaller
buffer size than the socket already has...) - sndbuf/rcvbuf behaviour
is not change, but for the newly created socketpair(), this is "increase
to 64k, or leave at already-larger value"...

Sanity check via a local FreeBSD test run (with lwipovpn) and a GHA run.

Your patch has been applied to the master branch.

commit bae48c1d58d5592ffecca8a490c2440ec3afe959
Author: Arne Schwabe
Date:   Wed Sep 25 08:30:16 2024 +0200

     Ensure that the AF_UNIX socket pair has at least 65k of buffer space

     Signed-off-by: Arne Schwabe <a...@rfc2549.org>
     Acked-by: Gert Doering <g...@greenie.muc.de>
     Message-Id: <20240925063016.22532-1-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29413.html
     Signed-off-by: Gert Doering <g...@greenie.muc.de>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to