2015-06-22 09:35:21 +02:00
|
|
|
`Bro` is a powerful system that on top of the functionality it provides out of
|
|
|
|
the box, also offers the flexibility to customize analysis pretty much
|
|
|
|
arbitrarily. We provide a range of documentation material ranging from
|
|
|
|
introductory material to get you started, to full references of Bro’s various
|
|
|
|
frameworks.
|
|
|
|
|
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```
|
|
|
|
bro:
|
|
|
|
image: vimagick/bro
|
2015-06-22 09:56:44 +02:00
|
|
|
command: bro -i eth0
|
2015-06-22 09:35:21 +02:00
|
|
|
volumes:
|
|
|
|
- ./logs:/opt/bro/logs
|
|
|
|
net: host
|
|
|
|
```
|
|
|
|
|
|
|
|
## up and running
|
|
|
|
|
|
|
|
```
|
|
|
|
$ cd ~/fig/bro/
|
|
|
|
|
|
|
|
$ docker-compose up -d
|
|
|
|
|
|
|
|
$ docker exec -it bro_bro_1 bash
|
|
|
|
>>> tail -n +1 -f http.log | bro-cut -d ts user_agent
|
|
|
|
>>> exit
|
|
|
|
```
|