<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Have a requirement to convert all incoming syslogs to SNMP traps and send it to another host. One option I could think of is to use program () destination.</DIV>
<DIV> </DIV>
<DIV>When I tried this option, I find that syslog-ng is <SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">continuously sending newline characters to the specified program. i.e. even when no syslog is received, syslog-ng seems to be pumping newline chars to the specified program.</SPAN></DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"></SPAN> </DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Also I read the warning message in admin guide that, it will open up the door to DOS attack.</SPAN></DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"></SPAN> </DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Could someone let me know the best way to achieve this, please ?</SPAN></DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"></SPAN> </DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Thanks in advance for the help.</SPAN></DIV>
<DIV><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">John</SPAN></DIV></td></tr></table><br>