[Bro-Dev] Hui Lin_broping can not connect bro

Jonathan Siwek jsiwek at ncsa.illinois.edu
Wed Oct 26 06:31:31 PDT 2011


> Hi, 
> 
> I compile broccoli c api and run the test program broping and I get the following error:
> 
> "Could not connect to Bro at 127.0.0.1:47758."
> 
> I am wondering how to run Bro such that it listens on 47758 port?

Yeah, the default port broping tries to connect to looks like 47758, not sure if that needs to change right now, but you can try either giving the "-p 47757" switch to broping to explicitly tell it which port to use, or redef the variable in Bro that sets the default listen port (e.g. "redef Communication::listen_port=47758/tcp")

- Jon


More information about the bro-dev mailing list