<div dir="ltr">i&#39;ve just resolved the problem.<br>Now i understand how to use s2b and i&#39;ve just convert a snort rule in a bro policy. I redirected the stdout to a file .bro. The result is a file with many row of code, but i can&#39;t use it as a bro policy (error: unknown idetifier signature, at or near &quot;signature&quot;). <br>
The structure of the file is:<br><br>signature 549-8 {<br>&nbsp; ip-proto == tcp<br>&nbsp; src-ip == local_nets<br>&nbsp; dst-ip != local_nets<br>&nbsp; dst-port == 8888<br>&nbsp; tcp-state established,originator<br>&nbsp; event &quot;P2P napster login&quot;<br>
&nbsp; payload /.*\x00\x02\x00/<br>&nbsp; }<br><br>this is not equal to a classic bro policy.<br>How can i use it to create my own policy?<br><br>Thaks<br><br>Paolo Tironi<br><br><div class="gmail_quote">2008/7/17 Paolo Tironi &lt;<a href="mailto:paolo.tironi85@gmail.com">paolo.tironi85@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi, i can&#39;t use snort2bro.<br>I follow the wiky instruction (<a href="http://www.bro-ids.org/wiki/index.php/Reference_Manual:_Signatures#snort2bro" target="_blank">http://www.bro-ids.org/wiki/index.php/Reference_Manual:_Signatures#snort2bro</a>) but it say: snort2bro command not found.<br>

I know that it has to be already installed with bro, but if i give &quot;locate snort2bro&quot;, i can&#39;t find it.<br><br>How can i use it?<br><br>thanks <br>Paolo Tironi<br></div>
</blockquote></div><br></div>