using broccoli to receive events to bro

Hello,

I need help please.

I’m trying to connect with broccoli and intercept http requests.

this is how my c code looks like:

At least one thing that appears to be missing is that this callback is never registered, so it’s not linked to any event generated in Bro. Doing that (sometime before your bro_conn_connect() call) will probably look something like:

  bro_event_registry_add(bc, “http_request", (BroEventFunc) http_request_c, NULL);

- Jon