mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Spicy TLS: Re-enable starttls for RDP
This commit is contained in:
parent
c682e5723b
commit
32d27b1b3f
3 changed files with 26 additions and 26 deletions
|
@ -516,11 +516,11 @@ hook finalize_ssl(c: connection)
|
|||
|
||||
event analyzer_confirmation_info(atype: AllAnalyzers::Tag, info: AnalyzerConfirmationInfo) &priority=5
|
||||
{
|
||||
#if ( atype == Analyzer::ANALYZER_SSL || atype == Analyzer::ANALYZER_DTLS )
|
||||
# {
|
||||
# set_session(info$c);
|
||||
# info$c$ssl$analyzer_id = info$aid;
|
||||
# }
|
||||
if ( atype == Analyzer::ANALYZER_SSL || atype == Analyzer::ANALYZER_DTLS )
|
||||
{
|
||||
set_session(info$c);
|
||||
info$c$ssl$analyzer_id = info$aid;
|
||||
}
|
||||
}
|
||||
|
||||
event ssl_plaintext_data(c: connection, is_client: bool, record_version: count, content_type: count, length: count) &priority=5
|
||||
|
@ -536,11 +536,11 @@ event ssl_plaintext_data(c: connection, is_client: bool, record_version: count,
|
|||
|
||||
event analyzer_violation_info(atype: AllAnalyzers::Tag, info: AnalyzerViolationInfo) &priority=5
|
||||
{
|
||||
# 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, F);
|
||||
# }
|
||||
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, F);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue