[Bro] OpenBSD bro-1.1

Christian Kreibich christian at whoop.org
Thu May 25 06:51:02 PDT 2006


On Thu, 2006-05-25 at 09:42 -0400, Jean-Philippe Luiggi wrote:
> Hello,
> The previous version (1.0) worked perfectly without non blocking DNS
> and now we've two options :
> - Make change into the various ".c" with the help of "#ifdef HAVE_NB_DNS"
> as Stephan did (see a previous mail) in order to exclude the offending
> functions to ever been used with OpenBSD.

HAVE_NB_DNS is exactly what we're still doing in 1.1, but the fact that
the build bombs on OpenBSD means that our configure check is somehow
broken since it thinks that non-blocking DNS lookups (nbDNS) support is
available while actually it isn't. Things should certainly still build
even if support for nbDNS is not available.

> - Install/Use the non blocking DNS library (with the package i talked about)
> and make change into ./configure in order to specify the place where
> the various definitions needed are.
> Note that i prefer the second one even if it requires more job.

Note that these options are not mutually exclusive. Configuration and
build should complete if nbDNS is not available, while allowing you to
specify any additional libraries/headers for getting this functionality
via configure flags.

We currently do some hard-coded guesswork to figure out the nbDNS
setting in configure, and it appears that we need more flexibility

More information about the Bro mailing list