It turned out the the rule was fine, however for some reason the file wants to see a CR/LF at the end of the rule, even if it&#39;s the only rule.<br><br>Thanks,<br><br>Denis<br><br><div><span class="gmail_quote">On 11/1/07, 
<b class="gmail_sendername">Ross Boylan</b> &lt;<a href="mailto:ross@biostat.ucsf.edu">ross@biostat.ucsf.edu</a>&gt; 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, 2007-11-01 at 09:53 -0600, Denis Dimick wrote:<br>&gt; I&#39;m a newbe to logcheck and need some help writing a rule.<br>&gt;<br>&gt; Here&#39;s the output I&#39;m trying to&nbsp;&nbsp;block:<br>&gt;<br>&gt; Nov&nbsp;&nbsp;1 09:11:52 m0n0wall ipmon[79]: 09:11:
52.330133 xl0 @100:3 p<br>&gt; <a href="http://192.168.2.201">192.168.2.201</a>,1900 -&gt; <a href="http://239.255.255.250">239.255.255.250</a>,1900 PR udp len 20 291 K-S IN<br>&gt;<br>&gt; And here&#39;s my rule in /etc/logcheck/violations.ignore.d/local-m0n0
<br>violations only refers to items caught by the &quot;serious&quot; filters.<br>Probably you should put the file in ignore.d.server or one of the other<br>ignore.d.* directories, depending on what level you think should have
<br>this filtered out.<br>&gt;<br>&gt; ^\w{3} [ :0-9]{11} m0n0wall ipmon\[[0-9]+\]:<br>&gt; [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6} xl0 @100:3 p<br>&gt; 0-9]\.[0-9]\.[0-9]\.[0-9],1900 -&gt; [0-9]\.[0-9]\.[0-9]\.[0-9],1900 PR<br>
&gt; udp le9n 20 291 K-S IN$<br>&gt;<br>&gt; The rule is on one line in the single file (it&#39;s the only rule in the<br>&gt; file)<br>&gt;<br>&gt; I&#39;ve tested it using:<br>&gt;<br>&gt; sed -e &#39;s/[[:space:]]*$//&#39; /var/log/syslog | egrep &#39;^\w{3} [ :0-9]{11}
<br>&gt; m0n0wall ipmon\[[0-9]+\]: [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6} xl0<br>&gt; @100:3 p 0-9]\.[0-9]\.[0-9]\.[0-9],1900 -&gt;<br>&gt; [0-9]\.[0-9]\.[0-9]\.[0-9],1900 PR udp le9n 20 291 K-S IN$&#39;<br>&gt;<br>&gt; and it prints out the data I wish to block.
<br><br>&gt; Anyone have any ideas?<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Denis<br>&gt;<br>&gt; _______________________________________________<br>&gt; Logcheck-users mailing list<br>&gt; <a href="mailto:Logcheck-users@lists.alioth.debian.org">
Logcheck-users@lists.alioth.debian.org</a><br>&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/logcheck-users">http://lists.alioth.debian.org/mailman/listinfo/logcheck-users</a><br></blockquote></div><br>