[Bro] broccoli/swig issue with 2.0-beta

Justin Azoff JAzoff at albany.edu
Tue Nov 8 08:05:58 PST 2011

10073 ~ % sudo /spare/tmp/bro/bin/broctl  status
warning: removing stale lock
Name       Type       Host       Status        Pid    Peers  Started              
Traceback (most recent call last):
  File "/spare/tmp/bro/bin/broctl", line 888, in <module>
  File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
    return func(arg)
  File "/spare/tmp/bro/bin/broctl", line 280, in do_status
  File "/spare/tmp/bro/lib/broctl/BroControl/control.py", line 495, in status
    for (node, success, args) in _queryPeerStatus(nodes):
  File "/spare/tmp/bro/lib/broctl/BroControl/control.py", line 1049, in _queryPeerStatus
    return execute.sendEventsParallel(events)
  File "/spare/tmp/bro/lib/broctl/BroControl/execute.py", line 513, in sendEventsParallel
    (success, bc) = _sendEventInit(node, event, args, result_event)
  File "/spare/tmp/bro/lib/broctl/BroControl/execute.py", line 529, in _sendEventInit
    flags=broccoli.BRO_CFLAG_ALWAYS_QUEUE, connect=False)
  File "/spare/tmp/bro/lib/broctl/broccoli.py", line 14, in __init__
    self.bc = bro_conn_new_str(destination, flags)
TypeError: in method 'bro_conn_new_str', argument 1 of type 'char const *'
abnormal termination, saving state ...

I verified that 'destination' is a string containing host:port.

-- Justin Azoff
-- Network Security & Performance Analyst

More information about the Bro mailing list