mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
SSL: failing analyzer handling - address review feedback
Fold the two analyzer_violation_info events into one. See GH-3012
This commit is contained in:
parent
21888a145a
commit
9a47e201f8
1 changed files with 4 additions and 5 deletions
|
@ -501,11 +501,6 @@ event analyzer_confirmation_info(atype: AllAnalyzers::Tag, info: AnalyzerConfirm
|
|||
|
||||
event analyzer_violation_info(atype: AllAnalyzers::Tag, info: AnalyzerViolationInfo) &priority=5
|
||||
{
|
||||
if ( atype == Analyzer::ANALYZER_SSL || atype == Analyzer::ANALYZER_DTLS )
|
||||
{
|
||||
# analyzer errored out; prevent us from trying to remove it later
|
||||
delete info$c$ssl$analyzer_id;
|
||||
}
|
||||
}
|
||||
|
||||
event ssl_plaintext_data(c: connection, is_client: bool, record_version: count, content_type: count, length: count) &priority=5
|
||||
|
@ -523,5 +518,9 @@ event analyzer_violation_info(atype: AllAnalyzers::Tag, info: AnalyzerViolationI
|
|||
{
|
||||
if ( atype == Analyzer::ANALYZER_SSL || atype == Analyzer::ANALYZER_DTLS )
|
||||
if ( info$c?$ssl )
|
||||
{
|
||||
# analyzer errored out; prevent us from trying to remove it later
|
||||
delete info$c$ssl$analyzer_id;
|
||||
finish(info$c, T);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue