Squashed commit of the following:
commit
991d611b02b5bb0ad494b29e6914ac649cca581c
Author: Katura Harvey <katharve@cisco.com>
Date: Tue May 7 18:53:02 2019 -0400
stream: disable inspection of flow on reset
log_file_event(flow, policy);
config_file_signature(false);
file_stats->signatures_processed[get_file_type()][get_file_direction()]++;
- if ( verdict == FILE_VERDICT_REJECT or verdict == FILE_VERDICT_BLOCK)
- flow->disable_inspection();
}
else
{
flow->session->clear();
flow->set_state(Flow::FlowState::BLOCK);
+ flow->disable_inspection();
+
if ( !(p->packet_flags & PKT_STATELESS) )
drop_traffic(p, SSN_DIR_BOTH);
}