[Bro-Dev] #540: Method of initializing communication subsystem

Bro Tracker bro at tracker.bro-ids.org
Fri Aug 5 08:10:20 PDT 2011


#540: Method of initializing communication subsystem
----------------------+--------------------
  Reporter:  seth     |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  Normal   |  Milestone:  Bro1.6
 Component:  Bro      |    Version:
Resolution:           |   Keywords:  beta
----------------------+--------------------

Comment (by seth):

 > Would the "more deliberate action" be an explicit bif call like
 > ``enable_communication``?

 Yes.

 > If so, when would you call it?


 Probably at the end of communication/main.bro in this section:

 {{{
 event bro_init() &priority = -10 # let others modify nodes
         {
         for ( tag in nodes )
                 {
                 if ( ! nodes[tag]$connect )
                         next;

                 connect_peer(tag);
                 }
         }
 }}}

 It would get called if there is anything in the nodes table.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/540#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list