[Bro] OpenBSD bro-1.1
jp.luiggi at free.fr
Wed May 24 06:17:00 PDT 2006
On Wed, May 24, 2006 at 12:30:58PM +0100, Christian Kreibich wrote:
> > Christian, Open isn't so bad.... :-))
> I'm not going to comment on the quality of the OS, but it sure as hell
> is regularly causing me build headaches!
You're right, i've the same problem from time to time... :-)
> > Beside of this, while playing with the new release i too run into the problem
> > Lee is talking about.
> > To solve the problem with ARP.h, we just need to include/use :
> > #include <net/ethertypes.h>,
> Ah, but that is available neither on Linux, nor on FreeBSD, nor MacOS. I
> got it to work using this instead:
> --- ARP.h 20 Dec 2005 00:48:12 -0000 1.3
> +++ ARP.h 22 May 2006 15:11:16 -0000
> @@ -24,8 +24,10 @@
> #include <sys/types.h>
> #include <sys/socket.h>
> +#include <netinet/in.h>
> +#include <net/if.h>
> #include <net/if_arp.h>
> -#include <net/ethernet.h>
> +#include <netinet/if_ether.h>
> I was hoping that'd be portable enough so we can do without an ifdef,
> but haven't tried the other platforms yet.
That's right, i'll use it.
> > So the question is : is this definition directly available upon running
> > ./configure ?
> Sure, look at configure.in, most of that stuff is checked for already.
> It's just a matter of translating it down into the code with the least
> amount of clutter.
> > Another thing i'm working into is the non blocking DNS. I discovered using
> So non-blocking DNS in Bro is actually currently broken on OpenBSD?
I may be wrong but i don't think it ever worked ?
Without the package i'm talking about, we don't have the correct definitions.
> > the following OpenBSD's package (considering the 3.9 release) :
> > libbind-9.2.3p1 BIND 8 compatible stub resolver library
> > should give us the various ns_... definition. I'm now fighting with
> > "m4" in order to implement something as
> > --with-bind-lib=
> > --with-bind-includes=
> > into configure.am, should this sound right ?
> Yeah, though I don't think you need to fight at the m4 level but rather
> at the level of what autoconf already gives you (like AC_LINK_IFELSE).
Ok, i'll check here.
> Thanks for your efforts!
Just normal considering the whole effort of all.
> Bro mailing list
> bro at bro-ids.org
More information about the Bro