Cool thanks.<br><br><div><span class="gmail_quote">On 22/12/06, <b class="gmail_sendername">Balazs Scheidler</b> <<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2006-12-21 at 23:13 +0000, Jonathan Turner wrote:<br>> Hi there,<br>><br>> I'm working on using syslog-ng within our environment mainly due to<br>> the ability to use syslog with tcp. I will be traversing firewalls and
<br>> therefore the tcp-keep-alive() option is vital for me. However when I<br>> try to turn this on in my tcp source it gives me a syntax error. I<br>> have pasted in the relevant part of the config below. I'm pretty sure
<br>> I have it right. The strange thing is that when I search the source<br>> code for the option I can't find anything as if it has been removed<br>> from version 2.0 (the version I'm using).<br>><br>
> Does anyone know what may have happened to the tcp-keep-alive option<br>> in version 2.0 and, if I'm right and it isn't there, what are the<br>> options in syslog-ng that I could use to prevent the sessions timing
<br>> out on firewalls?<br>><br>> source testsrc {<br>> tcp( ip(<a href="http://0.0.0.0">0.0.0.0</a>) port(5514)<br>> max-connections(300)<br>> keep-alive(yes)<br>> tcp-keep-alive(yes)<br>> );
<br>> };<br><br>As syslog-ng 2.0 was forked earlier than tcp-keep-alive option was<br>added, this missing keyword was missed.<br><br>I've now committed an implementation of a so_keepalive option (renamed<br>for consistency), but an obsolete tcp-keep-alive() keyword was also
<br>added for compatibility.<br><br>It should be available in tomorrow's snapshot.<br><br>--<br>Bazsi<br><br></blockquote></div><br>