[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] Go away
From:       "Gabor Nagy (gnagy)" <Gabor.Nagy () oneidentity ! com>
Date:       2020-01-16 12:12:55
Message-ID: MN2PR19MB2670CE67B81E7A81301B84C681360 () MN2PR19MB2670 ! namprd19 ! prod ! outlook ! com
[Download RAW message or body]

Hi!

You can force syslog-ng to close the source connections in case of a reload.
https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.25/administration-guide/21#TOPIC-1349365


keep-alive()
Type: yes or no
Default: yes
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). 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.

Regards,
Gabor
________________________________
From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of johns spam \
                <jspam@skopis.com>
Sent: Thursday, January 16, 2020 13:01
To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng] Go away

CAUTION: 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.

Hello,

I am wondering if there is any facility to tell a client to go away? i.e.
https://http2.github.io/http2-spec/#GOAWAY<https://nam05.safelinks.protection.outlook. \
com/?url=https%3A%2F%2Fhttp2.github.io%2Fhttp2-spec%2F%23GOAWAY&data=02%7C01%7Cgabor.n \
agy%40oneidentity.com%7C1031a12745b94d320c7b08d79a7bfb48%7C91c369b51c9e439c989c1867ec6 \
06603%7C0%7C0%7C637147729626483809&sdata=W%2F3xgLLzQWAYqS4pxUwJf9QriKDI16VqvAugr8zsRjI%3D&reserved=0>


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?

The use case I am thinking is doing a rolling restart of a pool of syslog-ng central \
server. I think this could also be useful to cycle connections periodically, i.e. to \
rebalance connections to a central server.

Thanks


[Attachment #3 (text/html)]

<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 \
&lt;syslog-ng-bounces@lists.balabit.hu&gt; on behalf of johns spam \
&lt;jspam@skopis.com&gt;<br> <b>Sent:</b> Thursday, January 16, 2020 13:01<br>
<b>To:</b> Syslog-ng users' and developers' mailing list \
&lt;syslog-ng@lists.balabit.hu&gt;<br> <b>Subject:</b> [syslog-ng] Go away</font>
<div>&nbsp;</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.i \
o%2Fhttp2-spec%2F%23GOAWAY&amp;data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C1031a1274 \
5b94d320c7b08d79a7bfb48%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637147729626483809&amp;sdata=W%2F3xgLLzQWAYqS4pxUwJf9QriKDI16VqvAugr8zsRjI%3D&amp;reserved=0" \
originalsrc="https://http2.github.io/http2-spec/#GOAWAY" \
shash="tWl3/Ww5/n20TeUhuS60zBlYY6WIFvHxqTXlqJjhDMm5A9rXdBPZhc4pBrvBmXLxJx1io9vHsMTDjku \
&#43;LRoXbyy5iUlCGTLiRpkYH1Qsaw9a7&#43;56oMnw13p&#43;9OaRCqkKyCCYcmzFYZa9vjOg3BT6l4AL&#43;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>


[Attachment #4 (unknown)]

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic