<span class="q">Below are a couple of&nbsp; message samples:<br>
<br>
&quot;Message: %PIX-51-100908: Teardown UDP connection 30292827 for THEFORCEVPN:123.45.678.91/3130 to inside:<span style="background-color: rgb(255, 255, 0);">987.65.4.3/53</span> duration.......etc..&quot;<br>
<br>
</span><span class="q">&quot;Message: %PIX-51-070605: Teardown UDP connection 26252423 for ISSTRONGVPN:111.21.314.15/3130 to inside:<span style="background-color: rgb(255, 255, 0);"><a href="http://210.65.4.4/53">987.65.4.4/53
</a></span> duration.......etc..&quot;</span><br>
<span class="q"><br>
I am trying to match 987.65.4.3 or 987.65.4.3/53 and 987<a href="http://210.65.4.4">.65.4.4</a>. Here is my syntax:<br>
<br>
</span><span class="q">filter f_pix &nbsp; &nbsp; &nbsp; &nbsp; { match(PIX) and not match(&quot;987.65.4.3&quot;) and not match(&quot;<a href="http://210.65.4.4">987.65.4.4</a>&quot;); };<br>
<br>
Any suggestions?<br>
<br>
Thank You for your assistance!<br>
</span><span class="q"><br>
</span><span class="q">&gt;</span>match() matches the message part only, which does not include the<br>

<span class="q">&gt;</span>hostname part in the message header. If you actually copied a sample<br>

<span class="q">&gt;</span>message it would be easier to help out, and you have a much better<br>

<span class="q">&gt;</span>chance to receive messages on the syslog-ng mailing list. Lots of<span class="q"></span><br>

<span class="q">&gt;</span>helpful folks there, I'm sometimes unable to respond for days. :)<br>

<span class="q">&gt;</span><br>

<span class="q">&gt;</span>--<br>
<span class="q">&gt;</span>
Bazsi<br>
<span class="q"><br>
&gt;&gt; Hello!<br>&gt;&gt;<br></span><span class="q">&gt;</span><span class="q">&gt; I am trying to filter an IP by using match in the syslog-ng.conf file.<br></span><span class="q">&gt;</span><span class="q">&gt; Below (in bold) is a portion of the thread that sort of describes my problem.
<br>&gt;</span><span class="q">&gt;</span><span class="q"> However the IP address that I am attempting to match is not the sender.<br>&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><span class="q">It is actually located within the message.<br>&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><span class="q"> I am using the following syntax:<br>&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><span class="q"> filter f_pix &nbsp; &nbsp; &nbsp; &nbsp; { match(PIX) and not match(&quot;xxx\.xx\.x\.x&quot;); };<br>&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><span class="q"> Did not work. I've attempted many other variations and still no go.<br>&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><br>
<span class="q">&gt;</span><span class="q">&gt;</span><span class="q"> again the address that I am attempting to match is not the sender. It is located<br>&gt;</span><span class="q">&gt;</span><span class="q"> within the message.
<br><br></span>
<br>