Deprecate misc/scan.zeek

Update bare-mode-errors test to ignore that specific message.
This commit is contained in:
Arne Welzel 2022-08-19 13:13:08 +02:00
parent f5df2a132a
commit 6dc585bd8c
4 changed files with 10 additions and 4 deletions

3
NEWS
View file

@ -142,6 +142,9 @@ Deprecated Functionality
- The HOOK_BRO_OBJ_DTOR hook and associated methods have been deprecated. They
are replaced by the HOOK_OBJ_DTOR hook and methods.
- The ``misc/scan.zeek`` script has been marked for removal in Zeek 6.1.
Use github.com/ncsa/bro-simple-scan instead.
Zeek 5.0.0
==========

View file

@ -4,6 +4,8 @@
# Seth Hall
# All the authors of the old scan.bro
@deprecated "Remove in v6.1. Use the external github.com/ncsa/bro-simple-scan package instead (e.g., by installing it via `zkg install ncsa/bro-simple-scan`). The misc/scan.zeek script hasn't been maintained since 2013. Further, the external bro-simple-scan package from NCSA (Justin Azoff) has become the recommended alternative for TCP scan detection."
@load base/frameworks/notice
@load base/frameworks/sumstats

View file

@ -18,9 +18,10 @@ redef digest_salt = "Please change this value.";
# Enable logging of memory, packet and lag statistics.
@load misc/stats
# Load the scan detection script. It's disabled by default because
# it often causes performance issues.
#@load misc/scan
# For TCP scan detection, we recommend installing the package from
# 'https://github.com/ncsa/bro-simple-scan'. E.g., by installing it via
#
# zkg install ncsa/bro-simple-scan
# Detect traceroute being run on the network. This could possibly cause
# performance trouble when there are a lot of traceroutes on your network.

View file

@ -6,4 +6,4 @@
#
# @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: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
# @TEST-EXEC: TEST_DIFF_CANONIFIER="grep -v 'Use the external.*bro-simple-scan package' | $SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors