[Bro] Problems Building Bro

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sat Jun 24 04:26:37 PDT 2006


Vern Paxson wrote:
>> DNS_Mgr.o(.text+0x2e61): In function `DNS_Mgr::GetFds(int*, int*, int*)':
>> /home/dom/Desktop/bro-1.1/src/DNS_Mgr.cc:933: undefined reference to 
>> `nb_dns_fd'
> 
> Try the appended.
> 
> 		Vern
> 
> 
> Index: DNS_Mgr.cc
> ===================================================================
> --- DNS_Mgr.cc	(revision 3286)
> +++ DNS_Mgr.cc	(working copy)
> @@ -930,7 +930,9 @@
>  
>  void  DNS_Mgr::GetFds(int* read, int* write, int* except)
>  	{
> +#ifdef HAVE_NB_DNS
>  	*read = nb_dns_fd(nb_dns);
> +#endif
>  	}
>  
>  double DNS_Mgr::NextTimestamp()
> 
> 
Vern,

1. That's done it so thanks very much.

2. "make install" installed everything as root so I'm having to run bro 
as root.

3. bro_config couldn't create a "bro" user. The command /usr/sbin/pw 
doesn't exist on my linux system.

        # add user to group wheel at the same time
         /usr/sbin/pw useradd $BRO_USER_ID -d $BROHOME -q -n $BRO_USER_ID

4. Something not quite right with either the install or the documentation:

4.1 Starting Bro

Bro is automatically started at boot time via the bro.rc script, ( 
located in /usr/local/bro/etc and /usr/local/etc/rc.d on FreeBSD or 
/usr/init.d on Linux ) To run this script by hand, type:

I'm running linux but the start script is located here:

[root at tility bro]# ls /usr/local/etc/rc.d/
bro.sh*

Dominic.





More information about the Bro mailing list