mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

To address review feedback in GH-4362: rename analyzer-failed-log.zeek to loggig.zeek, analyzer-debug-log.zeek to debug-logging.zeek and dpd-log.zeek to deprecated-dpd-log.zeek. Includes respective test, NEWS, etc updates.
14 lines
624 B
Text
14 lines
624 B
Text
# @TEST-DOC: Test rejecting wrong protocol.
|
|
#
|
|
# @TEST-REQUIRES: ${SCRIPTS}/have-spicy
|
|
# @TEST-EXEC: zeek -b -Cr ${TRACES}/postgresql/mysql-on-port-5432.pcap %INPUT >output
|
|
# @TEST-EXEC: zeek-cut -m ts uid id.orig_h id.orig_p id.resp_h id.resp_p history service < conn.log > conn.cut
|
|
# @TEST-EXEC: zeek-cut -m < analyzer_debug.log > analyzer.cut
|
|
#
|
|
# @TEST-EXEC: btest-diff conn.cut
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER="sed -r 's,(.*) \(/[^\)]+\),\1 (...),'" btest-diff analyzer.cut
|
|
# @TEST-EXEC: test ! -f postgresql.log
|
|
|
|
@load frameworks/analyzer/debug-logging.zeek
|
|
@load base/protocols/conn
|
|
@load base/protocols/postgresql
|