[Bro] ActiveHTTP

Dave Crawford bro at pingtrip.com
Fri Jan 27 20:49:34 PST 2017


I’m testing a new script in 2.5 that uses ActiveHTTP but I'm unable to retrieve the response. With a simple test script of:

    when ( local resp = ActiveHTTP::request([$url="https://www.google.com/"]) )
      {
      print “Inside the Matrix."
      }

I can see the ActiveHTTP request was successful based on the temporary files created:

-rw-r--r--  1 dave  wheel  162 Jan 27 23:43 /tmp/bro-activehttp-HJKhXt6UYXi_body
-rw-r--r--  1 dave  wheel  163 Jan 27 23:43 /tmp/bro-activehttp-HJKhXt6UYXi_headers

But the print statement within the when block never executes. Any ideas what I’m missing?

-Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170127/b09fe9bb/attachment.html 


More information about the Bro mailing list