mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
policy/misc/load-balancing: Deprecate script
This commit is contained in:
parent
d88b147ac9
commit
384453346d
3 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
||||||
##! This script implements the "Zeek side" of several load balancing
|
##! This script implements the "Zeek side" of several load balancing
|
||||||
##! approaches for Zeek clusters.
|
##! approaches for Zeek clusters.
|
||||||
|
|
||||||
|
@deprecated "Remove in v7.1. This script has not seen extensions for the past 10 years and is not at all recommended to use for packet load balancing purposes. On Linux, AF_PACKET is recommended and works out of the box. On FreeBSD, there is Netmap with lb. Otherwise, NIC specific packet sources and approaches exist that handle the load balancing."
|
||||||
|
|
||||||
|
@pragma push ignore-deprecations
|
||||||
|
|
||||||
@load base/frameworks/cluster
|
@load base/frameworks/cluster
|
||||||
@load base/frameworks/packet-filter
|
@load base/frameworks/packet-filter
|
||||||
|
|
||||||
|
@ -109,3 +113,5 @@ event zeek_init() &priority=5
|
||||||
}
|
}
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@pragma pop
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: test -d $DIST/scripts
|
# @TEST-EXEC: test -d $DIST/scripts
|
||||||
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.zeek`; do zeek -b --parse-only $script >>errors 2>&1; done
|
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.zeek`; do zeek -b --parse-only $script >>errors 2>&1; done
|
||||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER="grep -v -e 'Use the external.*bro-simple-scan package' -e 'The MQTT scripts have been moved out of policy/' | $SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER="grep -v -e 'load-balancing.zeek.*deprecated script loaded' | $SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# @TEST-EXEC: CLUSTER_NODE=logger-1 zeek %INPUT
|
# @TEST-EXEC: CLUSTER_NODE=logger-1 zeek %INPUT
|
||||||
# @TEST-EXEC: CLUSTER_NODE=proxy-1 zeek %INPUT
|
# @TEST-EXEC: CLUSTER_NODE=proxy-1 zeek %INPUT
|
||||||
# @TEST-EXEC: CLUSTER_NODE=worker-1 zeek %INPUT
|
# @TEST-EXEC: CLUSTER_NODE=worker-1 zeek %INPUT
|
||||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER='grep -v "scan.zeek.*deprecated script" | $SCRIPTS/diff-remove-abspath' btest-diff .stderr
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER='grep -v "load-balancing.zeek.*deprecated script" | $SCRIPTS/diff-remove-abspath' btest-diff .stderr
|
||||||
|
|
||||||
@load base/frameworks/cluster
|
@load base/frameworks/cluster
|
||||||
@load misc/loaded-scripts
|
@load misc/loaded-scripts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue