[syslog-ng] Syntax error when using the tcp-keep-alive() option

Jonathan Turner jt at jtnet.co.uk
Fri Dec 22 00:13:51 CET 2006


Hi there,

I'm working on using syslog-ng within our environment mainly due to the
ability to use syslog with tcp. I will be traversing firewalls and therefore
the tcp-keep-alive() option is vital for me. However when I try to turn this
on in my tcp source it gives me a syntax error. I have pasted in the
relevant part of the config below. I'm pretty sure I have it right. The
strange thing is that when I search the source code for the option I can't
find anything as if it has been removed from version 2.0 (the version I'm
using).

Does anyone know what may have happened to the tcp-keep-alive option in
version 2.0 and, if I'm right and it isn't there, what are the options in
syslog-ng that I could use to prevent the sessions timing out on firewalls?

source testsrc {
 tcp( ip(0.0.0.0) port(5514)
 max-connections(300)
 keep-alive(yes)
 tcp-keep-alive(yes)
 );
};

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20061221/358769a9/attachment.html


More information about the syslog-ng mailing list