Tested, of course :-) - with a 2.5 client, I now have

2023-08-14 11:26:27 client25 OCC exit message received by peer
2023-08-14 11:26:27 client25 SIGUSR1[soft,remote-exit] received, 
client-instance restarting

in my server logs.

With a 2.6 client, this becomes:

2023-08-14 11:29:01 client26 CC-EEN exit message received by peer
2023-08-14 11:29:01 client26 Delayed exit in 5 seconds
2023-08-14 11:29:06 client26 SIGTERM[soft,delayed-exit] received, 
client-instance exiting

(interesting that one does SIGUSR1 and the other does SIGTERM - but for
the multi server side it ends up in the same code path "clean up client
instance, done")

Patch has been applied to the master and release/2.6 branch.

commit 5f910a42b86e90f1893a668ee280422b6587ada1 (master)
commit 6e68d8c5d5304d56de588f4584e2dc6266d2f129 (HEAD -> release/2.6)
Author: Gert Doering
Date:   Mon Aug 14 08:04:09 2023 +0200

     Make received OCC exit messages more visible in log.

     Signed-off-by: Gert Doering <g...@greenie.muc.de>
     Acked-by: Frank Lichtenheld <fr...@lichtenheld.com>
     Message-Id: <20230814060409.50742-1-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26949.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