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,4 +1,4 @@
|
|||
#! Logging analyzer confirmations and violations into analyzer-debug.log
|
||||
##! Logging analyzer confirmations and violations into analyzer-debug.log
|
||||
|
||||
@load base/frameworks/config
|
||||
@load base/frameworks/logging
|
||||
|
@ -18,7 +18,7 @@ export {
|
|||
## Timestamp of confirmation or violation.
|
||||
ts: time &log;
|
||||
## What caused this log entry to be produced. This can
|
||||
## currently be "violation" or "confirmation".
|
||||
## currently be "violation", "confirmation", or "disabled".
|
||||
cause: string &log;
|
||||
## The kind of analyzer involved. Currently "packet", "file"
|
||||
## or "protocol".
|
|
@ -1,8 +1,6 @@
|
|||
##! Creates the now deprecated dpd.logfile.
|
||||
# Remove in v8.1
|
||||
|
||||
@deprecated("dpd.log is deprecated; remove in 8.1")
|
||||
|
||||
module DPD;
|
||||
|
||||
export {
|
||||
|
@ -38,7 +36,7 @@ event zeek_init() &priority=5
|
|||
Log::create_stream(DPD::LOG, [$columns=Info, $path="dpd", $policy=log_policy]);
|
||||
}
|
||||
|
||||
# Runs before the same event handler in base/frameworks/analyzer/dpd.zeek
|
||||
# before the same event in dpd.zeek
|
||||
event analyzer_violation_info(atype: AllAnalyzers::Tag, info: AnalyzerViolationInfo) &priority=15
|
||||
{
|
||||
if ( ! is_protocol_analyzer(atype) && ! is_packet_analyzer(atype) )
|
|
@ -6,7 +6,7 @@
|
|||
##! A caveat to logging packet data is that in some cases, the packet may
|
||||
##! not be the packet that actually caused the protocol violation.
|
||||
|
||||
@load frameworks/analyzer/dpd-log
|
||||
@load frameworks/analyzer/deprecated-dpd-log
|
||||
|
||||
module DPD;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue