[Bro-Dev] [JIRA] (BIT-275) broctl 'exec' crashes with dead hosts

Daniel Thayer (JIRA) jira at bro-tracker.atlassian.net
Tue Aug 13 13:57:21 PDT 2013

     [ https://bro-tracker.atlassian.net/browse/BIT-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Thayer updated BIT-275:

    Fix Version/s: 2.2
> broctl 'exec' crashes with dead hosts
> -------------------------------------
>                 Key: BIT-275
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-275
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BroControl
>    Affects Versions: 1.5.2
>            Reporter: solomon
>            Assignee: Robin Sommer
>             Fix For: 2.2
> When performing the 'exec' command via broctl, if there are dead or otherwise offline hosts, broctl (python) will crash with a 'TypeError'.  Relaunching broctl and trying again sometimes works, but many times it will continue to crash if the host remains down.  See below:
> broctl exec killall \-9 bro
> Connection timed out during banner exchange
> warning: connection to bro3 broke
> Traceback (most recent call last):
> bq. File "/home/bro/bin/broctl", line 726, in <module>
>     loop.onecmd(line)
> bq. File "/usr/local/lib/python2.5/cmd.py", line 219, in onecmd
>     return func(arg)
> bq. File "/home/bro/bin/broctl", line 561, in do_exec
>     control.executeCmd(Config.nodes(), args)
> bq. File "/bro/lib/broctl/BroControl/control.py", line 1056, in executeCmd
>     util.output("[%s] %s\n> %s" % (node.host, (success and " " or "error"), "\n> ".join(output)))
> TypeError

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://bro-tracker.atlassian.net/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the bro-dev mailing list