<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi.&nbsp; I&#8217;m been running syslog-ng 2.0.9 for eons, and wanted to get 3.0.2 in place, but have run into two issues.</div>
<div>&nbsp;</div>
<div>First, the prerequisite info:</div>
<div>This is on Solaris 10 x86, and I&#8217;m running the eventlog-0.2.9 component.&nbsp; It has all compiled cleanly.&nbsp; I&#8217;m using the same script to initialize syslog-ng as I was using before.&nbsp; In the conf file, added in some value() parameters on my filters, in accordance
with the 3.0 &#8220;warnings&#8221;, and added in the @version directive, but other than that, it&#8217;s essentially the same (reasonably simple) conf file I was using with my 2.0.9 version of the code.</div>
<div>&nbsp;</div>
<div>For reference, I&#8217;ve appended my conf file at the end of the email.</div>
<div>&nbsp;</div>
<div>&#8220;Generally&#8221; syslog-ng, seems to start-up fine, and does feed the output files that I&#8217;ve indicated in the conf file.&nbsp; If I didn&#8217;t &#8220;look too closely&#8221;, I would have thought it was all fine, but&#8230;</div>
<div>&nbsp;</div>
<div>My problems:</div>
<div>As part of my test environment, I&#8217;m forwarding data from another (production 2.0.9) server, to my test server, so that I can see how things are working.&nbsp; Here are some (truncated) messages, showing both the original message (as it looks in the output file
on the 2.0.9 server), and the second message being what gets written to the file by the 3.0.2 component:</div>
<div>Original:</div>
<div>May 29 09:15:05 10.132.240.25 id=firewall sn=0006B10B2E88 &lt;truncated&gt;</div>
<div>&nbsp;</div>
<div>Received and written by 3.0.2:</div>
<div>May 29 09:15:05 10.132.240.25 id=firewall: sn=0006B10B2E88 &lt;truncated&gt;</div>
<div>&nbsp;</div>
<div>So the &#8220;bug&#8221; (I assume it to be a bug) is that &#8220;colon&#8221; that is now sitting just behind the word &#8220;firewall&#8221;.&nbsp; When my test server is running a 2.0.9 daemon, these two lines match, but the 3.0.2 daemon has inserted that colon.&nbsp; I can only assume that this
is tied to a bug in the filtering activity, because if you look at my conf file, you will see these lines:</div>
<div>filter SonicWallNoise {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; match(&quot;id=firewall&quot; value(&quot;MSG&quot;)) and filter(SonicWallMsgs);</div>
<div>};</div>
<div>Bottom line, I am doing a filter that happens to &#8220;match on&#8221; that exact &#8220;firewall&#8221; string, and it seems like more than just coincidence that this is the exact location where that unwanted colon now appears.&nbsp; It seems like that filtering process has somehow
injected that character into the output.&nbsp; (Maybe I&#8217;m just missing some &#8220;new functionality or feature&#8221; in the 3.0 docs, that would intentionally cause this?)</div>
<div>&nbsp;</div>
<div>Anyway&#8230; I&#8217;m obviously looking for any input as to why this is different, and/or how to fix it (or even just work-around the problem&nbsp; until it is fixed).</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>And secondly, as my subject line implies, when I run my &#8220;/etc/init.d/syslog-ng start&#8221; scripting (the same one I&#8217;ve always used), I find, right away, that I now have two instances of syslog-ng running.&nbsp; I saw a bug report from back in 2006, mentioning a
similar behavior that was related to (I think) syslog-ng restarting itself, but that was supposedly fixed.&nbsp; I&#8217;m ass-u-me-ing that something is now causing the daemon to restart itself, but again, when I run my 2.0.9 code on place of the 3.0.2 code, I get just
the one copy running.</div>
<div>&nbsp;</div>
<div>Again, I&#8217;m looking for any guidance as to something that might be driving that behavior (and as I said, maybe it&#8217;s just something stupid on my part, because I&#8217;m missing something &#8220;new&#8221; in the 3.0 behavior).</div>
<div>&nbsp;</div>
<div>Thanks, in advance, for any help and/or guidance as to what these issues might be.&nbsp; I&#8217;m glad to provide further information if it will help.</div>
<div>&nbsp;</div>
<div><font face="Arial, sans-serif" size="2">Marvin Nipper</font></div>
<div>&nbsp;</div>
<div>syslog-ng.conf:</div>
<div>@version:3.0</div>
<div>options { dir_perm(0755); perm(0600); chain_hostnames(no);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keep_hostname(yes); log_fifo_size(1000);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dns_cache_size(5000); dns_cache_expire(86400);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dns_cache_expire_failed(86400); };</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>source any_udp { udp(); };</div>
<div>&nbsp;</div>
<div>source any_tcp { tcp(port(601)); };</div>
<div>&nbsp;</div>
<div>destination SEC {pipe(&quot;/tmp/sec&quot;); };</div>
<div>&nbsp;</div>
<div>destination routers_log {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/routers.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination ravlin_log {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/ravlin.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination windows_log {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/windows.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination workstation_log {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/workstation.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination catch-all_log {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/catch-all.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination test {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file(&quot;/var/adm/log/test.log&quot; create_dirs(yes));</div>
<div>};</div>
<div>&nbsp;</div>
<div>destination dev_null {};</div>
<div>&nbsp;</div>
<div>filter f_4 { facility(syslog) and level(info..emerg); };</div>
<div>log { source(any_udp); filter(f_4); destination(windows_log); flags(final); };</div>
<div>&nbsp;</div>
<div>filter f_1 { facility(local5) and level(debug..emerg); };</div>
<div>log { source(any_udp); filter(f_1); destination(routers_log); flags(final); };</div>
<div>&nbsp;</div>
<div>filter SonicWallNoise {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; match(&quot;id=firewall&quot; value(&quot;MSG&quot;)) and filter(SonicWallMsgs);</div>
<div>};</div>
<div>filter SonicWallMsgs {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; match(&quot;m=97&quot; value(&quot;MSG&quot;)) or match(&quot;m=98&quot; value(&quot;MSG&quot;)) or match(&quot;m=537&quot; value(&quot;MSG&quot;));</div>
<div>};</div>
<div>log { source(any_udp); filter(SonicWallNoise); destination(dev_null); flags(final); };</div>
<div>&nbsp;</div>
<div>filter f_3 { facility(local0) and level(debug..emerg); };</div>
<div>log { source(any_udp); filter(f_3); destination(ravlin_log); flags(final); };</div>
<div>&nbsp;</div>
<div>log { source(any_tcp); destination(workstation_log); flags(final); };</div>
<div>&nbsp;</div>
<div>log { source(any_udp); destination(catch-all_log); flags(final); };</div>
<div>&nbsp;</div>
</font>
</body>
</html>

<pre>
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.