[Bro-Dev] Building bro 2.6 with static broker/caf libraries

2018-12-05 Thread Craig Leres
I've read up on cmake variable scope but I can't figure out how to build bro with static libraries. The bro-bundled caf already has CAF_BUILD_STATIC_ONLY which I'm pretty sure works but I'm unable to turn it on when building caf as part of a bro build. For example I'd like is to optionally

[Bro-Dev] Building Bro with openssl 1.1.1

2018-10-12 Thread Craig Leres
The FreeBSD security/bro port does not build under the latest FreeBSD 12.0 alpha due to compile errors in the X509 module. I verified that this is due to openssl 1.1.1 by building on 11.2-RELEASE with the openssl111 port. I've attached an example failing build log. Is openssl 1.1.1 support on

Re: [Bro-Dev] Broker & CAF includes

2016-03-18 Thread Craig Leres
This all makes sense to me; what you describe as the current situation (two packages defining the same data structure) seems broken to me. And I see caf/config.hpp defines CAF_VERSION so you're set if broker now or in the future requires a minimum version of caf. Craig

Re: [Bro-Dev] current_time() vs network_time()

2015-11-18 Thread Craig Leres
On 11/18/2015 10:58 AM, Aashish Sharma wrote: > So, I am trying to have bro send me report/alerts at specific timeslots. > > Given current_time is the wall-clock time, I am relying on current_time() > function to get time and then, my code is : if (hh:mm:ss == desired time), > run a report.

Re: [Bro-Dev] Fwd: [REL - 10amd64-default][security/bro] Failed for bro-2.2 in build

2014-01-06 Thread Craig Leres
On 12/03/13 08:09, Robin Sommer wrote: Which clang version is this? I've tried it with a recent version of the clang 3.4 release branch, and that works fine for me. But based on the error message, I'm attaching a patch; does that help by any chance? I submitted a PR with your patch and it

Re: [Bro-Dev] Fwd: [REL - 10amd64-default][security/bro] Failed for bro-2.2 in build

2013-12-06 Thread Craig Leres
On 12/03/13 08:09, Robin Sommer wrote: Which clang version is this? I've tried it with a recent version of the clang 3.4 release branch, and that works fine for me. I dunno, I've asked them them to include the clang version before; I'll ask again. But based on the error message, I'm attaching

[Bro-Dev] Fwd: [REL - 10amd64-default][security/bro] Failed for bro-2.2 in build

2013-11-30 Thread Craig Leres
Sounds like FreeBSD has upgraded to a newer version of clang and it doesn't like to build /src/logging/writers/SQLite.cc anymore. It's the last few lines of the attached message that shows the problem, is there an obvious fix? Thanks! Craig ---BeginMessage--- You are receiving

[Bro-Dev] bro 2.1 vs clang

2013-09-20 Thread Craig Leres
There's a FreeBSD ports bug report that says clang 3.3 doesn't like bro 2.1: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182127 /home/ports/security/bro/work/bro-2.1/src/Expr.cc:2392:9: error: reference to 'is_assignable' is ambiguous if ( ! is_assignable(op-Type()) ) ^