<font size="2"><font face="arial,helvetica,sans-serif">Hi, <br><br>It is probably not related to Bro development but it is a challenge that I met in my research progress. <br><br>Right now, I can at least get some different DNP3 traffic from what I had before. I would like to generate some illegal traffic based on this legal traffic set. My plan is to flip a bit values in each bit location of the DNP3 packet and see how my Bro analyzer behave.<br>

<br>For each DNP3 packet, I can use the Bro to extract a byte stream of the TCP payload. I am wondering is there any way to reverse this procedure. For example, I had a byte stream X. I wish to construct a network packet based on TCP protocol and this X will be the payload of TCP packet. If the X is too long, I hope that several TCP packets can be constructed with the correct sequence number being set. <br>

<br>I am taking look at the socket api in Windows at this moment (WSASocket). But I am not quite sure whether it is possible to do this by that API.<br><br>Any comments and inputs are welcome. <br><br>Best     <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>