Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Fix a problem with non-manager cluster nodes applying Notice::policy.
This commit is contained in:
Robin Sommer 2012-10-08 10:10:09 -07:00
commit 296686d5ca
3 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,11 @@
2.1-58 | 2012-10-08 10:10:09 -0700
* Fix a problem with non-manager cluster nodes applying
Notice::policy. This could, for example, result in duplicate
emails being sent if Notice::emailed_types is redef'd in local.bro
(or any script that gets loaded on all cluster nodes). (Jon Siwek)
2.1-56 | 2012-10-03 16:04:52 -0700 2.1-56 | 2012-10-03 16:04:52 -0700
* Add general FAQ entry about upgrading Bro. (Jon Siwek) * Add general FAQ entry about upgrading Bro. (Jon Siwek)

View file

@ -1 +1 @@
2.1-56 2.1-58

View file

@ -23,7 +23,7 @@ redef Cluster::worker2manager_events += /Notice::cluster_notice/;
@if ( Cluster::local_node_type() != Cluster::MANAGER ) @if ( Cluster::local_node_type() != Cluster::MANAGER )
# The notice policy is completely handled by the manager and shouldn't be # The notice policy is completely handled by the manager and shouldn't be
# done by workers or proxies to save time for packet processing. # done by workers or proxies to save time for packet processing.
event bro_init() &priority=-11 event bro_init() &priority=11
{ {
Notice::policy = table(); Notice::policy = table();
} }