<font size="2"><font face="arial,helvetica,sans-serif">I try another thing. <br><br>I just type this in my binpac code <br><br>&check(abcdefg)<br><br>right after a variable, and my binpac code is successfully compiled and linked. So &check is ignored in current Bro package, is it?<br>
<br>That is a </font></font>really bad news for me. Then I have to spend much much more time to rewrite &check condition into Bro's script which is sometimes hard to do.<br><br>Is there any future plan to activate &check statement again?<br>
<br>Best,<br><br>Hui<br><br><br><div class="gmail_quote">On Fri, Dec 9, 2011 at 2:02 PM, Lin, Hui <span dir="ltr"><<a href="mailto:hlin33@illinois.edu">hlin33@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">
<div>
<font size="2"><font face="arial,helvetica,sans-serif">Hi, <br>
<br>
I could not see binpac warning in Bro 2.0. <br>
<br>
I used to see the binpac warning generated by &check statement, showing in the stdout. But now, I could not see any thing and could not find any thing in the log.
<br>
<br>
Here is how I test it. In the "default" branch of "case" statement, I write<br>
<br>
default -> unknown: Debug_Byte <b>&check(0)</b>;<br>
<br>
My purpose is that if the network packet is not correct, then it come to the default case, then I hope that binpac can directly give me some warning instead of writing bro script to detect it.
<br>
<br>
However, I did not see any warning in Bro 2.0 when this branch is entered. <br>
<br>
Best,<br>
<br>
Hui <br>
</font></font><br clear="all">
<br>
-- <br>
Hui Lin<br>
Research Assistant<br>
DEPEND Research Group, ECE Department<br>
University of Illinois at Urbana-Champaign<br>
<a href="mailto:hlin33@illinois.edu" target="_blank">hlin33@illinois.edu</a><br>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Hui Lin<br>Research Assistant<br>DEPEND Research Group, ECE Department<br>University of Illinois at Urbana-Champaign<br><a href="mailto:hlin33@illinois.edu" target="_blank">hlin33@illinois.edu</a><br>