zeek/scripts/base/frameworks
Robin Sommer 19eea409c3 Extending the log writer DoInit() API.
We now pass in a Info struct that contains:

    - the path name (as before)
    - the rotation interval
    - the log_rotate_base_time in seconds
    - a table of key/value pairs with further configuration options.

To fill the table, log filters have a new field "config: table[string]
of strings". This gives a way to pass arbitrary values from
script-land to writers. Interpretation is left up to the writer.

Also splits calc_next_rotate() into two functions, one of which is
thread-safe and can be used with the log_rotate_base_time value from
DoInit().

Includes also updates to the None writer:

    - It gets its own script writers/none.bro.

    - New bool option LogNone::debug to enable debug output. It then
      prints out all the values passed to DoInit(). That's used by a
      btest test to ensure the new DoInit() values are right.

    - Fixed a bug that prevented Bro from terminating..

(scripts.base.frameworks.logging.rotate-custom currently fails.
Haven't yet investigated why.)
2012-06-21 17:42:33 -07:00
..
cluster Merge remote-tracking branch 'origin/topic/jsiwek/ipv6-comm' 2012-05-24 17:01:34 -07:00
communication Fix a warning message 2012-06-13 12:21:16 -05:00
control Enable Bro to communicate with peers over non-global IPv6 addresses. 2012-05-17 12:59:20 -05:00
dpd Fixed some problems with the SOCKS analyzer and tests. 2012-06-20 22:57:46 -04:00
input A set of input framework refactoring, cleanup, and polishing. 2012-05-30 16:38:08 -07:00
intel This completes framework documentation package 4. 2012-01-06 16:36:22 -05:00
logging Extending the log writer DoInit() API. 2012-06-21 17:42:33 -07:00
metrics Fixing a warning from the documentation generation. 2012-01-06 16:50:20 -05:00
notice Fixed a problem where cluster workers were still processing notices in some cases. 2012-04-26 10:45:28 -04:00
packet-filter Checkpoint after pass. 2012-02-15 13:07:08 -08:00
reporter Add reporter bif/framework documentation. 2011-12-07 16:54:40 -06:00
signatures Add more signature framework documentation. 2011-12-14 12:50:54 -06:00
software One more very minor change I forgot to commit. 2012-02-03 16:27:51 -05:00
tunnels Very small updates to the tunnels framework. 2012-06-20 13:56:42 -04:00