On Fri, Jun 25, 2021 at 07:07:43PM +0200, Yann RESCOURIO wrote:
Hello I use stunnel for rsyslog. And on the client equipment, I use also rsyslog queues for buffering in case of disconnection. But in case of reboot: * without stunnel, the buffered log messages are received on the rsyslog server * with stunnel, no buffered log messages are received on the rsyslog server On the client equipment, is it possible to refuse the local stunnel connections as long as the remote stunnel connection is down ?
So the short answer is "unfortunately no, this is impossible to do reliably in principle".
For a longer explanation, see my message:
https://www.stunnel.org/mailman3/hyperkitty/list/stunnel-users@stunnel.org/m...
...that was written in response to a similar question.
Sorry to be the bearer of bad news :/
G'luck, Peter