bro size

Hi,
When I compile bro, the bro binary comes out to about 120Mb. Are there any options I can use to reduce by eliminating some of the features I don’t need? the configure script doesn’t seem to have many options. Thanks.

Dk.

I wouldn’t recommend changing many of the options in configure unless you truly know what you’re doing. Why is it that you need Bro to be smaller?

If for some reason it really is a concern, you also can just call strip on the binary. This brings the binary size down to ~6MB for me.

Johanna

Same here 6mb stripped.

Check

https://hub.docker.com/r/danielguerra/alpine-bro-build/

The broker and brocolli etc are disabled

Daniel

Thanks everyone. Yes, my bro binary size reduced to 6M after stripping…

BTW, found an interesting tool…

https://github.com/google/bloaty

Did you notice any impact when running?

James