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 <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg29413.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to