<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi!<br>
<br>
You can force syslog-ng to close the source connections in case of a reload.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<a href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.25/administration-guide/21#TOPIC-1349365" id="LPlnk631853">https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.25/administration-guide/21#TOPIC-1349365</a><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<span>keep-alive()<br>
</span>
<div>Type: yes or no<br>
</div>
<div>Default: yes<br>
</div>
<span>Description: Specifies whether connections to sources should be closed when syslog-ng is forced to reload its configuration (upon the receipt of a SIGHUP signal).
<br>
Note that this applies to the server (source) side of the syslog-ng connections, client-side (destination) connections are always reopened after receiving a HUP signal unless the keep-alive option is enabled for the destination.</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<span>Regards,<br>
Gabor</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of johns spam <jspam@skopis.com><br>
<b>Sent:</b> Thursday, January 16, 2020 13:01<br>
<b>To:</b> Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu><br>
<b>Subject:</b> [syslog-ng] Go away</font>
<div> </div>
</div>
<div>
<div style="background-color:#FFEB9C; width:100%; border-style:solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align:left">
<span style="color:#9C6500; font-weight:bold">CAUTION:</span> This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.</div>
<br>
<div>
<div dir="auto">
<div dir="auto">Hello,</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am wondering if there is any facility to tell a client to go away? i.e.</div>
<div dir="auto"><a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhttp2.github.io%2Fhttp2-spec%2F%23GOAWAY&data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C1031a12745b94d320c7b08d79a7bfb48%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637147729626483809&sdata=W%2F3xgLLzQWAYqS4pxUwJf9QriKDI16VqvAugr8zsRjI%3D&reserved=0" originalsrc="https://http2.github.io/http2-spec/#GOAWAY" shash="tWl3/Ww5/n20TeUhuS60zBlYY6WIFvHxqTXlqJjhDMm5A9rXdBPZhc4pBrvBmXLxJx1io9vHsMTDjku+LRoXbyy5iUlCGTLiRpkYH1Qsaw9a7+56oMnw13p+9OaRCqkKyCCYcmzFYZa9vjOg3BT6l4AL+RDgbIEvJ/WovsPc15k=">https://http2.github.io/http2-spec/#GOAWAY</a></div>
<div dir="auto"><br>
</div>
<div dir="auto">I know syslog-ng is not http2 but is there any side-channel mechanism a central server can use to make a client go away?</div>
<div dir="auto"><br>
</div>
<div dir="auto">The use case I am thinking is doing a rolling restart of a pool of syslog-ng central server.</div>
<div dir="auto">I think this could also be useful to cycle connections periodically, i.e. to rebalance connections to a central server.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks</div>
<div dir="auto"><br>
</div>
</div>
</div>
</div>
</body>
</html>