mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath: Fix a problem with non-manager cluster nodes applying Notice::policy.
This commit is contained in:
commit
296686d5ca
3 changed files with 9 additions and 2 deletions
7
CHANGES
7
CHANGES
|
@ -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)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.1-56
|
2.1-58
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue