anthony.kasza at gmail.com
Fri Nov 6 17:45:02 PST 2015
Most of the things you mentioned are already available to scriptland from
the C++ core. A little Bro script can accomplish what you are asking. For
example, declare a global variable and increment it inside a new_connection
event, then periodically print to screen.
On Nov 6, 2015 4:52 PM, "Dk Jack" <dnj0496 at gmail.com> wrote:
> I am new to bro and I am writing a plugin. How does one go about adding
> In my c++ code, I want to add counters, for things like number
> connections, bytes rcvd/sent,
> protocol parsing errors etc. I want to access them on demand i.e. this is
> mainly for debugging.
> I don't want to write disk. I couldn't find any examples that do this and
> my google search didn't
> yield any satisfactory answers either. Would appreciate it if someone can
> point me the correct
> direction on how to do this in bro. Thanks.
> Bro mailing list
> bro at bro-ids.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bro