<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<h1 style="box-sizing: border-box; margin-right: 0px; margin-bottom: 16px; margin-left: 0px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; margin-top: 0px !important;">
3.17.2</h1>
<h2 style="box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";">
Bugfixes</h2>
<ul style="box-sizing: border-box; padding-left: 2em; margin-top: 0px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; margin-bottom: 0px !important;">
<li style="box-sizing: border-box;">Fix a bug in flow-control (<a class="issue-link js-issue-link tooltipped tooltipped-ne OWAAutoLink" data-error-text="Failed to load issue title" data-id="349493098" data-permission-text="Issue title is private" href="https://github.com/balabit/syslog-ng/pull/2224" aria-label="#2224, early-ack-tracker: do not wakeup source when the ack type is SUSPENDED" style="box-sizing: border-box; background-color: transparent; color: rgb(3, 102, 214); text-decoration-line: none; " id="LPlnk756640" previewremoved="true">#2224</a>)</li><li style="box-sizing: border-box; margin-top: 0.25em;">Fix template function evaluation in debugger (<a class="issue-link js-issue-link tooltipped tooltipped-ne OWAAutoLink" data-error-text="Failed to load issue title" data-id="348348595" data-permission-text="Issue title is private" href="https://github.com/balabit/syslog-ng/pull/2220" aria-label="#2220, debugger: fix template function evaluation" style="box-sizing: border-box; background-color: transparent; color: rgb(3, 102, 214); text-decoration-line: none; " id="LPlnk393054" previewremoved="true">#2220</a>)</li></ul>
<div><br>
</div>
<div><br>
</div>
<div><a href="https://github.com/balabit/syslog-ng/releases/tag/syslog-ng-3.17.2" class="OWAAutoLink" id="LPlnk473410" previewremoved="true">https://github.com/balabit/syslog-ng/releases/tag/syslog-ng-3.17.2</a>
<div id="LPBorder_GT_15339127020650.7876627103405567" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15339127020630.6098985119501348" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_15339127020630.8669847515649647" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_15339127020630.39114905867184535" style="background-color: rgb(255, 255, 255); height: 250px; position: relative; margin: auto; display: table; width: 250px;">
<a id="LPImageAnchor_15339127020640.7618034205726878" href="https://github.com/balabit/syslog-ng/releases/tag/syslog-ng-3.17.2" target="_blank" style="display: table-cell; text-align: center;"><img id="LPThumbnailImageID_15339127020640.7589950751212737" width="250" height="250" style="display: inline-block; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" src="https://avatars1.githubusercontent.com/u/986981?s=400&v=4"></a></div>
</td>
<td id="TextCell_15339127020640.9851920307991073" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15339127020640.37555573508373197"></div>
<div id="LPTitle_15339127020640.27348367610506363" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15339127020640.9999900266767416" href="https://github.com/balabit/syslog-ng/releases/tag/syslog-ng-3.17.2" target="_blank" style="text-decoration: none;">balabit/syslog-ng</a></div>
<div id="LPMetadata_15339127020640.16763038316108392" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_15339127020650.2969903847105573" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
regards,
<div>Laszlo Budai<br>
<div style="color: rgb(0, 0, 0);">
<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 Laszlo Budai <laszlo.budai@outlook.com><br>
<b>Sent:</b> Friday, August 10, 2018 2:36 PM<br>
<b>To:</b> Syslog-ng users' and developers' mailing list<br>
<b>Subject:</b> [syslog-ng] found a release-critical bug, 3.17.2</font>
<div> </div>
</div>
<meta content="text/html; charset=iso-8859-1">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0"></p>
<div>Hi,</div>
<div><br>
</div>
<div>we are in the middle of an investigation of a partial-write issue and found a bug that can lead to message loss in some circumstances, even when reliable diskbuffer is used.</div>
<div>We marked this bug as release critical. Fortunately we fixed the issue a few minutes ago, so we are going to release 3.17.2 that contains the fix ( https://github.com/balabit/syslog-ng/pull/2224 ).</div>
<div><br>
</div>
<div><br>
</div>
<div>We don't have an automated testcase for this, actually it is in progress(this is why we didn't catch the bug), but sharing the manual reproduction:</div>
<div><br>
</div>
<div>* listen with netcat (and use pv tool to make partial write happen)</div>
<div>  nc -l 61002 | pv -L 40</div>
<div>* run syslog-ng with the following config:</div>
<div>@version: 3.17</div>
<div>options {</div>
<div>   time_reopen(3);</div>
<div>   stats_level(1);</div>
<div>};</div>
<div>source s_network {</div>
<div>   network(ip("127.0.0.1")</div>
<div>   port(5555));</div>
<div>};</div>
<div><br>
</div>
<div>destination d_network {</div>
<div>   network("127.0.0.1" disk_buffer(mem-buf-size(1000) disk-buf-size(1048576) reliable(yes) dir('/tmp/dq'))</div>
<div>   ip_protocol(4)</div>
<div>   port(6666)</div>
<div>   so-sndbuf(4096));</div>
<div>};</div>
<div><br>
</div>
<div>log {</div>
<div>  source(s_network);</div>
<div>  destination(d_network);</div>
<div><br>
</div>
<div>  flags(flow-control);</div>
<div>};</div>
<div><br>
</div>
<div>* send logs</div>
<div>  loggen -r 100000 -I 200 127.0.0.1 10001 --inet</div>
<div><br>
</div>
<div>* wait a few seconds then stop netcat</div>
<div><br>
</div>
<div>* result: syslog-ng will drops all the incoming messages</div>
<div><br>
</div>
<div><br>
</div>
<div>regards,</div>
<div>Laszlo Budai</div>
<br>
<p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>