As it says on the lid, this is a backport of the master commit to multi.c,
to the "until 2.6" source files for separate UDP and TCP servers, mudp.c
and mtcp.c.  Verified with "run server, look at lsof -P -p $pid, send
SIGUSR1, look at lsof again" (and see the FD 0 now change roles).

..
openvpn 4513 root   0u     IPv4 61650705      0t0     UDP *:31194 
openvpn 4513 root   5r  a_inode     0,12        0    2066 inotify
openvpn 4513 root   6r  a_inode     0,12        0    2066 inotify
..

Patch has been applied to the release/2.6 and release/2.5 branches.

(It would apply and bugfix release/2.4 as well, but this is *so* out
of maintenance that I did do this.  2.3.x does not have inotify
support yet)

commit 172fe07129f02be2d3e6779c632ed1e8081c412c (release/2.6)
commit 477775b032c2c47322d1453bdfff11b607fbac91 (release/2.5)
Author: Gert Doering
Date:   Wed Jan 28 16:06:35 2026 +0100

     tunnel_server_*(): close correct inotify fd

     Signed-off-by: Gert Doering <[email protected]>
     Acked-by: Arne Schwabe <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1499
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg35493.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