From: Hui Cao (huica) Date: Fri, 23 Mar 2018 21:16:23 +0000 (-0400) Subject: Merge pull request #1160 in SNORT/snort3 from active_response to master X-Git-Tag: 3.0.0-245~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55ba72fcff2c9c7fabcf4c7d4803daf247bcfadc;p=thirdparty%2Fsnort3.git Merge pull request #1160 in SNORT/snort3 from active_response to master Squashed commit of the following: commit 5b5c6a1211f482e2b2db490e1a88e937be1a9240 Author: huica Date: Fri Mar 23 16:38:06 2018 -0400 Disable the check for max_response --- diff --git a/src/packet_io/active.cc b/src/packet_io/active.cc index 233a0a963..c87e2429b 100644 --- a/src/packet_io/active.cc +++ b/src/packet_io/active.cc @@ -468,7 +468,7 @@ void Active::reset_session(Packet* p, bool force) if ( force or SnortConfig::inline_mode() or SnortConfig::treat_drop_as_ignore() ) Stream::drop_flow(p); - if ( s_enabled and SnortConfig::get_conf()->max_responses ) + if ( s_enabled ) { ActionManager::queue_reject(p);