zeek/aux/broctl/policy/cluster-manager.bro
Robin Sommer 2b6ad76bd5 Creating a branch release/1.5 with the current 1.5.3 release code.
This is so that people working from the current stable version can
still start using git.
2011-03-09 15:26:01 -08:00

46 lines
1.1 KiB
Text

# $Id: cluster-manager.bro 6860 2009-08-14 19:01:47Z robin $
#
# Cluster manager configuration.
@prefixes += cluster-manager
@load broctl
@load filter-duplicates
@load notice
@load remote
@load mail-alarms
# Since we don't capture, don't bother with this.
@unload print-filter
# Remote-print policy hooks into print() fucntion on remote hosts,
# and gets a copy to print to local files.
@load remote-print
# This grabs the remote peers (workers) and saves some status info
# to a local peer_status.log.
@load save-peer-status
# We have to listen of course...
@load listen-clear
redef listen_port_clear = BroCtl::manager$p;
# The cluster manager does not capture.
redef interfaces = "";
# Give us a name.
redef peer_description = BroCtl::manager$tag;
# We're processing essentially *only* remote events.
redef max_remote_events_processed = 10000;
# Reraise remote notices locally.
event notice_action(n: notice_info, action: NoticeAction)
{
if ( is_remote_event() && FilterDuplicates::is_new(n) )
NOTICE(n);
}
redef FilterDuplicates::filters += {
[Drop::AddressSeenAgain] = FilterDuplicates::match_src,
};