ActiveHTTP module is broken

Description

When trying a very simple script found in Seth Hall's Bro Junk Drawer [1], I cannot get ActiveHTTP to even perform a successful GET request. I'd like to use ActiveHTTP to do RESTful POSTs for a notice or given behavior.

CentOS output:

Mac OS X output:

[1] https://github.com/sethhall/bro-junk-drawer/blob/master/active-http-test.bro

Environment

Mac OS X 10.11.2, Bro 2.4.1 (installed from Homebrew), curl 7.43.0
CentOS 7.1.1503, Bro 2.4.1 (installed from OpenSuSE build service), curl 7.29.0

Activity

Show:
Seth Hall
January 16, 2016, 2:10 AM

This is only a problem if you allow Bro to shutdown immediately. We don't always develop for that scenario since it represents such a minor use of Bro.

bro active-http-test.bro exit_only_after_terminate=T

Derek Ditch
January 16, 2016, 2:57 AM

That fixed the problem. Might add that the documentation of the ActiveHTTP module or other modules that have a race condition during interactive use of Bro.

Thanks Seth!

Invalid

Assignee

Unassigned

Reporter

Derek Ditch

Labels

External issue ID

None

Components

Affects versions

Priority

Normal