[Bro] OpenBSD bro-1.1
Stephan at rheoli.net
Fri May 26 02:18:09 PDT 2006
On Thu, May 25, 2006 at 03:55:25PM -0400, Jean-Philippe Luiggi wrote:
> Sounds like good.
> I'm now trying to figure out how using correctly the non blocking
> DNS library given by the OpenBSD bind's package.
> Best regards.
One way to build bro with non-blocking DNS lib without changing configure is to install libbind (from /usr/ports/net/libbind) set CFLAGS and LDFLAGS:
- $ export CFLAGS=-I/usr/local/bind/include
- $ export LDFLAGS=-L/usr/local/lib
Then you can use the normal ./configure (with non-blocking DNS).
But you get the following warning (looks like that some funktions are double-defined):
$ sudo bin/bro -i if1 mt
bin/bro:/usr/lib/libc.so.39.0: bin/bro : WARNING: symbol(_res) size mismatch, relink your program
bin/bro:/usr/lib/libc.so.39.0: /usr/local/lib/libbind.so.2.0 : WARNING: symbol(__p_type_syms) size mismatch, relink your program
bin/bro:/usr/lib/libc.so.39.0: /usr/local/lib/libbind.so.2.0 : WARNING: symbol(__p_class_syms) size mismatch, relink your program
policy/hot.bro, line 78: error: unknown identifier is_local_addr, at or near "is_local_addr"
The polixy/hot.bro script error occurs with/without non-blocking DNS.
More information about the Bro