This script lets Barnyard2 integrate with Bro. It receives alerts from Barnyard2 and logs them. In the future it will do more correlation and derive new notices from the alerts.
| Namespace: | Barnyard2 |
|---|---|
| Imports: | policy/integration/barnyard2/types.bro |
| Source File: | /scripts/policy/integration/barnyard2/main.bro |
| Barnyard2::Info: record |
| Barnyard2::pid2cid: function | This can convert a Barnyard Barnyard2::PacketID value to a conn_id value in the case that you might need to index into an existing data structure elsewhere within Bro. |
| Type: |
pid: Barnyard2::PacketID &log alert: Barnyard2::AlertData &log |
|---|
| Type: | function (p: Barnyard2::PacketID) : conn_id |
|---|
This can convert a Barnyard Barnyard2::PacketID value to a conn_id value in the case that you might need to index into an existing data structure elsewhere within Bro.