[Bro] Debug Enabling
robin at icir.org
Fri Aug 4 14:29:06 PDT 2006
On Fri, Aug 04, 2006 at 06:16 -0700, Anandraj wrote:
> I did try ./configure --enable-debug and also by defining #define DEBUG
> in main.cc .
Compiling with --enable-debug activcates the "-B <stream>"
command-line option in which <stream> is a list of comma-seperated
tags activating different kinds of debugging output. There's no
documentation of the tags yet but you can find a list of them in
src/DebugLogger.cc. The output will be written to debug.log
That said, this logging framework is one of the more recent
developments and not yet consistently used across the whole system.
Older parts of code for debugging output usually depend on setting
some special flag somewhere (often inside the code plus recompile)
to activate (and they still require --enable-debug to be compiled
> I was playing around the code to Drop the Telnet Packets based on
> Connections. But BRO gets Autorestarted or Stoped at a time when the
> timer gets invoked seems to be Expiry Timer .. which invokes
Sorry, I don't really understand this...
Robin Sommer * Phone +1 (510) 666-2886 * robin at icir.org
ICIR/ICSI * Fax +1 (510) 666-2956 * www.icir.org
More information about the Bro