Squashed commit of the following:
commit
c3914b6900a5570dd7eb87806da9749560971605
Author: Kaushal Bhandankar <kbhandan@cisco.com>
Date: Thu Jan 7 17:00:08 2021 -0500
packet_io: ids mode should not give blacklist verdict for Intrusion event
active_action = ACT_BLOCK;
update_status(p, force);
- if ( force or p->context->conf->inline_mode() or p->context->conf->treat_drop_as_ignore() )
+ if ( force or ( p->context->conf->inline_mode() and SFDAQ::forwarding_packet(p->pkth) )
+ or p->context->conf->treat_drop_as_ignore() )
Stream::block_flow(p);
p->disable_inspect = true;
active_action = ACT_RESET;
update_status(p, force);
- if ( force or p->context->conf->inline_mode() or p->context->conf->treat_drop_as_ignore() )
+ if ( force or ( p->context->conf->inline_mode() and SFDAQ::forwarding_packet(p->pkth) )
+ or p->context->conf->treat_drop_as_ignore() )
Stream::drop_flow(p);
if ( p->context->conf->is_active_enabled() )