Hi, <br><br>I have a question about sending scripts from one Bro to a second one, and having the second one install the script at run-time, and I was wondering how it would be done. Any help appreciated! Details below. <br>
<br>I am running Bro at the host which needs to receive new policy scripts on the fly from a remote Bro. I was wondering how exactly to use the serialization framework to achieve this.&nbsp; Ideally, I would like to do it at the script-level for simplicity reasons. A script at the host Bro would handle the reception and installation of policy files. It would simply download the file from the remote Bro, and then call a function called &quot;load_policy_file()&quot; to install the script into the running Bro. I could not find any such function to do this in the online documentation. (equivalent of a run-time &quot;@load&quot;). Maybe, I missed something? <br>
<br>If such support is not avail, I was thinking of writing a &quot;load_policy_file&quot; function for Bro that scripts could use. I was also wondering whether I could use the &quot;trigger&quot; mechanism discussed in the &quot;Policy-controlled event management ... &quot; paper, but the serialization framework seems heavy-weight for this, since I am only looking to install scripts at run-time, not to make fine-grained changes.<br>
<br>Thanks in advance,<br>Jayanth<br>