mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
dpd->analyzer.log change - rename files
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.
This commit is contained in:
parent
af77a7a83b
commit
130c89a0a7
29 changed files with 36 additions and 39 deletions
|
@ -1,3 +1,3 @@
|
|||
@load ./main
|
||||
@load ./dpd
|
||||
@load ./analyzer-failed-log
|
||||
@load ./logging
|
||||
|
|
|
@ -100,6 +100,8 @@ event analyzer_failed(ts: time, atype: AllAnalyzers::Tag, info: AnalyzerViolatio
|
|||
return;
|
||||
|
||||
# log only for previously confirmed service that did not already log violation
|
||||
# note that analyzers can fail repeatedly in some circumstances - e.g. when they
|
||||
# are re-attached by the dynamic protocol detection due to later data.
|
||||
local analyzer_name = Analyzer::name(atype);
|
||||
if ( analyzer_name !in info$c$service || analyzer_name in info$c$service_violation )
|
||||
return;
|
Loading…
Add table
Add a link
Reference in a new issue