[Bro] counters

Dk Jack dnj0496 at gmail.com
Fri Nov 6 16:50:07 PST 2015

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20151106/1923d94f/attachment.html 

More information about the Bro mailing list