Merge in SNORT/snort3 from ~OSTEPANO/snort3:brute_force_check to master
Squashed commit of the following:
commit
7cf6fc77529bf4c9ff7fd7bda65cd6eba5367803
Author: Oleksandr Stepanov <ostepano@cisco.com>
Date: Wed Jan 22 06:21:43 2025 -0500
appid: added check for brute force manager presence
void next_brute_force(IpProtocol proto)
{
- if ( proto == IpProtocol::TCP )
+ if ( tcp_brute_force_mgr and (proto == IpProtocol::TCP) )
tcp_brute_force_mgr->next();
- else if (proto == IpProtocol::UDP )
+ else if ( udp_brute_force_mgr and (proto == IpProtocol::UDP) )
udp_brute_force_mgr->next();
brute_force_inprocess_count = 0;
}