[Bro] OpenBSD bro-1.1

Jean-Philippe Luiggi jp.luiggi at free.fr
Thu May 25 06:31:14 PDT 2006


Hello Lee,

It's just normal <g> as OpenBSD doesn't support (yet) non blocking DNS.

I'm working on the topic in order to solve this problem.

Best regards.


On Wed, May 24, 2006 at 06:42:00AM -0700, Lee Sheng wrote:
> Hi,
> 
> I have applied the diff and seems stuck somewhere though, may I know what kind of flags been used for configure and do you guy use gmake instead of make.
> 
> Here's the stuck -
> 
> net_util.o(.text+0x2ee): In function `dotted_net(unsigned)':
> /nsm/addon-software/bro-1.1/src/net_util.cc:225: warning: sprintf() is often mis                                             used, please use snprintf()
> main.o(.text+0xb7a): In function `main':
> /nsm/addon-software/bro-1.1/src/main.cc:482: warning: strcat() is almost always                                              misused, please use strlcat()
> DNS_Mgr.o(.text+0x2e9c): In function `DNS_Mgr::GetFds(int*, int*, int*)':
> /nsm/addon-software/bro-1.1/src/DNS_Mgr.cc:933: undefined reference to `nb_dns_f                                             d'
> DNS_Mgr.o(.text+0x2efe): In function `DNS_Mgr::AnswerAvailable(int)':
> /nsm/addon-software/bro-1.1/src/DNS_Mgr.cc:1007: undefined reference to `nb_dns_                                             fd'
> collect2: ld returned 1 exit status
> gmake[4]: *** [bro] Error 1
> gmake[4]: Leaving directory `/nsm/addon-software/bro-1.1/src'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/nsm/addon-software/bro-1.1/src'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/nsm/addon-software/bro-1.1/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/nsm/addon-software/bro-1.1'
> gmake: *** [all] Error 2
> 
> Thanks for putting effort to solve the issue.
> 
> 
> Jean-Philippe Luiggi <jp.luiggi at free.fr> wrote: Hello all,
> 
> Christian,  Open isn't so bad.... :-))
> 
> ===
> 
> 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 , i guess using an #ifdef (HAVE_OPENBSD) should
> be a solution.
> So the question is : is this definition directly available upon running
> ./configure ?
> 
> ===
> 
> Another thing i'm working into is the non blocking DNS. I discovered using 
> 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 ?
> 
> Thank you.
> 
> Best regards.
> 
> 
> 
> 
> On Mon, May 22, 2006 at 04:13:05PM +0100, Christian Kreibich wrote:
> > On Mon, 2006-05-22 at 00:24 -0700, Lee Sheng wrote:
> > > Hi all,
> > > 
> > > I previously run bro 0.9 on OpenBSD, everything is compiled correctly,
> > > however when I compile 1.1, I get this error
> > 
> > Hi Lee,
> > 
> > I can confirm this. Arrrrrrrgh OpenBSD. The ARP issue is just a matter
> > of figuring out the right headers, but there are more issues later in
> > the build. We'll let get back to you.
> > 
> > Cheers,
> > Christian.
> > -- 
> > ________________________________________________________________________
> >                                           http://www.cl.cam.ac.uk/~cpk25
> >                                                     http://www.whoop.org
> > 
> > _______________________________________________
> > Bro mailing list
> > bro at bro-ids.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
> 
> 
> 		
> ---------------------------------
> New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro



More information about the Bro mailing list